[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [Help] Resources In Jars in Deployment EAR
Mazinger
do-not-reply at jboss.com
Wed Mar 5 11:31:59 EST 2008
This is JBoss 4.0.5
The CatalogManager.properties is being loaded via an encapsulation of the Apache Commons Configuration API. Within the same jar file that contains the various properties files, we store a common-config.xml file that is read in through a .class.getResource("common-config.xml") call. This contains an XML listing of what properties to load.
I am unfortunately unable to post the output of my EAR to this website, as the information about my software is propietary... In my quoted post, I changed the names of the files in order to mask the product. What were you looking for specifically? I don't think I could post the contents of our EAR without permission. Below is the application.xml for the EAR.
<?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>ecore-ear</display-name>
| <module>
| <ejb>eebs-ejb-jar-5.1.0.0.jar</ejb>
| </module>
| <module>
| <ejb>adf-ejb-jar-5.1.0.0.jar</ejb>
| </module>
| <module>
| <ejb>tolec-ejb-jar-5.1.0.0.jar</ejb>
| </module>
| <module>
| <ejb>ecore-ejb-jar-5.1.0.0.jar</ejb>
| </module>
| <module>
| <web>
| <web-uri>license.war</web-uri>
| <context-root>/license</context-root>
| </web>
| </module>
| <module>
| <web>
| <web-uri>diagnostic.war</web-uri>
| <context-root>/diagnostic</context-root>
| </web>
| </module>
| <module>
| <web>
| <web-uri>generic.war</web-uri>
| <context-root>/ecore</context-root>
| </web>
| </module>
| <module>
| <web>
| <web-uri>smartsign.war</web-uri>
| <context-root>/smartsign</context-root>
| </web>
| </module>
| <module>
| <web>
| <web-uri>smartsigndemo.war</web-uri>
| <context-root>/smartsigndemo</context-root>
| </web>
| </module>
| <module>
| <web>
| <web-uri>tolec.war</web-uri>
| <context-root>/tolec</context-root>
| </web>
| </module>
| <module>
| <web>
| <web-uri>commandcenter.war</web-uri>
| <context-root>/</context-root>
| </web>
| </module>
| <module id="custom-app-dealertrack">
| <web>
| <web-uri>dealertrack.war</web-uri>
| <context-root>/dealertrack</context-root>
| </web>
| </module>
| <security-role id="SecurityRole_1">
| <role-name>authority-administrator</role-name>
| </security-role>
| <security-role id="SecurityRole_2">
| <role-name>eebsInternalJMSAccess</role-name>
| </security-role>
| <security-role id="SecurityRole_3">
| <role-name>eebsTopicListener</role-name>
| </security-role>
| </application>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134331#4134331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134331
More information about the jboss-user
mailing list