[jboss-jira] [JBoss JIRA] Created: (JBDEPLOY-228) Applications deployed using MainDeployer.deploy does not get started when the server is restared

Rammohan Yadavalli (JIRA) jira-events at lists.jboss.org
Wed Dec 16 01:58:31 EST 2009


Applications deployed using MainDeployer.deploy does not get started when the server is restared
------------------------------------------------------------------------------------------------

                 Key: JBDEPLOY-228
                 URL: https://jira.jboss.org/jira/browse/JBDEPLOY-228
             Project: JBoss Deployers
          Issue Type: Bug
            Reporter: Rammohan Yadavalli


Hi,

I used the below MainDeployer.deploy to deploy WAR from the folder outside JBoss deploy folder. I have used the below ant script to perform this task.
				<jmx serverURL="localhost">
					<invoke target="jboss.system:service=MainDeployer"
				      operation="deploy">
								 <parameter type="java.lang.String"
							arg="file:${webapp.dist}/${webapp.war}"/>
					</invoke>
				</jmx>

I am able to deploy and redeploy the applications, however, when i restart my jboss server all the applications that are deployed using the jmx operation (MainDeployer.deploy) are not getting started automatically.

I am not sure why this happens, when I copy the WAR to deploy folder the WAR gets started when the server is restarted. Can you please let me know what needs to be done in order to automatically start the applications that are deployed using MainDeployer.deploy jmx operation?

Thanks,
Ram



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list