RE: setting the context path in tomcat5.5.9?

2005-10-04 Thread Trung Nguyen
To add the context path, you need to edit the $TOMCAT_HOME/conf/server.xml file 
and these lines:

Host name=www.yourdomainname.com debug=0 unpackWARs=true
Context path=/myApp docBase=/where/you/store/your/apps debug=0 
reloadable=true crossContext=true /
/Host

Hope this help...

---Trung


-Original Message-
From: Mbah Tenjoh-Okwen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 4:13 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: setting the context path in tomcat5.5.9?


hello

i would like to know how to set the context path in
tomcat5.5.9 hi

 I  also read something and a build.properties file
and i dont know how to do this too.

please i need help on this cause i cant see my
application file when i give in the uri
http://localhost:8080/myApp






___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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: setting the context path in tomcat5.5.9?

2005-10-04 Thread Caldarale, Charles R
 From: Trung Nguyen [mailto:[EMAIL PROTECTED] 
 Subject: RE: setting the context path in tomcat5.5.9?
 
 To add the context path, you need to edit the 
 $TOMCAT_HOME/conf/server.xml file and these lines:

This completely ignores the admonition in the Tomcat doc:
Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
to place Context elements directly in the server.xml file.

I'd suggest that a careful reading of:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
is in order.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: setting the context path in tomcat5.5.9?

2005-10-04 Thread Stephen Faustino
In an issue related to this and the documentation cited below, my attempts
to create a Context in the 
META-INF/context.xml were not successful, that is, I could create the
context.xml file but the attributes did not seem to take affect. I could set
them in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory and it
would work.
As an example, if I defined the attributes antiJARLocking=true and
antiResourceLocking=true in the application's META-INF/context.xml file, I
would still have jar and resource locking issues. When I defined the same
attributes in the $CATALINA_HOME/conf/[enginename]/[hostname] directory, jar
and resource locking was not an issue.


Stephen L. Faustino
Senior Software Engineer

SecureLogix Corporation
13750 San Pedro, Suite 230
San Antonio, TX 78232
Direct/Vmail (210) 402-9669 x949
http://www.securelogix.com

SECURELOGIX CORPORATION EMAIL NOTICE - This transmission may be strictly
confidential. If you are not the intended recipient of this message, you may
not disclose, print, copy, or disseminate this information. If you have
received this in error, please reply and notify the sender (only) and delete
the message. Unauthorized interception of this e-mail is a violation of
federal criminal law. This communication does not reflect an intention by
the sender or the sender's principal to conduct a transaction or make any
agreement by electronic means. Nothing contained in this message or in any
attachment shall satisfy the requirements for a writing, and nothing
contained herein shall constitute a contract or electronic signature under
the Electronic Signatures in Global and National Commerce Act, any version
of the Uniform Electronic Transactions Act, or any other statute governing
electronic transactions.


-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 9:33 AM
To: Tomcat Users List
Subject: RE: setting the context path in tomcat5.5.9?


 From: Trung Nguyen [mailto:[EMAIL PROTECTED] 
 Subject: RE: setting the context path in tomcat5.5.9?
 
 To add the context path, you need to edit the 
 $TOMCAT_HOME/conf/server.xml file and these lines:

This completely ignores the admonition in the Tomcat doc:
Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
to place Context elements directly in the server.xml file.

I'd suggest that a careful reading of:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
is in order.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


RE: setting the context path in tomcat5.5.9?

2005-10-04 Thread Caldarale, Charles R
 From: Stephen Faustino [mailto:[EMAIL PROTECTED] 
 Subject: RE: setting the context path in tomcat5.5.9?
 
 my attempts to create a Context in the META-INF/context.xml
 were not successful, that is, I could create the context.xml
 file but the attributes did not seem to take affect. I could
 set them in the $CATALINA_HOME/conf/[enginename]/[hostname]/ 
 directory and it would work.

(This is really a different topic; a new thread would be more
appropriate.)

The conf/[enginename]/[hostname]/[appname].xml overrides
META-INF/context.xml, so make sure to remove the former before trying
the latter.  Also, check the tag spelling in your context.xml file
carefully; numerous people have been caught out by using context
instead of Context, for example.  If that checks out try posting your
META-INF/context.xml file for people to look at.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: setting the context path in tomcat5.5.9?

2005-10-04 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a 
new topic) please do not reply to an existing message and change the 
subject line. To many of the list archiving services and mail clients 
used by list subscribers this  makes your new message appear as part 
of the old thread. This makes it harder for other users to find 
relevant information when searching the lists.


This is known as thread hijacking and is behaviour that is frowned 
upon on this list. Frequent offenders will be removed from the list. 
It should also be noted that many list subscribers automatically 
ignore any messages that hijack another thread.


The correct procedure is to create a new message with a new subject. 
This will start a new thread.


Mark
tomcat-user-owner


Mbah Tenjoh-Okwen wrote:

hello

i would like to know how to set the context path in
tomcat5.5.9 hi

 I  also read something and a build.properties file
and i dont know how to do this too.

please i need help on this cause i cant see my
application file when i give in the uri
http://localhost:8080/myApp






___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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]