I use a jboss AS 7.1.1.Final as remote container. The server is started with a jvm option -Dmyparam=somevalue
In the normal web application the property can be retrieved with System.getProperty("myparam");
When running a test, null is returned.
My understanding is that in the case of a remote (not managed) server, the test.war is deployed to the started server, i.e. there is only one server jvm,
so the property should be available. The call is made in the server side code, not in the test code.
What am I missing?
Found it, it seems some old class files where used.
Cleaning everything solved the problem.
Retrieving data ...