• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jboss + Lomboz +Eclipse setup  RSS feed

 
SD Leech
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im having some problems setting up jboss 3.2.2 with eclipse (ver 2.1.0)
In the server definitions under lomboz under the preferences its picking up JBOSS v2.4.4. I have a choice of chooing other versions in the server definitions drop down box including 3.2.1 but not 3.2.2. Also in the classpath tab I have a load of errors such as
x {$classpathvariableName}/jboss/bin/run.jar
and in the client tab view as well.
Is this a compatibility problem with the versions Ive got? Im using this tutorial : http://www.tusc.com.au/tutorial/html/chap1.html
thanks
SD
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try 3.2.1 and it may work with 3.2.2. If not, you will need to write your own .server file for JBoss 3.2.2. The .server files are xml files that are stored in the plugins\com.objectlearn.jdt.j2ee\servers directory. Looking at the 3.2.1 file may go a long way towards helping you write a file for 3.2.2.
 
SD Leech
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I tried creating a new server file for JBOSS3.2.2 but every time I try and apply in the server definitions and ok everything close it down then go back into preferences it keeps revertin back to JBoss244!
I also tried creating a new J2EE project before realising that the above had not been saved, but had lots of errors with missing paths etc.
I think the Jboss3.2.2 is using tomcat because it has a classpath variable of : C:/nmd/dev/java/jboss-3.2.2_tomcat-4.1.24.
The turorial refers to the jboss jetty but Ive tried clicking on the link for 3.2.1 and get no results. I just want to get creating some J2EE projects. Is there an alternative setup where theres lots of support or a solution to the problem above? thanks
 
Erwin DES
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm struggling with the same problem, so I take the liberty to join this question + a new post.
While trying to complete the example in chapter 1, I also encountered an error while deploying => the reason while the system refused to compile was a missing EJBGenerate.xml.
Indeed, this xml was missing while all the others where created.
I have to admit that I use the actual version of Lomboz while Chapter 1 is working with the former. I can't find this version for download, so I have to work with the most recent version.
Is there anyone who can help me out?
Thanks for any help,
Erwin
 
Kay Tracid
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a problem with the plugin too. I use the 3.2.1 server-file for the 3.2.3 JBoss. if i start jboss in debug mode out of lomboz, i get a lot of exceptions. for example.
ERROR [MainDeployer] could not create deployment: file:/D:/jboss/server/all/deploy/jboss-net.sar/
org.jboss.deployment.DeploymentException: create operation failed for package file:/D:/jboss/server/all/deploy/jboss-net.sar/; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
and so on...
any ideas?
thanks
bonkers
 
Tonny Tssagovic
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys, I was just wondering if u did get the 3.2.2 set-up to work for u.. since I intend to do the same, and lomboz does not come with a 3.2.2 xml file..
Any help will be VERy much appreciated
 
Milton Ulmer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kay,
Did you solve the problem below? I just installed Lomboz and am running into the same problem.

Milton

Originally posted by Kay Tracid:
Hi,
I have a problem with the plugin too. I use the 3.2.1 server-file for the 3.2.3 JBoss. if i start jboss in debug mode out of lomboz, i get a lot of exceptions. for example.
ERROR [MainDeployer] could not create deployment: file:/D:/jboss/server/all/deploy/jboss-net.sar/
org.jboss.deployment.DeploymentException: create operation failed for package file:/D:/jboss/server/all/deploy/jboss-net.sar/; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
and so on...
any ideas?
thanks
bonkers
 
Asadullah Timiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks, You all may view the below site, it has complete walk thro how to configure Jboss+Eclipse+Lomboz.
http://www.tusc.com.au/tutorial/html/chap1.html
It works out fine with me.
 
Wouter Vernaillen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did anyone find out yet how to make Lomboz work with JBoss 3.2.3 ?
It's working with JBoss 3.2.1, but I'd love to use JBoss 3.2.3 because it can use Tomcat 5 as webcontainer.
 
R Schramm
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also am new and having problems getting the tutorial to work having just downloaded all of the current releases of eclipse (2.1.2) and jboss (3.2.3) and lomboz. I cant even get eclipse to see the lomboz plugin having followed the tutorial's chapter 1 quite carefully.
In the eclipse startup log (eclipse\workspace\metatdata\.log) there are complaints about cannot find a number of included files that are declared in the com.objectlearn.jdt.j2ee\plugin.xml file.
specifically the imports for:
org.eclipse.ui.ide
org.eclipse.osgi
org.eclipse.ant.ui
org.eclipse.help.base
org.eclipse.core.runtime.compatability
There maybe are some eclipse 2.1.2 equiavlents for these.. Im still trying.
Perhaps the good folks at TUSC/Logec could provide an update to thier tutorial. It looks like a fabulous tutorial but it would be great if it could be updated so it works for us trying to learn.
Any help is greatly appreciated.
Thanks - Rich
 
T Parikh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following is a strange problem I was having too. I fixed it by making the config I want the first alphabetical in the servers directory. Seems Eclipse only picks up the first alphabetical option and there is no scope to change it! So I renamed jboss323.server to aa-jboss323.server. Yet to see if everything else works.
Originally posted by SD Leech:
Hi
I tried creating a new server file for JBOSS3.2.2 but every time I try and apply in the server definitions and ok everything close it down then go back into preferences it keeps revertin back to JBoss244!
 
Deepak Patri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the following server configuration for jboss 3.2.x


<serverDefinition
name="JBOSS 3.2.x"
ejbModules="true"
webModules="true"
earModules="true">
<property id="serverRootDirectory"
label="Application Server Directory:"
type="directory"
default="C:/jboss-3.2.5/" />
<property id="serverAddress"
label="Address:"
type="string"
default="127.0.0.1" />
<property id="serverPort"
label="Port:"
type="string"
default="8080" />
<property id="serverConfig"
label="Server Configuration (minimal/default/all):"
type="string"
default="all" />
<property id="classPathVariableName"
label="Classpath Variable Name:"
type="string"
default="JBOSS32X" />
<property id="classPath"
label="Classpath Variable:"
type="directory"
default="C:/jboss-3.2.5" />
<serverHome>${serverRootDirectory}</serverHome>
<webModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</webModulesDeployDirectory>
<ejbModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</ejbModulesDeployDirectory>
<earModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</earModulesDeployDirectory>
<jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory>
<jndiProviderUrl>jnp://${serverAddress}:1099</jndiProviderUrl>
<startClass>org.jboss.Main</startClass>
<startWorkingDirectory>${serverRootDirectory}/bin</startWorkingDirectory>
<startVmParameters></startVmParameters>
<startProgramArguments>-c ${serverConfig}</startProgramArguments>
<stopClass>org.jboss.Shutdown</stopClass>
<stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory>
<stopVmParameters></stopVmParameters>
<stopProgramArguments>-S</stopProgramArguments>
<serverClassPath>
<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-boot.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>
<jar type="variable">${classPathVariableName}/lib/jdom.jar</jar>
<jar type="variable">${classPathVariableName}/lib/xercesImpl.jar</jar>
<jar type="variable">${classPathVariableName}/lib/xml-apis.jar</jar>
<jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar</jar>
<jar type="variable">${classPathVariableName}/lib/getopt.jar</jar>
</serverClassPath>
<clientClassPath>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
<jar type="variable">${classPathVariableName}/client/jnp-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-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}/client/jnet.jar</jar>
<jar type="variable">${classPathVariableName}/server/default/lib/jnpserver.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-jaas.jar</jar>
</clientClassPath>
<projectClassPath>
<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-boot.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>
</projectClassPath>
<adminTool>
<web><deploy /><undeploy />
</web>
<ejb><deploy /><undeploy />
</ejb>
<ear><deploy /><undeploy />
<webModule><deploy /><undeploy />
</webModule>
<ejbModule><deploy /><undeploy />
</ejbModule>
</ear>
</adminTool>
<adminToolPath>
</adminToolPath>
</serverDefinition>

and use this configuration for jboss 3.2.5


<serverDefinition
name="JBOSS 3.2.5"
ejbModules="true"
webModules="true"
earModules="true">
<property id="serverRootDirectory"
label="Application Server Directory:"
type="directory"
default="C:/jboss-3.2.5" />
<property id="serverAddress"
label="Address:"
type="string"
default="127.0.0.1" />
<property id="serverPort"
label="Port:"
type="string"
default="8080" />
<property id="serverConfig"
label="Server Configuration (minimal/default/all):"
type="string"
default="default" />
<property id="classPathVariableName"
label="Classpath Variable Name:"
type="string"
default="JBOSS325" />
<property id="classPath"
label="Classpath Variable:"
type="directory"
default="C:/jboss-3.2.5" />
<serverHome>${serverRootDirectory}</serverHome>
<webModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</webModulesDeployDirectory>
<ejbModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</ejbModulesDeployDirectory>
<earModulesDeployDirectory>${serverRootDirectory}/server/${serverConfig}/deploy</earModulesDeployDirectory>
<jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory>
<jndiProviderUrl>jnp://${serverAddress}:1099</jndiProviderUrl>
<startClass>org.jboss.Main</startClass>
<startWorkingDirectory>${serverRootDirectory}/bin</startWorkingDirectory>
<startVmParameters></startVmParameters>
<startProgramArguments>-c ${serverConfig}</startProgramArguments>
<stopClass>org.jboss.Shutdown</stopClass>
<stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory>
<stopVmParameters></stopVmParameters>
<stopProgramArguments>-S</stopProgramArguments>
<serverClassPath>
<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}/lib/concurrent.jar</jar>
<jar type="variable">${classPathVariableName}/lib/jboss-system.jar</jar>
<jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar>
<jar type="variable">${classPathVariableName}/lib/xercesImpl.jar</jar>
<jar type="variable">${classPathVariableName}/lib/xml-apis.jar</jar>
<jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar</jar>
<jar type="variable">${classPathVariableName}/lib/getopt.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.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>
</serverClassPath>
<clientClassPath>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-common-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jboss-jaas.jar</jar>
<jar type="variable">${classPathVariableName}/client/jbosssx-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/jnet.jar</jar>
<jar type="variable">${classPathVariableName}/client/jnp-client.jar</jar>
<jar type="variable">${classPathVariableName}/client/log4j.jar</jar>
<jar type="variable">${classPathVariableName}/server/default/lib/jnpserver.jar</jar>
</clientClassPath>
<projectClassPath>
<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}/lib/concurrent.jar</jar>
<jar type="variable">${classPathVariableName}/lib/jboss-system.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss.jar</jar>
<jar type="variable">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.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>
</projectClassPath>
<adminTool>
<web><deploy /><undeploy />
</web>
<ejb><deploy /><undeploy />
</ejb>
<ear><deploy /><undeploy />
<webModule><deploy /><undeploy />
</webModule>
<ejbModule><deploy /><undeploy />
</ejbModule>
</ear>
</adminTool>
<adminToolPath>
</adminToolPath>
</serverDefinition>

good luck.
 
Bruno Collet
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry to say this, but after a number of days working with Lomboz, I dropped it This does not mean that you should, but I felt it simply brought to many problems and limitations compared to the features. I share some of this (painful) experience on my website.
 
Steffi Beginner
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

good to see, I'm not allone with my problem setting up jboss and lomboz in eclipse.

Can you tell me, if the server configuration for jboss 3.2.x is suitable for jboss 3.2.6 as well?

And how do I avoid, that in the preferences the JBOSS244 is always set by default?

Thanks and by

Steff
 
Damanjit Kaur
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

If anyone knows how to configure JBoss4.0 in Lomboz Server definition files. I mean which jar files to include in Server Classpath files,Project and Client Classpath in Eclipse.

Thanks in advance
 
rupa khandelwal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not alone ,
Me too facing the same problem while following http://www.tusc.com.au/tutorial/html/chap3.html but I am using WebLogic8.1 instead.. but again not seeing ejbGenerate.xml any where in the hirearchy but there is diffrent file xdoclet.xml will it work if yes how? if not what to do?

Thanks,
Rupa
 
Bruno Collet
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A few months ago I used Lomboz Eclipse plugin and was disappointed.
The project I am working on is much more complicated than a hello-world application though. Anyway, after running into a lot of trouble I decided not to use Lomboz at all. I think that Lomboz might become a great plugin but right now I won't use it for professional work.
I have written a small web page about this experience (see "A Freeware Desktop Environment for the J2EE Architect" in website mentioned in signature).
Feel free to send me your comment so I can improve the article
 
Susan Crystal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI i am also having trouble with the lomboz install. I am using Jboss 4.0.0RC2 and Eclipse 3.1M3..

I have tride the tutorial that everyone points to http://www.tusc.com.au/tutorial/html/chap1.html but i think that it is one of the worst tutorials, it is outdated and it is written for linux. Although linux can be nice when it plays fair, but most people use windows not linux.

anyone come to the rescue?

thanks for any help.

p.s whats this about the server file, can someone better explain about and how ?
 
Durgaprasad Guduguntla
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try JBossIDE by using Software updates feature in Eclipse with the URL: http://jboss.sourceforge.net/jbosside/updates. The installation guide is available at http://voxel.dl.sourceforge.net/sourceforge/jboss/Install-1.3.0.pdfand Tutorial Guide is at http://voxel.dl.sourceforge.net/sourceforge/jboss/Tutorial-1.3.0.pdf.
 
Vishal Dedaniya
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I got a solution to how to integrate Eclipse IDE with JBOSS using Lomboz..
[ December 26, 2005: Message edited by: Vishal Dedaniya ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!