Hi,
Any one can please suggest me how to make ear using hibernate.
I have one .har file
and
One .war file
My application is not having ejbs so that i didn't included the jar.
The following is the file structure of my ear file
viewer.ear
1)META-INF
i) application.xml
ii)jboss-app.xml
2)viewer.war
The follwing is the code contains my application.xml file
Vasu
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>viewer</display-name>
<description>viewer</description>
<module>
<web>
<web-uri>viewer.war</web-uri>
<context-root>/cdviewer</context-root>
</web>
</module>
</application>
and jboss-app.xml contains the follwing
<!DOCTYPE jboss-app PUBLIC
"-//JBoss//DTD J2EE Application 1.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd">
<jboss-app>
<module>
<har>viewer.har</har>
</module>
</jboss-app>
When deploying i am getting the following error
rg.jboss.deployment.DeploymentException: Failed to find module file: viewer.war
|