Deployment resources file path is incorrect in EAP 6

Solution Unverified - Updated -

Issue

  • On the deployment of application to the server installation of JBoss EAP 6.1 the resources are looked for under the bin/content directory rather than the standalone/deployment directory. On local installation of the application this works correctly and finds the resources under standalone/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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content