Mark,
Thanks for the clarification!

I still have the same problem with extension not found
though. I checked in the code you pointed me to which
attributes are required and added them to both shared
JAR's MANIFEST.MF and to my Web app's MANIFEST.MF. I
placed all shared jars into the $TOMCAT/shared/lib
dir.
Here is an example of the MANIFEST.MF of a shared jar:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: yGuard Bytecode Obfuscator 1.0.1
Extension-Name: epcis-apiJAR
Specification-Version: 1.0
Implementation-Version: 2726
Implementation-Vendor-Id: com.connecterra

And here is how I reference it in the Web App's
MANIFEST.MF (an exerpt):

Manifest-Version: 1.0
Extension-List: edgeserverDependency
epcis-apiDependency jaxb-apiDependency
jaxb-implDependency jaxb-libsDependency
jaxb-xjcDependency relaxngDatatypeDependency
xsdlibDependency
edgeserverDependency-Extension-Name: edgeserverJAR
edgeserverDependency-Specification-Version: 2.0.0
edgeserverDependency-Implementation-Version: 2741
edgeserverDependency-Implementation-Vendor-Id:
com.connecterra
epcis-apiDependency-Extension-Name: epcis-apiJAR
epcis-apiDependency-Specification-Version: 1.0
epcis-apiDependency-Implementation-Version: 2726
epcis-apiDependency-Implementation-Vendor-Id:
com.connecterra
....

Yet, when I start TOmcat, I'm getting the following
error:
Dec 28, 2005 3:26:46 PM
org.apache.catalina.util.ExtensionValidator
validateManifestResources
INFO: ExtensionValidator[/rftagaware-2.0.0-tomcat][Web
Application Manifest]: Required extension
"epcis-apiJAR" not found.

Am I missing something here?

Thanks for your help!
MArina

--- Mark Thomas <[EMAIL PROTECTED]> wrote:

> Marina wrote:
> 
> > Does anybody know whether this optional package
> > support exists in Tomcat, or maybe I'm doing
> something
> > wrong ?
> 
> It is there but the compatibility checking is too
> strict at the
> moment. See
>
http://issues.apache.org/bugzilla/show_bug.cgi?id=37854
> for more info. In summary it affects tc4 and tc5 and
> tomcat requires
> all optional attributes to be present in all
> relevant manifests.
> 
> For more detail, take a look at the relevant source
> at
>
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/util/Extension.java
> and search for isCompatibleWith
> 
> The tc4 code is the same.
> 
> Mark
> 
> 
>
---------------------------------------------------------------------
> 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