thanks for reading.

if you want to get right down to it, just read the first paragraph and the
last.


i'm looking for comments on the "progress" i've made while setting up axis
1.0 under tomcat 3.3.1. -- my setup is the simplest one, i suppose,  where
axis is running as a webapp under tomcat and the axis libs folder
( called _libs_ below ) is here:
  TOMCAT_HOME \ webapps \ axis \ WEB-INF \ lib

and i've just gotten it to work.  it's ugly but it works.

i'm doing this in preparation to develop a simple web service for a client
which will expose a single method to clients.

stepping through the installdoc
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/install.html

the process has included the following hesitant moves :

1. happyaxis.jsp returns error --> add [ activation.jar ] to _libs_
                                             --> add [ mail.jar ] and [
xmlsec.jar ]  for sport

*restarted tomcat here*

re: #1 -- everything is ok now.

2. "Test a SOAP Endpoint" returns error:  [ compiler not found in
classpath ]
http://localhost:8080/axis/services/Version?method=getVersion
--> add [ tools.jar ] to _libs_

*restarted tomcat here*

re: # 2 -- works fine now.

3. "Test a JWS Endpoint" returns error [ import cannot find
javax.servlet.* ]
http://localhost:8080/axis/EchoHeaders.jws?method=list
--> add [ servlet.jar ] to _libs_

*restarted tomcat here*

re: #3 -- everything works.

i now receive valid, error-free responses from my axis 1.0 installation when
clicking the links in the axis installation doc.  nice, right?

i have a strange feeling about this.

partly because i don't think my client will appreciate me moving files
around

and partly because i couldn't recreate the error to document it in this
email.


when trying to recreated the error i hit more ambiguous walls:

i tried renaming the class files to activation.old, tools.old and
servlet.old but
happyaxis.jsp seems to remember that activation.jar was there and gets
huffy with me

java.lang.NoClassDefFoundError: javax/activation/DataSource
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:115)
           at happyaxis_1.classExists(happyaxis_1.java:46)
           at happyaxis_1.probeClass(happyaxis_1.java:89)
           at happyaxis_1.wantClass(happyaxis_1.java:183)
           at happyaxis_1._jspService(happyaxis_1.java:363)

whereas before it nicely told me what was missing.

after fixing that i suddenly get full functionality, as if i didn't ever
need tools.jar and
servlet.jar in the first place. (remember, they're still named tools.old and
servlet.old)

of course i *restarted tomcat here* while making the changes to the file
names to
recreate the error messages.

any comments would be of help.

to clarify, what is one *supposed* to do to fix these errors that come up
while
testing an installation of axis 1.0 on tomcat 3.3.1 ?

many thanks in advance,

sherif



Reply via email to