I got homework to create Oracle ADF applications according to the instructions on oracle.com, specifically there: http://docs.oracle.com/cd/E37547_01/tutorials/tut_rich_app/tut_rich_app_2.html
But in step 10, I can not start IntegratedWeblogic server.
Log with fails is there: http://www.sendspace.com/file/v9l7vy
My bare idea is diacritical marks and space in my Windows username 'Petr Mojžíš'. I use Microsoft account to login to Windows, which create this anomaly.
I use Windows 8.1 64bit in English version and Oracle JDeveloper 12c.
Thank you for your advice
Modify %HOME%\oracle_common\common\bin\commEnv.cmd file setting USER_MEM_ARGS environment variable after ":continue" tag and re-create default domain again from Application Servers view on JDeveloper.
SET USER_MEM_ARGS=-Xms32m -Xmx1024m -XX:MaxPermSize=512m -XX:MaxHeapSize=512m
Try to set a system environment variable JDEV_USER_HOME and point it to a path in your directory D:\JDEV_USER_HOME . But this way the Jdeveloper related information is stored in the D:\JDEV_USER_HOME rather than AppData under user directory .
The problem is that you have your Weblogic in directory that has both special characters and spaces C:\Users\Petr Mojžíš\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain
In order to overcome this, Close your JDeveloper, create a new Environment variables JDEV_USER_HOME which points to a directory without any spaces or special characters. Open JDeveloper again and you should be good to go.
I had experienced a situation with the integrated weblogic server goes to the point when it says it is and it stops there, jdeveloper does not exit task. Making it impossible to deploy apps.
Possible solution.
It seems that it might have to do with Environment settings.
I changed the JAVA_HOME to point to the one in %ORACLE_HOME%\oracle_common\jdk and set the path to %JAVA_HOME%\bin and it seems to solve the issue.
Previously I was on
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
and now on
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Related
Similar question to this one but with a different OS. I've installed the latest Java and verified by:
> java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
I also make sure that JAVA_HOME is set as system variable and verify it by:
> $env:java_home
C:\Program Files (x86)\Java\jdk1.8.0_192
Then, I tried both ZIP installation and MSI installation of the Elastic Windows Service. It's installed but doesn't run. When forced manually, it says that it can't do that on the local system (1067, the process terminated unexpectedly).
I tried to reinstall all the relevant components. I tried scm /scannow and reimporting the keys into registry. I tried to re-set the user and system environment variables. Etc. I'm out of ideas.
I noticed that there's no logs directory in Elastic installation root. Also, there's no configuration files in that directory as far I could see. Where exactly should they be located so I can check what's logged and play around with different settings.
I have several versions of Java on my system (OS X El Capitan, version 10.11.6). My current JAVA_HOME variable is set to a Java 8 JDK, and the bin directory is in my path:
$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Nevertheless, whenever I try to start Eclipse or STS, I get a crash, and inside the .metadata/.log file in the workspace it includes the line:
java.version=9-ea
I can edit the eclipse.ini file and add a -vm flag to get it to start with the proper JVM, but what mystifies me is where Eclipse is getting the wrong information in the first place. Isn't setting JAVA_HOME enough? Where else might it be finding Java?
I think the native launcher of Eclipse uses /usr/libexec/java_home to determine the current JVM to use and I am not aware of a way to change that command to point to a different VM as a default.
I am trying to encrypt a database password for my Java EE Application in the terminal. according to this tutorial
The steps are as follows:
Change directory to your domain’s bin folder (For Eg. cd WLS_home\user_projects\domains\mydomain\bin)
Use setDomainEnv.cmd/sh script to setup the environment
Run java weblogic.security.Encrypt which will prompt for the password and will print the encrypted value in stdout.
However, when I execute 'java weblogic.security.Encrypt', I am presented with the following:
Error: Could not find or load main class weblogic.security.Encrypt
I am developing my project in Eclipse and have configured my Weblogic-12.1.3 server in Eclipse. I am not sure why this error is happening, but I expect its because my java version is 1.8, and maybe it expects me to use java 1.6 which I think comes with Weblogic installation.
java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
You must type
cd WLS_home/user_projects/domains/mydomain/bin/
. ./setDomainEnv.sh
You must use two separate dots, that should do the trick!
I am using Java 8 with WebLogic 12.1.3 on Linux. I had to add some classpath entries, but it worked like this:
java -cp /home/devuser/Oracle/Middleware/Oracle_Home/wlserver/modules/features/*:/home/devuser/Oracle/Middleware/Oracle_Home/wlserver/modules/* weblogic.security.Encrypt
I had the same issue when I set set enableHotswapFlag= to true. please leave this flag empty and try.
There seem to be similar questions but not on the same versions.
Netbeans has been "Background scanning of projects..." for hours now (everything is newly installed) and I don't get anything in the predictive text nor Navigator. Both just show "Please Wait"
Is there something I can do here or is this a known issue?
OSX: 10.10.2
Netbeans: 8.0.2
Java: java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
Project Language: PHP
You might try to clear the Netbeans cache. It should (don't know the location in OSX) be located in
$your_user_directory/.netbeans/var/cache
To check if it might be related to some other settings try to start netbeans with a clear settings directory
netbeans --userdir <point_to_some_temporary_directory>
I have installed Oracle Java 7 in my /home directory by following steps given here (by just changing the path of installation). But still I cannot see the plugin listed in the chrome://plugins tab.
I also cannot see it running in JavaTester or here. I have tried enabling by following steps provided here but nothing works.
Some specifications:
Operating System: Ubuntu 14.04
output of java -version:
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
Please comment if anything more is needed for resolving the problem
Just pull it from webupd8 servers. Follow the directions at the following link.
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
Also, this belongs on a different forum. This forum is for programming questions, installing a chrome plugin isn't really what we do. Next time post to the Ubuntu stack exchange located here.