dev@glassfish.java.net

Re: [V3] Deployment of a simple JSF application ...

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Thu, 27 Mar 2008 09:19:37 -0700

Ludovic Champenois wrote:
> Kedar Mhaswade wrote:
>> I don't know if I did something wrong.
> With good tools, developers are not allowed to do wrong things:-)...
I fileda P2 bug on Nb itself:
http://www.netbeans.org/issues/show_bug.cgi?id=131319

If you select Java EE 5 target for a web app in Netbeans, the JSF
framework selection should not be customizable or
selectable/unselectable: JSF is part of Java EE 5 specification, so no
extra tuning should be possible. I guess you used this extra tuning UI,
and ended with bundling the JSF jars in your app.
You can unselect the JSF apis from your app by using the project
properties UI (library node), but this situation should not occur, hence
the Nb bug filed.
Thanks.
Ludo
>
>> - compiled a simple JSF application in NB and deployed it to
>> GlassFish V3,
>> yesterday's build.
> using the Gf V3 Netbeans plugin? Which nb build?
> From where?
> This should be a bug in the V3 nb plugin: I think it should tell nb
> that JSF is coming from the server, and NB should not bundle the jar
> in your app.
> I'll follow up.
> Ludo
>>
>> I get:
>> SEVERE: WebModule[/jsf]PWC1275: Exception sending context initialized
>> event to listener instance of class
>> com.sun.faces.config.ConfigureListener
>> java.lang.StackOverflowError
>> at java.lang.ClassLoader.findBootstrapClass(Native Method)
>>
>> and it fills up the server.log. I't not clear which class it's trying
>> to load.
>>
>> (BTW, NB puts the jsf-api.jar in the compiled .war-file/WEB-INF/jar
>> and that
>> is likely to conflict with what's available in GlassFish).
>>
>> Any idea?
>>
>> Thanks,
>> Kedar
>>
>> ---------------------------------------------------------------------
>> 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
>