-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: deploying ear problem using hibernate
PostPosted: Mon May 16, 2005 12:50 pm 
Newbie

Joined: Mon May 16, 2005 2:55 am
Posts: 6
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.