Re: Having trouble with common.loader

2013-08-27 Thread D C
Thank you all for your help. I figured out what the problem was. I accidentally made logging.properties and catalina.properties owned by root:root with 640 permissions. Changed to root:tomcat, and everything worked right away.

Re: Having trouble with common.loader

2013-08-23 Thread D C
On Thu, Aug 22, 2013 at 2:51 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2013/8/22 D C dc12...@gmail.com: On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2013/8/22 Daniel Mikusa dmik...@gopivotal.com: On Aug 21, 2013, at 4:09 PM, David

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 21, 2013, at 5:09 PM, D C dc12...@gmail.com wrote: I added verbose, it does not appear to attempt to load anything from /web/lib/ Ok. Where do you see it loading classes from? /WEB-INF/lib/*.jar? Do you see any classes listed that you would expect to be loaded from /web/lib? Where

Re: Having trouble with common.loader

2013-08-22 Thread D C
[tomcat@test05 logs]# grep from file catalina.out | sed 's/.*from file//g' | sed 's/\/lib\/.*/\/lib/g' | sort -u :/opt/apache-tomcat-7.0.40/bin/bootstrap.jar] :/opt/apache-tomcat-7.0.40/bin/tomcat-juli.jar] :/opt/apache-tomcat-7.0.40/lib :/opt/jdk1.7.0.21/jre/lib

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 8:38 AM, D C dc12...@gmail.com wrote: [tomcat@test05 logs]# grep from file catalina.out | sed 's/.*from file//g' | sed 's/\/lib\/.*/\/lib/g' | sort -u :/opt/apache-tomcat-7.0.40/bin/bootstrap.jar] :/opt/apache-tomcat-7.0.40/bin/tomcat-juli.jar]

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 9:21 AM, D C dc12...@gmail.com wrote: Ok, here goes. grep -v '/opt/jdk' snip Removing some of the fluff. Aug 21, 2013 5:08:03 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor

Re: Having trouble with common.loader

2013-08-22 Thread D C
On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Aug 22, 2013, at 9:21 AM, D C dc12...@gmail.com wrote: Ok, here goes. grep -v '/opt/jdk' snip Removing some of the fluff. Aug 21, 2013 5:08:03 PM org.apache.catalina.startup.HostConfig deployDescriptor

Re: Having trouble with common.loader

2013-08-22 Thread Konstantin Kolinko
2013/8/22 Daniel Mikusa dmik...@gopivotal.com: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do that… +1 Don't do what you've described unless you have a very good reason. It will

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 11:31 AM, D C dc12...@gmail.com wrote: On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Aug 22, 2013, at 9:21 AM, D C dc12...@gmail.com wrote: Ok, here goes. grep -v '/opt/jdk' snip Removing some of the fluff. Aug 21, 2013 5:08:03

Re: Having trouble with common.loader

2013-08-22 Thread D C
On Thu, Aug 22, 2013 at 11:57 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Aug 22, 2013, at 11:31 AM, D C dc12...@gmail.com wrote: On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Aug 22, 2013, at 9:21 AM, D C dc12...@gmail.com wrote: Ok, here goes.

Re: Having trouble with common.loader

2013-08-22 Thread D C
On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2013/8/22 Daniel Mikusa dmik...@gopivotal.com: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 12:32 PM, D C dc12...@gmail.com wrote: On Thu, Aug 22, 2013 at 11:57 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Aug 22, 2013, at 11:31 AM, D C dc12...@gmail.com wrote: On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Aug 22,

Re: Having trouble with common.loader

2013-08-22 Thread Konstantin Kolinko
2013/8/22 D C dc12...@gmail.com: On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2013/8/22 Daniel Mikusa dmik...@gopivotal.com: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is

Re: Having trouble with common.loader

2013-08-22 Thread Michael-O
Am 2013-08-22 17:48, schrieb Konstantin Kolinko: 2013/8/22 Daniel Mikusa dmik...@gopivotal.com: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do that… +1 Don't do what you've described

RE: Having trouble with common.loader

2013-08-22 Thread Caldarale, Charles R
From: Michael-O [mailto:1983-01...@gmx.net] Subject: Re: Having trouble with common.loader IF you want to decouple libraries from your war, add them to your webapp's classpath, by configuring a VirtualWebappLoader , http://tomcat.apache.org/tomcat-7.0-doc/config/loader.html

Re: Having trouble with common.loader

2013-08-22 Thread Michael-O
Am 2013-08-22 21:40, schrieb Caldarale, Charles R: From: Michael-O [mailto:1983-01...@gmx.net] Subject: Re: Having trouble with common.loader IF you want to decouple libraries from your war, add them to your webapp's classpath, by configuring a VirtualWebappLoader , http://tomcat.apache.org

Re: Having trouble with common.loader

2013-08-21 Thread David kerber
Basically you're trying to defeat the way the system is designed to work. Don't do that... On 8/21/2013 3:58 PM, D C wrote: Tomcat 7.0.40 CentOS 6.3 Java 1.7.0_21 I am trying to move all libraries out of my webapps directory, and into a common place. I have my libs that were bundled with

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do that… +1 Don't do what you've described unless you have a very good reason. It will cause you many headaches. Keep all of your JAR files

Re: Having trouble with common.loader

2013-08-21 Thread Mark Eggers
On 8/21/2013 12:58 PM, D C wrote: Tomcat 7.0.40 CentOS 6.3 Java 1.7.0_21 I am trying to move all libraries out of my webapps directory, and into a common place. I have my libs that were bundled with tomcat in /tomcat/lib (the default), and my extra libs i want to keep in /web/lib. I've

Re: Having trouble with common.loader

2013-08-21 Thread David kerber
On 8/21/2013 4:27 PM, Daniel Mikusa wrote: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do that… +1 Don't do what you've described unless you have a very good reason. It will cause

Re: Having trouble with common.loader

2013-08-21 Thread D C
So here is what I'm trying to achieve. 1. The tomcat install remains clean. I want to be able to change the tomcat installation without messing with the app. 2. We want our applications to be decoupled from the libraries which it needs. ( i understand the pains you are referring to.. this was

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:33 PM, David kerber dcker...@verizon.net wrote: On 8/21/2013 4:27 PM, Daniel Mikusa wrote: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do that… +1 Don't do

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:48 PM, D C dc12...@gmail.com wrote: So here is what I'm trying to achieve. 1. The tomcat install remains clean. I want to be able to change the tomcat installation without messing with the app. 2. We want our applications to be decoupled from the libraries which it

Re: Having trouble with common.loader

2013-08-21 Thread D C
I added verbose, it does not appear to attempt to load anything from /web/lib/ ​ for permissions i verified that i could read the files as the tomcat user.​ ​ Thanks, Dan On Wed, Aug 21, 2013 at 5:01 PM, Daniel Mikusa dmik...@gopivotal.comwrote: On Aug 21, 2013, at 4:48 PM, D C