For flexibility some people put all their jars in /webapps/axis/../lib and keep *no* jars in common/lib. Then they add /webapps/../lib to the Tomcat list of java endorsed dirs. To do this, edit setclasspath script in Tomcat/bin, make your change and restart Tomcat.
I prefer not to do this. I find the default works fine except that the Axis validation page sees the Xerces 1 jar in common/lib but cannot see the xerces 2 jars in webapps/axis/../lib I can live with this for now. -Rey ----- Original Message ----- From: Bohn Volker <[EMAIL PROTECTED]> Date: Mon, 21 Oct 2002 15:36:24 +0200 To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: AW: what might be wrong? Please help me. > Yes, you're right Eric! > Some files are supposed to go in /tomcat/common/lib > an some in your /webapps/[...]/lib > > > ---------- > > Von: Jung, Eric (Contractor)[SMTP:[EMAIL PROTECTED]] > > Antwort an: [EMAIL PROTECTED] > > Gesendet: Montag, 21. Oktober 2002 15:28 > > An: '[EMAIL PROTECTED]' > > Betreff: RE: what might be wrong? Please help me. > > > > Aren't some of the Axis jars supposed to go in /tomcat/common/lib if using > > Tomcat as the servlet container? I forget which ones, but if you search > > the > > mail-archives.com I'm sure you'll find them. > > Anyone else have ideas? > > > > -----Original Message----- > > From: Emma Johansson [mailto:Emma.Johansson@;su.eip.ericsson.se] > > Sent: Monday, October 21, 2002 7:09 AM > > To: [EMAIL PROTECTED] > > Subject: what might be wrong? Please help me. > > > > > > Hi! > > When browsing to http://150.132.6.212:8080 jakarta tomcats homepage is > > viewing and I'm able to execute some examples from that page. Even thogh > > everything is extreamly slow. > > When browsing to http://150.132.6.212:8080/soap the soap homepage pops up > > (after several minutes) But when I'm trying to list the deployed list an > > error message tells me > > ------------------------- > > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an > > internal error () that prevented it from fulfilling > > this request. > > exception > > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error occurred at line: 4 in the jsp file: /admin/list.jsp > > Generated servlet error: > > [javac] Compiling 1 source file > > /home/loke/ejoemma/tomcat/work/Standalone/localhost/soap/admin/list_jsp.ja > > va > > :8: package org.apache.soap does not exist > > import org.apache.soap.Constants; > > ^ > > /home/loke/ejoemma/tomcat/work/Standalone/localhost/soap/admin/list_jsp.ja > > va > > :9: package org.apache.soap.server does not exist > > import org.apache.soap.server.*; > > ^ > > ..... > > ...... > > ...... > > ------------------------------------ > > The same thing is with apache axis. I can browse to the homepage > > (...:8080/axis) but when trying to click 'Validate' or 'View' error pages > > appears instead of the correct pages. > > -------------------------------------- > > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented it > > from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Cannot inherit from final class > > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > > :2 > > 48) > > at > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) > > at > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > .... > > ... > > ... > > -------------------------------------- > > > > This is my .cshrc file (classpath): > > Have I missed some or must I change the location of some of the files? > > ---------------------------------------------------------------- > > source /usr/local/lib/Cshrc > > setenv PATH > > /usr/local/j2sdk1.4.0/bin:/home/loke/ejoemma/tomcat/bin:${PATH} > > setenv CLASSPATH .: > > /usr/local/j2sdk1.4.0/lib:.: > > /usr/local/j2sdk1.4.0: > > /usr/local/j2sdk1.4.0/bin: > > /home/loke/ejoemma/tomcat/common/lib/servlet.jar: > > /home/loke/ejoemma/tomcat/common/lib/mail.jar: > > /home/loke/ejoemma/tomcat/common/lib/activation.jar: > > /home/loke/ejoemma/soap-2_3_1/lib/soap.jar: > > /home/loke/ejoemma/soap-2_3_1: > > /home/loke/ejoemma/tomcat: > > /home/loke/ejoemma/xml-axis-10: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/axis.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/commons-discovery.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/commons-logging.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/jaxrpc.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/saaj.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/log4j-1.2.4.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/wsdl4j.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/xercesImpl.jar: > > /home/loke/ejoemma/tomcat/webapps/axis/WEB-INF/lib/xmlParserAPIs.jar > > ------------------------------------------------------------------- > > Does anyone know what I should do to make (specially) axis to work? > > /Emma > > > > > > -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup