Board index » jbuilder » Configure JBuilder 8 to run JBoss 3.2.2

Configure JBuilder 8 to run JBoss 3.2.2


2003-12-18 02:20:45 AM
jbuilder15
Hi... I'm trying to run an enterprise app using JBoss 3.2.2 in Jbuilder 8,
I think I've already configured JBoss in my Jbuilder 8 IDE doing the
following
step:
1.- I download .jar file Jboss Enterprise
(ProtegraEntWizardv2.2.3_JBoss3x_JBuilder_8.jar) and copied in
<JBuilder8>\lib\ext
2.- I created a new Library called JBoss Server.
3.- I Added all .jar of the <JBoss3.2.2 dir>\server\default\lib, and
<JBoss3.2.2 dir>\server\default\deploy\jbossweb-tomcat41.sar
4.- I added the followings line to the VM parameters in
RUN->CONFIGURATIONS:
-classic -Dtomcat.home=C:\sun\jboss-3.2.2\server\default\deploy\j
bossweb-tom
cat41.sar -Duser.dir=C:\sun\jboss-3.2.2\bin
So, when I try to run my app the JBuilder throw me a pop up windows with the
following message:
"Could not find the main class. Program will exit!!". and the Jbuilder
Message panel show me the following error:
java.lang.NoClassDefFoundError:
com/borland/jbuilder/enterprise/ejb/AppServer
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
Exception in thread "main"
I don't know what am I doing wrong..... Does anybody know what could be
wrong??? How can I configure JBuilder8 to run JBoss 3.2.2 ???
Thanks
Aljenadro
 
 

Re:Configure JBuilder 8 to run JBoss 3.2.2

An easy way to setup JBoss in JBuilder is to download the JBoss open tool
from sourceforge.
Include it in the \lib\ext directory and use tools/configure servers. Add
the correct pathnames and it should work like any other EJB container.
In your project, go to project options and on the server page select the
JBoss server as the EJB container to use.
Robert