When you try and run your web application and the embedded WebLogic tries to start you might run into an error like:
This is most likely due to the fact that JDeveloper is trying to use the wrong JVM to run your WebLogic.
Solution
Add the following lines
JAVA_VENDOR="Sun"
By doing this you'll instruct WebLogic to start with a regular JVM and not the JRockit variant which isn't on your mac.
More details here
Unrecognized option: -jrockit Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
This is most likely due to the fact that JDeveloper is trying to use the wrong JVM to run your WebLogic.
Solution
Edit the file: /users/vinay/.jdeveloper/system11.1.1.7.40.64.93/DefaultDomain/bin/setDomainEnv.sh
Add the following lines
JAVA_VENDOR="Sun"
export JAVA_VENDOR
By doing this you'll instruct WebLogic to start with a regular JVM and not the JRockit variant which isn't on your mac.
More details here
No comments:
Post a Comment