dev@glassfish.java.net

Re: issue in connector deployment

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Mon, 15 Oct 2007 21:10:12 +0530

Hi Erik,
I agree that the issue is severe in your case. Please update the issue
with your comments.

Thanks,
-Jagadish

On Mon, 2007-10-15 at 08:31 -0700, Erik Bengtson wrote:
> 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
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>