-
2. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
adrigan Dec 23, 2008 4:03 PM (in response to giordano)Try putting this into your .nbattrs file (Click on Help --> About) in netbeans and it will tell you where your profile is at the value "user dir." Add
"config\J2EE\InstalledServers" to find the actual folder.<fileobject name="instance_3"> <attr name="deploy-dir" stringvalue="C:\NewReadiness\lib\JBoss\jboss-5.0.0.GA\server\pilot\deploy"/> <attr name="displayName" stringvalue="JBoss Application Server"/> <attr name="host" stringvalue="localhost"/> <attr name="password" stringvalue=""/> <attr name="port" stringvalue="8080"/> <attr name="registeredWithoutUI" stringvalue="false"/> <attr name="root-dir" stringvalue="C:\NewReadiness\lib\jboss\jboss-5.0.0.GA"/> <attr name="server" stringvalue="pilot"/> <attr name="server-dir" stringvalue="C:\NewReadiness\lib\JBoss\jboss-5.0.0.GA\server\pilot"/> <attr name="url" stringvalue="jboss-deployer:localhost:8080#pilot&C:\NewReadiness\lib\JBoss\jboss-5.0.0.GA"/> <attr name="username" stringvalue=""/> </fileobject>
I already had a jb.properties file that looks like this in the ..\6.5\config\J2EE folder. You may need to add one.# #Wed Dec 17 18:07:16 EST 2008 installRoot=C\:\\NewReadiness\\lib\\jboss\\jboss-5.0.0.GA
Hope that helps. Enjoy! -
3. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
cvasilak Jan 6, 2009 8:46 AM (in response to giordano)Thanks Adrigan, worked beautifully!
A small advice, be very careful with editing the "/home//.netbeans/6.5/config/J2EE/InstalledServers/.attrbs" file. A small XML error will result of all the "servers registered list" to be wiped out by NetBeans. Keep a backup of this file prior editing (and try again)
Regards,
Christos -
4. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
giordano Jan 7, 2009 7:53 AM (in response to giordano)Dear all,
yes, tried the suggestion and all seem to work. Netbeans 6.5 recognize JBoss 5.0.0.GA domains but I already had some problems with library. If you develop a simple applications with entity beans (hibernate), Netbeans is not able to import automatically the libraries (JPA libraries). Probably JBoss 5.0.0.GA has reorganized these libraries under other folders. I solved this problem importing manually the libraries but this is only a work around. Have you other news?
Thanks and bye,
Giordano -
5. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
dairo1983 Mar 8, 2009 11:24 PM (in response to giordano)Hi:
I want to make a project with portlets suport in Netbeans 6.5 I use the Portal Pack 3, and it allow me to create a projecto with SAW (SimpleAPI for Workflow) support, and I can see the JBPM option, but I can not select it. I would like to make a portlet with Jboss JBPM support. Can somebody help me. I need it a lot.
Thanks anyway and sorry by my English, is so bad...
cheers
Dairo -
6. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
negora Aug 20, 2009 7:09 PM (in response to giordano)I'm also facing the same problem on NetBeans v. 6.7.1 when developing an Enterprise Application which contains an EJB Module. This is because for the JBoss 5 series many common libraries were moved to the "common/lib" folder of the server root, instead of keeping them on every instance "lib" folder.
Until the NetBeans developers fix it I believe that the only solution is to import some of the JARs inside of the "common/lib" folder (or all them if you don't wanna have head aches). You don't need anything else, only that JARs.
I always did this by hand, for every project, since I didn't know that there were a feature to make "libraries" into NetBeans which can be used on every project, without the need of selecting the JARs every time. Once I discovered this (yeah, I'm still a rookie and didn't know this :P ), I made one "library" called "jboss-common" and added the required JARs. Now, on every new project I only have to select this library from the existing ones and it's done.
I believe that NetBeans should change the name to this feature and call it "Collections of libraries" or "Groups of libraries", because it doesn't consist in making Java libraries, but building lists of libraries which we want to import in a sudden, in just one click. -
7. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
pjiricka Aug 21, 2009 3:21 AM (in response to giordano)Hi, I reported your message in NetBeans bug tracking system, so it can be addressed for the next release:
http://www.netbeans.org/issues/show_bug.cgi?id=170739 -
8. Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
s4ut Mar 23, 2010 10:53 PM (in response to giordano)Can anyone help me how to configure JBOSS 5.1.0.GA or JBOSS 5.1.0.GA-jdk6 in netbeans 6.8 ?
please i need it