1 Reply Latest reply on Jul 20, 2006 1:30 PM by gavin.king

    Seam Managed Persitance problems

    emsa

      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