-
1. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
olof Jul 24, 2003 5:58 AM (in response to vashistvishal)Hi,
and thank you vashistvishal. It seems to be a good tutorial. Has anybody tried it ?
In chapter 1, 'Test your configuration', you have to add 'MySessionBean' to the 'MyBank' module.
And after that, you can generate all EJB classes from the 'MyBank' module.
Normally, it would create an 'ejbsrc' directory with a package and files inside.
On my PC, the 'ejbsrc' is created but is empty....
Any idea ???
Thank you ! -
2. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 24, 2003 6:57 AM (in response to vashistvishal)Did you followed all steps, did you added the bean in module in this case as you say 'MyBank' before genertaing classes.
What errors did you get if yougot any errors then raise them at lomboz forum on sourceforge or send these guys as a feedback. -
3. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
olof Jul 24, 2003 7:36 AM (in response to vashistvishal)Yes, I follow all steps (twice).
I have added the bean in module (but I can't see anything after this operation...).
And I get no errors.
I don't want to talk on lomboz forum now, because I'm very very very new to lomoz. More than to JBoss...
My goal is to find a tutorial to create entity bean, but without using other 'software' (xdocklet, lomboz, ...). I want to do all by-hand (for the first time)... -
4. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
olof Jul 24, 2003 7:49 AM (in response to vashistvishal)I've looked at the lomboz forum on sourceforge and I've learned the existing of a log file.
I erase it and make another time a 'Generate EJB class'.
Here is my log file. -
5. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 24, 2003 8:14 AM (in response to vashistvishal)What version of eclipse and lomboz you are using.
If you are using eclipse 2.1.1 and lomboz 2.1_02 then it is not supported by eclipsee, eclipse 2.1 is compatible with lomboz 2.1_02.
What version of jboss you are using, as they have done this with 3.2.1. -
6. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
olof Jul 24, 2003 8:17 AM (in response to vashistvishal)I use lomboz 2.1_02, Eclipse 2.1.1 and jboss 3.2.1.
Have I to wait for a compatible version of lomboz ?
Thank you ! -
7. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 24, 2003 8:27 AM (in response to vashistvishal)why dont you use eclipse 2.1 and start learning and start learning, when they release the compatible verison for 2.1.1 and then jump on to it.
Why would you deprive yrself in getting the taste of Real Thing !!! :-) -
8. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
radgon Jul 25, 2003 8:49 AM (in response to vashistvishal)
Thanks vashistvishal!
I haven't looked through the whole tutorial yet, but already the file jboss321all.server finally solved the problems I had starting jboss-3.2.1 from eclipse with lomboz!
Bye,
Radgon -
9. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
gavin9 Jul 29, 2003 12:15 AM (in response to vashistvishal)I get the same, an empty ejbsrc directory is created, no errors. This is with eclipse 2.1.0, latest lomboz 21_02 and jboss321. The server wasn't starting until I copied & edited $JBOSS_HOME in the jboss321all.server file from the tutorial.
-
10. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 29, 2003 12:59 AM (in response to vashistvishal)Obviously you have to edit jboss321all.server file, according to installation of jboss on yr machine.
Now, can you post yr project under workspace as a zip file, I will have a look at it. I'm curious its happening in yr case only. -
11. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 29, 2003 1:17 AM (in response to vashistvishal)The reason I said obviously because it seems to me yr Jboss installation is somewhere else, otherwise you dont have to edit jboss321all.server
In tutourial jboss is installed under /opt/jboss/ directory. Unless there are issues with yr ports or others. -
12. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 29, 2003 1:38 AM (in response to vashistvishal)Can you please specify which O/S and JDK you are using.
-
13. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
olof Jul 30, 2003 5:30 AM (in response to vashistvishal)Hi,
I finally have time to make some tests.
I try this tutorial with Eclipse 2.1.0 (instead of 2.1.1).
And now the creation of EJB works fine !
But problems are coming after :-(
I launch JBoss from the Lomboz J2EE View. Ok, only INFO messages.
I try http://localhost:8080, ok. I try to open the jmx-console and I have this error :
HTTP ERROR: 500 Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file
RequestURI=/jmx-console/
I think that some configuration are not ok. But I don't know where to search !
If I launch JBoss in the command window (%JBOSS_DIST%\bin\run, I haven't the error.
Thank you ! -
14. Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
vashistvishal Jul 30, 2003 6:35 PM (in response to vashistvishal)Well, the previous problems you raised about, empty ejbsrc, has been responded by objectlearn.
https://sourceforge.net/forum/forum.php?thread_id=909076&forum_id=174174
You migh want to check this.