axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stickley, Jim" <JStick...@birch.com>
Subject RE: Initial configuration problem...
Date Tue, 09 Apr 2002 19:18:53 GMT
Found that the pre-built axis distribution has the excluded classes
described below....

Why do I have to copy the jaxrpc.jar to the $TOMCAT_HOME/lib directory?  I
had it installed in $TOMCAT_HOME/webapps/axis/WEB-INF/lib but tomcat could
not find it.  Once I put a copy in $TOMCAT_HOME/lib everything worked ok.


-----Original Message-----
From: Stickley, Jim [mailto:JStickley@birch.com]
Sent: Tuesday, April 09, 2002 12:16 PM
To: axis-user@xml.apache.org
Subject: Initial configuration problem...


I am using tomcat 4.0.2 with Axis Beta 1 and I can load the axis/index.html
when I type in http://localhost:8080/axis/.  I have installed the axis
directory into the tomcat webapps dir (file listing below) and am getting a
tomcat error when tomcat loads the axis webapp (summary follows, full
listing from log file at the end):
	
	java.lang.ClassNotFoundException:
org.apache.axis.transport.http.AdminServlet
	java.lang.ClassNotFoundException:
org.apache.axis.transport.http.AxisServlet


After poking around I find that these classes are marked as excluded in the
build.xml.  Why would these file be explicitly marked as excluded in the
build.xml file when your installation procedure requires them?


------------------webapps/axis LISTING-----------------------

$ du -a webapps/axis
1       webapps/axis/index.html
4       webapps/axis/StockQuoteService.jws
12      webapps/axis/WEB-INF/.web.xml.swp
1       webapps/axis/WEB-INF/classes/samples/bidbuy/Address.class
2       webapps/axis/WEB-INF/classes/samples/bidbuy/BidService.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/LineItem.class
2       webapps/axis/WEB-INF/classes/samples/bidbuy/PurchaseOrder.class
3       webapps/axis/WEB-INF/classes/samples/bidbuy/RegistryService.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$1.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$10.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$11.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$12.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$13.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$14.class
2       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$15.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$16.class
2       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$17.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$18.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$19.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$2.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$3.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$4.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$5.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$6.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$7.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$8.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$9.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/rfq$MyTableModel.class
14      webapps/axis/WEB-INF/classes/samples/bidbuy/rfq.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/Service.class
4       webapps/axis/WEB-INF/classes/samples/bidbuy/TestClient.class
7       webapps/axis/WEB-INF/classes/samples/bidbuy/v3.class
1       webapps/axis/WEB-INF/classes/samples/bidbuy/vInterface.class
58      webapps/axis/WEB-INF/classes/samples/bidbuy
3
webapps/axis/WEB-INF/classes/samples/echo/echoHeaderStringHandler.class
3
webapps/axis/WEB-INF/classes/samples/echo/echoHeaderStructHandler.class
5       webapps/axis/WEB-INF/classes/samples/echo/EchoService.class
1       webapps/axis/WEB-INF/classes/samples/echo/EchoServiceAccess.class
1
webapps/axis/WEB-INF/classes/samples/echo/EchoServiceAccessLocator.class
14
webapps/axis/WEB-INF/classes/samples/echo/EchoServiceBindingStub.class
2       webapps/axis/WEB-INF/classes/samples/echo/EchoServicePortType.class
2       webapps/axis/WEB-INF/classes/samples/echo/SOAPArrayStruct.class
2       webapps/axis/WEB-INF/classes/samples/echo/SOAPStruct.class
2       webapps/axis/WEB-INF/classes/samples/echo/SOAPStructStruct.class
1       webapps/axis/WEB-INF/classes/samples/echo/TestClient$1.class
2       webapps/axis/WEB-INF/classes/samples/echo/TestClient$2.class
8       webapps/axis/WEB-INF/classes/samples/echo/TestClient.class
46      webapps/axis/WEB-INF/classes/samples/echo
1       webapps/axis/WEB-INF/classes/samples/encoding/Data.class
3       webapps/axis/WEB-INF/classes/samples/encoding/DataDeser.class
1       webapps/axis/WEB-INF/classes/samples/encoding/DataDeserFactory.class
3       webapps/axis/WEB-INF/classes/samples/encoding/DataSer.class
1       webapps/axis/WEB-INF/classes/samples/encoding/DataSerFactory.class
1       webapps/axis/WEB-INF/classes/samples/encoding/ElementService.class
3       webapps/axis/WEB-INF/classes/samples/encoding/testElement.class
5       webapps/axis/WEB-INF/classes/samples/encoding/TestSer.class
18      webapps/axis/WEB-INF/classes/samples/encoding
1       webapps/axis/WEB-INF/classes/samples/message/MessageService.class
2       webapps/axis/WEB-INF/classes/samples/message/testMessage.class
3       webapps/axis/WEB-INF/classes/samples/message
3       webapps/axis/WEB-INF/classes/samples/misc/TestClient.class
3       webapps/axis/WEB-INF/classes/samples/misc
3       webapps/axis/WEB-INF/classes/samples/proxy/ProxyService.class
3       webapps/axis/WEB-INF/classes/samples/proxy
1       webapps/axis/WEB-INF/classes/samples/stock/ComInfoService.class
2       webapps/axis/WEB-INF/classes/samples/stock/GetInfo.class
3       webapps/axis/WEB-INF/classes/samples/stock/GetQuote.class
4       webapps/axis/WEB-INF/classes/samples/stock/GetQuote1.class
2       webapps/axis/WEB-INF/classes/samples/stock/StockQuoteService.class
12      webapps/axis/WEB-INF/classes/samples/stock
3       webapps/axis/WEB-INF/classes/samples/transport/FileReader.class
2       webapps/axis/WEB-INF/classes/samples/transport/FileSender.class
3       webapps/axis/WEB-INF/classes/samples/transport/FileTest.class
1       webapps/axis/WEB-INF/classes/samples/transport/FileTransport.class
2       webapps/axis/WEB-INF/classes/samples/transport/tcp/AdminClient.class
4       webapps/axis/WEB-INF/classes/samples/transport/tcp/GetQuote.class
1       webapps/axis/WEB-INF/classes/samples/transport/tcp/Handler.class
4
webapps/axis/WEB-INF/classes/samples/transport/tcp/TCPListener$SocketHandler
.class
4       webapps/axis/WEB-INF/classes/samples/transport/tcp/TCPListener.class
3       webapps/axis/WEB-INF/classes/samples/transport/tcp/TCPSender.class
3
webapps/axis/WEB-INF/classes/samples/transport/tcp/TCPTransport.class
21      webapps/axis/WEB-INF/classes/samples/transport/tcp
30      webapps/axis/WEB-INF/classes/samples/transport
2
webapps/axis/WEB-INF/classes/samples/userguide/example1/TestClient.class
2       webapps/axis/WEB-INF/classes/samples/userguide/example1
2
webapps/axis/WEB-INF/classes/samples/userguide/example2/CalcClient.class
2       webapps/axis/WEB-INF/classes/samples/userguide/example2
2       webapps/axis/WEB-INF/classes/samples/userguide/example3/Client.class
1
webapps/axis/WEB-INF/classes/samples/userguide/example3/MyService.class
3       webapps/axis/WEB-INF/classes/samples/userguide/example3
2       webapps/axis/WEB-INF/classes/samples/userguide/example4/Client.class
2
webapps/axis/WEB-INF/classes/samples/userguide/example4/LogHandler.class
1
webapps/axis/WEB-INF/classes/samples/userguide/example4/Service.class
5       webapps/axis/WEB-INF/classes/samples/userguide/example4
2
webapps/axis/WEB-INF/classes/samples/userguide/example5/BeanService.class
3       webapps/axis/WEB-INF/classes/samples/userguide/example5/Client.class
1       webapps/axis/WEB-INF/classes/samples/userguide/example5/Order.class
6       webapps/axis/WEB-INF/classes/samples/userguide/example5
1
webapps/axis/WEB-INF/classes/samples/userguide/example6/WidgetPrice.class
1       webapps/axis/WEB-INF/classes/samples/userguide/example6
19      webapps/axis/WEB-INF/classes/samples/userguide
192     webapps/axis/WEB-INF/classes/samples
192     webapps/axis/WEB-INF/classes
518     webapps/axis/WEB-INF/lib/axis.jar
12      webapps/axis/WEB-INF/lib/clutil.jar
55      webapps/axis/WEB-INF/lib/commons-logging.jar
25      webapps/axis/WEB-INF/lib/jaxrpc.jar
77      webapps/axis/WEB-INF/lib/log4j-core.jar
128     webapps/axis/WEB-INF/lib/tt-bytecode.jar
140     webapps/axis/WEB-INF/lib/wsdl4j.jar
1609    webapps/axis/WEB-INF/lib/xerces.jar
2564    webapps/axis/WEB-INF/lib
1       webapps/axis/WEB-INF/perms.lst
1       webapps/axis/WEB-INF/users.lst
2       webapps/axis/WEB-INF/web.xml
2772    webapps/axis/WEB-INF
2777    webapps/axis

-------------------- axis startup from the tomcat logs
-----------------------------
2002-04-09 11:58:14 StandardContext[/axis]: Configuring non-privileged
default Loader^M
2002-04-09 11:58:14 StandardContext[/axis]: Configuring default Manager^M
2002-04-09 11:58:14 StandardContext[/axis]: Processing standard container
startup^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploying class repositories to
work directory C:\Program Files\Apache Tomcat 4.0\work\localhost\axis^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR /WEB-INF/lib/axis.jar to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\axis.ja
r^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR /WEB-INF/lib/clutil.jar
to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\clutil.
jar^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR
/WEB-INF/lib/commons-logging.jar to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\commons
-logging.jar^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR /WEB-INF/lib/jaxrpc.jar
to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\jaxrpc.
jar^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR
/WEB-INF/lib/log4j-core.jar to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\log4j-c
ore.jar^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR
/WEB-INF/lib/tt-bytecode.jar to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\tt-byte
code.jar^M
2002-04-09 11:58:14 WebappLoader[/axis]: Deploy JAR /WEB-INF/lib/wsdl4j.jar
to
d:\SOAP_INSTALL\Axis\xml-axis\java\axis-1_0\webapps\axis\WEB-INF\lib\wsdl4j.
jar^M
2002-04-09 11:58:14 WebappLoader[/axis]: Reloading checks are enabled for
this Context^M
2002-04-09 11:58:14 StandardManager[/axis]: Seeding random number generator
class java.security.SecureRandom^M
2002-04-09 11:58:14 StandardManager[/axis]: Seeding of random number
generator has been completed^M
2002-04-09 11:58:14 ContextConfig[/axis]: ContextConfig: Processing START^M
2002-04-09 11:58:14 StandardContext[/axis]: Setting deployment descriptor
public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'^M
2002-04-09 11:58:15 StandardContext[/axis]: Setting deployment descriptor
public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'^M
2002-04-09 11:58:14 StandardManager[/axis]: Seeding random number generator
class java.security.SecureRandom^M
2002-04-09 11:58:14 StandardManager[/axis]: Seeding of random number
generator has been completed^M
2002-04-09 11:58:14 ContextConfig[/axis]: ContextConfig: Processing START^M
2002-04-09 11:58:15 ContextConfig[/axis]: Scanning web.xml tag libraries^M
2002-04-09 11:58:15 ContextConfig[/axis]: Scanning library JAR files^M
2002-04-09 11:58:15 ContextConfig[/axis]: Added certificates -> request
attribute Valve^M
2002-04-09 11:58:15 ContextConfig[/axis]: Pipline Configuration:^M
2002-04-09 11:58:15 ContextConfig[/axis]:
org.apache.catalina.valves.CertificatesValve/1.0^M
2002-04-09 11:58:15 ContextConfig[/axis]:
org.apache.catalina.core.StandardContextValve/1.0^M
2002-04-09 11:58:15 ContextConfig[/axis]: ======================^M
2002-04-09 11:58:15 StandardContext[/axis]: Configuring application event
listeners^M
2002-04-09 11:58:15 StandardContext[/axis]: Sending application start
events^M
2002-04-09 11:58:15 StandardContext[/axis]: Starting filters^M
2002-04-09 11:58:15 StandardContext[/axis]: Posting standard context
attributes^M
2002-04-09 11:58:15 StandardWrapper[/axis:default]: Loading container
servlet default^M
2002-04-09 11:58:15 default: init^M
2002-04-09 11:58:15 StandardWrapper[/axis:invoker]: Loading container
servlet invoker^M
2002-04-09 11:58:15 invoker: init^M
2002-04-09 11:58:15 jsp: init^M
2002-04-09 11:58:15 StandardWrapper[/axis:AdminServlet]: Marking servlet
AdminServlet as unavailable^M
2002-04-09 11:58:16 StandardContext[/axis]: Servlet /axis threw load()
exception^M
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:87
1)^M
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)^M
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3266)^M
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)^M
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)^M
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)^M
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)^M
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)^M
        at
org.apache.catalina.core.StandardService.start(StandardService.java:388)^M
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)^M
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)^M
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:28)^M
        at java.lang.reflect.Method.invoke(Method.java:327)^M
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)^M
----- Root Cause -----^M
java.lang.ClassNotFoundException:
org.apache.axis.transport.http.AdminServlet^M
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1394)^M
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1243)^M
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:86
5)^M
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)^M
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3266)^M
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)^M
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)^M
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)^M
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)^M
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)^M
        at
org.apache.catalina.core.StandardService.start(StandardService.java:388)^M
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)^M
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)^M
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)^M
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)^M
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42
)^M
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:28)^M
        at java.lang.reflect.Method.invoke(Method.java:327)^M
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)^M
^M
2002-04-09 11:58:16 StandardContext[/axis]: Starting completed^M

Jim Stickley
Birch Telecom
jstickley@birch.com
office: (816) 300-6743
mobile: (816) 213-4878


Mime
View raw message