[jboss-user] [JBoss Seam] - Almost ready to give up... (Tomcat woes galore)

mlh496 do-not-reply at jboss.com
Wed Mar 7 03:50:01 EST 2007


I need to be able to deploy Seam apps on Tomcat.  I've setup the datasource, but keep getting this stack trace.  Can anyone help me decipher the following errors?  Many thanks!  -Michael

00:34:59,593 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 00:34:59,781 FATAL [Ejb3Configuration] hibernate.cfg.xmlO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] import.sqlO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] jbpm.cfg.xmlO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] messages_en.propertiesO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] META-INF/jboss-beans.xmlO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] META-INF/persistence.xmlO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] pooter-dev-ds.xmlO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] seam.propertiesO-:-Ofalse
  | 00:34:59,781 FATAL [Ejb3Configuration] security.drlO-:-Ofalse
  | 00:34:59,781 WARN  [Ejb3Configuration] Overriding hibernate.transaction.factory_class is dangerous, this might break the EJB3 specification implementation
  | 00:34:59,843 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 00:34:59,859 ERROR [NamingHelper] Could not obtain initial context
  | 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.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28)
  | 	at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | 	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | 	at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
  | 	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | 	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | 	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
  | 	at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
  | 	at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151)
  | 	at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205)
  | 	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114)
  | 	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37)
  | 	at org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:74)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:121)
  | 	at org.jboss.seam.Component.callComponentMethod(Component.java:1810)
  | 	at org.jboss.seam.Component.callCreateMethod(Component.java:1725)
  | 	at org.jboss.seam.Component.newInstance(Component.java:1714)
  | 	at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:165)
  | 	at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:137)
  | 	at org.jboss.seam.init.Initialization.init(Initialization.java:479)
  | 	at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
  | 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
  | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
  | 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
  | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
  | 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  | 	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
  | 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  | 00:34:59,859 FATAL [DatasourceConnectionProvider] Could not find datasource: java:comp/env/pooterDatasource
  | 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.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28)
  | 	at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | 	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | 	at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
  | 	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | 	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | 	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
  | 	at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
  | 	at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151)
  | 	at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205)
  | 	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114)
  | 	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37)
  | 	at org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:74)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:121)
  | 	at org.jboss.seam.Component.callComponentMethod(Component.java:1810)
  | 	at org.jboss.seam.Component.callCreateMethod(Component.java:1725)
  | 	at org.jboss.seam.Component.newInstance(Component.java:1714)
  | 	at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:165)
  | 	at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:137)
  | 	at org.jboss.seam.init.Initialization.init(Initialization.java:479)
  | 	at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
  | 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
  | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
  | 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
  | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
  | 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  | 	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
  | 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  | 00:34:59,859 WARN  [Contexts] Could not destroy component: pooterEntityManagerFactory
  | java.lang.NullPointerException
  | 	at org.jboss.seam.core.EntityManagerFactory.shutdown(EntityManagerFactory.java:81)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:121)
  | 	at org.jboss.seam.Component.callComponentMethod(Component.java:1802)
  | 	at org.jboss.seam.Component.callDestroyMethod(Component.java:1733)
  | 	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:230)
  | 	at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:175)
  | 	at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:37)
  | 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3866)
  | 	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4502)
  | 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4366)
  | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
  | 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
  | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
  | 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  | 	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
  | 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  | 

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

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



More information about the jboss-user mailing list