axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moshe Bar-Nachoom <mo...@silver-kite.com>
Subject stupid axis linux install question
Date Tue, 12 Jul 2005 16:17:45 GMT
hi there...
been out of email for several days now (sorry).
i got an installation question.
i tried changing my linux environment from installing java, tomcat and 
axis under user "root" to doing so under a regular user.
tomcat works.
eclipse works.
but when i copy the axis libraries under the tomcat webapps directory 
the startup process fails and i get the following error:

"Error configuring application listener of class 
org.apache.axis.transport.http.AxisHTTPSessionListener
java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener"
and then a stack dump.

does anyone has an idea?

my environment vars are:
export JAVA_HOME=/home/moshe/jdk1.5.0_01
export JAVA_LIBS=/home/moshe/libraries
export CATALINA_HOME=/home/moshe/jakarta-tomcat-5.5.7
export ANT_HOME=/home/moshe/apache-ant-1.6.2
export AXIS_HOME=/home/moshe/libraries/axis-1_2_1
export AXIS_LIB=$AXIS_HOME/lib

export 
AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log
4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar

export JAFCLASSPATH=$JAVA_LIBS/home/moshe/libraries/jaf-1.0.2/activation.jar

export JAVAMAIL_LIB=$JAVA_LIBS/javamail-1.3.2/lib
export 
JMAILCLASSPATH=$JAVA_LIBS/javamail-1.3.2/mail.jar:$JAVAMAIL_LIB/imap.jar:$JAVAMAIL_LIB/mailapi.jar:$JAVAMAIL_LIB/pop3.jar:$JAVAMAIL_LIB/smtp.jar

export XERCES_LIB=$JAVA_LIBS/xerces-2_6_2
export 
XERCESCLASSPATH=$XERCES_LIB/JAVA_LIBS:$XERCES_LIB/xercesSamples.jar:$XERCES_LIB/xml-apis.jar:$XERCES_LIB/xmlParserAPIs.jar

export 
CLASSPATH=:$CATALINA_HOME/common/lib:$JAVA_HOME/lib/:$JAVA_HOME/lib/tools.jar:$AXIS_LIB:$AXISCLASSPATH:$JAFCLASSPATH:$JMAILCLASSPATH:$XERCESCLASSPAT
H

export 
PATH=:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/sbin/:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/home/moshe/jdk1.5.0_
01/bin:/home/moshe/ant/bin

and i also copied the required (xercess, javamail and jaf) jar files to 
the axis lib directory and the axis and related jars to the tomcat 
common lib directory.

any urgent help would be appreciated...

thanks.
moshe


Mime
View raw message