ROOT Problem

2004-09-20 Thread e-Denton Subscriber
Hi,

I set my context to use my app as the default app:

Context displayName=e-Denton Portal Application
 docBase=e-Denton
 path=
 reloadable=true
 useNaming=true
 debug=5

It does call my app with this URL http://127.0.0.1:8080/, but it also starts
up the app in /e-Denton. In other words, it is running both as the default
app and as its own app. What am I doing wrong?

Thx.


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



RE: ROOT Problem

2004-09-20 Thread Shapira, Yoav

Hi,
You have autoDeploy enabled (this is the default).  Turn it off by
modifying the Host element in your server.xml.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 12:08 PM
To: Tomcat Users List
Subject: ROOT Problem

Hi,

I set my context to use my app as the default app:

Context displayName=e-Denton Portal Application
 docBase=e-Denton
 path=
 reloadable=true
 useNaming=true
 debug=5

It does call my app with this URL http://127.0.0.1:8080/, but it also
starts
up the app in /e-Denton. In other words, it is running both as the
default
app and as its own app. What am I doing wrong?

Thx.


-
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: ROOT Problem

2004-09-20 Thread e-Denton Subscriber
That doesn't seem to work. I still have both running. I changed the Host as
below:

  Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=false
   xmlValidation=false xmlNamespaceAware=false
   debug=5

I am running Tomcat 5.0.27

- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; e-Denton
Subscriber [EMAIL PROTECTED]
Sent: Monday, September 20, 2004 11:12 AM
Subject: RE: ROOT Problem



Hi,
You have autoDeploy enabled (this is the default).  Turn it off by
modifying the Host element in your server.xml.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 12:08 PM
To: Tomcat Users List
Subject: ROOT Problem

Hi,

I set my context to use my app as the default app:

Context displayName=e-Denton Portal Application
 docBase=e-Denton
 path=
 reloadable=true
 useNaming=true
 debug=5

It does call my app with this URL http://127.0.0.1:8080/, but it also
starts
up the app in /e-Denton. In other words, it is running both as the
default
app and as its own app. What am I doing wrong?

Thx.


-
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: ROOT Problem

2004-09-20 Thread Shapira, Yoav

Hi,

That doesn't seem to work. I still have both running. I changed the
Host as
below:

  Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=false
   xmlValidation=false xmlNamespaceAware=false
   debug=5

I see I wasn't clear enough in my response.  autoDeploy is not the right
attribute for the Host for Tomcat 5.0.27.  Check the docs: you want
deployOnStartup set to false
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html).

Yoav Shapira



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: ROOT Problem

2004-09-20 Thread Steve R. Burrus
Shapira, how do you successfully use the autodeploy feature in tomcat 
version 5.5.1 anyway???!!! I have done the usual editing of the 
conf/server.xml file to specify ContextDefault reloadable=true /, 
but alas, after I did this, it won't re-start the context for me!!! Can 
you help please?

Shapira, Yoav wrote:
Hi,
You have autoDeploy enabled (this is the default).  Turn it off by
modifying the Host element in your server.xml.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 12:08 PM
To: Tomcat Users List
Subject: ROOT Problem
Hi,
I set my context to use my app as the default app:
Context displayName=e-Denton Portal Application
   docBase=e-Denton
   path=
   reloadable=true
   useNaming=true
   debug=5
It does call my app with this URL http://127.0.0.1:8080/, but it also
starts
up the app in /e-Denton. In other words, it is running both as the
   

default
 

app and as its own app. What am I doing wrong?
Thx.
-
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: ROOT Problem

2004-09-20 Thread Shapira, Yoav

Hi,

-Original Message-
From: Steve R. Burrus [mailto:[EMAIL PROTECTED]

It's been a while since I've seen you on this list ;)

 Shapira, how do you successfully use the autodeploy feature in
tomcat
version 5.5.1 anyway???!!!

You download the distribution and unzip it.

I have done the usual editing of the
conf/server.xml file to specify ContextDefault reloadable=true /,

You might want to RTFM.  ContextDefault was never a valid Tomcat
configuration element, DefaultContext was valid up to 5.0 but is invalid
in 5.5.

Yoav



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: ROOT Problem

2004-09-20 Thread Steve R. Burrus
Shapira, re. me not being heard from  in a while in this group, I 
have actually been trying to get one of my posts seen for the past 1 -2 
weeks, so it's really nice to FINALLY get a response from someone!! and 
then as to tomcat re-loading, I meant to say DefaultContext = 
...!! So how DO you get tomcat v. 5.5.1 to reload???!

Shapira, Yoav wrote:
Hi,
 

-Original Message-
From: Steve R. Burrus [mailto:[EMAIL PROTECTED]
   

It's been a while since I've seen you on this list ;)
 

Shapira, how do you successfully use the autodeploy feature in
   

tomcat
 

version 5.5.1 anyway???!!!
   

You download the distribution and unzip it.
 

I have done the usual editing of the
conf/server.xml file to specify ContextDefault reloadable=true /,
   

You might want to RTFM.  ContextDefault was never a valid Tomcat
configuration element, DefaultContext was valid up to 5.0 but is invalid
in 5.5.
Yoav

 




Re: Deploying to ROOT problem

2004-02-27 Thread Andrew Watters
Hi Justin

I've tried what you suggest and it works great for me too. Thank you for 
your help.

If I browse to /manager I do get the directory listing but if I browse 
to /manager/list for example the manager application works fine. I've 
seen this same directory listing before. I'm going to try a new tomcat 
install and try again.

Thanks you for your reply; I'm still playing with this and I'll let you 
know if I make any further progress.

Andrew

Justin Johnson wrote:

I just did the same thing, though with more success.  In build.xml, I set
app.path to /, and app.name to ROOT, then adjusted the deploy task to
your first try.  On deployment, ROOT.war is copied to [tomcat]/webapps and
expanded into ROOT (I changed the target depends to dist from compile).
Everything's there, and it browses normally.
However, now the manager app doesn't work, instead simply showing the
directory listing for server/webapps/manager.  Admin still works correctly.
Any idea?
Justin

-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 7:03 AM
To: Tomcat Users List
Subject: Deploying to ROOT problem

I'm using the deployer via an ant task to deploy my application. I am 
using deployer 5.0.18 on windows and deploying to tomcat 5.0.18 on both 
windows and linux.  The following works fine

   deploy url=${server.url}/manager
   username=${deployer.username}
   password=${deployer.password}
   path=/${web.app}
   war=${dist}/${web.app}.war
   update=true /
I also need to deploy to root. I have tried both

   deploy url=${server.url}/manager
   username=${deployer.username}
   password=${deployer.password}
   path=/
   war=${dist}/${web.app}.war
   update=true /
and

   deploy url=${server.url}/manager
   username=${deployer.username}
   password=${deployer.password}
   path=/ROOT
   war=${dist}/${web.app}.war
   update=true /
The first option completes successfully but I can see no evidence of my 
application being unpacked; browsing to '/' doesn't show my application. 
The second option also completes successfully and this time I see the 
application unpacked under webapps/ROOT; browsing to '/' doesn't help 
but browsing to '/ROOT/' shows that my appplication is there.

Does anybody know how to deploy to root using the deployer please? Any 
help or advice would be greatly appreciated.

Andrew

-
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: Deploying to ROOT problem

2004-02-26 Thread Justin Johnson
I just did the same thing, though with more success.  In build.xml, I set
app.path to /, and app.name to ROOT, then adjusted the deploy task to
your first try.  On deployment, ROOT.war is copied to [tomcat]/webapps and
expanded into ROOT (I changed the target depends to dist from compile).
Everything's there, and it browses normally.

However, now the manager app doesn't work, instead simply showing the
directory listing for server/webapps/manager.  Admin still works correctly.
Any idea?

Justin

-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 7:03 AM
To: Tomcat Users List
Subject: Deploying to ROOT problem


I'm using the deployer via an ant task to deploy my application. I am 
using deployer 5.0.18 on windows and deploying to tomcat 5.0.18 on both 
windows and linux.  The following works fine

deploy url=${server.url}/manager
username=${deployer.username}
password=${deployer.password}
path=/${web.app}
war=${dist}/${web.app}.war
update=true /

I also need to deploy to root. I have tried both

deploy url=${server.url}/manager
username=${deployer.username}
password=${deployer.password}
path=/
war=${dist}/${web.app}.war
update=true /

and

deploy url=${server.url}/manager
username=${deployer.username}
password=${deployer.password}
path=/ROOT
war=${dist}/${web.app}.war
update=true /

The first option completes successfully but I can see no evidence of my 
application being unpacked; browsing to '/' doesn't show my application. 
The second option also completes successfully and this time I see the 
application unpacked under webapps/ROOT; browsing to '/' doesn't help 
but browsing to '/ROOT/' shows that my appplication is there.

Does anybody know how to deploy to root using the deployer please? Any 
help or advice would be greatly appreciated.

Andrew

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



Deploying to ROOT problem

2004-02-26 Thread Andrew Watters
I'm using the deployer via an ant task to deploy my application. I am 
using deployer 5.0.18 on windows and deploying to tomcat 5.0.18 on both 
windows and linux.  The following works fine

   deploy url=${server.url}/manager
   username=${deployer.username}
   password=${deployer.password}
   path=/${web.app}
   war=${dist}/${web.app}.war
   update=true /
I also need to deploy to root. I have tried both

   deploy url=${server.url}/manager
   username=${deployer.username}
   password=${deployer.password}
   path=/
   war=${dist}/${web.app}.war
   update=true /
and

   deploy url=${server.url}/manager
   username=${deployer.username}
   password=${deployer.password}
   path=/ROOT
   war=${dist}/${web.app}.war
   update=true /
The first option completes successfully but I can see no evidence of my 
application being unpacked; browsing to '/' doesn't show my application. 
The second option also completes successfully and this time I see the 
application unpacked under webapps/ROOT; browsing to '/' doesn't help 
but browsing to '/ROOT/' shows that my appplication is there.

Does anybody know how to deploy to root using the deployer please? Any 
help or advice would be greatly appreciated.

Andrew

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


Re: reload and ROOT problem

2003-09-13 Thread Tim Funk
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
-Tim
Rishikesh Tembe wrote:
Hi all,

I am facing two problems with v4.1.27.

1. After I reload the servlet by copying it into its directory in
WEB-INF/classes, I get the foll. error when I try to access the reladed
servlet.
HTTP Status 503 - This application is not currently available
2. Any apps placed in the ROOT context are not accessible. I am running
all my apps in the examples context right now.
Any tips on what's missing?

thanks,
Rishikesh.
=


Yahoo! India Matrimony: Find your partner online.
Go to http://yahoo.shaadi.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: reload and ROOT problem

2003-09-13 Thread Rafael Angarita
  Go to the download dir in tomcat website, thereis a patch...

- Original Message - 
From: Rishikesh Tembe [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, September 12, 2003 8:10 PM
Subject: reload and ROOT problem


 Hi all,
 
 I am facing two problems with v4.1.27.
 
 1. After I reload the servlet by copying it into its directory in
 WEB-INF/classes, I get the foll. error when I try to access the reladed
 servlet.
 HTTP Status 503 - This application is not currently available
 
 2. Any apps placed in the ROOT context are not accessible. I am running
 all my apps in the examples context right now.
 
 Any tips on what's missing?
 
 thanks,
 Rishikesh.
 
 =
 
 
 
 Yahoo! India Matrimony: Find your partner online.
 Go to http://yahoo.shaadi.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]



reload and ROOT problem

2003-09-12 Thread Rishikesh Tembe
Hi all,

I am facing two problems with v4.1.27.

1. After I reload the servlet by copying it into its directory in
WEB-INF/classes, I get the foll. error when I try to access the reladed
servlet.
HTTP Status 503 - This application is not currently available

2. Any apps placed in the ROOT context are not accessible. I am running
all my apps in the examples context right now.

Any tips on what's missing?

thanks,
Rishikesh.

=



Yahoo! India Matrimony: Find your partner online.
Go to http://yahoo.shaadi.com

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