Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > .war not deploying in Tomcat 4.1.29

Reply
Thread Tools

.war not deploying in Tomcat 4.1.29

 
 
Todd Prickett
Guest
Posts: n/a
 
      03-04-2004
Can anyone offer some areas to investigate as to why my .war file does
not deploy when starting up Tomcat? Some relevant info:

* I'm using Lomboz plugin to Eclipse to deploy (create and place) the
..war file in the webapps directory.

* The .war DOES deploy correctly if I've deleted the old version web
app from the webapps directory ahead of time.

* The .war DOES NOT deploy if the web app already exists (the file
dates all show the old version's file dates)

Thanks in advance
 
Reply With Quote
 
 
 
 
Wendy S
Guest
Posts: n/a
 
      03-04-2004
"Todd Prickett" <> wrote:
> Can anyone offer some areas to investigate as to why my .war file does
> not deploy when starting up Tomcat? Some relevant info:
> * I'm using Lomboz plugin to Eclipse to deploy (create and place) the
> .war file in the webapps directory.


If that's all it does, that will not cause Tomcat to reload the context.

> * The .war DOES deploy correctly if I've deleted the old version web
> app from the webapps directory ahead of time.
> * The .war DOES NOT deploy if the web app already exists (the file
> dates all show the old version's file dates)


That's normal behavior for Tomcat. Is your plugin supposed to do something
in addition to placing a .war file in 'webapps'? Perhaps you need to
configure a userid/password for the manager app, so that your plugin can use
it to tell Tomcat to reload the context?

-Wendy S


 
Reply With Quote
 
 
 
 
Todd Prickett
Guest
Posts: n/a
 
      03-05-2004
> > Can anyone offer some areas to investigate as to why my .war file does
> > not deploy when starting up Tomcat? Some relevant info:
> > * I'm using Lomboz plugin to Eclipse to deploy (create and place) the
> > .war file in the webapps directory.

>
> If that's all it does, that will not cause Tomcat to reload the context.
>


Thanks for the reply Wendy.

I guess I neglected an important piece of info. When this happens,
the server is stopped. Starting the server back up should load the
..war, correct? If so, that is the problem I'm trying to solve.

> > * The .war DOES deploy correctly if I've deleted the old version web
> > app from the webapps directory ahead of time.
> > * The .war DOES NOT deploy if the web app already exists (the file
> > dates all show the old version's file dates)

>
> That's normal behavior for Tomcat. Is your plugin supposed to do something
> in addition to placing a .war file in 'webapps'? Perhaps you need to
> configure a userid/password for the manager app, so that your plugin can use
> it to tell Tomcat to reload the context?


The odd thing is that the same config on my old machine works exactly
how I think it should. You stop the server, deploy the .war, start
the server, and the current (i.e. correct) pages/servlets are used.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
deploying a servlet on Tomcat 5.0 bob@coolgroups.com Java 4 04-17-2005 04:03 AM
problem deploying jsps with tomcat Ryan Java 3 11-13-2004 09:00 PM
Re: Tomcat app re-deploying is removing symbolic links Juha Laiho Java 0 07-20-2004 11:12 AM
tomcat deploying WARS permissions question PD Java 0 02-11-2004 06:59 PM
deploying and re-deploying ASP.Net applications =?Utf-8?B?VG9tIE4=?= ASP .Net 2 02-04-2004 09:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57