-
1. Re: Getting started with JBoss
norman.richards Feb 4, 2005 12:20 PM (in response to maldin)Did you follow the instructions in the getting started guide? If so, which step are you on that isn't working?
-
2. Re: Getting started with JBoss
khoa Feb 8, 2005 1:19 AM (in response to maldin)"norman.richards@jboss.com" wrote:
Did you follow the instructions in the getting started guide? If so, which step are you on that isn't working?
I:
unzip JBoss 4.0.0 without modifying any configurations
unzip Duke Bank tutorial jbossj2ee1.4
did an ant -f jboss-build.xml compile
And got package not found errors.
Thanks. -
3. Re: Getting started with JBoss
norman.richards Feb 8, 2005 1:26 PM (in response to maldin)To use the getting started guide, try:
jboss-4.0.1
Sun J2EE tutorial update 4
Getting Started Guide release 3
First install JBoss then unpack the J2EE tutorial. Next, go to j2eetutorial directory and unpack the jbossj2ee-src.zip file. Then things should be in sync. I wish we could make the process easier, but we can't ship the j2ee tutorial code. It is an unfortunate two-step process... -
4. Re: Getting started with JBoss
khoa Feb 8, 2005 8:14 PM (in response to maldin)"norman.richards@jboss.com" wrote:
To use the getting started guide, try:
jboss-4.0.1
Sun J2EE tutorial update 4
Getting Started Guide release 3
I obtained JBoss Getting Started Guide 3.2.x from http://www.jboss.org/docs/index
However, it does not seem to correspond to Sun J2EE tutorial update 4. For instance, there's no target compile in build.xml. So, ant compile will not work.
Is there a tutorial that corresponds Sun J2EE tutorial update 4 Duke Bank tute.
Thanks.
P.S. I tried JBoss Getting Started Guide 4.0 (v3) too. -
5. Re: Getting started with JBoss
norman.richards Feb 8, 2005 10:06 PM (in response to maldin)Obviously the 3.2 getting started guide is not the correct choice.
The getting started guide explains how to build, and you'll notice that every ant command has "-f jboss-build.xml". The jboss build targets are all in jboss-build.xml. -
6. Re: Getting started with JBoss
khoa Feb 8, 2005 10:55 PM (in response to maldin)"norman.richards@jboss.com" wrote:
To use the getting started guide, try:
jboss-4.0.1
Sun J2EE tutorial update 4
Getting Started Guide release 3
You suggested following the Getting Started Guide release 3 tutorial. Am I using the correct one then? Or is it worthwhile for me to look up some ant tutorials and configure the build.xml file?
Thanks. -
7. Re: Getting started with JBoss
norman.richards Feb 8, 2005 11:14 PM (in response to maldin)You don't need to configure the build.xml file. You need to use the jboss-build.xml file in the getting started guide code. It really does work and there is no magic to making it work. Put the JBoss with the sun code and follow the instructions in the getting started guide.
-
8. Re: Getting started with JBoss
khoa Feb 9, 2005 1:03 AM (in response to maldin)"norman.richards@jboss.com" wrote:
To use the getting started guide, try:
jboss-4.0.1
Sun J2EE tutorial update 4
Getting Started Guide release 3
First install JBoss then unpack the J2EE tutorial. Next, go to j2eetutorial directory and unpack the jbossj2ee-src.zip file. Then things should be in sync. I wish we could make the process easier, but we can't ship the j2ee tutorial code. It is an unfortunate two-step process...
Just to clarify the steps a bit further. Hopefully.
unpack jboss-4.0.1
unpack Sun J2EE tutorial update 4
unpack Getting Started Guide release 4 code
copy jboss-build.properties and jboss-build.xml(from where ever you'd unpacked Getting Started Guide release 4 code) to ..\examples\bank(where ever you'd unpacked Sun J2EE tutorial)
edit the second line in jboss-build.xml to<property file="jboss-build.properties"/>
And various other settings(Drop me a line if you want to know more)
Now you can do an ``ant -f jboss-build.xml -verbose compile''
Sorry if I've missed something.
Hope this helps.
Courtesy to norman.richards@jboss.com -
9. Re: Getting started with JBoss
norman.richards Feb 9, 2005 2:20 AM (in response to maldin)Go to the j2eetutorial14 directory and unzip jbossj2ee-src.zip INSIDE that directory. As in:
[orb@toki orb]$ cd /tmp/j2eetutorial14/ [orb@toki j2eetutorial14]$ unzip /tmp/jbossj2ee-src.zip ... lots of output deleted ... [orb@toki j2eetutorial14]$ # edit jboss-build.properties [orb@toki j2eetutorial14]$ cd examples/bank/ [orb@toki bank]$ ant -f jboss-build.xml ... lots of successful building deleted ...
-
10. Re: Getting started with JBoss
khoa Feb 13, 2005 5:46 PM (in response to maldin)I beg your pardon if I've misled anyone with my post.
The steps that should be taken are:
unzip jboss-4.0.1
unzip Sun J2EE tutorial update 4 into c:\j2eetutorial14
unzip JBoss Getting Started Guide 4.0 (v3) jbossj2ee-src.zip into c:\j2eetutorial14
edit c:\j2eetutorial14\jboss-build.properties
and you can follow the tutorial through.
Thanks norman.richards@jboss.com -
11. Re: Getting started with JBoss
johnd Mar 5, 2005 7:57 AM (in response to maldin)
Hello,
I have followed these instructions to the letter. Starting afresh each time but am still seeing arror messages when I run the first mention of ant in the jboss tutorial.
In addtion, the jbossj2ee-src.zip file I have does not contain jboss-build.properties file. Where should I be downloading jbossj2ee-src.zip from? I got it from google so maybe its a wrong version. Am using JBoss Getting Started Guide 4.0 (v3) & latest jboss 4.01 download.
Thanks for any help you may give. -
12. Re: Getting started with JBoss
norman.richards Mar 5, 2005 8:38 AM (in response to maldin)
The file can be downloaded from docs.jboss.org. Look for the link that says "JBoss Getting Started Guide 4.0 (v3)" and click on "PDF +code". Inside of startguide40.zip, you will find jbossj2ee-src.zip. I just downloaded it, and it does indeed contain jboss-build.properties:[orb@toki startguide40]$ jar tvf jbossj2ee-src.zip | grep -i jboss-build.properties 293 Wed Nov 24 11:16:42 CST 2004 jboss-build.properties
-
13. Re: Getting started with JBoss
johnd Mar 5, 2005 7:14 PM (in response to maldin)
Norman,
That done the trick. Thank you...