Dr. Exner wrote:
> for a course including a short introduction and demo on web services I have
> to decide, whether to base it on java/tomcat/axis or on C#/.NET. Because
> I'm using xerces-j already in this course (and for some other reasons), I
> preffered the java solution. However, I hang with the test installation and
> I got no answer to my question from this list. Is there another chance for
> support with tomcat/axis or is C#/.NET the solution to my aim?

The canonical place to ask for help with problems using axis is the axis-user 
mailing list. A browseable archive of this list is here:
http://mail-archives.apache.org/mod_mbox/ws-axis-user/
But since your problem seems basically a problem with Tomcat's classloading, I 
don't think this list is a too bad place either.

Anyway, there is no guarantee that your questions will be answered, since 
no-one writing here gets paid for it (at least AFAIK). But I don't think 
you'll get guaranteed support if you switch to C#/.NET - that is, unless you 
pay for it.
So, everything boils down for you to making your question as interesting as 
possible and, above all, as easy to answer as possible. I. e. give a 
*detailed* description of what you did (so that others have an easy time 
retracing your steps), what you expected from these actions and what was the 
actual outcome (error messages, stacktraces etc.).
IMO this is still an useful document to read:
http://www.catb.org/~esr/faqs/smart-questions.html

> The question was:
> --------------------------------
> with both, the preconfigured version from
> jakarta-tomcat-5.5.9-preconfigured.zip and the installation from
> apache-tomcat-5.5.15.exe I get the following startup messages:
>
> - "Unable to find config file.  Creating new servlet engine config file:
>    /WEB-INF/server-config.wsdd"
> - "Unable to find required classes (javax.activation.DataHandler and
>    javax.mail.internet.MimeMultipart). ..."
>
> However, the activation.jar (from jaf-1.0.2) is included in the
> CLASSPATH (via Windows Control Panel) correctly and a test
> application successfully uses the javax.activation.DataHandler class
> from this archive.

Don't use CLASSPATH. It won't help you at all WRT Tomcat. This explains how 
classes are loaded by Tomcat:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

In essence, what you should do is copy activation.jar, mail.jar and 
xmlsec-x.y.z.jar to
common/lib
or
shared/lib
in your Tomcat installation directory to make the happyaxis.jsp really happy.

> I wouldn't care for this but the main reason for using tomcat (at the
> moment) is the axis-j toolset. While validating the axis installation with
> the "happy axis" page I get the same error:
>     "Error: could not find class javax.activation.DataHandler from file
>     activation.jar
>     Axis will not work."
> ---------------------------------
> For my understanding axis inherits the runtime environment from the tomcat
> server.
> Of course I experienced with the settings in the autoexec.bat file from the
> tomcat installation.

See above.

Regards
  mks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to