I am testing the deployment of a webapp that needs some java extensions (jdbc connectors) which are not available on the server.
I specified the optional packages and their versions in the MANIFEST.MF file included in the WAR file as I suppose one has to.
Surprisingly, the manager app does not report any error when I deploy the war file... but, of course, the deployed application won't start because it does not have all the needed extensions.
I am using tomcat version 5.0.19 and my MANIFEST file contents are as follows:
----------------------------
Manifest-Version: 1.2
Name: CMECP/fo
Class-Path: servlet-api.jar activation.jar mail.jar com.mysql.jdbc
Extension-List: activation mail mysqljdbc servlet
activation-Extension-Name: javax.activation
activation-Specification-Version: 1.0
activation-Implementation-Version: 1.0.2
activation-Implementation-Vendor-Id: com.sun
activation-Implementation-URL: http://java.sun.com/products/stdext/activation.jar
mail-Extension-Name: javax.mail
mail-Specification-Version: 1.3
mail-Implementation-Version: 1.3.1
mail-Implementation-Vendor-Id: com.sun
mail-Implementation-URL: http://java.sun.com/products/stdext/mail.jar
mysqljdbc-Extension-Name: com.mysql.jdbc
mysqljdbc-Specification-Version: 3.0
mysqljdbc-Implementation-Version: 3.0.10
mysqljdbc-Implementation-Vendor-Id: com.mysql
mysqljdbc-Implementation-URL: http://www.mysql.com/products/mysql-connector-java-3.0.10-stable- bin.jar
servlet-Extension-Name: javax.servlet
servlet-Specification-Version: 2.4
servlet-Implementation-Version: 2.4.public_draft
servlet-Implementation-Vendor-Id: org.apache
servlet-Implementation-URL: http://jakarta.apache.org/products/servlet-api.jar
----------------------------
Do you detect any changes I might do to the MANIFEST.MF file so that Tomcat's manager stops it from being deployed?
I thank you in advance for any comments you may send.
Carlos
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]