Edd Grant (EdD) :: Code, Compose, Bike, Brew etc ... though not necessarily in that order
 

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.

  1. Stop your appserver domain(s), nodeagent(s) and instance(s).
  2. Locate <SJSAS_HOME>\config\asenv.bat where SJSAS_HOME is yous SJSAS install dir e.g. C:\Sun\ApplicationServer.
  3. Take a backup of the file.
  4. Locate the 'AS_JAVA' variable. e.g. set AS_JAVA=C:/PROGRA~2/PROGRA~1/Java/JDK15~1.0_1
  5. Figure out the DOS 8.1 path to the JDK you want to use and replace the existing path with this value.
  6. Start up your application server.
  7. Check the server.log output - it should contain the updated JDK path.
e.g. [#|2008-10-29T20:25:44.325+0000|INFO|TestAbbrevProductName8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
C:/PROGRA~2/PROGRA~1/Java/JDK15~1.0_1\bin\java

EdD

Posted at 06:48AM Oct 30, 2008 by EdD in Java
Comments[0]
Link to this post: Add this to delicious etc.
Trackback URL for this entry
Comments:

Post a Comment:
  • HTML Syntax: Allowed