https://issues.apache.org/bugzilla/show_bug.cgi?id=48543

           Summary: More flexibility in specifying -Dcatalina.config
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: rsli...@sfu.ca


Summary:

The catalina.config property (which specifies an alternate location for the
information contained in catalina.properties) only understands a full URL.

This would be a change in the properties loader to check
getCatalinaBase()/configUrl before checking new URL(configUrl).  I downloaded
the latest source and I'm not sure where this change would be made.

o.a.t.util.loader.LoaderProperties (doesn't seem to exist anymore?)

or

o.a.c.startup.CatalinaProperties

If the bug is a go, let me know and I'll submit a patch, thanks!

Details:

During development, we override log4j.properties with
log4j.development.properties by specifying
-Dlog4j.properties=log4j.development.properties in our JAVA_OPTS when starting
Tomcat.  It allows us to use a shared development configuration (shared IDEA
project) without having to refer to hardcoded paths.

During development, we override settings in server.xml (e.g. shutdown port,
http, https ports) by using properties we define in catalina.properties. 
Currently this means we each have to remember to change the value of
-Dcatalina.config=file://... because it only takes a URL.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to