Skip to main content

JBoss 4.2.4 and JSF 2.0

7 replies [Last post]
frank_langelage
Offline
Joined: 2006-07-12

I used the Beta and RC/RC2 of JSF 2.0 during the last weeks by simply replacing the jsf-api.jar and jsf-impl.jar that came with the JBoss release by the recent mojarra files.
That worked fine so far.

But now with the JSF-2.0.0-FCS I get this on startup:
2009-10-20 00:21:39,058 INFO [javax.enterprise.resource.webcontainer.jsf.config#logWithThrowable] Unsanitized stacktrace from failed start...
java.lang.NullPointerException
at com.sun.faces.util.Util.loadClass(Util.java:200)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:312)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:416)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:370)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:313)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:262)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:337)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:219)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:76)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
...

Any hints what might be the reason for that?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
frank_langelage
Offline
Joined: 2006-07-12

Yes, the current 2.0.1-SNAPSHOT build solves this problem.
But it's astonishing that such a major problem can come in between RC2 and FCS.

Jim Driscoll

It works fine on our target platform (GlassFish). This is due to GF's
environment being different than that of Tomcat. It's a fairly unusual
bug - we've never encountered one before that cratered us on
non-GlassFish containers, while not effecting GlassFish at all. Due to
a class-loading difference, code that was supposed to be for
documentation only (primarily for tools) was being picked up by the
container.

It's not practical to test on every other servlet container out there -
so we don't. Glassfish is the sole platform we do formal testing on.

Given this experience, I'll be taking another look at that as a
possibility, but resources are tight.

It's an open source product - we rely on users to report problems to us
in their environment. If you are interested in volunteering to do
additional testing, we'd welcome any participation you'd like to give.

Jim

On 10/20/09 12:33 PM, webtier@javadesktop.org wrote:
> Yes, the current 2.0.1-SNAPSHOT build solves this problem.
> But it's astonishing that such a major problem can come in between RC2 and FCS.
> [Message sent by forum member 'frank_langelage' (frank@lafr.de)]
>
> http://forums.java.net/jive/thread.jspa?messageID=368675
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

vbkraemer
Offline
Joined: 2003-09-03

I am seeing a similar ST in this issue filed in the NetBeans issue tracker....

http://www.netbeans.org/issues/show_bug.cgi?id=174899

Your checking comment related to the fix appears to be geared toward Tomcat... did this issue also appear on GlassFish v3?

vbk

Jim Driscoll

The stack trace appears in GF (we missed it), but all tests pass.

There's another JSF bug in NB that prevents use right now - we've
contacted them on this.

Sent from my iPhone

On Oct 20, 2009, at 8:20 AM, webtier@javadesktop.org wrote:

> I am seeing a similar ST in this issue filed in the NetBeans issue
> tracker....
>
> http://www.netbeans.org/issues/show_bug.cgi?id=174899
>
> Your checking comment related to the fix appears to be geared toward
> Tomcat... did this issue also appear on GlassFish v3?
>
> vbk
> [Message sent by forum member 'vbkraemer' (vince.kraemer@sun.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=368628
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Jim Driscoll

That's bug 1373, which I fixed a few hours ago. Please try the nightly
build, and see if that clears up your problem.

Jim

On 10/20/09 12:05 AM, webtier@javadesktop.org wrote:
> I used the Beta and RC/RC2 of JSF 2.0 during the last weeks by simply replacing the jsf-api.jar and jsf-impl.jar that came with the JBoss release by the recent mojarra files.
> That worked fine so far.
>
> But now with the JSF-2.0.0-FCS I get this on startup:
> 2009-10-20 00:21:39,058 INFO [javax.enterprise.resource.webcontainer.jsf.config#logWithThrowable] Unsanitized stacktrace from failed start...
> java.lang.NullPointerException
> at com.sun.faces.util.Util.loadClass(Util.java:200)
> at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:312)
> at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:416)
> at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:370)
> at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:313)
> at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:262)
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:337)
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:219)
> at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:76)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> ...
>
> Any hints what might be the reason for that?
> [Message sent by forum member 'frank_langelage' (frank@lafr.de)]
>
> http://forums.java.net/jive/thread.jspa?messageID=368545
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

vbkraemer
Offline
Joined: 2003-09-03

Hey Jim,

Which issue tracker is that issue in?

Thanks,
vbk

Jason Lee

On Oct 20, 2009, at 10:15 AM, webtier@javadesktop.org wrote:
> Hey Jim,
>
> Which issue tracker is that issue in?

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1373

Jason Lee
Senior Java Developer
GlassFish Administration Console

Sun Microsystems, Inc.
Phone x31197/+1 405-343-1964
Email jasondlee@sun.com
Blog http://blogs.sun.com/jasondlee
Blog http://blogs.steeplesoft.com

[att1.html]