2012. április 16., hétfő

Jboss under Netbeans, domain combo box is empty


I tried to configure JBoss 4.3.2.GA under NetBeans 7.1 but in the server configuration wizard the Domain combo box was empty.

After google search I found this:

"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">
 <attr name="deploy-dir" stringvalue="C:\Jboss4.3.2.GA\server\default\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:\Jboss4.3.2.GA\"/>
 <attr name="server" stringvalue="default"/>
 <attr name="server-dir" stringvalue="C:\Jboss4.3.2.GA\server\default"/>
 <attr name="url" stringvalue="jboss-deployer:localhost:8080#default&C:\Jboss4.3.2.GA"/>
 <attr name="username" stringvalue=""/>
</fileobject>

It didn't work for me.

The final solution was to copy the following files (log4j.jar was missing) to jboss4.2.3.GA\server\default\lib\

"jboss-javaee.jar"
"jboss.jar"
"jbosssx.jar"
"jmx-adaptor-plugin.jar"
"jnpserver.jar"
"log4j.jar"

So, if you find yourself in the same situation maybe this post will help you.

Nincsenek megjegyzések:

Megjegyzés küldése