You shouldn't be putting your jars into $GLASSFISH/lib, the only library that could go in there is log4j (there are instructions on this page for setting up log4j http://weblogs.java.net/blog/schaefa/archive/2007/08/to_the_hell_wit_1.html).
Any common jars should go in $GLASSSFISH/domains/domain1/lib. On my installation I have the following jars in this folder, I can now get most of my apps to work without major problems (I have problems with Seam+EJB's with Glassfish, but I am told that is because of the crummy way JEE5 managed resources which will be fixed in JEE6). In theory I could have most of these in my EAR lib folder, but since I have several applications deployed this is more efficient.
The only JAR that HAS to be here is the database driver.
If you have any further problems with glassfish don't hesitate to post another message.
I still don't managed to make the booking example to run on glassfish.
Now I don't have any problems concerning libraries but. When I deploy the EAR the WAR file doesn't deploy.
On my log file it has all the information about the Binding of the Beans but the web-application doesn't appear on the admin interface of glassfish, only the enterprise application.
I managed to deploy the JPA example without any problems. Is it possible that I need to make any extra configuration on the xml of the EAR project?
As I remember you also have to do a asadmin start-database because it requires the default derby database to be started.
If you are having problems look at the log in domains/domain1/logs/server.log, that should give you a idea as to why the application is not being deployed.
Sorry, I didn't read your post properly. You won't see a separate WAR application in the admin console, because you have deployed an EAR only the EAR will show.
You should be able to access your application under it's context root (/seam-jee5-booking).
Thanks! It's up and running.
I thought it would appear in the web-application session of the Glassfish administration tool.
Thanks again, now I'm going to try build something.