[jboss-user] [Beginners Corner] - Properties not visible to WebApp
Seany123
do-not-reply at jboss.com
Fri Apr 27 06:36:33 EDT 2007
Hi,
I'm having a little trouble getting my app to resolve properties. This is compounded by the fact that the properties are loaded by a 3rd party library out of my control.
My code layout is as follows:
EAR [
...common.jar
...webapp.war
...ejb.jar
...library1.jar
...library2.jar
... (other libraries)
...Properties.xml
]
The problem is that the webapp is using library1.jar (implicitly) to load Properties.xml but cannot "see" it. If I place Properties.xml in webapp.war (under WEB-INF/classes) it loads.
Is there a setting etc I can use in either jboss-app.xml or jboss-web.xml (or something else) to allow the webapp.war to "see" these properties files?
many thanks,
Sean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041334#4041334
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041334
More information about the jboss-user
mailing list