Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 60731 invoked from network); 29 Jun 2003 19:35:39 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Jun 2003 19:35:39 -0000 Received: (qmail 11847 invoked by uid 97); 29 Jun 2003 19:38:07 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 11840 invoked from network); 29 Jun 2003 19:38:07 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Jun 2003 19:38:07 -0000 Received: (qmail 59290 invoked by uid 500); 29 Jun 2003 19:35:27 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 59277 invoked from network); 29 Jun 2003 19:35:27 -0000 Received: from unknown (HELO rwcrmhc13.attbi.com) (204.127.198.39) by daedalus.apache.org with SMTP; 29 Jun 2003 19:35:27 -0000 Received: from NTSERVER (c-66-176-232-6.se.client2.attbi.com[66.176.232.6](untrusted sender)) by attbi.com (rwcrmhc13) with SMTP id <2003062919353101500q5l9ne>; Sun, 29 Jun 2003 19:35:32 +0000 From: "Jose Osorio" To: "Tomcat Users List" Subject: RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java 1.4.1_02 Date: Sun, 29 Jun 2003 15:30:52 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <1298.131.94.2.162.1056914935.squirrel@www.cs.fiu.edu> Disposition-Notification-To: "Jose Osorio" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Axis is the next generation of Apache-SOAP. The later is being deprecated. The Wrox book is basic but good enough to give you the basics for more rigoruous work. The sample code is also good. The error messages that you listed do point a problem to bootstrap classes not being located, which leads me to believe that you have a path (and classpath) setting issue. Yeah man, I realized it was you John. Jose.- > -----Original Message----- > From: john d barreto [mailto:jbarr001@cs.fiu.edu] > Sent: Sunday, June 29, 2003 3:29 PM > To: tomcat-user@jakarta.apache.org > Subject: RE: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java > 1.4.1_02 > > > Jose, > I'm avoiding Axis. I tried to use it, but the documentation is not > adequate, the only book on Axis (the Wrox book) did not receive good > reviews, and Apache-SOAP has served me sufficiently well. Apache-SOAP is > more than adequate. I am not going to rely on documentation that only > shows the simplest of examples where strings are passed. In that example, > they mention a constant for Strings, but how would I pass other datatypes > for instance? I am waiting for a good book on Axis to come out. First, I > want to get SOAP working again. > > As for the port number, I am only doing what worked in the past. I think > things got screwed up when I installed the new SDK1.4. Using > localhost/soap/admin/ in the browser. > > Y tengo la presion del Ege. > > Later Chamo!! > > Did you notice it was me?!?? > > > > First of all, isn't port 80 reserved for http sevices? This may conflict > > with tomcat. > > > > Secondly, check your environment to make sure the point to the proper > > installation directories where you loaded tomcat & axis. > > > > Also, if you have other installations of SOAP implementations, these may > > conflict with axis. > > > > On a web browser, type: http://localhost:8080/axis/happyaxis.jsp > > (note the port number, in your case it will be the one you have > > designated for tomcat.) > > > > The resulting markup output is the output of axis-soap probing. I have a > > Linux environment and the following are the results I get (you mentioned > > Win98 and that may have something to do with the problem you are > > experiencing.): > > > > > > Axis Happiness Page > > Examining webapp configuration > > > > Needed Components > > Found SAAJ API (javax.xml.soap.SOAPMessage) at > > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/saaj.jar > > Found JAX-RPC API (javax.xml.rpc.Service) at > > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/jaxrpc.jar > > Found Apache-Axis (org.apache.axis.transport.http.AxisServlet) at > > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/axis.jar > > Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource) > > at /usr/local/tomcat418/webapps/axis/WEB-INF/lib/commons-discovery.jar > > Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at > > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/commons-logging.jar > > Found Log4j (org.apache.log4j.Layout) at > > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar > > Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at > > /usr/local/tomcat418/webapps/axis/WEB-INF/lib/wsdl4j.jar > > Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an > > unknown location > > Found Activation API (javax.activation.DataHandler) at > > /usr/local/tomcat418/common/lib/activation.jar > > > > Optional Components > > Found Mail API (javax.mail.internet.MimeMessage) at > > /usr/local/tomcat418/common/lib/mail.jar > > > > Warning: could not find class org.apache.xml.security.Init from file > > xmlsec.jar > > XML Security is not supported > > See http://xml.apache.org/security/ > > > > Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at > > an unknown location > > > > > > The core axis libraries are present. 1 optional axis library is missing > > Note: On Tomcat 4.x and Java1.4, you may need to put libraries that > > contain java.* or javax.* packages into CATALINA_HOME/common/lib > > jaxrpc.jar and saaj.jar are two such libraries. > > Note: Even if everything this page probes for is present, there is no > > guarantee your web service will work, because there are many > > configuration options that we do not check for. These tests are > > necessary but not sufficient > > > > > > > ------------------------------------------------------------------ > ---------- > > ---- > > > > Examining Application Server > > Servlet version 2.3 > > XML Parser org.apache.xerces.jaxp.SAXParserImpl > > XML ParserLocation an unknown location > > > > Examining System Properties > > java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition > > java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol > > sun.boot.library.path=/usr/local/j2sdk141/jre/lib/i386 > > java.vm.version=1.4.1_01-b01 > > java.vm.vendor=Sun Microsystems Inc. > > java.vendor.url=http://java.sun.com/ > > path.separator=: > > java.vm.name=Java HotSpot(TM) Client VM > > file.encoding.pkg=sun.io > > user.country=US > > sun.os.patch.level=unknown > > java.vm.specification.name=Java Virtual Machine Specification > > user.dir=/usr/local/tomcat418 > > java.runtime.version=1.4.1_01-b01 > > java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment > > > java.endorsed.dirs=/usr/local/tomcat418/bin:/usr/local/tomcat418/c > ommon/endo > > rsed > > os.arch=i386 > > java.io.tmpdir=/usr/local/tomcat418/temp > > line.separator= > > > > java.vm.specification.vendor=Sun Microsystems Inc. > > java.naming.factory.url.pkgs=org.apache.naming > > os.name=Linux > > sun.java2d.fontpath= > > > java.library.path=/usr/local/j2sdk141/jre/lib/i386/client:/usr/loc > al/j2sdk14 > > 1/jre/lib/i386:/usr/local/j2sdk141/jre/../lib/i386 > > java.specification.name=Java Platform API Specification > > java.class.version=48.0 > > > java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPrefe > rencesFact > > ory > > os.version=2.4.18-3 > > user.home=/root > > user.timezone=America/New_York > > catalina.useNaming=true > > java.awt.printerjob=sun.print.PSPrinterJob > > file.encoding=ISO-8859-15 > > java.specification.version=1.4 > > catalina.home=/usr/local/tomcat418 > > user.name=root > > > java.class.path=/usr/local/j2sdk141/lib/tools.jar:/usr/local/tomca > t418/bin/b > > ootstrap.jar > > java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory > > java.vm.specification.version=1.0 > > sun.arch.data.model=32 > > java.home=/usr/local/j2sdk141/jre > > java.specification.vendor=Sun Microsystems Inc. > > user.language=en > > java.vm.info=mixed mode > > java.version=1.4.1_01 > > java.ext.dirs=/usr/local/j2sdk141/jre/lib/ext > > > sun.boot.class.path=/usr/local/tomcat418/bin/tomcat-jni.jar:/usr/l > ocal/tomca > > > t418/bin/commons-daemon.jar:/usr/local/tomcat418/bin/bootstrap.jar > :/usr/loca > > > l/tomcat418/common/endorsed/xercesImpl.jar:/usr/local/tomcat418/co > mmon/endor > > > sed/xmlParserAPIs.jar:/usr/local/j2sdk141/jre/lib/rt.jar:/usr/loca > l/j2sdk141 > > > /jre/lib/i18n.jar:/usr/local/j2sdk141/jre/lib/sunrsasign.jar:/usr/ > local/j2sd > > > k141/jre/lib/jsse.jar:/usr/local/j2sdk141/jre/lib/jce.jar:/usr/loc > al/j2sdk14 > > 1/jre/lib/charsets.jar:/usr/local/j2sdk141/jre/classes > > java.vendor=Sun Microsystems Inc. > > catalina.base=/usr/local/tomcat418 > > file.separator=/ > > java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi > > sun.cpu.endian=little > > sun.io.unicode.encoding=UnicodeLittle > > sun.cpu.isalist= > > > > > > > > > ------------------------------------------------------------------ > ---------- > > ---- > > Platform: Apache Tomcat/4.1.18 > > > > > > > >> -----Original Message----- > >> From: john d barreto [mailto:jbarr001@cs.fiu.edu] > >> Sent: Sunday, June 29, 2003 2:20 PM > >> To: tomcat-user@jakarta.apache.org > >> Subject: Problem installing Apache-SOAP on Tomcat 4.1.24 using Java > >> 1.4.1_02 > >> > >> > >> Hi Everybody, > >> > >> I'm trying to get SOAP working on Tomcat 4.1.24. I have j2se 1.4.1 > >> installed on my Win98 machine. Has anyone ever tried this? > >> > >> When I launch "http://localhost/soap/servlet/rpcrouter" (I've changed > >> the default port to port 80 instead of port 8080), I get the following > >> message: > >> javax.servlet.ServletException: Error allocating a servlet instance at > >> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper. > >> java:672) > >> .. > >> . > >> root cause > >> java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet > >> at java.lang.ClassLoader.findBootstrapClass(Native Method) > >> .. > >> . > >> > >> If I try to list the deployed services I get: > >> org.apache.jasper.JasperException: javax/servlet/ServletContext > >> . > >> root cause > >> javax.servlet.ServletException: javax/servlet/ServletContext > >> . > >> > >> I have no idea how to fix this. I don't know if it has to do with the > >> new sdk1.4.1's "endorsed directories". The instructions for setting > >> up Apache Axis mention this : > >> http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/in > > stall.html > > (look under Step 2). > > It is also described by Sun : > > http://java.sun.com/j2se/1.4.2/docs/guide/standards/ > > > > Thanks, > > J > > P.S. I don't want to work with Apache Axis. > > > > > > > > --------------------------------------------------------------------- To > > unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For > > additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- To > > unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For > > additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org