Issue Type: Bug Bug
Affects Versions: 3.3.0.CR1
Assignee: Rob Stryker
Components: JBossAS/Servers
Created: 20/Jun/12 10:45 AM
Description:

When you try to start the EAP 6 server included in the JBDS installer or AS7 added through runtime detection, they fail to start.

The error with AS7 is:

!ENTRY org.jboss.ide.eclipse.as.core 4 0 2012-06-20 16:34:19.255
!MESSAGE The XPath Model could not be saved
!STACK 0
java.io.FileNotFoundException: C:\JBDS\workspace-eap-213\.metadata\.plugins\org.jboss.ide.eclipse.as.core\jboss-eap-5.1.1\xpaths.xml (The system cannot find the path specified)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(Unknown Source)
	at java.io.FileOutputStream.<init>(Unknown Source)
	at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.save(XPathModel.java:184)
	at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.handleAddJBossXPaths(XPathModel.java:98)
	at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.access$1(XPathModel.java:95)
	at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel$1.run(XPathModel.java:82)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.wst.server.core 4 0 2012-06-20 16:36:13.159
!MESSAGE Server jboss-as-7.1.1.Final failed to start.

And the error with EAP6 is:

!ENTRY org.eclipse.wst.server.core 4 0 2012-06-20 16:37:25.593
!MESSAGE Server jboss-eap failed to start.

!ENTRY org.eclipse.wst.server.core 4 0 2012-06-20 16:39:27.448
!MESSAGE Server jboss-eap failed to start.

I noticed there was "/" in many places in the paths in the launch config, but changing those to "\" didn't help.

Environment: Windows XP 32bit
Oracle Java 1.6
jbdevstudio-product-eap-universal-5.0.0.v20120615-1714-H213-GA.jar
Fix Versions: 3.3.1
Project: Tools (JBoss Tools)
Priority: Major Major
Reporter: Martin Malina
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira