Skip to main content

JSF2.0 on Glassfish v2

5 replies [Last post]
raghosh
Offline
Joined: 2009-04-06
Points: 0

I am trying the examples posted on http://weblogs.java.net/blog/driscoll/archive/2008/11/writing_a_simpl_1.... , using netbeans 6.5 IDE. Getting -

javax.el.PropertyNotFoundException: /resources/simpleout/out.xhtml @14,103 value="#{compositeComponent.attrs.value}": The class 'javax.faces.component.UINamingContainer' does not have the property 'attrs' .

Followed Release Notes - https://javaserverfaces.dev.java.net/nonav/rlnotes/2.0.0/releasenotes.html to update the jsf libs of Glassfish.

Any idea what's going wrong ?

- Rajesh

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
raghosh
Offline
Joined: 2009-04-06
Points: 0

Atleast I can see -

[#|2009-04-08T14:57:27.843+0530|INFO|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=14;_ThreadName=pool-1-thread-8;/MyJSFFwk;|[b]Initializing Mojarra (2.0.0-EDR2)[/b] for context '/MyJSFFwk'|#]

in server log if that's the thing you were looking for.

Message was edited by: raghosh

Message was edited by: raghosh

Ryan Lubke

On 4/8/09 3:06 AM, webtier@javadesktop.org wrote:
> Atleast I can see -
>
> [#|2009-04-08T14:57:27.843+0530|INFO|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=14;_ThreadName=pool-1-thread-8;/MDreamzJSFFwk;|[b]Initializing Mojarra (2.0.0-EDR2)[/b] for context '/MyJSFFwk'|#]
>
> if that's the thing you were looking for.
> [Message sent by forum member 'raghosh' (raghosh)]
>
> http://forums.java.net/jive/thread.jspa?messageID=341121
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>
I would recommend updating to a nightly build [1] and going from there.

[1]
https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folder...

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

raghosh
Offline
Joined: 2009-04-06
Points: 0

Hurray it works !! ... after picking up the nightly build.

Thanks Ryan - you are a genious.

- Rajesh

Ryan Lubke

On 4/7/09 12:17 AM, webtier@javadesktop.org wrote:
> I am trying the examples posted on http://weblogs.java.net/blog/driscoll/archive/2008/11/writing_a_simpl_1.... , using netbeans 6.5 IDE. Getting -
>
> javax.el.PropertyNotFoundException: /resources/simpleout/out.xhtml @14,103 value="#{compositeComponent.attrs.value}": The class 'javax.faces.component.UINamingContainer' does not have the property 'attrs' .
>
> Followed Release Notes - https://javaserverfaces.dev.java.net/nonav/rlnotes/2.0.0/releasenotes.html to update the jsf libs of Glassfish.
>
> Any idea what's going wrong ?
>
Please confirm the JSF version written to the log when you deploy the
application.
> - Rajesh
> [Message sent by forum member 'raghosh' (raghosh)]
>
> http://forums.java.net/jive/thread.jspa?messageID=340907
>
> ---------------------------------------------------------------------
> 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

raghosh
Offline
Joined: 2009-04-06
Points: 0

Ryan,
Thanks for the response though I am not sure I could locate the JSF version in deploy message properly. Anyway here is the deploy log, if it makes sense to you.

Apr 8, 2009 2:57:14 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Program Files/Java/jdk1.5.0_18\bin\java
-Dcom.sun.aas.instanceRoot=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/jsf-api.jar
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/install/applications/jmsra/imqjmsra.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/jaxm-api.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/fscontext.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/imqbroker.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/imqjmx.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/ant/lib/ant.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.5.0_18/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/jaxm-api.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/fscontext.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/imqbroker.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/imqjmx.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/updatecenter/lib/updatecenter.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/jbi/lib/jbi.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/imq/lib/imqjmx.jar,D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=D:/Applications/Sun/GlassFish/glassfish-v2.1/config
-Dcom.sun.aas.defaultLogFile=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=D:/Applications/Sun/GlassFish/glassfish-v2.1
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=jsf-impl.jar,appserv-jstl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=D:/Applications/Sun/GlassFish/glassfish-v2.1/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/endorsed
-Djava.ext.dirs=C:/Program Files/Java/jdk1.5.0_18/lib/ext;C:/Program Files/Java/jdk1.5.0_18/jre/lib/ext;D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/lib/ext;D:/Applications/Sun/GlassFish/glassfish-v2.1/javadb/lib
-Djava.library.path=D:\Applications\Sun\GlassFish\glassfish-v2.1\lib;D:\Applications\Sun\GlassFish\glassfish-v2.1\lib;D:\Applications\Sun\GlassFish\glassfish-v2.1\bin;D:\Applications\Sun\GlassFish\glassfish-v2.1\lib
-Djava.security.auth.login.config=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/config/login.conf
-Djava.security.policy=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=D:/Applications/Sun/GlassFish/glassfish-v2.1/domains/domain1/logs/jvm.log
-cp
D:/Applications/Sun/GlassFish/glassfish-v2.1/lib/jhall.jar;D:\Applications\Sun\GlassFish\glassfish-v2.1\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_18] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
Using MQ RA for Broker lifecycle control
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
WEB0114: SSO is disabled in virtual server [server]
WEB0114: SSO is disabled in virtual server [__asadmin]
REgistering Custom ContextConfig
REgistering Custom Context
JTS5014: Recoverable JTS instance, serverId = [3700]
ADM1079: Initialization of AMX MBeans started
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://10.176.99.105:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
JMS Service Connection URL is :mq://RAGHOSH-LAP:7676/
MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
MQJMSRA_EB1101: EMBEDDED broker started with code =0
MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT
LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=MyJSFFwk,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
WEB0302: Starting Sun-Java-System/Application-Server.
JBIFW0010: JBI framework ready to accept requests.
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
Initializing Mojarra (2.0.0-EDR2) for context '/MyJSFFwk'
JSF1059: WARNING! The com.sun.faces.verifyObjects feature is to aid developers not using tools. It shouldn't be enabled if using an IDE, or if this application is being deployed for production as it will impact application start times.
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
deployed with moduleid = MyJSFFwk
Initializing Mojarra (2.0.0-EDR2) for context '/MyJSFFwk'
JSF1059: WARNING! The com.sun.faces.verifyObjects feature is to aid developers not using tools. It shouldn't be enabled if using an IDE, or if this application is being deployed for production as it will impact application start times.