[jboss-user] [JBoss Seam] - Re: Error selecting object

laxu do-not-reply at jboss.com
Fri May 4 11:04:27 EDT 2007


I have tried seam-gen. It does not produce a flawless project, I had to add some jars manually into the build.xml. and this is only the barebone application generated. (Shouls I submit an issue about it?)

Anyway, after all with the barebone application I am hitting the following:


  | 17:19:01,406 INFO  [Initialization] done initializing Seam
  | 17:19:01,484 ERROR [STDERR] May 4, 2007 5:19:01 PM com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context 'null'
  | 17:19:01,891 ERROR [STDERR] java.lang.UnsupportedOperationException
  | 17:19:01,906 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  | 17:19:01,906 ERROR [STDERR]     at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  | 17:19:01,906 ERROR [STDERR]     at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | 17:19:01,906 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:855)
  | 17:19:01,922 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:502)
  | 17:19:01,922 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
  | 17:19:01,922 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | 17:19:01,938 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | 17:19:01,938 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | 17:19:01,938 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | 17:19:01,938 ERROR [STDERR]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | 17:19:01,953 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 17:19:01,953 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 17:19:01,953 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:19:01,953 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
  | 17:19:01,969 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | 17:19:01,969 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 17:19:01,969 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:19:01,969 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
  | 17:19:01,984 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 17:19:01,984 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 17:19:01,984 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:19:02,000 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
  | 17:19:02,000 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | 17:19:02,000 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 17:19:02,000 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:19:02,016 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | 17:19:02,016 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | 17:19:02,031 ERROR [[/gop]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
  | javax.faces.FacesException: java.lang.UnsupportedOperationException
  |         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:597)
  |         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         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:5052)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:597)
  |         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         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.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  |         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  |         at org.jboss.web.WebModule.startModule(WebModule.java:83)
  |         at org.jboss.web.WebModule.startService(WebModule.java:61)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | Caused by: java.lang.UnsupportedOperationException
  |         at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  |         at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  |         at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  |         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:855)
  |         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:502)
  |         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:597)
  |         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         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:5052)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:597)
  |         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         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.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | 17:19:02,266 ERROR [StandardContext] Error listenerStart
  | 17:19:02,266 ERROR [StandardContext] Context [/gop] startup failed due to previous errors

I think I should try something else

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043239#4043239

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043239



More information about the jboss-user mailing list