Hi,
I have a deployment issue between a JPOX connector and Glassfish container.
RAR Structure (A Rar file with 3 jars)
--------------------------------------
/Jpox.rar
/Jpox.rar!jpox-core.jar
/Jpox.rar!jpox-java5.jar
/Jpox.rar!jpox-jca.jar
/Jpox.rar!META-INF/ra.xml
Drilling down into the jars structure:
/Jpox.rar!jpox-core.jar!plugin.xml
/Jpox.rar!jpox-core.jar!META-INF/manifest.mf
/Jpox.rar!jpox-core.jar!org/jpox /etc...
/Jpox.rar!jpox-java5.jar!plugin.xml
/Jpox.rar!jpox-java5.jar!META-INF/manifest.mf
/Jpox.rar!jpox-java5.jar!org/jpox/java5/etc.
/Jpox.rar!jpox-jca.jar!plugin.xml
/Jpox.rar!jpox-jca.jar!META-INF/manifest.mf
/Jpox.rar!jpox-jca.jar!org/jpox/resource/etc.
Note that each jar has a /plugin.xml and /META-INF/manifest.mf file. These
files are specific to each jar.
The problem
------------
The problem starts at the moment the rar is deployed. During deployment, the
container explodes the RAR file to the following structure:
/Jpox.rar/META-INF/ra.xml
/Jpox.rar/plugin.xml
/Jpox.rar/META-INF/manifest.mf
/Jpox.rar/org/jpox/etc.
/Jpox.rar/org/jpox/java5/etc.
/Jpox.rar/org/jpox/resource/etc.
The problem is that the /plugin.xml and /META-INF/manifest.mf files were of
course overridden when the connector is exploded.
Analysis and Proposed Solution
------------------------------
IMO this is a **critical issue** (All other containers have no problem), so
I propose an exploded structure that would fix the issue, see:
/Jpox.rar/META-INF/ra.xml
/Jpox.rar/jpox-core.jar/plugin.xml
/Jpox.rar/jpox-core.jar/META-INF/manifest.mf
/Jpox.rar/jpox-core.jar/org/jpox/etc.
/Jpox.rar/jpox-java5.jar/plugin.xml
/Jpox.rar/jpox-java5.jar/META-INF/manifest.mf
/Jpox.rar/jpox-java5.jar/org/jpox/java5/etc.
/Jpox.rar/jpox-jca.jar/plugin.xml
/Jpox.rar/jpox-jca.jar/META-INF/manifest.mf
/Jpox.rar/jpox-jca.jar/org/jpox/resource/etc.
More discussion
----------------
See the following links:
http://wiki.glassfish.java.net/Wiki.jsp?page=Frameworks
http://www.jpox.org/servlet/forum/viewthread?thread=3424
Thanks,
Erik Bengtson