dev@glassfish.java.net

Re: issue in connector deployment

From: Erik Bengtson <erik_at_jpox.org>
Date: Mon, 15 Oct 2007 08:31:32 -0700

Jagadish,

The issue has been downgraded to P4 priority.

In my scenario, I have many jars inside the RAR file with /META-INF/MANIFEST.MF
files, and I don't think we can say this is a corner case since it happens for
all platforms. IMO the severity of the issue was under estimated.

Thanks a lot.

Erik

------- Additional comments from hzhang_jn
As this is a corner case (directory and file share the same name on a
case-insensitive platform), this is not a show stopper for 9.1 FCS. Downgrade to
P4,

Quoting Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>:

> Seems to be similar to the issue :
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=3539
>
>
>
>
> On Sun, 2007-10-14 at 21:59 +0200, Erik Bengtson wrote:
> > 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
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>