• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the domain path not valid error

 
amit daundkar
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
amit daundkar
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Peter,
i copied the jar files from common/lib to /server/default/lib and the problem is solved.
thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic