Deployment of .EAR file.

Posted on

Hi All,

I am using red hat code ready studio for development.
and with using red hat JBoss EAP 7.0 server.

And I have created two projects: one for war where I place all business and UI logic and one for ear where I put all jboss-related configurations.

And when I tried to run my project using the standard method Run as->Run on the server everything is working properly, but when I hit my URL in the browser it is showing not found. this is the issue of why it is not deploying war properly.

But when I create a build using maven and manually put the .ear file from the target folder to the JBoss deployment folder and after starting the JBoss server and hitting the URL it is working fine.

IDE: red hat code ready studio
Server: red hat JBoss EAP 7.0 server
JDK: 1.8

Thanks.

Responses