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

2010-03-04 Thread Rob S.
Ah, well I have to apologize, it looks like my IDE was culprit. IDEA deploys Tomcat from a newly created directory at each deploy (i.e. it copies some known files from CATALINA_BASE). Well of course it doesn't copy /lib since we created that directory - it's not part of the "standard" CATALINA_BA

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

2010-03-04 Thread Caldarale, Charles R
> From: Rob S. [mailto:r...@tintri.com] > Subject: Re: [6.0.20] Using -Dcatalina.config breaks our databases > resources > > I've been following the 6.0 "monitoring" guide although jconsole > says it can't connect What JVM version are you using? Wha

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.
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 Caldarale, Charles R
> From: Rob S. [mailto:r...@tintri.com] > Subject: Re: [6.0.20] Using -Dcatalina.config breaks our databases > resources > > The global one in the conf directory. That means the applies to all your webapps; is that what you want? > DataSource ds = (DataSource) new > In

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 Konstantin, The quote I'm seeing in your response isn't the line that was in my previous message, perhaps something is coming across scrambled? Those extra "*" characters aren't in our catalina.properties. common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.base}/lib,${ca

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

2010-03-04 Thread Caldarale, Charles R
> From: Rob S. [mailto:r...@tintri.com] > Subject: [6.0.20] Using -Dcatalina.config breaks our databases > resources > > We have a custom resource defined in context.xml: Which context.xml? The global one in the conf directory, or an app-specific one in its META-INF directory?

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

2010-03-04 Thread Konstantin Kolinko
2010/3/4 Rob S. : > > common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,* > ${catalina.base}/lib,${catalina.base}/lib/*.jar* > The above is wrong. The only mask that is recognized there is "*.jar" and only when used as a suffix. There are too many extra "*"s in your value. You can lo

[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