Hi Van, Sorry I missed your earlier email. roller-custom.properties is always supposed to be outside the WAR file. See section 8 of the install guide. Section 12 also gives some other options:
# You can override the values in this file in a couple ways .. # 1. define a roller-custom.properties file and place it somewhere # at the root of one of your classpath locations. # for example: # $TOMCAT_HOME/common/classes # $ROLLER_LOCATION/WEB-INF/classes # # 2. specify a custom properties file via jvm option # example: # -Droller.custom.config=/path/to/properties/file Hope that helps... I think you have to use the -D option inside a WLS startup script, not sure tho. If you have time, please share with us what you had to do to make Roller 4.0.1 run on WebLogic 11, I have had no luck with WebLogic at all, with Roller 4 or 5. Thanks, - Dave On Wed, Feb 16, 2011 at 1:22 PM, Van Rogers-Ho <[email protected]> wrote: > Hi, > > Any guidance on this? > > Thanks, > Van > > On Fri, Jan 14, 2011 at 2:56 PM, Van Rogers-Ho <[email protected]> wrote: >> Hi, >> >> I have a Roller 4.01 install up and running on a dev WLS 11g instance. >> It's all set up with connecting to Oracle db and mail via JNDI >> resources. The roller-custom.properties is in the WEB-INF/classes dir >> within the ear. What I'm hoping to do is pull the >> roller-custom.properties out of the ear and put it in a classpath >> outside of the war, say in WLS lib directory. Removing this would >> allow me to have a common ear that can be deployed across different >> environments (SSO, LDAP, DB, etc). >> >> However, Roller on deployment is not able to load the properties file. >> I've put multiple copies of the properties file in a few locations to >> see if one would get picked. Again, everything is fine if it is the >> roller EAR. >> >> I get the following in logs when deploying from WLS console, "Roller >> Weblogger: No custom properties file found in classpath." I believe >> this is coming from the WebloggerConfig class. >> >> Has anybody tried doing this type of deployment (EAR) on WLS with an >> external roller-custom.properties? >> >> Thanks, >> Van >> >
