• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Jboss + Eclipse + Lomboz

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been looking and looking for information about how to correctly install this three 'things'... Becoming really tired of the lack of information that there is through the net and all the problems I've been having for thelast 3 days with Eclipse..

So now that it is all working I'm going to write here what I've followed.

First of all, what had I installed?
J2sdk 1.4.2
JBoss 4.0.1
apache ant 1.6.2
( Working correctly to do my j2ee project.)

And now, what have I installed?
Eclipse 3.0.2
Lomboz 3.0.1
EMF 2.0.2

Everybody trys to follow this tutorial:
And I've had a lot of problems doing it... More over it's not updated.
So I recommend this one:
http://weblogs.asp.net/jdanforth/articles/149111.aspx wich it explains everything really clear and make you notice that if you are installing Eclipse 3.0.x and you also want to install Lomboz you need EMF.

Once you have installed your Eclipse + Lomboz + EMF, configurated and checked it all works ok, you still will need a server definition for the Jboss version you are using. Lomboz 3.0.1 only have server definitions for jboss 3.2.x and older ones.

So the big problem at the end will be find this. I'm using jboss 4.0.1 and where can I find the server definition I need for Lomboz??


A japanese webpage! How can be possible that only 2 or 3 webpages have this file? And are japanese, so there is no other webpage in english or other language with this information...

As it has been said in this site, when you get the server definition for the Jboss version you are using, you have to save it as jboss<version>.server (in this case, jboss401.server) and put it on this directory: <eclipse_home>/plugins/com.objectlearn.jdt.j2ee_3.0.1/servers

The rest it is explained in the tutorial I've recommended here.

It is all working right now.
I'm sorry, I know I'm probably not explaining this too much clear, but I hope this help at least someone.

It would have helped me if I had found it ago...
Nothing more to say,
good luck with this....

P.S. This is the server definition for jboss 4.0.1 found in that webpage:

name="JBOSS 4.0.1"
<property id="serverRootDirectory"
label="Application Server Directory:"
default="I:/Software/jboss-4.0.1" />
<property id="serverAddress"
default="" />
<property id="serverPort"
default="8080" />
<property id="serverConfig"
label="Server Configuration (minimal/default/all):"
default="default" />
<property id="classPathVariableName"
label="Classpath Variable Name:"
default="JBOSS4.0.1" />
<property id="classPath"
label="Classpath Variable:"
default="I:/Software/jboss-4.0.1" />
<startVmParameters>-Dprogram.name=run.bat -Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endorsed -Xms128m -Xmx512m</startVmParameters>
<startProgramArguments>-c ${serverConfig}</startProgramArguments>
<stopVmParameters>-cp ${classPathVariableName}/bin/shutdown.jar -Djboss.boot.loader.name=shutdown.bat</stopVmParameters>
<jar type="variable">JDK_TOOLS</jar>
<jar type="variable">${classPathVariableName}/bin/run.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
<jar type="variable">${classPathVariableName}/client/jnp-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jbossall-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-common-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jbosssx-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/log4j.jar</jar>
<jar type="variable">${classPathVariableName}/server/default/lib/jnpserver.jar</jar>
<jar type="variable">JDK_TOOLS</jar>
<jar type="variable">${classPathVariableName}/bin/run.jar</jar>
<jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/javax.servlet.jar</jar>
<jar type="variable">${classPathVariableName}/lib/jboss-system.jar</jar>
<jar type="variable">${classPathVariableName}/lib/concurrent.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jnpserver.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-pattern.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jpl-util.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar>
<web><deploy /><undeploy />
<ejb><deploy /><undeploy />
<ear><deploy /><undeploy />
<webModule><deploy /><undeploy />
<ejbModule><deploy /><undeploy />

Thanks to whoever wrote it...
If you need any other server definition, just look for it in google, searching for jboss<version>.server
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the information. I am going to try working this out. It is to with the JBoss Eclipse IDe, right?

I am struggling through some sample EJB code, provided by Budi Kurniawan. It is at the following site:

I am having trouble running this code. If you want me to give you an idea of the nature of the problem that i am facing, that would be great..

And thanks for that wonderful writeup on JBoss Lomboz. I am going to try it out.
What's brown and sticky? ... a stick. Or a tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic