axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Chisholm" <danchish...@attbi.com>
Subject Example Updates for Building Web Services with Java
Date Thu, 02 May 2002 22:17:37 GMT
I've been reading the book titled, "Building Web Services with Java".  The
examples were written for Tomcat 3.2.4 and the examples are bundled with a
version of Axis that precedes beta1.  The examples run fine on Tomcat 3.2.4,
but some updates are required if you would like to run them on Tomcat 4.0.3.

The first of the updates is to skip the modifications to the
<jakarta-tomcat>\conf\server.xml file that are described in the installation
instructions.

The optional SSL modification refers to classes that do not exist in Tomcat
4.0.3 and consequently Tomcat won't even start. The addition of the
<context> element listed in the installation instructions will prevent
Tomcat from locating the examples. The solution is to skip both server.xml
modifications.

The next update is required to deploy the examples. Use a text editor to
open the
bws\util\deployServices.jsp file.  Remove the parameter from the
AdminClient.

// Before update
//AdminClient admin = new AdminClient(new PrintWriter(log));

// After update
AdminClient admin = new AdminClient();

With the above modifications, the examples from Chapters 2 and 3 should run.
However, you will have to read the SSL HOW_TO on the Tomcat 4.0.3 page to
get the Chapter 5 examples working.  As mentioned above the server.xml
updates for the SSL connector won't run on Tomcat 4.0.3.

I noticed that some of the authors of the book frequently post on this mail
list--for example Yuichi Nakamura.  I suppose they could add to the above
suggests if I have made any errors.

I should also mention that any attempt to run the examples on Windows 98 is
futile.  As the installation instructions suggest, Windows 2000 is required.

Dan


Mime
View raw message