-
1. Re: Unable to run the project generated with seam-gen
nickarls Jul 28, 2008 8:30 AM (in response to pjinc)I can't believe I actually went to the JIRA, downloaded the 6,5M log file, extracted it to it's full 141M size and looked at it, but for some strange reason I did.
Caused by: javax.naming.NameNotFoundException: UserTransaction not bound
Sadly, in all that log I didn't find any info on why that is.
-
2. Re: Unable to run the project generated with seam-gen
pjinc Jul 29, 2008 6:39 PM (in response to pjinc)Thank you for the effort Nicklass,
Any suggestions ?
Maybe I can turn a debug mode or any other trace on or post any configuration files ? As I said I did not change anything, It was a strate forward seam-gen configuration with all default settings.FYI, I noticed that after I point the browser to the project the log file does not get updated anymore, I just see alot of console messages that stop right after I navigate from the project to the the JMX console. Below are the build.properties file generated by seam-gen setup and stack trace samples.
Thanks again for any help.
/test/csapps/java/jboss-seam-2.0.3.CR1/seam-gen/build.properties ----------------------------------------------------------#Generated by seam setup #Tue Jul 29 11:07:28 CDT 2008 hibernate.connection.password= workspace.home=/test/csapps/java/workspace model.package=org.domain.proj1 driver.jar=../lib/hsqldb.jar action.package=org.domain.proj1 test.package=org.domain.proj1.test database.type=hsql richfaces.skin=blueSky hibernate.default_catalog.null= hibernate.default_schema.null= database.drop=n project.name=proj1 hibernate.connection.username=sa hibernate.connection.driver_class=org.hsqldb.jdbcDriver hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider project.type=war icefaces.home= database.exists=n jboss.home=/test/csapps/java/jboss-4.2.2.GA hibernate.dialect=org.hibernate.dialect.HSQLDialect hibernate.connection.url=jdbc\:hsqldb\:. icefaces=n ######################################################## Stack trace samples: ######################################################## ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 6) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.RuntimeException: exception invoking: getTransaction at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135) at org.jboss.seam.Component.callComponentMethod(Component.java:2092) at org.jboss.seam.Component.unwrap(Component.java:2118) at org.jboss.seam.Component.getInstance(Component.java:1890) at org.jboss.seam.Component.getInstance(Component.java:1855) at org.jboss.seam.Component.getInstance(Component.java:1832) at org.jboss.seam.Component.getInstance(Component.java:1827) at org.jboss.seam.transaction.Transaction.instance(Transaction.java:36) at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListen er.java:600) ... 43 more Caused by: javax.naming.NamingException: Could not dereference object [Root exce ption is javax.naming.NameNotFoundException: UserTransaction not bound] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1215) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:758) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction .java:79) at org.jboss.seam.transaction.Transaction.createUTTransaction(Transactio n.java:71) at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.jav a:44) at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) ... 51 more Caused by: javax.naming.NameNotFoundException: UserTransaction not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1209) ... 63 more 11:10:55,983 ERROR [Contexts] could not discover transaction status