-
1. Re: problems using jboss/seam
johnurban Nov 4, 2006 7:53 PM (in response to nitm)1. Go to the Seam getting started road map and follow the install instructions exactly, don't deviate:
http://labs.jboss.com/portal/jbossseam/gettingstarted
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:
http://labs.jboss.com/portal/jbossseam/docs
Hope this helps. -
2. Re: problems using jboss/seam
nitm Nov 4, 2006 8:33 PM (in response to nitm)thanks for the reply...
we did try to follow the steps in:
http://labs.jboss.com/portal/jbossseam/gettingstarted
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....
any ideas?
thanks! -
3. Re: problems using jboss/seam
johnurban Nov 4, 2006 10:42 PM (in response to nitm)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.
-
4. Re: problems using jboss/seam
nitm Nov 5, 2006 4:07 AM (in response to nitm)thank you very much for your help!
here's what i get when i try to deploy the booking example:
Buildfile: build.xml
BUILD FAILED
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...
thanks again! -
5. Re: problems using jboss/seam
gavin.king Nov 5, 2006 1:20 PM (in response to nitm)What version of Ant are you using?
-
6. Re: problems using jboss/seam
nitm Nov 5, 2006 1:24 PM (in response to nitm)we're using ant version 1.7
-
7. Re: problems using jboss/seam
gavin.king Nov 5, 2006 1:28 PM (in response to nitm)Notice that the getting started guide tells you to use Ant 1.6, not some beta release of Ant.
-
8. Re: problems using jboss/seam
nitm Nov 5, 2006 1:58 PM (in response to nitm)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! -
9. Re: problems using jboss/seam
gavin.king Nov 5, 2006 2:12 PM (in response to nitm)The getting started guide also tells you to install JBoss with the ejb3 profile.
-
10. Re: problems using jboss/seam
nitm Nov 5, 2006 2:21 PM (in response to nitm)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? -
11. Re: problems using jboss/seam
gavin.king Nov 5, 2006 2:27 PM (in response to nitm)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!
-
12. Re: problems using jboss/seam
nitm Nov 5, 2006 2:47 PM (in response to nitm)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. -
13. Re: problems using jboss/seam
gavin.king Nov 5, 2006 2:49 PM (in response to nitm)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.
-
14. Re: problems using jboss/seam
nitm Nov 5, 2006 3:44 PM (in response to nitm)good, at least we might of saved other people some time...
thanks again for everything, you're doing a great job!