File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes the domain path not valid error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "the domain path not valid error" Watch "the domain path not valid error" New topic
Author

the domain path not valid error

amit daundkar
Ranch Hand

Joined: Jan 24, 2009
Posts: 47
hi,
i have installed JBoss 5.1.0-CR1 on linux fc8.
i use netbeans 6.0
when i am trying to register this instance with netbeans, it gives me following error in the add server option---

the Domain path is not valid or your domains don't meet minimal requirements.

what shall i do? is there any configuration to be done for the default domain?

please reply.
thank you.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Amit,

I'll move this to our IDE forum, since the error appears to be coming from the NetBeans IDE. Folks in that forums might be able to help


[My Blog] [JavaRanch Journal]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

This was discussed before in the IDE forum. NetBeans looks for certain JAR files to verify that you specified a correct directory location for the domain. But the JBoss team pulled a fast one and right before JBoss AS 5.0.0 was released they moved all of the JAR files from server/xxx/lib to common/lib. Unlike in Eclipse, where the JAR files to look for, and their locations, are given in a configuration file (which you could then edit to identify the new locations), as far as I can tell in NetBeans the locations are hard-coded. So the workaround is to copy the JAR files from common/lib to server/xxx/lib. The ultimate fix will be in a newer version of NetBeans (let's hope they get rid of the hard-coding as part of that fix).


JBoss In Action
amit daundkar
Ranch Hand

Joined: Jan 24, 2009
Posts: 47
Peter Johnson wrote:This was discussed before in the IDE forum. NetBeans looks for certain JAR files to verify that you specified a correct directory location for the domain. But the JBoss team pulled a fast one and right before JBoss AS 5.0.0 was released they moved all of the JAR files from server/xxx/lib to common/lib. Unlike in Eclipse, where the JAR files to look for, and their locations, are given in a configuration file (which you could then edit to identify the new locations), as far as I can tell in NetBeans the locations are hard-coded. So the workaround is to copy the JAR files from common/lib to server/xxx/lib. The ultimate fix will be in a newer version of NetBeans (let's hope they get rid of the hard-coding as part of that fix).



thank you,Peter.
amit daundkar
Ranch Hand

Joined: Jan 24, 2009
Posts: 47
Jaikiran Pai wrote:Amit,

I'll move this to our IDE forum, since the error appears to be coming from the NetBeans IDE. Folks in that forums might be able to help


Thank you ,
Jaikiran.
amit daundkar
Ranch Hand

Joined: Jan 24, 2009
Posts: 47
hello Peter,
i copied the jar files from common/lib to /server/defalut/lib and the problem is solved.
thank you.
amit daundkar
Ranch Hand

Joined: Jan 24, 2009
Posts: 47
hello Peter,
i copied the jar files from common/lib to /server/default/lib and the problem is solved.
thank you.
 
wood burning stoves
 
subject: the domain path not valid error