Hi Gavin,

I have done a cvs update and rebuilt jboss (also rebuilt seam). This seems to 
have sorted out the problem. I am now able to build/deploy and run the booking 
example. Excellent !

I have attempted to port my application to the new ejb tags etc. and have 
changed the configuration in web.xml (added 
org.jboss.seam.core.init.jndiPattern to my web.xml).  I run into the following 
problem:


anonymous wrote : 
  | java.lang.IllegalArgumentException: EntityManagerFactory not found
  | 

with a long stack trace. In it it says the following:

anonymous wrote : 
  | Caused by: javax.naming.NameNotFoundException: EntityManagerFactories not 
bound
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManagerFactory(ManagedPersistenceContext.java:80)
  | 2006-01-20 16:32:22,029 ERROR [STDERR]  at 
org.jboss.seam.core.ManagedPersistenceContext.create(ManagedPersistenceContext.java:50)
  | 2006-01-20 16:32:22,030 ERROR [STDERR]  ... 230 more
  | 

even though I see the following in my log file:
anonymous wrote : 
  |  [org.jboss.seam.Component] 
trySeam1Entity.persistenceUnitName=java:/EntityManagerFactories/trySeam1Entity
  | 

Any suggestions ?

Thanks

Louis


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to