embedded@glassfish.java.net

RE: [embedded] How to specify default-web.xml

From: Joey Jarosz <joey_at_hotngui.com>
Date: Mon, 16 Mar 2009 11:46:45 -0800

Hi Jennifer,
 
No, I am definitely not using JTA. Currently I am testing with just a
simple JSP application and a couple of simple servlets.
 
The problem does not exist in the b11 build.

        -----Original Message-----
        From: Jennifer Chou
        Sent: Mon 3/16/2009 11:37 AM
        To: embedded_at_glassfish.dev.java.net
        Cc:
        Subject: Re: [embedded] How to specify default-web.xml
        
        

        Hi Joey,
        
        Looks like you are using JTA? This could be a bug. I know we
have been
        focusing our testing on the web tier with jsp, servlet, and
jdbc.
        
        Jennifer
        
        Joey Jarosz wrote:
>
> Hi Jennifer,
>
>
>
> Unfortunately when I try to build/run with the promoted builds
b13 or
> b14 I get the following exception:
>
>
>
> rg.glassfish.embed.EmbeddedException: Exception while
deploying the
> app : java.lang.Exception:
> org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied
> dependency exception : private
> om.sun.enterprise.config.serverbeans.TransactionService
>
com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.txnSer
vice
>
>
> at
>
org.glassfish.embed.impl.SilentActionReport.check(SilentActionReport.jav
a:69)
>
>
> at
>
org.glassfish.embed.EmbeddedDeployer.deploy(EmbeddedDeployer.java:144)
>
> at
com.chipestimate.server.AppServer.start(AppServer.java:102)
>
> at
>
com.chipestimate.server.CCPSServer.startAppServer(CCPSServer.java:70)
>
> at
com.chipestimate.server.CCPSServer.main(CCPSServer.java:411)
>
>
>
>
>
>
>
> I am running the "all" flavor of the jar file so I would
except there
> to be no issues.
>
>
>
> -----Original Message-----
> From: Jennifer.Chou_at_Sun.COM [ mailto:Jennifer.Chou_at_Sun.COM]
> Sent: Monday, March 16, 2009 10:00 AM
> To: embedded_at_glassfish.dev.java.net
> Subject: Re: [embedded] How to specify default-web.xml
>
>
>
> This EmbeddedFileSystem.setDefaultWebXml() should be in the
latest
> promoted build 14 now.
>
>
>
> And sorry no - we don't have a public API to replace
EmbeddedWebDeployer.
>
>
>
> Jennifer
>
>
>
> Joey Jarosz wrote:
>
> > Thanks Jennifer,
>
> >
>
> > In the meantime, is there a way via public API to replace
the
>
> > EmbeddedWebDeployer class with my own? I see its added to
the
>
> > InhabitantParser, but can't figure out if its possible to
get a handle
>
> > at that parser instance so I can do the swap.
>
> >
>
> > Thanks,
>
> > Joey
>
> >
>
> > -----Original Message-----
>
> > From: Jennifer.Chou_at_Sun.COM [ mailto:Jennifer.Chou_at_Sun.COM]
>
> > Sent: Thursday, March 12, 2009 10:18 AM
>
> > To: embedded_at_glassfish.dev.java.net
>
> > Subject: Re: [embedded] How to specify default-web.xml
>
> >
>
> > Hi Joey,
>
> >
>
> > I have added setDefaultWebXml() back to EmbeddedFileSystem
yesterday.
>
> > However, it looks like the latest nightly build did not get
pushed to
>
> > the maven repo yet.
>
> >
>
> > Note that are working on improving and having a more
complete API on the
>
> >
>
> > 'trunk' - our main development. And this API may likely
change.
>
> >
>
> > Thanks,
>
> > Jennifer
>
> >
>
> > Joey Jarosz wrote:
>
> >
>
> >> I grabbed the latest promoted build the other day.
Apparently
>
> >> Server.setDefaultWebXml() went away and I can't figure out
how to
>
> >> specify the default-web.xml file to be used by my web-apps.
Any
>
> >> suggestions?
>
> >>
>
> >> I kind of hoped that maybe if I just put it in
>
> >> <installdir>/config/default-web.xml that it would be found
but no such
>
> >>
>
> >
>
> >
>
> >> luck.
>
> >>
>
> >> --------------------------------------------
>
> >> Joey Jarosz
>
> >>
>
> >> Senior Architect
>
> >>
>
> >> // Chip Planning Solutions //
>
> >>
>
> >> **/ Cadence Design Systems, Inc. /***/
>
> >> /* (408) 914-6269
>
> >>
>
> >>
>
> >> /*/ Need some IP? Check out /*//*/ www.chipestimate.com /*/
>
> >> < http://www.chipestimate.com>
>
> >>
>
> >>
>
> >
>
> >
---------------------------------------------------------------------
>
> > To unsubscribe, e-mail:
embedded-unsubscribe_at_glassfish.dev.java.net
>
> > For additional commands, e-mail:
embedded-help_at_glassfish.dev.java.net
>
> >
>
> >
>
> >
---------------------------------------------------------------------
>
> > To unsubscribe, e-mail:
embedded-unsubscribe_at_glassfish.dev.java.net
>
> > For additional commands, e-mail:
embedded-help_at_glassfish.dev.java.net
>
> >
>
> >
>
>
>
>
---------------------------------------------------------------------
>
> To unsubscribe, e-mail:
embedded-unsubscribe_at_glassfish.dev.java.net
>
> For additional commands, e-mail:
embedded-help_at_glassfish.dev.java.net
>
>
>
        
        
---------------------------------------------------------------------
        To unsubscribe, e-mail:
embedded-unsubscribe_at_glassfish.dev.java.net
        For additional commands, e-mail:
embedded-help_at_glassfish.dev.java.net