-
1. Re: sar file deployment
jaikiran Apr 19, 2009 9:31 AM (in response to luuzz)Please provide more information including the version of JBossAS and Java you use. Also how is the jboss service deployed? Through some -service.xml file? Where in the EAR is it placed? And what does deployed but not auto-started mean? Also post relevant logs from the console (not server.log).
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. -
2. Re: sar file deployment
luuzz Apr 19, 2009 2:46 PM (in response to luuzz)Hello,
I am using jboss 4.2.0 on jdk 1.6.
the service is deployed as a .sar (which contains a -service.xml) directly copied in the deploy directory .
When i do so, it works perfectly and the service is started after deployment.
But when i place the sar file in an ear, the service is not deployed although i declared the sar module in the application.xml file. -
3. Re: sar file deployment
jaikiran Apr 24, 2009 7:00 AM (in response to luuzz)"luuzz" wrote:
But when i place the sar file in an ear, the service is not deployed although i declared the sar module in the application.xml file.
You should be adding the sar as a module in META-INF/jboss-app.xml of the EAR:<jboss-app> <module> <service>myapp.sar</service> </module> </jboss-app>
assuming the myapp.sar is at the root of the EAR