[
https://jira.jboss.org/jira/browse/JBIDE-5263?page=com.atlassian.jira.plu...
]
Rob Stryker commented on JBIDE-5263:
------------------------------------
Right now the ports are located via an xpath pattern. The server location is searched for
an xml file that matches that xpath.
In JBoss 4.2, this path is
//server/mbean[@name='jboss:service=Naming']/attribute[@name='Port']
In EAP 5.0, this path is:
/deployment/jboss_bean-deployer_2:bean/jboss_bean-deployer_2:constructor/jboss_bean-deployer_2:parameter/jboss_bean-deployer_2:set/jboss_bean-deployer_2:bean[jboss_bean-deployer_2:property='jboss:service=Naming'
and
jboss_bean-deployer_2:property='Port']/jboss_bean-deployer_2:property[@name='port']
This error means that the path that is being searched for is not found. It means that
there is no xml file available in your jboss installation where that xpath's value can
be determined,.
What version of JBoss are you using?
Mac OSX Snow Leopard: Server cannot be saved for the following
reasons: One or more ports have an invalid value
----------------------------------------------------------------------------------------------------------------
Key: JBIDE-5263
URL:
https://jira.jboss.org/jira/browse/JBIDE-5263
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.1.0.CR1
Environment: Mac OS X 10.6 (Snow Leopard)
JBoss AS 5.1.0.GA
JDK 1.6
Reporter: Robert Morse
Assignee: Rob Stryker
Fix For: 3.1.0.CR1
When trying to create a new JBoss AS server, JBDS complains with:
The server cannot be saved for the following reasons: One or more ports have an invalid
value. This may adversely affect the tooling's ability to interact with the server.
I've never seen this error before, and I'm not sure what the port values should
be. Currently, the Automatically detect check boxes are checked
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira