RE: application deploys twice

2004-08-20 Thread Nitschke Michael
I had the problem too, but in Tomcat 4.1.27
When I removed on of the two application everything was gone.
I had to make a new installation of Tomcat, and copied an old version of
the webapps dir and server.xml over the new and now its working with on
application. 
I mean that's not the was to solve the problem because it cost me nearly
one day.

mfg
Michael Nitschke

-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 20, 2004 11:17 PM
To: Tomcat Users List
Subject: application deploys twice

Hi All,
We are using tomcat5.0.19 and struts1.1.

Whenever we deploys our application it deploys twice.
We couldn't able to identify the reason, why this is happening.

Can anybody give insight to us.

We are not deploying war file as well as we are not deploying in server
we are setting context path in server.xml.

-Jignesh


-
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: application deploys twice

2004-08-20 Thread Shapira, Yoav

Hi,
The usual reason for this is a server with autoDeploy on (which is the
default) and also an explicit declaration for the Context.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 5:17 PM
To: Tomcat Users List
Subject: application deploys twice

Hi All,
We are using tomcat5.0.19 and struts1.1.

Whenever we deploys our application it deploys twice.
We couldn't able to identify the reason, why this is happening.

Can anybody give insight to us.

We are not deploying war file as well as we are not deploying in server
we are setting context path in server.xml.

-Jignesh


-
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]



RE: application deploys twice

2004-08-20 Thread Allistair Crossley
Do you not need an explicit declaration for a Context so that can you define JNDI 
resources though? Are you saying autoDeploy cannot work if you have a webapp that uses 
JNDI resources in a context XML file?

Sorry if I am interpreting this wrong :) 

Allistair Crossley

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 20 August 2004 14:14
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: RE: application deploys twice
 
 
 
 Hi,
 The usual reason for this is a server with autoDeploy on (which is the
 default) and also an explicit declaration for the Context.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 -Original Message-
 From: Jignesh Patel [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 20, 2004 5:17 PM
 To: Tomcat Users List
 Subject: application deploys twice
 
 Hi All,
 We are using tomcat5.0.19 and struts1.1.
 
 Whenever we deploys our application it deploys twice.
 We couldn't able to identify the reason, why this is happening.
 
 Can anybody give insight to us.
 
 We are not deploying war file as well as we are not 
 deploying in server
 we are setting context path in server.xml.
 
 -Jignesh
 
 
 -
 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]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: application deploys twice

2004-08-20 Thread Shapira, Yoav

Hi,

Do you not need an explicit declaration for a Context so that can you
define JNDI resources though? Are you saying autoDeploy cannot work if
you
have a webapp that uses JNDI resources in a context XML file?

You need an explicit declaration if you have JNDI resources, yes.  If
you have explicit context declarations you might want to turn autoDeploy
off, to avoid duplicate deployment.  The original poster didn't say
anything about JNDI resources, so I'm not sure why you jumped to that.

Yoav Shapira


Sorry if I am interpreting this wrong :)

Allistair Crossley

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 20 August 2004 14:14
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: RE: application deploys twice



 Hi,
 The usual reason for this is a server with autoDeploy on (which is
the
 default) and also an explicit declaration for the Context.

 Yoav Shapira
 Millennium Research Informatics


 -Original Message-
 From: Jignesh Patel [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 20, 2004 5:17 PM
 To: Tomcat Users List
 Subject: application deploys twice
 
 Hi All,
 We are using tomcat5.0.19 and struts1.1.
 
 Whenever we deploys our application it deploys twice.
 We couldn't able to identify the reason, why this is happening.
 
 Can anybody give insight to us.
 
 We are not deploying war file as well as we are not
 deploying in server
 we are setting context path in server.xml.
 
 -Jignesh
 
 

-
 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]




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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]



Re: application deploys twice

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 05:16:54PM -0400, Jignesh Patel wrote:
: Whenever we deploys our application it deploys twice.
: We couldn't able to identify the reason, why this is happening.


1/ Please post a *new* message to the list when you have a new question.
Replying to old posts -- even if you change the subject -- plays hell
with thread-aware mailers and makes your question harder to find (and
thus harder to answer).

2/ If autoDeploy=true? and your context is different than the webapp dir
name, you'll see this behavior.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: application deploys twice

2004-08-20 Thread Michael Echerer

Jignesh Patel wrote:
Hi All,
We are using tomcat5.0.19 and struts1.1.
Whenever we deploys our application it deploys twice.
We couldn't able to identify the reason, why this is happening.
Can anybody give insight to us.
We are not deploying war file as well as we are not deploying in server
we are setting context path in server.xml.
Is autoDeploy and loadOnStartup true in your host setting in server.xml?
If yes, a context directory inside the webapps dir gets deployed by the 
loadOnStartup mechanismn aswell as the context descriptor. This can 
result in duplicated deployments.

Did you check if you have a deployment descriptor .xml file in 
conf/Catalina/localhost that is duplicated?

BTW. You should not define contexts in server.xml. Use the 
conf/Catalina/localhost directory for deployments.

Greetings
Michael
-Jignesh
-
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]