Hi all,
We have found problems when we have changed the JRE, going from 1.3.1_03 to 1.3.1_10, used by an Oracle 9iAS 9.0.3 server.
After changing the JDK, suddenly the datasources are not visible inside the EJBs.
We compile in Windows environment using JDK 1.3.1_02.
May the different versions of JDK be a problem? Is it important to compile with the same JDK version than the JRE version that is going to execute the classes?
Thanks a lot...
Jose R. Díaz
-
Change of JDK in J2ee server (5 messages)
- Posted by: Jose Ramon Diaz
- Posted on: February 05 2004 05:18 EST
Threaded Messages (5)
- Change of JDK in J2ee server by Paul Strack on February 05 2004 08:48 EST
- Change of JDK in J2ee server by Jose Ramon Diaz on February 05 2004 10:12 EST
- Change of JDK in J2ee server by Paul Strack on February 05 2004 09:10 EST
- Change of JDK in J2ee server by Jose Ramon Diaz on February 05 2004 10:12 EST
- Change of JDK in J2ee server by Sharmila Ramar on February 09 2004 11:03 EST
- Change of JDK in oracle 10g app server by Francis Lukose on August 31 2005 01:30 EDT
-
Change of JDK in J2ee server[ Go to top ]
- Posted by: Paul Strack
- Posted on: February 05 2004 08:48 EST
- in response to Jose Ramon Diaz
If you switched from a JRE embedded in the server to a JRE of your own, it is possible that you are missing addition JRE files and settings added by Oracle. Check the jre/lib/ext directory of Oracle's JDK to see what's there. -
Change of JDK in J2ee server[ Go to top ]
- Posted by: Jose Ramon Diaz
- Posted on: February 05 2004 10:12 EST
- in response to Paul Strack
Thanks for your reply, Paul....
But there was nothing interesting in lib/ext inside the JVM directory. In fact, that directory does not exist.
But that´s an interesting point... Might you have any other clue? :( -
Change of JDK in J2ee server[ Go to top ]
- Posted by: Paul Strack
- Posted on: February 05 2004 21:10 EST
- in response to Jose Ramon Diaz
Well ... it is possible that Oracle hacked the rt.jar or some other core library when they set up the JVM. As a rule, I avoid altering the JVM used by any of the commercial servers; they do strange things to the JVM in order to squeeze out every last drop of performance they can get.
I have not worked with Oracle myself, but I have had similar issues with Websphere. I would leave the server's JVM alone. In my experience, though, it is not a requirement to compile you code with the exact same JVM, only one with the same major version number. -
Change of JDK in J2ee server[ Go to top ]
- Posted by: Sharmila Ramar
- Posted on: February 09 2004 11:03 EST
- in response to Jose Ramon Diaz
Dear Jose
When you change the JRE/jdk on 9.0.3 server ,you need to copy all the files from the existing $ORACLE_HOME/jdk/jre/lib/ext/ to the new JDK's /lib/ext directory.
Also the oracle's security configuration have to be added in to jdk/jre/lib/security/java.security as
definitionsauth.policy.provider=oracle.security.jazn.spi.PolicyProvider
login.configuration.provider=oracle.security.jazn.spi.LoginConfigProvider
May be you can try these options,because we've been successful in changing the JDK versions in 9.0.3
Sharmila -
Change of JDK in oracle 10g app server[ Go to top ]
- Posted by: Francis Lukose
- Posted on: August 31 2005 01:30 EDT
- in response to Jose Ramon Diaz
how can we change the jre version of oracle 10g application server. currently it is using jdk 1.4.x but i need to change it to jdk 1.5.x.