[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread petemuir
Not that I know anything about tomcat, but what is the previous error? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039523#4039523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039523

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
From what i can find out it seams to be a generic error that tomcat produces when it cant do somthing. Which is, well, not very helpfull to be honest! There looks to be an active seam comunity but i guess your all using JBoss AS? I am running OSX and linux, so perhaps I might change

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread petemuir
Platform wise theres a complete mix, but I think most of us use JBoss AS on a day-to-day basis. Thats not to say it doesn't work on Tomcat (I just never use Tomcat). Chapters 1 and 2 of the reference manual should give you a good intro to Seam and to starting a project (Seam-gen really is the

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
For sure, i have the examples working on tomcat no problem at all. Thats the ironic thing The examples worked out of the box, it just did what it said on the tin! lol I have been using seam-gen to build my projects so far with no problems. I just thought that i would keep it 100% simple,

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
I get the following error when deploying to Jboss [EMAIL PROTECTED] { url=file:/Applications/jboss-4.0.5.GA/server/default/deploy/jboss-seam-contactlist.ear } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: ejb-jar.xml must either obey the right xml schema or define a valid

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread petemuir
Install the AS using the JEMS installer, make sure to choose EJB3, as described in the getting started guide. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039534#4039534 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
lol excellent - its working, the examples anyway! JBoss gives me better errors than tomcat and seems to work just as well so all good. Just a quick one about seam... After creating a new project using seam gen, would you expect that to just work or does it *always* require extra config to

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread petemuir
Well, if you generated an empty project then it should work ootb. If it's got some reverse engineering in it from an existing database schema it may need some tweaking. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039561#4039561 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
oh ok cool. The thing is it keep generating Authenticator.java. which looks to be a method for loggin in, wont this cause errors ootb? I have the examples all working both tomcat and JBoss AS now, but i'll be dammed if i can make an seam-gen one work correctly lol Even with a basic

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread petemuir
The authenticator is indeed for security, but the authenticate method just returns true (i.e. you have passed authentication) by default. You've made your class below an @Entity - so it's backed by the database. Set hibernate.hbm2ddl.auto to true in persistence.xml for Hibernate to