Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-28 Thread Christopher Schultz
Amit, On 10/28/15 1:18 PM, Amit Lonkar wrote: > Sorry for the delayed response. Here is the full stack trace. I was assuming > that my webapp would look in WEB-INF/lib for the ant jar and not in the > Tomcat/lib. Am I incorrect ?? There must be some component that is sure it wants to use the se

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-28 Thread Amit Lonkar
Sorry for the delayed response. Here is the full stack trace. I was assuming that my webapp would look in WEB-INF/lib for the ant jar and not in the Tomcat/lib. Am I incorrect ?? Thx Amit HTTP Status 500 - Servlet execution threw an exception type Exception report message Servlet execution thr

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-22 Thread Jins Abraham
M Sent from my iPhone > On Oct 15, 2015, at 10:15 AM, Amit Lonkar > wrote: > > Any ideas on this one? > > >> On Oct 5, 2015, at 5:11 PM, Amit Lonkar wrote: >> >> Hi Chris >> >> Any ideas why the Ant Task might be failing in Tomcat 8? >> Yes the application works on a clean fresh tomcat

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-22 Thread Christopher Schultz
Amit, On 10/16/15 3:44 PM, Amit Lonkar wrote: > Thanks Chris > > Tried two scenarios > > 1. Removed any tomcat-*.jar files from webapp/WEB-INF/lib folder. Also moved > ant-1.9.6.jar from webapp/WEB-INF/lib to catalina/lib. All works fine now. > > 2. Removed any tomcat-*.jar files from webapp/W

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-16 Thread Amit Lonkar
Thanks Chris Tried two scenarios 1. Removed any tomcat-*.jar files from webapp/WEB-INF/lib folder. Also moved ant-1.9.6.jar from webapp/WEB-INF/lib to catalina/lib. All works fine now. 2. Removed any tomcat-*.jar files from webapp/WEB-INF/lib folder, but this time left the ant-1.9.6.jar in we

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 10/15/15 2:45 PM, Amit Lonkar wrote: > All jar files are sitting in the webapp/WEB-INF/lib. Please see > attached screen shot. > > The ant jar is apache ant 1.9.6. > > I have small maven project can be used to reproduce this problem, > if

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-15 Thread Amit Lonkar
Hi Chris All jar files are sitting in the webapp/WEB-INF/lib. Please see attached screen shot. The ant jar is apache ant 1.9.6. I have small maven project can be used to reproduce this problem, if that helps I can share it. Thx Amit > On Oct 15, 2015, at 12:17 PM, Christopher Schultz >

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 10/15/15 11:15 AM, Amit Lonkar wrote: > Any ideas on this one? You said that ant.jar was in your classpath. Where exactly is that JAR file? In fact... where are all the JARs required for using Tomcat's ant tasks? - -chris >> On Oct 5, 20

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-15 Thread Amit Lonkar
Any ideas on this one? > On Oct 5, 2015, at 5:11 PM, Amit Lonkar wrote: > > Hi Chris > > Any ideas why the Ant Task might be failing in Tomcat 8? > Yes the application works on a clean fresh tomcat 7 but not on tomcat 8. > > We have a Administrator application that is used for patching our

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-05 Thread Amit Lonkar
Hi Chris Any ideas why the Ant Task might be failing in Tomcat 8? Yes the application works on a clean fresh tomcat 7 but not on tomcat 8. We have a Administrator application that is used for patching our scheduling software. The patch includes the war files and get deployed to all nodes using

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-01 Thread Amit Lonkar
Hi Chris Any ideas why the Ant Task might be failing in Tomcat 8? Yes the application works on a clean fresh tomcat 7 but not on tomcat 8. We have a Administrator application that is used for patching our scheduling software. The patch includes the war files and get deployed to all nodes using

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-09-25 Thread Amit Lonkar
Yes its an Administrator web application used to deploy our product war files to customers via a patch. I just posted a example of a servlet to help reproduce it. — Amit > On Sep 25, 2015, at 2:47 PM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Amit

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 9/24/15 2:24 PM, Amit Lonkar wrote: > We are trying to upgrade from Tomcat 7 to Tomcat 8. One of the > functionalities we have is to deploy a war file using the > DeployTask class. I have a simple test servlet that uses the > DeployClass.