quality@glassfish.java.net

Re: Deployment of our JEE 5 app on GFv3.1

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Wed, 3 Nov 2010 19:07:40 +0100

Final hi for this thread (I think),


The app now works as is on GlassFish v3.1. Testing the app on GFv3.1
showed several lines of code that were errorprone so I rewrote them.
Great stuff! Testing my JEE5 app on GFv3.1 actually led to code
improvements that went unnoticed on GFv2 :-)


Thanks, Wouter

On Tue, Nov 02, 2010 at 07:48:18PM +0100, To quality wrote:
> Hi,
>
>
> So, I removed the PhaseListeners and commented out some more code and
> now the application seems to be running correctly. I'll have to check
> again tomorrow when I'm at work to make sure everything works ok with a
> working database connection. That part is needed for the code I
> commented out.
>
> Thanks to everyone who helped really think about what's going on :-)
>
>
> Wouter
>
> On Tue, Nov 02, 2010 at 07:23:57PM +0100, To quality wrote:
> > On Tue, Nov 02, 2010 at 09:48:53AM -0700, Ryan Lubke wrote:
> > > Can you share the details on the NPE?
> >
> > Sure. This is the stacktrace:
> >
> > [#|2010-11-02T16:55:35.053+0100|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=27;_ThreadName=http-thread-pool-8080-(1);|StandardWrapperValve[FacesServlet]:
> > PWC1406: Servlet.service() for servlet FacesServlet threw exception
> > java.lang.NullPointerException
> > at org.primefaces.context.PrimeExternalContext.redirect(PrimeExternalContext.java:45)
> > at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:182)
> > at nl.mijnprivilege.pas.jsf.listener.AuthenticationPhaseListener.afterPhase(AuthenticationPhaseListener.java:39)
> >
> > I'll have to admit that only now I have noticed the PrimeFaces class
> > that is throwing the NPE. Still, this works on GFv2. I'll contact the
> > PrimeFaces developers and will ask there what's going on.
> >
> >
> > Thanks, Wouter
> >
> > --
> > Gravity brings me down
> > [Unknown Source]
> >
> > Skype: wvreeven
> > Facebook: wvreeven
> > Twitter: wvreeven
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
> --
> Ring out the bells again
> Like we did when spring began
> Wake me up when September ends
> [Greenday - Wake Me Up When September Ends]
>
> Skype: wvreeven
> Facebook: wvreeven
> Twitter: wvreeven
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net

-- 
Ring out the bells again
Like we did when spring began
Wake me up when September ends
[Greenday - Wake Me Up When September Ends]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven