[jboss-user] [Beginners Corner] - Failed to find module file: xx.sar
arielah
do-not-reply at jboss.com
Tue Oct 16 14:32:58 EDT 2007
I need to deploy scheduler within my project on JBoss 4.2.1. This is the error from the console:
11:15:05,628 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.1.GA/server/default/deploy/MyProject.ear
| org.jboss.deployment.DeploymentException: Failed to find module file: myService.sar
| at org.jboss.deployment.EARDeployer.init(EARDeployer.java:295)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
The ear file structure is:
| MyProject.ear
| +com
| +META-INF
| application.xml
| ejb-jar.xml
| jboss.xml
| jboss-app.xml
| MANIFEST.MF
| +myService.sar
| +com
| +META-INF
| MANIFEST.MF
| scheduler-service.xml
| MyProject.jar
|
This is what I have in jboss-app.xml
| <!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>
| <service>myService.sar</service>
| </module>
|
| </jboss-app>
|
My question is why it can't not find the .sar file when I deploy to jboss?
Thanks for any help.
A.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095759#4095759
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095759
More information about the jboss-user
mailing list