[JBoss Seam] - How to get JBoss El Source
by PatrickMadden
Hi,
I'm using JBoss 4.2.0.CR2 with Seam from CVS, plus Ajax4JSF and Rich Faces all from trunk svn.
I have a bug that has been identified in jira that causes the following exception:
anonymous wrote :
| Caused by: java.lang.ExceptionInInitializerError
| at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38)
| at org.jboss.el.parser.AstValue.setValue(AstValue.java:83)
| at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
| at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
| at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:245)
| at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:250)
| at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:250)
| at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:250)
| at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:250)
| at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:193)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| ... 34 more
| Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jboss.el.Messages, locale en_US
| at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
| at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
| at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
| at org.jboss.el.util.MessageFactory.(MessageFactory.java:28)
| ... 48 more
|
I have no idea as to when it will be fixed but I'd like to take a crack at it if possible as its fatal for me.
It may be a typo or it may just be that a file is missing from the jar file but I'm voluteering to take a look at a possible fix.
Any help is greatly appreciated
http://jira.jboss.com/jira/browse/JBSEAM-1198
Thanks,
PVM
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039990#4039990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039990
19 years
[JBoss Seam] - Re: Initialization code
by petemuir
This forum install is a pile of .... ;) You can always send an email if you like :)
So, the point at which Seam has finished init is just before Lifecycle.endInitialization() - that just cleans up the temporary contexts and runs startup. It won't work after Lifecycle.endInitialization() as there are no contexts active (as you say ;) I suppose it could go in lifecycle after startup.
9:59:19,594 ERROR [[/seam-discs]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.IllegalStateException: No application context active
| at org.jboss.seam.Component.forName(Component.java:1581)
| at org.jboss.seam.Component.getInstance(Component.java:1631)
| at org.jboss.seam.Component.getInstance(Component.java:1626)
| at org.jboss.seam.Component.getInstance(Component.java:1603)
| at org.jboss.seam.Component.getInstance(Component.java:1598)
| at org.jboss.seam.core.Events.instance(Events.java:138)
| at org.jboss.seam.init.Initialization.init(Initialization.java:501)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
| at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
| at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:300)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
| 19:59:19,594 ERROR [StandardContext] Error listenerStart
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039982#4039982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039982
19 years