Deployment resources file path is incorrect in EAP 6
Issue
- On the deployment of application to the server installation of JBoss EAP 6.1 the resources are looked for under the
bin/contentdirectory rather than thestandalone/deploymentdirectory. On local installation of the application this works correctly and finds the resources understandalone/deployments. - So in dev environment the path returned (which is correct) is :
C:\Program Files\jboss-eap-6.1\standalone\deployments\abc.ear\abc.war\WEB-INF\classes\resources\templates\html_email_reset_password.html
however on the server the path is returned as follows;
C:\jboss-eap-6.1.0\jboss-eap-6.1\bin\content\abc.ear\abc.war\WEB-INF\classes\resources\templates\html_email_reset_password.html
- What is the reason behind this strange behaviour?
Environment
- RedHat JBoss Enterprise Application (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
