3 Replies Latest reply on Feb 14, 2008 2:06 AM by jbalunas.jbalunas.jboss.org

    Missing type deploying Seam JPA Booking to WAS 6.0.1

    grettke_spdr

      I am running into a problem deploying the Seam JPA booking app to WAS. The deploy fails.


      Here are the version details:


      WebSphere Platform 6.1 [BASE 6.1.0.2 cf20633.22]
      Windows XP, version 5.1 build 2600 Service Pack 2
      J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060504 (JIT enabled)
      Seam 2.0.1.GA



      Here are the steps that I took:



      1. Installed WAS

      2. Downloaded and extracted jboss-seam-2.0.1.GA

      3. Followed the configuration directions; adding two custom properties: prependSlashToResource and com.ibm.ws.webcontainer.invokefilterscompatibility, both set to true.

      4. Followed the directions in sub-chapter 28.3.* for deploying the JPA example on Websphere.



      Here are the interesting parts of the error:


      (there are no other error messages during startup)


      Failed to install org.jboss.seam.example.jpa.Booking: Type javax.persistence.Entity not present
      Failed to install org.jboss.seam.transaction.EjbSynchronizations: Type javax.ejb.Stateful not present
      Failed to install org.jboss.seam.example.jpa.User: Type javax.persistence.Entity not present
      Failed to install org.jboss.seam.example.jpa.Hotel: Type javax.persistence.Entity not present
      java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.init



      I did double check that the Class loader order and Class loading and update detection settings were correct. The classloader mode in both instances in the deployment.xml has value of PARENT_LAST.


      Ideas



      1. It looks like the JPA library is not found. I will look into this

      2. Otherwise I wanted to start this thread in case anyone else ran into this.