JDeveloper Deployment to WLS IPv6 issue - oracle-adf

I have already written some ADF web app. Now I want to deploy it on Weblogic server.
I installed and configured almost everything.
For example:
Weblogic,
ADF runtime
Deploy is finished fine to WLS.
[04:16:37 PM] [Deployer:149194]Operation 'deploy' on application 'Application1_ViewController_webapp' has succeeded on 'Server'
[04:16:37 PM] Application Deployed Successfully.
[04:16:37 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
[04:16:37 PM] http://[2001:0:9d38:953c:200e:224f:f5ff:f983]:7203/MyApp
[04:16:37 PM] Elapsed time for deployment: 37 seconds
[04:16:37 PM] ---- Deployment finished. ----
But in my case: test URL is http://[2001:0:9d38:953c:200e:224f:f5ff:f983]:7203/MyApp
I think URL is: IPv6
But i want IPv4 URL. How to do it?

If your server has a IPv4 address, and you haven't changed the WLS settings, then you will have a IPv4 access already.
It reports the address as IPv6 since most software will default to using IPv6 if available.

Related

How to configure java home on flink job on yarn

I submit a job to the hadoop cluster on the flink client, do I need to configure the java home path in flink conf?
If you need to configure,
Should I configure the java home of the client machine or the java home of the hadoop cluster?
When I did not configure java home, I submitted the job error as follows
LogType:jobmanager.err
Log Upload Time:Fri Jan 22 17:27:25 -0800 2021
LogLength:160
Log Contents:
Unrecognized VM option 'MaxMetaspaceSize=268435456'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
According the output you posted, you problem is not java_path (yet!)
The line
Unrecognized VM option 'MaxMetaspaceSize=268435456'
You need to remove MaxMetaspaceSize from configuration or replace it with: -XX:MaxMetaspaceSize
you can get help from this issue.

Cannot use chectl auth:login or server:shutdown

I am attempting to restart my local eclipse che server after editing some configuration. I attempted to run chectl server:stop, but got this error:
» Error: E_SHUTDOWN_CHE_SERVER_FAIL - Failed to shutdown Eclipse Che server. Login context is not set. Please login
» first.
So I attempted to login with chectl auth:login, but was again presented with an error:
Using https://che-che.169.254.109.208.nip.io/api server API URL to log in
Error: Command failed with exit code 1: oc status
error: you do not have rights to view project "default" specified in your config or the project doesn't exist
I've looked through the documentation, and couldn't find how to create a "default" project
I used chectl server:deploy --platform=docker-desktop to start my server.
I have tried other methods of deploying che, but it only worked when using Docker desktop without helm.
I am using Windows 10 home, and deploying it using Docker desktop (Engine v19.03.13) and kubernetes version v1.19.3.
Edit: I have filed a bug report on github: https://github.com/eclipse/che/issues/18355

Error occurs while deploying ADF application to WebLogic 10.3 server

We are having trouble deploying an ADF application being worked on by a colleague using Jdeveloper 11.1.1.9.0 to a standalone Weblogic 10.3 server so I was asked to post up a question here to see if anyone knows the cause of the problem.
Deployment Summary
Application Server
- Name: StandaloneWLServer
- Platform: Weblogic 10.3
- Overwrite modules: yes
- Deploy to selected instances in the domain: WC_CustomPortal (Running)
- Deploy as a standalone application
JDeveloper Deployment Log
[12:15:43 PM] ---- Deployment started. ----
[12:15:43 PM] Target platform is (Weblogic 10.3).
[12:15:43 PM] Retrieving existing application information
[12:15:43 PM] Running dependency analysis...
[12:15:43 PM] Building...
[12:15:52 PM] Deploying 3 profiles...
[12:15:52 PM] Wrote Archive Module to C:\Public\JDeveloper\mywork\CG22App11g\Model\deploy\CG22App11g_Model_adflibCG22App11g1.jar
[12:15:54 PM] Wrote Web Application Module to C:\Public\JDeveloper\mywork\CG22App11g\ViewController\deploy\CG22App11g_ViewController_webapp1.war
[12:15:55 PM] Wrote Enterprise Application Module to C:\Public\JDeveloper\mywork\CG22App11g\deploy\CG22App11g.ear
[12:15:55 PM] Deploying Application...
[12:16:09 PM] [Deployer:149191]Operation 'deploy' on application 'CG22App11g' is initializing on 'WC_CustomPortal'
[12:16:10 PM] [Deployer:149193]Operation 'deploy' on application 'CG22App11g' has failed on 'WC_CustomPortal'
[12:16:10 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application CG22App11g on WC_CustomPortal.: null.
[12:16:10 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException
[12:16:10 PM] See server logs or server console for more details.
[12:16:10 PM] weblogic.application.WrappedDeploymentException
[12:16:10 PM] #### Deployment incomplete. ####
[12:16:10 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Weblogic Server Log:
[2016-10-21T11:39:11.393-04:00] [WC_CustomPortal] [ERROR:7] [BEA-149265] [Deployer] [host: oscls-lims-ap21.osc.uscg.mil] [nwaddr: 10.149.177.197] [tid: [STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS Kernel>] [ecid: 0000LVbtLUMB9DR_UXs1yc1O1uHz0000WH,0] [TARGET: /Farm_UCM_domain/UCM_domain/WC_CustomPortal] [TARGET_TYPE: weblogic_j2eeserver] Failure occurred in the execution of deployment request with ID '1477064346998' for task '58'. Error is: 'java.lang.NullPointerException'[[
java.lang.NullPointerException
at oracle.security.jps.internal.config.deploy.AbstractCredentialDeployment.cleanupTempFiles(AbstractCredentialDeployment.java:141)...
Related Information
I was able to deploy and run the same app in the Integrated WLS server in the JDeveloper (Studio Edition: 11.1.1.9).
I was able to compile and build an EAR file but failed to deploy the EAR via Oracle Enterprise Manager with the same error message.
Which exact version of WebLogic are you using? Did you install the ADF Runtime on that server?
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/index-091111.html#Application_Servers

WLP :: Worklight :: Can't install runtime

I'm using Worklight 6.2 server edition and I can't deploy a working runtime (of other environments) on my server.
I'm using webpshere liberty profile v8.5.5 and when I deploy the runtime via GUI it says success and on server.xml I can see the new configuration for the app.
However when I go to the worklightconsole I don't see my runtime to upload the app.
On messages.log there is a error regarding JMX connection.
The quoted error is
Failed to obtain JMX connection to access an MBean. There might be a JMX configuration error: No JMX connector is configured
I'm refering this because I've seen some post on SO saying that these issues might be connected. However I have the restConnector-1.0 on my WLP features.
Reference: No runtime on my Worklight 6.2 Console after installing analytics
On messages.log there is some other things that I found interesting, like the correct start of the runtime I've deployed
[11/12/14 5:50:45:177 CST] 00000012 com.worklight.server.bundle.project.JeeProjectActivator I FWLST0002I: ========= Project /HelloWorld started. The project WAR file version is 6.2.0.00.20140922-2259,running on server version 6.2.0.00.20140613-0730. [project HelloWorld]
and two erros while starting my server
[11/12/14 5:50:49:911 CST] 00000012 SystemErr R 24 WorklightPU WARN [Scheduled Executor-thread-1] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'WorklightPU', root URL [file:/opt/IBM/WebSphere/Liberty/usr/shared/resources/worklight/lib/worklight-jee-library.jar]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
Second error:
java.lang.RuntimeException: Timeout while waiting for the management service to start up
I don't know what these are but I think it might be related to my problem and this errors eventually appear when I start my server.
Does anyone have any tips for troubleshooting this issue?
Thanks in advance.
This is a known issue from Websphere.
There is a APAR to fix that, a workaround is to restart the server with the --clean option to force a refresh onto the shared libraries.
http://www-01.ibm.com/support/docview.wss?uid=swg1PI17830

ADf mobile application is not deploy in device

I use following video for configuring ios setting.
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfmobiledeployios.html
But, When i deploy application in device i get following error.
[03:27:06 PM] xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
[03:27:06 PM] Command-line execution failed (Return code: 0)
[03:27:06 PM] Deployment cancelled.
[03:27:06 PM] ---- Deployment incomplete ----.
[03:27:06 PM] Failed to package the XCode application.
[03:27:06 PM] Failed to build the iOS application bundle.
[03:27:06 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'. The following is a summary of the returned error(s):
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
It appears /Volumes/Xcode doesnt exist on your filesystem when you were trying to deploy. Even more so, having Xcode under hte "volumes" directory indicates you have the xcode.dmg file mounted onto your filesystem as a mount and not actually installed on your filesystem.
I made a similar mistake, as the /Volumes/Xcode directory disappeared on me over night one time. To install onto your system, drag the xcode.dmg file onto the applications folder. You can use xcode from there.
After you install Xcode into your applications directory, double check your JDeveloper iOS settings "Tools > Preferences > ADF Mobile > Platforms". Make sure the SDK and xCode directories are correct.
Thanks,
Gavin
http://pitss.com/us

Resources