Please edit the bat file and use the following. where you need to
replace "c:\axis2\lib" with your path and replace
"org.apache.axis2.xxx.yyy.zzz" with the actual class mentioned in the
bat file.

java -Djava.ext.dirs=c:\axis2\lib org.apache.axis2.xxx.yyy.zzz

thanks,
dims

On 4/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,

I have searched the mail archive many times now and found many similar mail
posts but always without any practicle solution.

The problem is simple: Almost ANY *.bat from the Axis2 bundle does not work
due to limitations of W2k variable lengths in batch-files. I.e., the
classpath for the java-call (created by a for-statement) is cut and a
NoClassDefFoundError occurs!

Even the hint to jar all %AXIS2_HOME%\lib\*.jar into a single Axis2.jar did
not work (even with proper manifest entries).

So, is there a solution for Windows 2000? Or do I have to migrate to XP? On
Windows XP everything works fine (but my company laptop still has W2k
installed and migration would be too time-consuming for me at the moment).

Thank you very much for a working hint!

Best regards,
Guido Adolphi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to