I thought i'd start with a clean install of Tomcat and my latest war and
then take it step-by-step.
The error I am getting on deployment first time round is this:
org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError: javax/activation/DataSource (Caused by
java.lang.NoClassDefFoundError: javax/activation/DataSource)
This makes a reference to commons-logging.jar. Where should i put it?
/shared/lib or /commons/lib?
R
David Delbecq wrote:
Yes, use shared/lib, common/lib is for classes that need to be
accessible by webapps and by catalina.
see http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for
details
David Kerber a écrit :
I thought it was .../shared/lib... ?
Alex Jalali wrote:
You would have to add those to the ../WEB-INF/lib/
In this case for javax.mail.* you would need to downlaod the java
mail API
and put the mail.jar under that folder. Any package that you place in
that
folder will be added to your class path automaticly. (for that conetext)
so there is no need to do anything else...
If you have more then one context and need to have a package
available for
all of your webapps then you can place the .jar files in
tomcat/common/lib/...
Hi,
apologies if this is an easy quesion but time is not on my side:
1. At my company we use Sun Application Server 8.1 for development and
production.
However, its not the lightest, fastest software in the world and I'm
thinking about switching to Tomcat for development and later in the
development cycle back to Sun.
Is it possible? I tried to deploy my war but i got errors about missing
classes. these classes are part of the EE Java. For example
javax.mail.*.
Is that the diffrence between Tomcat and Sun? Or is it an easy fix?
I don't use any enterprise features like EJBs or JMS.
Thanks
R
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]