-
1. Re: deployment using application.xml
jaikiran Jun 11, 2008 9:13 AM (in response to praveen12brec)Post the contents of your application.xml file. JBoss follows the contents of the application.xml to deploy the components.
-
2. Re: deployment using application.xml
praveen12brec Jun 11, 2008 12:59 PM (in response to praveen12brec)hi,
this is my application.xml.
apart from deploying the ejb's mentioned here... it also tries to a ejb in the classpath(defined in manifest.mf of one for the ejb's)
my second problem is jboss does not deploy my ucl_war. if i change it to ucl.war, it deploys without any problem.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
'-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<display-name>UCL</display-name>
UCL description
ucl_TranLogMgr.jar
ucl_RouterMgr.jar
ucl_UCLCommManager.jar
ucl_WMQITXMLInboundMessageListenerBean.jar
ucl_UCLMgr.jar
<web-uri>ucl_war</web-uri>
<context-root>/</context-root>
<security-role id="SecurityRole_1">
UCLUsers
<role-name>UCLUsers</role-name>
</security-role> -
3. Re: deployment using application.xml
praveen12brec Jun 11, 2008 12:59 PM (in response to praveen12brec)hi,
this is my application.xml.
apart from deploying the ejb's mentioned here... it also tries to a ejb in the classpath(defined in manifest.mf of one for the ejb's)
my second problem is jboss does not deploy my ucl_war. if i change it to ucl.war, it deploys without any problem.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
'-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<display-name>UCL</display-name>
UCL description
ucl_TranLogMgr.jar
ucl_RouterMgr.jar
ucl_UCLCommManager.jar
ucl_WMQITXMLInboundMessageListenerBean.jar
ucl_UCLMgr.jar
<web-uri>ucl_war</web-uri>
<context-root>/</context-root>
<security-role id="SecurityRole_1">
UCLUsers
<role-name>UCLUsers</role-name>
</security-role> -
4. Re: deployment using application.xml
praveen12brec Jun 11, 2008 1:02 PM (in response to praveen12brec)<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'> <application id='UCL'> <display-name>UCL</display-name> <description>UCL description</description> <module> <ejb>ucl_TranLogMgr.jar</ejb> </module> <module> <ejb>ucl_RouterMgr.jar</ejb> </module> <module> <ejb>ucl_UCLCommManager.jar</ejb> </module> <module> <ejb>ucl_WMQITXMLInboundMessageListenerBean.jar</ejb> </module> <module> <ejb>ucl_UCLMgr.jar</ejb> </module> <module> <web> <web-uri>ucl_war</web-uri> <context-root>/</context-root> </web> </module> <security-role id="SecurityRole_1"> <description>UCLUsers</description> <role-name>UCLUsers</role-name> </security-role> </application>
-
5. Re: deployment using application.xml
peterj Jun 11, 2008 1:12 PM (in response to praveen12brec)praveen12brec wrote:
my second problem is jboss does not deploy my ucl_war. if i change it to ucl.war, it deploys without any problem.
Applications are deployed based on their extensions. The file (or directory) ucl_war has no extension and thus cannot be deployed. Therefore, you must rename it to ucl.war.