1 of 1 people found this helpful
That shouldn't be the case. How do you deploy? Using command line interface or directly placing it in the standalone/deployments or admin-console? If you are using the standalone/deployments folder then can you tell us its contents before and after the deployment and also before and after the restart of the server?
Ok.. this was a bit strange..
When I started migrate my app i pasted the war inside the standalone/deployments folder manually. After my migrate went forward I started using mvn jboss-as:deploy
When I removed the war and .deployed file located in the standalone/deployments folder and just uses maven the services looks to be functional even after restart.
So.. it looks like deployment through maven installs a second version of a war directly to the standalone/tmp folder without deleting the old one from standalone/deployments ?
And the reason my services did stop working is that the application version located in standalone/deployments was missing the JaxRsActivator. So this war is loaded before the one deployed through maven ?
Sounds like a minor bug in AS7
Thx for helping me sorting this out
Because of the way file system deployments (i.e. deployments via standalone/deployment folder) is currently implemented, mix and match of deployment techniques like this one, can lead to interesting issues