2 Replies Latest reply on Jan 19, 2007 11:52 AM by Jason Lai

    Running seam on geronimo problem

    Jason Lai Newbie

      Hi ,i m trying to deploy the seam jpa example (tomcat) to geronimo 1.2 beta ,however the example fail to start.What are the configuration need to run SEAM on Apache Geronimo ? Here are the bug trace:

      10:19:55,908 INFO [Lifecycle] starting up: org.jboss.seam.core.microcontainer
      10:19:57,439 INFO [TransactionManagerFactory] starting JTA transaction manager
      10:20:05,439 ERROR [AbstractKernelController] Error installing to Instantiated: name=TransactionManager state=Described
      javax.naming.CommunicationException: Could not obtain connection to any of these urls: rmi://0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server rmi:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server rmi:1099 [Root exception is java.net.UnknownHostException: rmi: rmi]]]
       at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1399)
       at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:469)
       at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:462)
       at javax.naming.InitialContext.rebind(InitialContext.java:367)
       at org.jboss.util.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:166)
       at org.jboss.seam.microcontainer.TransactionManagerFactory.getTransactionManager(TransactionManagerFactory.java:35)
       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:585)
       at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:57)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$InstantiateAction.installAction(KernelControllerContextActions.java:152)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:84)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:36)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:211)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:560)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:328)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:411)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:361)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:207)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:133)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:257)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:236)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:87)
       at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:70)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.deploy(StandaloneBootstrap.java:94)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.bootstrap(StandaloneBootstrap.java:73)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:87)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.main(StandaloneBootstrap.java:46)
       at org.jboss.seam.core.Microcontainer.startup(Microcontainer.java:31)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
       at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
       at org.jboss.seam.Component.callCreateMethod(Component.java:1739)
       at org.jboss.seam.Component.newInstance(Component.java:1728)
       at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152)
       at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:145)
       at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126)
       at org.jboss.seam.init.Initialization.init(Initialization.java:430)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
       at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:63)
       at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:321)
       at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
       at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:176)
       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 org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:324)
       at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
       at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
       at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
       at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
       at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
       at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$12d52c7b.addContext(<generated>)
       at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:474)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:984)
       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:543)
       at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:378)
       at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
       at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
       at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
       at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
       at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
       at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
       at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
       at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
       at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$f91fd9f4.startConfiguration(<generated>)
       at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:88)
       at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
       at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:597)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
       at org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
       at org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
       at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
       at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:597)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
       at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:326)
       at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:595)
      
      

      Please advise
      Thank You
      Jason Lai