You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Mauro Molinari (JIRA)" <ji...@apache.org> on 2007/11/27 17:37:43 UTC

[jira] Commented: (AXIS2-3087) axis2.bat, axis2server.bat and wsdl2java.bat scripts do not work if axis2 directory path is too long

    [ https://issues.apache.org/jira/browse/AXIS2-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545903 ] 

Mauro Molinari commented on AXIS2-3087:
---------------------------------------

There are also problems in setting the AXIS2 environment variable. When Axis2 folder path name is very long and/or when JAR files are long (suppose you are working with a snapshot build...), when the batch script builds up the AXIS2 environment variable, in Windows 2000 this environment variable becomes too long and NoClassDefFound errors occur when trying to run tools such as WSDL2Java.

I had to install Axis2 to c:\a2 and, when using a nightly build, to rename all JARs so that SNAPSHOT is removed from their names...

Mauro.

> axis2.bat, axis2server.bat and wsdl2java.bat scripts do not work if axis2 directory path is too long
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3087
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3087
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Attachments: axis2longdirpath.JPG
>
>
> See the attached screen shot. Axis2.bat, axis2server.bat and wsdl2java.bat scripts quit functioning when AXIS2_HOME path is too long. 
> AXIS2_HOME = C:\Documents and Settings\Charitha Kankanamge\test directory\my test\new folder\my testaaaa\new test\long path\long path test\axis2-1.3-RC3
> This path is acceptable since some other batch scripts are working from the same location.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org