[jboss-user] [JBoss Seam] - Seam Remoting w/o JBoss App Server

apushadow do-not-reply at jboss.com
Thu Mar 8 15:48:28 EST 2007


I'm very interested in using Seam's Remoting functionality in a couple different places in my app.  I know the helloworld example doesn't work in Tomcat yet (JBSEAM-379), getting the following stacktrace right after I type in my name:


  | 14:01:58,218 ERROR [ExceptionFilter] could not roll back transaction
  | javax.naming.NamingException: Local server is not initialized
  | 	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | 	at javax.naming.InitialContext.init(Unknown Source)
  | 	at javax.naming.InitialContext.<init>(Unknown Source)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  | 	at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
  | 	at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
  | 	at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
  | 	at org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:128)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	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.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.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:664)
  | 	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(Unknown Source)
  | 14:01:58,375 INFO  [Lifecycle] starting up: org.jboss.seam.security.identity
  | 14:01:58,453 INFO  [Pages] no pages.xml file found
  | 14:02:00,218 ERROR [ExceptionFilter] could not roll back transaction
  | javax.naming.NamingException: Local server is not initialized
  | 	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | 	at javax.naming.InitialContext.init(Unknown Source)
  | 	at javax.naming.InitialContext.<init>(Unknown Source)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  | 	at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
  | 	at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
  | 	at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
  | 	at org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:128)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	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.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.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:664)
  | 	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(Unknown Source)
  | 14:02:00,250 ERROR [ExceptionFilter] could not roll back transaction
  | javax.naming.NamingException: Local server is not initialized
  | 	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | 	at javax.naming.InitialContext.init(Unknown Source)
  | 	at javax.naming.InitialContext.<init>(Unknown Source)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  | 	at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
  | 	at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
  | 	at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
  | 	at org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:128)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	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.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.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:664)
  | 	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(Unknown Source)
  | 14:02:00,343 ERROR [ExceptionFilter] could not roll back transaction
  | javax.naming.NamingException: Local server is not initialized
  | 	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | 	at javax.naming.InitialContext.init(Unknown Source)
  | 	at javax.naming.InitialContext.<init>(Unknown Source)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  | 	at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
  | 	at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
  | 	at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
  | 	at org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:128)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	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.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.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:664)
  | 	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(Unknown Source)
  | 14:02:04,875 ERROR [ExecutionHandler] Error during remote request
  | org.jboss.seam.InstantiationException: Could not instantiate Seam component: helloAction
  | 	at org.jboss.seam.Component.newInstance(Component.java:1708)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1611)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1578)
  | 	at org.jboss.seam.remoting.Call.execute(Call.java:115)
  | 	at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:87)
  | 	at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110)
  | 	at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:76)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	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.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.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:664)
  | 	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(Unknown Source)
  | Caused by: javax.naming.NamingException: Local server is not initialized
  | 	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | 	at javax.naming.InitialContext.init(Unknown Source)
  | 	at javax.naming.InitialContext.<init>(Unknown Source)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  | 	at org.jboss.seam.Component.instantiateSessionBean(Component.java:1075)
  | 	at org.jboss.seam.Component.instantiate(Component.java:1061)
  | 	at org.jboss.seam.Component.newInstance(Component.java:1704)
  | 	... 32 more
  | 14:02:04,890 ERROR [ExceptionFilter] could not roll back transaction
  | javax.naming.NamingException: Local server is not initialized
  | 	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | 	at javax.naming.InitialContext.init(Unknown Source)
  | 	at javax.naming.InitialContext.<init>(Unknown Source)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  | 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  | 	at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
  | 	at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
  | 	at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
  | 	at org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:128)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | 	at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | 	at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	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.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.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:664)
  | 	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(Unknown Source)
  | 


So, I tried just deploying the same .war file to OC4J, and I get a different stacktrace:


  | 14:30:28,390 ERROR [Digester] Digester.getParser:
  | org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
  |         at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:128)
  |         at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)
  |         at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)
  |         at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFa
  | ctory.java:73)
  |         at org.apache.commons.digester.Digester.getParser(Digester.java:682)
  |         at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
  |         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  |         at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfi
  | g(DigesterFacesConfigUnmarshallerImpl.java:183)
  |         at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:152
  | )
  |         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextLi
  | stener.java:69)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServlet
  | ContextListener.java:52)
  |         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1130)
  |         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
  |         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
  | va:414)
  |         at com.evermind.server.Application.getHttpApplication(Application.java:571)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
  | omReference(HttpSite.java:1990)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
  | 09)
  |         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
  | 
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
  |         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
  | e.java:52)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
  | 
  |         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledE
  | xecutor.java:298)
  |         at java.lang.Thread.run(Thread.java:595)
  | 14:30:28,406 ERROR [StartupServletContextListener] Error initializing ServletContext
  | java.lang.NullPointerException
  |         at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
  |         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  |         at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfi
  | g(DigesterFacesConfigUnmarshallerImpl.java:183)
  |         at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:152
  | )
  |         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextLi
  | stener.java:69)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServlet
  | ContextListener.java:52)
  |         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1130)
  |         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
  |         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
  | va:414)
  |         at com.evermind.server.Application.getHttpApplication(Application.java:571)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
  | omReference(HttpSite.java:1990)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
  | 09)
  |         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
  | 
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
  |         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
  | e.java:52)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
  | 
  |         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledE
  | xecutor.java:298)
  |         at java.lang.Thread.run(Thread.java:595)
  | 07/03/08 14:30:28 java.lang.NullPointerException
  | 07/03/08 14:30:28       at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
  | 07/03/08 14:30:28       at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  | 07/03/08 14:30:28       at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerIm
  | pl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
  | 07/03/08 14:30:28       at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfi
  | gurator.java:152)
  | 07/03/08 14:30:28       at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.j
  | ava:126)
  | 07/03/08 14:30:28       at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(Startup
  | ServletContextListener.java:69)
  | 07/03/08 14:30:28       at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialize
  | d(StartupServletContextListener.java:52)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java
  | :1130)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
  | 
  | 07/03/08 14:30:28       at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applicatio
  | nStateRunning.java:414)
  | 07/03/08 14:30:28       at com.evermind.server.Application.getHttpApplication(Application.java:571)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createH
  | ttpApplicationFromReference(HttpSite.java:1990)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(
  | HttpSite.java:1909)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplication
  | Binder.java:238)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplication
  | Binder.java:99)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDepl
  | oyer.java:547)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeploy
  | er.java:202)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4
  | JDeployerRunnable.java:52)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerR
  | unnable.java:81)
  | 07/03/08 14:30:28       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasabl
  | eResourcePooledExecutor.java:298)
  | 07/03/08 14:30:28       at java.lang.Thread.run(Thread.java:595)
  | 14:30:28,406 INFO  [StartupServletContextListener] ServletContext 'C:\oc4j\j2ee\home\applications\he
  | lloworld\seam-helloworld\' initialized.
  | 14:30:28,406 INFO  [StartupServletContextListener] Serialization provider : class org.apache.myfaces
  | .shared_impl.util.serial.DefaultSerialFactory
  | 14:30:28,421 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-
  | faces-config.xml
  | 14:30:28,421 ERROR [Digester] Digester.getParser:
  | org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
  |         at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:128)
  |         at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)
  |         at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)
  |         at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFa
  | ctory.java:73)
  |         at org.apache.commons.digester.Digester.getParser(Digester.java:682)
  |         at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
  |         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  |         at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfi
  | g(DigesterFacesConfigUnmarshallerImpl.java:183)
  |         at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:152
  | )
  |         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextLi
  | stener.java:69)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServlet
  | ContextListener.java:52)
  |         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1130)
  |         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
  |         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
  | va:414)
  |         at com.evermind.server.Application.getHttpApplication(Application.java:571)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
  | omReference(HttpSite.java:1990)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
  | 09)
  |         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
  | 
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
  |         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
  | e.java:52)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
  | 
  |         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledE
  | xecutor.java:298)
  |         at java.lang.Thread.run(Thread.java:595)
  | 14:30:28,421 ERROR [StartupServletContextListener] Error initializing ServletContext
  | java.lang.NullPointerException
  |         at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
  |         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  |         at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfi
  | g(DigesterFacesConfigUnmarshallerImpl.java:183)
  |         at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:152
  | )
  |         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextLi
  | stener.java:69)
  |         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServlet
  | ContextListener.java:52)
  |         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1130)
  |         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
  |         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
  | va:414)
  |         at com.evermind.server.Application.getHttpApplication(Application.java:571)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
  | omReference(HttpSite.java:1990)
  |         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
  | 09)
  |         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
  | 
  |         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
  |         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
  |         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
  | e.java:52)
  |         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
  | 
  |         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledE
  | xecutor.java:298)
  |         at java.lang.Thread.run(Thread.java:595)
  | 07/03/08 14:30:28 java.lang.NullPointerException
  | 07/03/08 14:30:28       at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
  | 07/03/08 14:30:28       at org.apache.commons.digester.Digester.parse(Digester.java:1572)
  | 07/03/08 14:30:28       at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerIm
  | pl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
  | 07/03/08 14:30:28       at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfi
  | gurator.java:152)
  | 07/03/08 14:30:28       at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.j
  | ava:126)
  | 07/03/08 14:30:28       at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(Startup
  | ServletContextListener.java:69)
  | 07/03/08 14:30:28       at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialize
  | d(StartupServletContextListener.java:52)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java
  | :1130)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
  | 
  | 07/03/08 14:30:28       at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applicatio
  | nStateRunning.java:414)
  | 07/03/08 14:30:28       at com.evermind.server.Application.getHttpApplication(Application.java:571)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createH
  | ttpApplicationFromReference(HttpSite.java:1990)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(
  | HttpSite.java:1909)
  | 07/03/08 14:30:28       at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplication
  | Binder.java:238)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplication
  | Binder.java:99)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDepl
  | oyer.java:547)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeploy
  | er.java:202)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4
  | JDeployerRunnable.java:52)
  | 07/03/08 14:30:28       at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerR
  | unnable.java:81)
  | 07/03/08 14:30:28       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasabl
  | eResourcePooledExecutor.java:298)
  | 07/03/08 14:30:28       at java.lang.Thread.run(Thread.java:595)
  | 14:30:28,421 INFO  [StartupServletContextListener] ServletContext 'C:\oc4j\j2ee\home\applications\he
  | lloworld\seam-helloworld\' initialized.
  | 14:30:28,421 INFO  [StartupServletContextListener] Serialization provider : class org.apache.myfaces
  | .shared_impl.util.serial.DefaultSerialFactory
  | 2007-03-08 14:30:28.656 NOTIFICATION Initializing Servlet: javax.faces.webapp.FacesServlet for web a
  | pplication seam-helloworld
  | 2007-03-08 14:30:28.656 NOTIFICATION Binding web application(s) to site default-web-site ends...
  | 2007-03-08 14:30:28.656 NOTIFICATION Application Deployer for helloworld COMPLETES. Operation time:
  | 8938 msecs
  | 14:30:45,015 INFO  [SeamFilter] Initializing filter: org.jboss.seam.servlet.multipartFilter
  | 14:30:45,015 INFO  [SeamFilter] Initializing filter: org.jboss.seam.servlet.exceptionFilter
  | 14:30:45,015 INFO  [SeamFilter] Initializing filter: org.jboss.seam.servlet.redirectFilter
  | 14:30:45,046 ERROR [ExceptionFilter] could not roll back transaction
  | javax.naming.NamingException: Local server is not initialized
  |         at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java
  | :45)
  |         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  |         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  |         at javax.naming.InitialContext.init(InitialContext.java:223)
  |         at javax.naming.InitialContext.<init>(InitialContext.java:197)
  |         at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
  |         at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
  |         at org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
  |         at org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:
  | 122)
  |         at org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50
  | )
  |         at org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:12
  | 8)
  |         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  |         at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  |         at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  |         at com.evermind.server.http.FileRequestDispatcher.handleWithFilter(FileRequestDispatcher.jav
  | a:138)
  |         at com.evermind.server.http.FileRequestDispatcher.unprivileged_forwardInternal(FileRequestDi
  | spatcher.java:286)
  |         at com.evermind.server.http.FileRequestDispatcher.access$100(FileRequestDispatcher.java:30)
  |         at com.evermind.server.http.FileRequestDispatcher$2.oc4jRun(FileRequestDispatcher.java:257)
  |         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
  |         at com.evermind.server.http.FileRequestDispatcher.forwardInternal(FileRequestDispatcher.java
  | :262)
  |         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:862)
  | 
  |         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
  |         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
  |         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
  |         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
  |         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java
  | :260)
  |         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledE
  | xecutor.java:303)
  |         at java.lang.Thread.run(Thread.java:595)
  | 


Has anyone successfully deployed and run the remoting\helloworld or remoting\chatroom example on anything other than JBoss?  Any configuration help would be awesome.

Thanks,

--Rich

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

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



More information about the jboss-user mailing list