I have successfully run the seam numberguess example by starting jboss from the command line and using ant to build the numberguess sample and manually copying the ear over to the deployment directory.
So you are saying that everything works fine if you do things manually, but fail when using Eclipse and JBoss Tools? If that is the case, I will move your port to the IDE forum. Please let me know if my assumption is correct.
Personally, I never rely on Eclipse for such things - I always build by hand (ant or maven from the command line) and deploy by hand (usually via ant). Doing so saves my sanity, and ensures that my build/deployments will work under any circumstances.
Oh, no problem at all. I just want to make sure your post is in a location where it has the best chance of getting helpful answers. I'll move this to the IE forum. (Actually, your post will be visible both here and in the IDE forum, so your chances of getting a reply are even better.)
Would you please post the log file?
Does you JBoss AS has PostgreSQL JDBC driver installed?
Also, make sure entity managers names are the same in config files (components.xml, JBoss data source file, persistence.xml)
BTW, I was a huge fan of Seam framework but their weak support forum and the complexity for Seam's config files were a stopper for me.
I don't like component-based frameworks any more (Seam, Wicket), I'm a huge Grails/Django fan now
John's post brought up another thought - have you also deployed the *-ds.xml file to the JBoss AS config you are using within Eclipse? (It's hard to access a data source if neither the JDBC JAR file or *-ds.xml file are deployed. )
Well, I have spent enough time on this issue. I am going to have to stop spending time on it. Thank you all for your attempts. Especially, Peter Johnson, thank you. My sense of humor falls right in step with the proximity and atmosphere of when I joined, about April 1, so I hope noone is offended.