Web application on server/

2004-10-21 Thread Nacho Conde
Hi , i have a problem with the url of my webapplication
   I want than my web application can be accesible in the url
   http://server:8080/
   in my directory webapps i have only this aplication, and this is 
only accesible with the url  http://server:8080/myapp/ .

in the server.xml file i configure the context:
   Context path=/ docBase=myapp.war.
can someone help me?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Web application on server/

2004-10-21 Thread Shapira, Yoav

Hi,
Yes, STFA.  Use context path= not /.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: Web application on server/

Hi , i have a problem with the url of my webapplication
I want than my web application can be accesible in the url
http://server:8080/
in my directory webapps i have only this aplication, and this is
only accesible with the url  http://server:8080/myapp/ .

in the server.xml file i configure the context:

Context path=/ docBase=myapp.war.


can someone help me?


-
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: Web application on server/

2004-10-21 Thread hanasaki
How does one get this accomplished on virtual hosts and tomcat 5?  I 
have a Host section with an appBase but the virtualhost.com/  keeps 
serving blank pages and nothing goes in the access log.

Shapira, Yoav wrote:
Hi,
Yes, STFA.  Use context path= not /.
Yoav Shapira http://www.yoavshapira.com
 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: Web application on server/
Hi , i have a problem with the url of my webapplication
  I want than my web application can be accesible in the url
  http://server:8080/
  in my directory webapps i have only this aplication, and this is
only accesible with the url  http://server:8080/myapp/ .
in the server.xml file i configure the context:
  Context path=/ docBase=myapp.war.
can someone help me?
-
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: Web application on server/

2004-10-21 Thread Shapira, Yoav

Hi,

How does one get this accomplished on virtual hosts and tomcat 5?  I

What I posted is valid for Tomcat 4 and 5, and virtual hosts don't have
anything to do with it from the Tomcat perspective.  Any Host has one or
more webapps, one of which can be at path .  You have to explicitly
declare that one (as a Context element in server.xml, or in its own
context.xml file, or in a WAR META-INF/context.xml, depending on your
Tomcat version).

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: Web application on server/

2004-10-21 Thread hanasaki
This virtual host is pointing to a directory vs a WAR file for its root. 
 I have tried putting the context in server.xml, under the Catalina 
config directory for autodeployment etc  All that is returned is a blank 
page for everything attempted.  The apps that come with tomcat5 just 
seem to point to an appBase without any context info specified.

Shapira, Yoav wrote:
Hi,

How does one get this accomplished on virtual hosts and tomcat 5?  I

What I posted is valid for Tomcat 4 and 5, and virtual hosts don't have
anything to do with it from the Tomcat perspective.  Any Host has one or
more webapps, one of which can be at path .  You have to explicitly
declare that one (as a Context element in server.xml, or in its own
context.xml file, or in a WAR META-INF/context.xml, depending on your
Tomcat version).
Yoav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Web application on server/

2004-10-21 Thread Nacho Conde
Hi,  thanks now yes!
Shapira, Yoav wrote:
Hi,
Yes, STFA.  Use context path= not /.
Yoav Shapira http://www.yoavshapira.com
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: Web application on server/
Hi , i have a problem with the url of my webapplication
  I want than my web application can be accesible in the url
  http://server:8080/
  in my directory webapps i have only this aplication, and this is
only accesible with the url  http://server:8080/myapp/ .
in the server.xml file i configure the context:
  Context path=/ docBase=myapp.war.
can someone help me?
-
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]