Well this post might not be very useful to you because such a requirement is very rare....but still i thought of writing what i experienced.
I was working on a project and i installed Weblogic by using JDK of Jrockit version 1.6_25(update 25).
Then i installed all the managed servers like soa_server, IPM_server, UCM_server under weblogic.
Everything was working fine till the time i had to configure ODC on a Sun JDK machine, somehow things were not working properly, so i thought of changing the JDK version of my servers.
I dropped the idea of re-installing weblogic and all the managed servers as, it would have not solved the purpose.
Thus, i figured out the way to change it so that when the server starts it creates a JVM of SUN instead of JRockit.
In order to achieve this, following changes have to be incorporated:
"ShutDown all the servers before starting making configuration changes"
1)First install Sun JDK 1.6.25 and give install directory as C:\java
2)Open setDomainEnv.cmd present under
3)set BEA_JAVA_HOME=C:\Java\jdk1.6.0_25(modify existing do not add new)
4)set SUN_JAVA_HOME=C:\Java\jdk1.6.0_25(modify existing do not add new)
5)Go to directory
6)Open
7)set JAVA_HOME=C:\Java\jdk1.6.0_25(modify existing do not add new)
8)set JAVA_VENDOR=Sun(add if not there)
9)Under option :sun
i)set JAVA_VM=-client( for development)
or
i)set JAVA_VM=-SERVER( for production)
10)Save all and restart servers
Make sure everything is working fine, if weblogic server doesn't start try to add Environment Variable
JAVA_VENDOR=Sun
I hope this might be of any help to you just in case you get stuck in similar situation..!!!
Good information. I tried to upgrade my Weblogic 10.0 MP1 to use JDK 1.5_10 from 32 bit mode to 64 bit without success.
ReplyDeleteDo you have any pointers ?
Hello Abhinav
ReplyDeleteCan I re-blog the topic? I am the main contributor for the signed in wordpress blog.
Regards,
Raj