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:

  1. following takes place on: Apache Tomcat/5.0.19 1.4.2_03-b02 Sun Microsystems Inc. Windows 2000 5.0 x86(w2ksrv_sp4)
  2. per default apache+tomcat install here: C:\Apache Group\Apache2\ and c:\Apache Group\Tomcat 5.0
  3. i put them here: E:\_\prg\Apache Group\Apache2\ and E:\_\prg\Apache Group\Tomcat 5.0
  4. 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.
  5. with install.html i got as far as running axis and it's start page sufficiently except soapmonitor.
  6. 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
  7. well, now the hack begins: starting adminclient to deploy the stock sample. fighting with CLASSPATH.
  8. remember, i have whitespaces in the tomcat dir: e.g. E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\lib\axis.jar
  9. 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"
  10. 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.
  11. to get rid of the presumably overly-lenghty classpath string i did following:
  12. 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)
  13. which is done like that:
  14. 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

  15. whereas:
  16. %AX%=..\..\..\lib
  17. %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
  18. Note: my tomcatport is set to 48080, be aware
  19. hope this is clear enough to give you the essential workaround idea
  20. ask here, if something isn't obvious
  21. any pointers how to solve that general classpath problem really much appreciated ;-)

  

AxisProjectPages/DocAdd (last edited 2009-09-20 23:32:57 by localhost)