Thanks for replying.
 
I should have also mentioned a strange problem I have related the to original post.
 
After deploying a service and restarting tomcat (restart #1), behavior is unexpected...
The ?wsdl url is viewable in my web browser, however, my client application says that it can't process the wsdl when I try to create a Service object.
 
If I then restart tomcat again (restart #2), there are no more problems!  I simply can't understand how anything could be different after the 2nd restart of TC... but it appears that way.
 
Has anyone else ever had such a strange thing happen?
 
--Chris
 
[EMAIL PROTECTED]
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, May 20, 2005 1:13 PM
To: [email protected]
Subject: RE: ClassNotFound after deployment, but fine after tomcat restart

Hi all,
 
My experience with this is that any class you want Tomcat and its web applications to use has to be available to it at startup time.  It doesn't know anything about classes you add to its various and sundry classpaths after you start it up.  However, it does seem to pick up on changes to classes in the various web applications'  WEB-INF/classes and WEB-INF/lib directories (usually it lets you know this with a message in the logfile, something like "restarting context").  I don't think it picks up changes to things in shared/lib or common/lib but I wouldnt' swear to it.
 
Hope this helps!
 
Ben
-----Original Message-----
From: Dan O'Neill [mailto:[EMAIL PROTECTED]
Sent: Friday, May 20, 2005 12:43 PM
To: [email protected]
Subject: Re: ClassNotFound after deployment, but fine after tomcat restart

I think that is just how tomcat works... everytime you add a file it has to be restarted. I think it even has to be restarted when you change a file....

Dan

On 5/20/05, Hewitt, Christopher <[EMAIL PROTECTED]> wrote:
Hi,

I was hoping someone might be able to help with a funny problem I'm having...

(tomcat 5.0, java 1.4, axis 1.2 final, Solaris environment)

1) tomcat running
2) copy over new jar file to axis/WEB-INF/lib
3) deploy service
4) service doesn't work (classnotfound)
5) restart tomcat
6) service works fine

WSDL is being autogenerated for this service by the way.

I've played with various TC settings and can't seem to resolve this issue (i thought may it had to do with TC's autodeploy, deployOnStatup features, but no luck there).

Would anyone happen to have some suggestions on how to go about resolving this?

Thank you

Chris Hewitt
Email: [EMAIL PROTECTED]




--
"I swear, the next bastard that kisses the ground in front of me is gonna get
kicked in the antique chicken coops."  - Cohen the Barbarian
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.

Reply via email to