[jboss-user] [JBoss Seam] - Re: Initialization code
petemuir
do-not-reply at jboss.com
Mon Apr 23 15:04:16 EDT 2007
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
More information about the jboss-user
mailing list