|
I had problems like that with 3.2.4
working with the jars in the mywebapp_location/WEB-INF/lib. In Tomcat 4, it
worked properly. I moved them to Tomcat's [TOMCAT_HOME]/lib, and it worked with
3.2.
----- Original Message -----
Sent: Wednesday, January 30, 2002 6:03
PM
Subject: trouble with "Building Web
Services" ch3 ex2: please help!
Hi,
I'm having trouble running Chapter 3 Example 2 from the
otherwise very good book "Building Web
Services with Java", and since I'm new
at this it's hard to figure out where the problem is. I've setup
Tomcat 3.2.4 and the examples according to
the book's example installation
instructions. Up to that point, all examples work properly.
However, when I press the "Check inventory"
button on that example, I get a
java.lang.Exception: Null response
message!, the first part of which is reproduced further on below.
It's true that during example deployment,
I got this rather strange message from
Axis, which I don't know whether it's an indication of a real problem or not (and if so, what is
it?):
Axis status
messages: Processing file:
C:\Tomcat\jakarta-tomcat-3.2.4\webapps\bws\resources\deploy.xml Null
response message! Doing a list Null response message!
Axis deployment response: null Axis deployment
listing: null
Please help. I think this book will be very
useful to me for learning about Web
Services, but if this basic example doesn't run, I'm stymied. I followed the instructions precisely, and therefore
had the expectation that the examples
would work correctly, out of the box! Oh yeah, I'm using JDK 1.3.1_02. Many thanks! --
Ivan
Error: 500 Location: /bws/ch3/ex2/index.jsp Internal Servlet Error: AxisFault faultCode:
http://xml.apache.org/axis/:Server.generalException faultString:
java.lang.Exception: Null response message!
at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:582)
at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:494)
at
ch3.ex2.InventoryCheckClient.doCheck(InventoryCheckClient.java:27)
at
ch_00033.ex_00032._0002fch_00033_0002fex_00032_0002findex_0002ejspindex_jsp_0._jspService(_0002fch_00033_0002fex_00032_0002findex_0002ejspindex_jsp_0.java:127)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
|