In startup/Bootstrap.java there is: (line 110 in createClassLoader(..))
        String value = CatalinaProperties.getProperty(name + ".loader");

CatalinaProperties is only initialized once, but isn't used on shutdown. This would be a problem, if I try:
<Server port="${shutdown.port}" shutdown="SHUTDOWN" debug="0">


Which leads me to the questions:
1) Is it ok to add my own properties to catalina.properties for my own installation or might this be bad/discouraged?
2) Should I add a method call in main() to Bootstrap that will force CatalinaProperties.loadProperties() to be called?
3) Or is worth it to add an option on startup to allow a user to specify there own properties file to load in as System properties. (CATALINA_PROPERTIES=conf/myprop.properties)


The use case is I have the same server.xml for many of my configurations. I don't want to use JAVA_OPTS='-Dprop1=val ...' since I have a lot of properties to set.


-Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to