[T6.0.20] -Dcatalina.config ignored on server shutdown?

2010-01-13 Thread Rob S.
During development, we specify an alternate configuration file via JAVA_OPTS: -Dcatalina.config=file://... In it, we create properties like foo.port.http and foo.port.shutdown which we then use in server.xml. We do this so that we can run multiple servers simultaneously as well as not require ro

Re: Classloader between Web application and system loader

2010-01-13 Thread Rob S.
Konstantin, do you have to modify one of the loaders in catalina.properties to check in CATALINA_BASE/lib? Or it does that automagically? On Wed, Jan 13, 2010 at 5:21 PM, Konstantin Kolinko wrote: > 2010/1/14 youngm : > > > > I am designing my production Tomcat 6 system and would like to have a

[6.0.20] Using -Dcatalina.config breaks our databases resources

2010-03-04 Thread Rob S.
Hi everyone, We have a custom resource defined in context.xml: We prefer to locate the postgres jar file in CATALINA_BASE, so we modified this line in catalina.config common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,* ${catalina.base}/lib,${catalina.base}/lib/*.jar* We made this

Re: [6.0.20] Using -Dcatalina.config breaks our databases resources

2010-03-04 Thread Rob S.
.jar,${catalina.base}/lib,${catalina.base}/lib/*.jar Rob On Thu, Mar 4, 2010 at 11:24 AM, Konstantin Kolinko wrote: > 2010/3/4 Rob S. : > > > > common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,* > > ${catalina.base}/lib,${catalina.base}/lib/*.jar* > > >

Re: [6.0.20] Using -Dcatalina.config breaks our databases resources

2010-03-04 Thread Rob S.
Hi Chuck, > Which context.xml? The global one in the conf directory, or an > app-specific one in its META-INF directory? > The global one in the conf directory. > > we modified this line in catalina.config > > I presume you mean catalina.properties in the above statment. > Yep, typo, sorry

Re: [6.0.20] Using -Dcatalina.config breaks our databases resources

2010-03-04 Thread Rob S.
Hi Chuck, That means the applies to all your webapps; is that what you > want? > Yep, we only have one webapp and it's deployed to our appliance :) > > DataSource ds = (DataSource) new > > InitialContext().lookup("java:comp/env/jdbc/postgres"); > > ds.getConnection(); > > > > org.apache.tomca

Re: [6.0.20] Using -Dcatalina.config breaks our databases resources

2010-03-04 Thread Rob S.
> > 1) getting JMX running on Tomcat so I can connect w/jconsole. I've been > following the 6.0 "monitoring" guide although jconsole says it can't connect > and netstat doesn't report anyone listening on the port I specified. > This is working and I can see the ServerClassLoader MBean inside of j

Re: [6.0.20] Using -Dcatalina.config breaks our databases resources

2010-03-04 Thread Rob S.
ob/.IntelliJIdea90/system/tomcat/Unnamed_App39c00e45/lib/] The 3rd and 4th paths don't exist. Time to file an improvement request with IDEA :) Thanks for all your help! Rob On Thu, Mar 4, 2010 at 1:36 PM, Rob S. wrote: > 1) getting JMX running on Tomcat so I can connect w/jconsole

jsvc w/Tomcat 6.0.26 - Tomcat logs disappeared

2010-03-19 Thread Rob S.
Hi everyone, After using the jsvc init script provided with Tomcat 6, Tomcat no longer writes any log files to /logs. The only log file I'm getting is catalina.out, which is coming from JSVC capturing System.out and System.err. My Google-fu must be on vacation because this seems like it would be

Re: jsvc w/Tomcat 6.0.26 - Tomcat logs disappeared

2010-03-19 Thread Rob S.
e: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rob, > > On 3/19/2010 1:25 PM, Rob S. wrote: > > After using the jsvc init script provided with Tomcat 6, Tomcat no longer > > writes any log files to /logs. The only log file I'm getting is > > cat

Re: jsvc w/Tomcat 6.0.26 - Tomcat logs disappeared

2010-03-19 Thread Rob S.
lysis? Is there a better approach that can rely on all the hard work catalina.sh does? Rob On Fri, Mar 19, 2010 at 10:40 AM, Rob S. wrote: > Yep, the "update" really just changed the name of Bootstrap :) > > In the process of debugging this now and I will definitely post the re

Re: jsvc w/Tomcat 6.0.26 - Tomcat logs disappeared

2010-03-19 Thread Rob S.
rrent version that Tomcat links to isn't very useful, does anyone have a suggestion on how to get it replaced? Rob On Fri, Mar 19, 2010 at 11:27 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rob, >

Re: jsvc w/Tomcat 6.0.26 - Tomcat logs disappeared

2010-03-19 Thread Rob S.
On Fri, Mar 19, 2010 at 11:33 AM, André Warnier wrote: > > You should probably install a *real* tomcat pre-packaged distribution, like > the ones you get with Debian or RedHat. Their startup scripts work fine > with jsvc, right out of the box. > Hi Andre, Pragmatically speaking, that would all