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 wrote: > 2013/8/22 D C : > > On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko < > knst.koli...@gmail.com > >> wrote: > > > >> 2013/8/22 Daniel Mikusa : > >> > On Aug 21, 2013, at 4:09 PM, David kerber > wrote: > >> > > >> >> Basically you're

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.apach

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/tomc

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 : On Aug 21, 2013, at 4:09 PM, David kerber 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 wi

Re: Having trouble with common.loader

2013-08-22 Thread Konstantin Kolinko
2013/8/22 D C : > On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko > wrote: > >> 2013/8/22 Daniel Mikusa : >> > On Aug 21, 2013, at 4:09 PM, David kerber wrote: >> > >> >> Basically you're trying to defeat the way the system is designed to >> work. Don't do that… >> > >> > +1 Don't do what yo

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 12:32 PM, D C wrote: > On Thu, Aug 22, 2013 at 11:57 AM, Daniel Mikusa wrote: > >> On Aug 22, 2013, at 11:31 AM, D C wrote: >> >>> On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa >> wrote: >>> On Aug 22, 2013, at 9:21 AM, D C wrote: > Ok, here goes. grep -

Re: Having trouble with common.loader

2013-08-22 Thread D C
On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko wrote: > 2013/8/22 Daniel Mikusa : > > On Aug 21, 2013, at 4:09 PM, David kerber 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 h

Re: Having trouble with common.loader

2013-08-22 Thread D C
On Thu, Aug 22, 2013 at 11:57 AM, Daniel Mikusa wrote: > On Aug 22, 2013, at 11:31 AM, D C wrote: > > > On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa >wrote: > > > >> On Aug 22, 2013, at 9:21 AM, D C wrote: > >> > >>> Ok, here goes. grep -v '/opt/jdk' > >> > >> Removing some of the fluff.

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 11:31 AM, D C wrote: > On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa wrote: > >> On Aug 22, 2013, at 9:21 AM, D C wrote: >> >>> Ok, here goes. grep -v '/opt/jdk' >> >> Removing some of the fluff. >> >>> Aug 21, 2013 5:08:03 PM org.apache.catalina.startup.HostConfig >

Re: Having trouble with common.loader

2013-08-22 Thread Konstantin Kolinko
2013/8/22 Daniel Mikusa : > On Aug 21, 2013, at 4:09 PM, David kerber 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 a

Re: Having trouble with common.loader

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

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 9:21 AM, D C wrote: > Ok, here goes. grep -v '/opt/jdk' Removing some of the fluff. > Aug 21, 2013 5:08:03 PM org.apache.catalina.startup.HostConfig > deployDescriptor > INFO: Deploying configuration descriptor > /opt/apache-tomcat-7.0.40/conf/Catalina/localhost/myApp.xml

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 8:38 AM, D C 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] > :/opt/apache-tomcat-7.0.40/lib > :/op

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 :/web/webapps/myApp/WEB-INF/clas

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 21, 2013, at 5:09 PM, D C 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 are they being

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 wrote: > On Aug 21, 2013, at 4:48 PM, D C wrote: > > > So here is what I'm

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:48 PM, D C 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 > needs. ( i u

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:33 PM, David kerber wrote: > On 8/21/2013 4:27 PM, Daniel Mikusa wrote: >> On Aug 21, 2013, at 4:09 PM, David kerber 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

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 a

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 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. Ke

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 update

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:09 PM, David kerber 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 in "WEB-INF/lib",

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 t