Commenting/extending the Axis documentation!
200403231616+0100 till About: axis-1_1.zip,axis-1_1\docs\install.html
Had some probs getting the axis samples running, doing it as suggested didn't get them running. Here's how i got them:
- following takes place on: Apache Tomcat/5.0.19 1.4.2_03-b02 Sun Microsystems Inc. Windows 2000 5.0 x86(w2ksrv_sp4)
- per default apache+tomcat install here: C:\Apache Group\Apache2\ and c:\Apache Group\Tomcat 5.0
- i put them here: E:\_\prg\Apache Group\Apache2\ and E:\_\prg\Apache Group\Tomcat 5.0
- i wanted to preserve at least the path schema of both when i had to change the the install dir. change was due to other requirements not worth to explain here. but: w/ preserving the path schema i took the crux of the default installation path with me. that is: whitespaces in the full path.
- with install.html i got as far as running axis and it's start page sufficiently except soapmonitor.
- Copying E:\_\prg\java\axis-1_1\webapps\axis\ to E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\ and restarting tomcat was all i did to get axis running
- well, now the hack begins: starting adminclient to deploy the stock sample. fighting with CLASSPATH.
- remember, i have whitespaces in the tomcat dir: e.g. E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\lib\axis.jar
- now, the -cp rule on windows java is: put paths with whitespace into quotation marks. example: java -cp "c:\x y\foo.jar";"c:\y z\bar.jar"
- adminclient.class needs 8 jars as classpath. 8 jars with a path length like the upper sample axis.jar in my case. this seems to be a problem.
- to get rid of the presumably overly-lenghty classpath string i did following:
- Supplementing dir E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\classes\samples\stock\ with the contents of E:\_\prg\java\axis-1_1\samples\stock\ in order to run adminclient from there w/o the need of referencing the needed classes to that long path. (from here i can use relative paths)
- which is done like that:
E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\classes\samples\stock>java -cp %AXCP% org.apache.axis.client.AdminClient -lhttp://localhost:48080/axis/services/AdminService deploy.wsdd
- whereas:
- %AX%=..\..\..\lib
- %AXCP%=%AX%axis.jar;%AX%commons-discovery.jar;%AX%commons-logging.jar;%AX%jaxrpc.jar;%AX%saaj.jar;%AX%log4j-1.2.8.jar;%AX%xml-apis.jar;%AX%xercesImpl.jar
- Note: my tomcatport is set to 48080, be aware
- hope this is clear enough to give you the essential workaround idea
- ask here, if something isn't obvious
any pointers how to solve that general classpath problem really much appreciated