[jboss-user] [JBoss Seam] - Seam Managed Persitance problems

emsa do-not-reply at jboss.com
Thu Jul 20 12:28:03 EDT 2006


Hi,

after some time a have finally had the time to upgrade to jboss-4.0.4-Patch1 and seam-1.0.1.GA (after running old betas and cvs for some time).

But I cannot deploy my app using seam managed persistance, this has worked flawlessly before.

My seam.properties looks like this:


  | org.jboss.seam.core.init.managedPersistenceContexts em
  | em.persistenceUnitJndiName java:/EntityManagerFactories/myDatabase
  | 

And when I deploy I get this exception:


  | java.lang.IllegalArgumentException: no property for configuration setting: org.jboss.seam.core.init.managedPersistenceContexts
  |         at org.jboss.seam.Component.initInitializers(Component.java:311)
  |         at org.jboss.seam.Component.<init>(Component.java:209)
  |         at org.jboss.seam.Component.<init>(Component.java:159)
  |         at org.jboss.seam.Component.<init>(Component.java:154)
  |         at org.jboss.seam.Component.<init>(Component.java:149)
  |         at org.jboss.seam.init.Initialization.addComponent(Initialization.java:381)
  |         at org.jboss.seam.init.Initialization.addComponents(Initialization.java:255)
  |         at org.jboss.seam.init.Initialization.init(Initialization.java:195)
  |         at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
  |         at  .... <SNIP>
  | 
  | Caused by: java.beans.IntrospectionException: Method not found: isManagedPersistenceContexts
  |         at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:89)
  |         at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:53)
  |         at org.jboss.seam.Component.initInitializers(Component.java:307)
  |         ... 98 more
  | 

Deploying with an empty seam.properties do work.

Have I missed someting - must I make any changes to code or configurations to make seam managed persistance work again?

/Magnus

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

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



More information about the jboss-user mailing list