RE: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Caldarale, Charles R
> From: Denise K. Erwin [mailto:dkerwi...@gmail.com] > Subject: RE: NoSuchMethodError loading class in webapp from common class > loader > Not to say this affects your specific problem, but I see you referencing > the Servlet 2.4 Specification. > Tomcat 7 is based on Servlet

RE: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Denise K. Erwin
> -Original Message- > From: Bryan Baugher [mailto:bjb...@gmail.com] > Sent: Friday, May 03, 2013 6:52 AM > To: users@tomcat.apache.org > Subject: NoSuchMethodError loading class in webapp from common class > loader > > Hi, > > I am running Tomcat 7.0.28 on RHEL 6.2 with a single web app.

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Bryan Baugher
I was able to verify that you are correct the JVM treats those classes as different which is why I was getting NoSuchMethodError. After experimenting some more this method seems to be the wrong approach. Do you know of any better approaches on how to add runtime dependencies to a webapp? On Fri,

RE: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Caldarale, Charles R
> From: Bryan Baugher [mailto:bjb...@gmail.com] > Subject: Re: NoSuchMethodError loading class in webapp from common class > loader > One of the arguments comes from another dependency jar that exists > in both the webapp and tomcat/lib Never, never, never put the same class in

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Bryan Baugher
Sorry I tried to leave on what I thought were unnecessary details. You are correct my constructor has arguments. One of the arguments comes from another dependency jar that exists in both the webapp and tomcat/lib so I think your guess (c) could be right. I guess the solution would be to move the

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Konstantin Kolinko
2013/5/3 Bryan Baugher : > Hi, > > I am running Tomcat 7.0.28 on RHEL 6.2 with a single web app. The web app > in question uses reflection to load some implementations of our classes > (kind of like a service loader) knowing the class name. I am trying to add > additional implementations by droppin