Hi,
I'm trying to deploy a WAR file with it's own log4j.properties and log4j.jar. I
have tried using the jboss-web.xml in the WEB-INF directory as shown below:
?xml version=1.0 encoding=UTF-8 ?
| !DOCTYPE jboss-web PUBLIC
| -//JBoss//DTD Web Application 4.2//EN
|
is it possible to have this properties file in the deploy directory rather than
the conf directory?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250034#4250034
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250034
My sys admin is insistent that it should go there ... however when I do so I
get the following error:
2009-08-18 13:57:52,096 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment
listing:
--- Packages waiting for a deployer ---
Hi,
Is it possible somehow possible to have a properties file outside a WAR file so
that you can redeploy the WAR file many times and not have the deployment
overwrite the existing configuration? Like in the deploy directory can I have
application.properties and application.war - the deployed
If I put the properties into the conf folder do I then have to register them in
the servers-properties.xml file? This is the part my sys admin doesn't like. He
reckons that I should somehow be able to include the properties in the deploy
folder along with my WAR file and somehow reference the
thanks for your reply ... How do I retrieve the properties from within my
webapp? Do I access them like any other system variable? ie are the properties
automatically loaded in the JVM like if I included the properties in the
services-properties.xml file. Further can I use a webapp.properties