Hi,

did you try to copy the `activation.jar' in the common/lib/ (or
common/endorsed/ if newer version then in JRE) directory? This path is
_always_ included in the CLASSPATH by the startup scripts...

I have there JDBC drivers, xalan, xerces (in the common/endorsed-) and
it works fine.

And the second benefit of this directories is platform independence...
Simply you copy tomcat directory to UNIX or other Windoze with no
Control Panel hacking or other problems...

PETR


On 2/20/06, Richard Schilling <[EMAIL PROTECTED]> wrote:
> Dr. Exner:
>
> Don't dismay.  Sometimes it takes this listserve of volunteers time to
> answer questions.
>
> You didn't mention what platform you're using, but it appears to be
> Windows - by you mentioning the Windows control panel.
>
> /WEB-INF/server-config.wsdd was created, but you should check it for
> settings appropriate for your installation.  If it was there to begin
> with you might check the path your shortcut executes Tomcat in.
>
> As for the .jar files not being found, you might want to try setting the
> path that Tomcat starts in in the shortcut link.  There's a place to
> indicate what directory to run the program from.
>
> Richard Schilling
> Cognition Group, Inc.
> Seattle, WA
>
>
>
>
>
> Dr. Exner wrote:
> > Hi,
> >
> > 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 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.
> >
> > 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.
> >
> >
> > Kind Regards
> >                      D. Exner
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to