1. Go to the Seam getting started road map and follow the install instructions exactly, don't deviate:
2. Read the Seam documentation before you do anything.
3. Work through every example, understanding each piece.
4. Subscribe to this forum and read every post.
5. Post questions if you can't get you answer from 1,2 or 3. I wish I had done that
Seam has a steep learning curve, but it promises great benefits and the rewards of faster development in the end.
You've got to really study it, especially if you are new to EJB 30, annotations and JSF.
Here are the docs:
Hope this helps.
thanks for the reply...
we did try to follow the steps in:
but when we got to the examples it all got messed up.. the first two (booking & dvd) did not even pass the build step.. we got a "bad file" (or something like that) error...
the third one (issues) passed the build step but we couldnt open it in the browser (bad deployment or something).
since that did not work out we searched for more info but that (as i wrote before) only confused us more....
I was able to get all of the examples to build w/o any problems. Take it 1 at a time and post the problem you have with each. Configuration is a big part of Seam. Its probably something someone has run into before. The JBoss guys did a real good job w/ the examples and they are quite solid. I'll help where I can.
thank you very much for your help!
here's what i get when i try to deploy the booking example:
C:\Program Files\jboss\jboss-seam-1.0.1.GA\examples\booking\build.xml:29: You must not specify more than one attribute when using refid
the same thing happens when i try to deploy the dvdstore example...
as for the last example (issues), the deployment worked but i get a 404 page when i try to see it in the browser and on the console i can see a stack trace of exceptions from the server run.bat
the exception is: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!
that's about it...
What version of Ant are you using?
we're using ant version 1.7
Notice that the getting started guide tells you to use Ant 1.6, not some beta release of Ant.
oh! so that was the problem with the build.....
ok, that fixed it.. now i can build all of the examples BUT i still have the same problem with all of them.. i get this error in the console (on the server startup):
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!
thanks a bunch!
The getting started guide also tells you to install JBoss with the ejb3 profile.
right you are again, but i did that....
well, actually, when i installed the jboss as i selected the 'all' button instea,d of the ejb3, that's not good?
No thats not good. We have very carefully written instructions that tell people *exactly* what to do to get started, so that we don't have to waste their time and ours with forum threads like these. Please follow the instructions exactly! Sheesh!
sorry about that.. my bad.
we just thought that by 'all' we get all of the options....
now everything works great!!!
again, i'm sorry for wasting everyones time.
NP. In your defence, the getting started guide actually did say "Ant 1.6 or above". I have fixed that. I have also added an explicit note to not use the "all" profile.
good, at least we might of saved other people some time...
thanks again for everything, you're doing a great job!