Deploying beans in Axis + Java 1.5
Posted on 2006-03-24
I have tomcat working and axis claims it is happy. I had full web services working with Java 1.4 and Axis 1.2 to 1.3. Unfortunately, the web services that worked under Java 1.4 with the old axis don't seem to work anymore (and I had to upgrade due to too many 1.5 clients choking). All this under RedHat Linux if it matters.
The deploy files throw a class not found exception from SAXParserFactory if the local java command points to IBM java, and a NullPointerException if the local java points to the 1.5 jdk. Here's the deploy script I've been using:
java -classpath $AXIS_LIB/axis.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/jaxb-xjc.jar:$AXIS_LIB/jaxb-libs.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/wsdl4j.jar:$AXIS_LIB/log4j-1.2.8.jar org.apache.axis.client.AdminClient -p 80 $1
Thanks for any help.