When starting JBoss from the servers view inside Eclipse Indigo SR2 with JBoss Tools 2.3.0 on my machine, everything runs fine.
I have copied all contents of my work folder containing Eclipse and JBoss-7.1.1.Final to a different machine.
Now, when I try to start the server, it fails with this message:
Starting JBoss 7.1.1 Runtime encountered an error. The archive: /jboss/jboss-modules.jar which is referenced by the classpath, does not exist.
I don't see anything referencing the jar in the runtime or server or project configurations. And the jboss-modules.jar
is inside the root folder of the JBoss server, as expected. There are no deployments in the standalone.xml
.
Both machines are running SuSe 12. .bashrc
and .profile
are empty.
The server starts fine from command line.
I have created a new runtime and a server using this runtime from scratch in Eclipse, but get the same error.
Any ideas are appreciated.
I have found the solution just now:
User Libraries
. All attempts to delete it failed. After removing or resetting to defaults and applying, I started the server, received the same error and the .jar was in the launch cofig classpath again.jboss
without any facets, just to have the JBoss files visible from the eclipse project browser. This project was closed.After I opened it, the server started fine again.
I am still clueless about how the reference to the jboss-modules.jar
from a project got into the launch config classpath and why it resisted removing attempts.