File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Can the properties file be maintained as part of the EAR or WAR, instead of in \conf (ie. seprately)
Joined: Jul 03, 2007
Nov 22, 2011 00:36:51
From where does an application (EAR) deployed in
5.1 GA, load properties from, during start-up.
We curently maintain properties files used by our applcation (EAR) in the \conf folder inside the appropriate server folder, inside Jboss
Typically this is d:\jboss5.1\server\default\conf
The EAR/WAR is deployed in d:\jboss5.1\server\default\deploy
The jboss auto-deployer expands it in d:\jboss5.1\server\default\tmp
Can the properties file be maintained as part of the EAR or WAR, instead of in a separate folder ?
(our application is a j2ee application, using Struts, Spring and Hibernate .... and the database connection pool provided by jboss)
Folder structure of a jboss installation
Joined: May 14, 2008
Nov 22, 2011 10:24:48
The properties file can be loaded into any JAR file that is in the EAR or WAR (the JAR need not contain any classes, it could contain just the properties file(s)). Or it can be placed in the WAR at WEB-INF/classes.
JBoss In Action
It is sorta covered in the
JavaRanch Style Guide
subject: Can the properties file be maintained as part of the EAR or WAR, instead of in \conf (ie. seprately)
Help with JBoss 3.2.3
JBoss5.1 EJB3 JSF1.2 integration problem
Deployment errors in JBoss5.1
jboss5.1 eap,insufficient memory error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013