[wsas-java-dev] [jira] Created: (WSAS-269) WSAS won't start if a directory in %WSO2WSAS_CLASSPATH% has whitespaces in it

Ali M. Hodroj (JIRA) jira at wso2.org
Thu Jun 28 16:44:15 PDT 2007


WSAS won't start if a directory in %WSO2WSAS_CLASSPATH% has whitespaces in it
-----------------------------------------------------------------------------

                 Key: WSAS-269
                 URL: http://www.wso2.org/jira/browse/WSAS-269
             Project: WSO2 WSAS
          Issue Type: Bug
          Components: core
    Affects Versions: 1.1
         Environment: OS: Microsoft Windows XP Profressional
Java: JDK 1.6

            Reporter: Ali M. Hodroj
         Assigned To: Afkham Azeez


Problem: (in startup.bat)
The WSAS server will not start if a directory in the paths collected in the %WSO2WSAS_CLASSPATH% variable contains a whitespace. For example the contents of the %WSO2WSAS_CLASSPATH% variable on my system were:
"C:\jdk1.6\lib\tools.jar";C:\wsas\bin\..\conf;C:\Program Files\amzi\amzi_7-4-12\lsapis\java20;C:\STAF\bin\JSTAF.jar;

Caused an exception (NoClassDefFound) was thrown complaining about "Files\amzi..." was not found. 

The simple fix to that is to put double quotes around "%WSO2WSAS_CLASSPATH%" in startup.bat (on Windows) line 125.

Note: This is most probably the cause of "(WSAS-181) Trouble starting WSAS as an NT service." bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Wsas-java-dev mailing list