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 !
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.
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)...
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.
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.
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 !
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 !!! :-)
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!
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.
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.
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.
Can you please specify which O/S and JDK you are using.
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
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 !