Ok..
Let me provide a little more information. I've been trying to get one
of the Seam examples
- the "Booking" demo running on glassfish. I'm finding that the entity
beans (EJB) for
the application are not getting created (loaded). I believe Seam uses
Hibernate3?
This causes problems when a JSF 1.2 ValueExpression refers to a variable
that
does not exist. The same application runs fine in Tomcat, and the
Tomcat logs
show the EJB entity beans getting loaded:
INFO 14-03 10:56:43,330 (Environment.java:<clinit>:479) -Hibernate 3.1.2
INFO 14-03 10:56:43,337 (Environment.java:<clinit>:509)
-hibernate.properties not found
INFO 14-03 10:56:43,436 (Environment.java:<clinit>:525) -using CGLIB
reflection optimizer
INFO 14-03 10:56:43,439 (Environment.java:<clinit>:555) -using JDK 1.4
java.sql.Timestamp handling
INFO 14-03 10:56:43,737 (Ejb3Configuration.java:scanForClasses:365)
-found EJB3 Entity bean: org.jboss.seam.example.booking.Booking
INFO 14-03 10:56:43,802 (Ejb3Configuration.java:scanForClasses:365)
-found EJB3 Entity bean: org.jboss.seam.example.booking.Hotel
INFO 14-03 10:56:43,815 (Ejb3Configuration.java:scanForClasses:365)
-found EJB3 Entity bean: org.jboss.seam.example.booking.User
INFO 14-03 10:56:44,007 (AnnotationBinder.java:bindClass:322) -Binding
entity from annotated class: org.jboss.seam.example.booking.Booking
INFO 14-03 10:56:44,163 (EntityBinder.java:bindTable:300) -Bind entity
org.jboss.seam.example.booking.Booking on table Booking
INFO 14-03 10:56:44,348 (AnnotationBinder.java:bindClass:322) -Binding
entity from annotated class: org.jboss.seam.example.booking.Hotel
INFO 14-03 10:56:44,349 (EntityBinder.java:bindTable:300) -Bind entity
org.jboss.seam.example.booking.Hotel on table Hotel
INFO 14-03 10:56:44,409 (AnnotationBinder.java:bindClass:322) -Binding
entity from annotated class: org.jboss.seam.example.booking.User
INFO 14-03 10:56:44,411 (EntityBinder.java:bindTable:300) -Bind entity
org.jboss.seam.example.booking.User on table User
I saw a few posts on incompatabilities between Hibernate3 and Glassfish
persistence?
If this is true, has anything been resolved on this?
Thanks, Roger.
Roger Kitain wrote:
> Hello,
>
> Has anyone been successfull at getting any of the Seam examples to run
> on Glassfish?
>
> Thanks, in advance, Roger.