Starting the WebSphere® Application Server V5 Test Environment in WebSphere Studio Application Developer as a Separate Process
 Technote (troubleshooting)
 
Problem(Abstract)
The WebSphere Application Server V5 base test environment that comes with WebSphere Studio Application Developer (WSAD) V5 will not start as an independent process outside WSAD.
 
Cause
The directory path variables defined in the WebSphere test environment configuration files do not correspond to the directories where WSAD places the WebSphere install files.
 
Resolving the problem
Assuming WSAD is installed in the default location, the following WebSphere files need to be modified before the startServer.bat command will work:
  1. In the <WSAD drive>:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\bin\setupCmdLine.bat file:

    1. With the line starting with 'SET WAS_HOME', set the directory to the real home directory. By default, this should be C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5

    2. With the line starting with 'SET JAVA_HOME', set the directory to the real Java home directory. By default, this should be C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java

    3. In the line starting with 'SET WAS_EXT_DIRS', there is a directory path entry pointing to the C:\Program Files\IBM\WebSphere MQ\lib. If WSAD was installed in a drive other than C, you will need to change the C in this line to the WSAD drive

  2. In the <WSAD drive>:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\bin\wsinstance\configdefaults\cells\localhost\nodes\localhost\variables.xml, <WSAD drive>:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\config\cells\localhost\nodes\localhost\variables.xml, and <WSAD drive>:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\MasterConfig\cells\localhost\nodes\localhost\variables.xml files:

    1. With the line starting with '<entries xmi:id="VariableSubstitutionEntry_1" symbolicName="WAS_INSTALL_ROOT"', set value equal to the real home directory. By default, this should be C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5

    2. With the line starting with '<entries xmi:id="VariableSubstitutionEntry_9" symbolicName="JAVA_HOME"', set value equal to the real Java home directory. By default, this should be C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java

    3. With the line starting with '<entries xmi:id="VariableSubstitutionEntry_10" symbolicName="MQ_INSTALL_ROOT"', if WSAD was installed in a drive other than C, you will need to change the C in the value to the WSAD drive
After this, you should be able to open a command prompt window, change to the <WSAD drive>:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\bin directory and execute the startServer server1 command to start WebSphere Application Server V5.

The WebSphere administrative console can be accessed at this URL:

http://<hostname>:9090/admin

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Install
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1141710
IBM Group: Software Group
Modified date: Mar 2, 2004