RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-19 Thread Peter Yellman
Hi,

I'd like to follow up on 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg103877.html.

I just setup an instance of TC 4.1.27, and applied the hotfix (GNU tar, 
tar -xvzf 4.1.27-hotfix-22096.tar.gz).  Verified that the hotfix was in 
place.

Then, with the default setup & webapps completely unmodified, I was 
fooling around with logging/debug options in the administrator to see 
what kind of output various options produced.  When I set loader 
properties debug level = 9 for the examples context (which has 
reloadable = true) I see the following in catalina.out:

First, a detailed error message (see below), then repeated instances of 
the message:

WebappClassLoader: Failed tracking modifications of '/WEB-INF/lib'
WebappClassLoader: modified()
That doesn't sound good to me.

As an aside, I've been using 4.1.24 for a while, and just tried setting 
reloadable = true in one of my own applications for the first time a few 
days ago; it doesn't seem to work.  I'll bump up the logging and see if 
4.1.24 produces similar messages, I guess.

- detailed error message from catalina.out ---

WebappClassLoader:   Loading class from local repository
WebappClassLoader: loadClass(java.io.Writer, false)
WebappClassLoader: loadClass(java.io.StringWriter, false)
WebappClassLoader: loadClass(org.apache.jasper.servlet.JspServlet, false)
WebappClassLoader:   Searching local repositories
WebappClassLoader: findClass(org.apache.jasper.servlet.JspServlet)
WebappClassLoader: 
findClassInternal(org.apache.jasper.servlet.JspServlet)
WebappClassLoader: --> Passing on ClassNotFoundException
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1$
at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:968)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1410)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:885)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Looking forward to any comments,
Peter Yellman
>-Original Message-
>From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 10, 2003 2:41 PM
>To: 'Tomcat-User'
>Subject: Tomcat 4.1.27 not reloading classes even after applying hotfix
>
>Hello:
>
>I have a server running tomcat 4.1.27 and it is not reloading
>classes for my webapp even after applying the hotfix.
>
>I installed tomcat 4.1.27 by doing these commands:
>cd /usr/local
>lynx
>http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/jakarta-tomcat-
4
>.1.27.tar.gz
>tar zxf jakarta-tomcat-4.1.27.tar.gz
>
>Here is what I did to install the hotfix:
>cd /usr/local/jakarta-tomcat-4.1.27/server/classes
>jar xvf ../lib/catalina.jar
>rm -f ../lib/catalina.jar
>cd /usr/local/jakarta-tomcat-4.1.27
>lynx
>http://www.wmwweb.com/apache/jakarta/tomcat-4/binaries/4.1.27-hotfix-22
0
>96.tar.gz
>tar zxf 4.1.27-hotfix-22096.tar.gz
>
>I have my server.xml to reloadable="true" for the app's context.
>
>Any ideas?
>
>Thanks,
>   Neil
>
>--
>Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
>FREE! Valuable info on how your business can reduce operating costs by
>17% or more in 6 months or less! =>
http://newsletter.JAMMConsulting.com
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-15 Thread Neil Aggarwal
Luke:

That is strange.  Why would you not be able to untar it directly
in the tomcat directory?

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com

> -Original Message-
> From: Luke Vanderfluit [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 15, 2003 2:55 PM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: RE: Tomcat 4.1.27 not reloading classes even after 
> applying hotfix
> 
> 
> Hi Neil,
> 
> I installed the same hotfix successfully as follows,
> 
> I did  'tar zxvf hotfixFile' in a temporary directory 
> somewhere, then I
> created the directories manually under tomcat (jakarta 4.1.27) 
> namely:
> 
> server/classes/org/apache/catalina/core
> 
> after that I placed the classfile (StandardContext.class) in 
> the 'core'
> directory.
> 
> hope this helps,
> 
> Luke
> 
> 
> On Tue, 2003-09-16 at 03:36, Neil Aggarwal wrote:
> > Paul:
> > 
> > When I modify a class and put it in my webapp, I don't
> > get the changes loaded.
> > 
> > There is also usually a message in the catalina.out stating
> > that the class was reloaded.
> > 
> > Thanks,
> > Neil
> > 
> > 
> > --
> > Neil Aggarwal, JAMM Consulting, (972)612-6056, 
> www.JAMMConsulting.com
> > FREE! Valuable info on how your business can reduce 
> operating costs by 
> > 17% or more in 6 months or less! => 
> http://newsletter.JAMMConsulting.com
> > 
> > > -Original Message-
> > > From: Paul [mailto:[EMAIL PROTECTED] 
> > > Sent: Monday, September 15, 2003 12:06 PM
> > > To: Tomcat Users List
> > > Subject: Re: Tomcat 4.1.27 not reloading classes even after 
> > > applying hotfix
> > > 
> > > 
> > > how would i know if tomcat is not "reloading" classes?
> > > 
> > > - Original Message - 
> > > From: "Neil Aggarwal" <[EMAIL PROTECTED]>
> > > To: "'Tomcat-User'" <[EMAIL PROTECTED]>
> > > Sent: Monday, September 15, 2003 11:35 AM
> > > Subject: RE: Tomcat 4.1.27 not reloading classes even after 
> > > applying hotfix
> > > 
> > > 
> > > > Yoav:
> > > > 
> > > > Did you get my answer that my tar is gnu tar?
> > > > 
> > > > Has anyone else had a problem with Tomcat 4.1.27 not 
> > > reloading classes?
> > > > 
> > > > Thanks
> > > > Neil
> > > > 
> > > > 
> > > > > Your tar is GNU tar, right?
> > > > 
> > > > 
> > > > >> I have a server running tomcat 4.1.27 and it is not reloading
> > > > >> classes for my webapp even after applying the hotfix.
> > > > 
> > > > --
> > > > Neil Aggarwal, JAMM Consulting, (972)612-6056, 
> > www.JAMMConsulting.com
> > > FREE! Valuable info on how your business can reduce 
> operating costs by
> > 
> > > 17% or more in 6 months or less! =>
> > http://newsletter.JAMMConsulting.com
> > > 
> > > 
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> -- 
> 
> "when my computer smiles, I'm happy"
> ===.~ ~,
> Luke Vanderfluit   |'/']
> Mobile: 0421 276 282\~/`
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-15 Thread Luke Vanderfluit
Hi Neil,

I installed the same hotfix successfully as follows,

I did  'tar zxvf hotfixFile' in a temporary directory somewhere, then I
created the directories manually under tomcat (jakarta 4.1.27) 
namely:

server/classes/org/apache/catalina/core

after that I placed the classfile (StandardContext.class) in the 'core'
directory.

hope this helps,

Luke


On Tue, 2003-09-16 at 03:36, Neil Aggarwal wrote:
> Paul:
> 
> When I modify a class and put it in my webapp, I don't
> get the changes loaded.
> 
> There is also usually a message in the catalina.out stating
> that the class was reloaded.
> 
> Thanks,
>   Neil
> 
> 
> --
> Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
> FREE! Valuable info on how your business can reduce operating costs by 
> 17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com
> 
> > -Original Message-
> > From: Paul [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, September 15, 2003 12:06 PM
> > To: Tomcat Users List
> > Subject: Re: Tomcat 4.1.27 not reloading classes even after 
> > applying hotfix
> > 
> > 
> > how would i know if tomcat is not "reloading" classes?
> > 
> > - Original Message - 
> > From: "Neil Aggarwal" <[EMAIL PROTECTED]>
> > To: "'Tomcat-User'" <[EMAIL PROTECTED]>
> > Sent: Monday, September 15, 2003 11:35 AM
> > Subject: RE: Tomcat 4.1.27 not reloading classes even after 
> > applying hotfix
> > 
> > 
> > > Yoav:
> > > 
> > > Did you get my answer that my tar is gnu tar?
> > > 
> > > Has anyone else had a problem with Tomcat 4.1.27 not 
> > reloading classes?
> > > 
> > > Thanks
> > > Neil
> > > 
> > > 
> > > > Your tar is GNU tar, right?
> > > 
> > > 
> > > >> I have a server running tomcat 4.1.27 and it is not reloading
> > > >> classes for my webapp even after applying the hotfix.
> > > 
> > > --
> > > Neil Aggarwal, JAMM Consulting, (972)612-6056, 
> www.JAMMConsulting.com
> > FREE! Valuable info on how your business can reduce operating costs by
> 
> > 17% or more in 6 months or less! =>
> http://newsletter.JAMMConsulting.com
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 

"when my computer smiles, I'm happy"
===.~ ~,
Luke Vanderfluit   |'/']
Mobile: 0421 276 282\~/`


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-15 Thread Neil Aggarwal
Paul:

When I modify a class and put it in my webapp, I don't
get the changes loaded.

There is also usually a message in the catalina.out stating
that the class was reloaded.

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com

> -Original Message-
> From: Paul [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 15, 2003 12:06 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 4.1.27 not reloading classes even after 
> applying hotfix
> 
> 
> how would i know if tomcat is not "reloading" classes?
> 
> - Original Message - 
> From: "Neil Aggarwal" <[EMAIL PROTECTED]>
> To: "'Tomcat-User'" <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 11:35 AM
> Subject: RE: Tomcat 4.1.27 not reloading classes even after 
> applying hotfix
> 
> 
> > Yoav:
> > 
> > Did you get my answer that my tar is gnu tar?
> > 
> > Has anyone else had a problem with Tomcat 4.1.27 not 
> reloading classes?
> > 
> > Thanks
> > Neil
> > 
> > 
> > > Your tar is GNU tar, right?
> > 
> > 
> > >> I have a server running tomcat 4.1.27 and it is not reloading
> > >> classes for my webapp even after applying the hotfix.
> > 
> > --
> > Neil Aggarwal, JAMM Consulting, (972)612-6056, 
www.JAMMConsulting.com
> FREE! Valuable info on how your business can reduce operating costs by

> 17% or more in 6 months or less! =>
http://newsletter.JAMMConsulting.com
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-15 Thread Paul
how would i know if tomcat is not "reloading" classes?

- Original Message - 
From: "Neil Aggarwal" <[EMAIL PROTECTED]>
To: "'Tomcat-User'" <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 11:35 AM
Subject: RE: Tomcat 4.1.27 not reloading classes even after applying hotfix


> Yoav:
> 
> Did you get my answer that my tar is gnu tar?
> 
> Has anyone else had a problem with Tomcat 4.1.27 not reloading classes?
> 
> Thanks
> Neil
> 
> 
> > Your tar is GNU tar, right?
> 
> 
> >> I have a server running tomcat 4.1.27 and it is not reloading
> >> classes for my webapp even after applying the hotfix.
> 
> --
> Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
> FREE! Valuable info on how your business can reduce operating costs by 
> 17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-15 Thread Neil Aggarwal
Yoav:

Did you get my answer that my tar is gnu tar?

Has anyone else had a problem with Tomcat 4.1.27 not reloading classes?

Thanks
Neil


> Your tar is GNU tar, right?


>> I have a server running tomcat 4.1.27 and it is not reloading
>> classes for my webapp even after applying the hotfix.

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-10 Thread Neil Aggarwal
Yoav:

Yes, my tar is gnu tar.  
I used jar, not tar to extract the catalina jar file.

Is there an issue with that?


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com

> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 10, 2003 1:47 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 4.1.27 not reloading classes even after 
> applying hotfix
> 
> 
> 
> Howdy,
> Your tar is GNU tar, right?
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, September 10, 2003 2:41 PM
> >To: 'Tomcat-User'
> >Subject: Tomcat 4.1.27 not reloading classes even after 
> applying hotfix
> >
> >Hello:
> >
> >I have a server running tomcat 4.1.27 and it is not reloading
> >classes for my webapp even after applying the hotfix.
> >
> >I installed tomcat 4.1.27 by doing these commands:
> >cd /usr/local
> >lynx
> >http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/jakar
> ta-tomcat-
> 4
> >.1.27.tar.gz
> >tar zxf jakarta-tomcat-4.1.27.tar.gz
> >
> >Here is what I did to install the hotfix:
> >cd /usr/local/jakarta-tomcat-4.1.27/server/classes
> >jar xvf ../lib/catalina.jar
> >rm -f ../lib/catalina.jar
> >cd /usr/local/jakarta-tomcat-4.1.27
> >lynx
> >http://www.wmwweb.com/apache/jakarta/tomcat-4/binaries/4.1.27
-hotfix-22
0
>96.tar.gz
>tar zxf 4.1.27-hotfix-22096.tar.gz
>
>I have my server.xml to reloadable="true" for the app's context.
>
>Any ideas?
>
>Thanks,
>   Neil
>
>--
>Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
>FREE! Valuable info on how your business can reduce operating costs by
>17% or more in 6 months or less! =>
http://newsletter.JAMMConsulting.com
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-10 Thread Shapira, Yoav

Howdy,
Your tar is GNU tar, right?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 10, 2003 2:41 PM
>To: 'Tomcat-User'
>Subject: Tomcat 4.1.27 not reloading classes even after applying hotfix
>
>Hello:
>
>I have a server running tomcat 4.1.27 and it is not reloading
>classes for my webapp even after applying the hotfix.
>
>I installed tomcat 4.1.27 by doing these commands:
>cd /usr/local
>lynx
>http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/jakarta-tomcat-
4
>.1.27.tar.gz
>tar zxf jakarta-tomcat-4.1.27.tar.gz
>
>Here is what I did to install the hotfix:
>cd /usr/local/jakarta-tomcat-4.1.27/server/classes
>jar xvf ../lib/catalina.jar
>rm -f ../lib/catalina.jar
>cd /usr/local/jakarta-tomcat-4.1.27
>lynx
>http://www.wmwweb.com/apache/jakarta/tomcat-4/binaries/4.1.27-hotfix-22
0
>96.tar.gz
>tar zxf 4.1.27-hotfix-22096.tar.gz
>
>I have my server.xml to reloadable="true" for the app's context.
>
>Any ideas?
>
>Thanks,
>   Neil
>
>--
>Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
>FREE! Valuable info on how your business can reduce operating costs by
>17% or more in 6 months or less! =>
http://newsletter.JAMMConsulting.com
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 4.1.27 not reloading classes even after applying hotfix

2003-09-10 Thread Neil Aggarwal
Hello:

I have a server running tomcat 4.1.27 and it is not reloading
classes for my webapp even after applying the hotfix.

I installed tomcat 4.1.27 by doing these commands:
cd /usr/local
lynx
http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/jakarta-tomcat-4
.1.27.tar.gz
tar zxf jakarta-tomcat-4.1.27.tar.gz

Here is what I did to install the hotfix:
cd /usr/local/jakarta-tomcat-4.1.27/server/classes
jar xvf ../lib/catalina.jar
rm -f ../lib/catalina.jar
cd /usr/local/jakarta-tomcat-4.1.27
lynx
http://www.wmwweb.com/apache/jakarta/tomcat-4/binaries/4.1.27-hotfix-220
96.tar.gz
tar zxf 4.1.27-hotfix-22096.tar.gz

I have my server.xml to reloadable="true" for the app's context.

Any ideas?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]