Oct 30, 2008
It takes ages to re-install SJSAS so this should save some time when you need to test different appserver versions with different JDKs and don't have the time to reinstall or the resources to have multiple installs.
- Stop your appserver domain(s), nodeagent(s) and instance(s).
- Locate <SJSAS_HOME>\config\asenv.bat where SJSAS_HOME is yous SJSAS install dir e.g. C:\Sun\ApplicationServer.
- Take a backup of the file.
- Locate the 'AS_JAVA' variable. e.g. set AS_JAVA=C:/PROGRA~2/PROGRA~1/Java/JDK15~1.0_1
- Figure out the DOS 8.1 path to the JDK you want to use and replace the existing path with this value.
- Start up your application server.
- Check the server.log output - it should contain the updated JDK path.
C:/PROGRA~2/PROGRA~1/Java/JDK15~1.0_1\bin\java
EdD
Posted at 06:48AM Oct 30, 2008
by EdD in Java
Link to this post: Add this to delicious etc.
Trackback URL for this entry
Comments: