Re: Tomcat 6 Manager

2008-09-18 Thread Mark Thomas
Susan G. Conger wrote:
> When you go into the Tomcat Manager you get a list of running web
> applications.  Then the next section lets you deploy a host directory or
> local WAR file.  It asks for the following information:
> 
> Context Path (optional): [I have found this is not optional]
> XML Configuration file URL:  [This appears to be optional]
> WAR or Directory URL:[Here I enter my host directory path]
> 
> I don't have anything in my server.xml.  Just a generic tomcat 6 install.
> When I enter anything in the Context path that has a 2 tier specification
> .i.e. xyz/abc I get an error when I try to deploy the host directory.  I
> have been able to deploy a different directory using just xyx.  So basically
> if I have a unix directory called /mywebapps/xyz that has a web application
> in it.  And I want to deploy it using the Tomcat Manager what would I put in
> for the Context Path.  I know that the WAR or Directory should be
> /mywebapps/xyz.  I want the context path to be xyz/abc.  However if I put
> that in the deployment fails.
> 
> Does this explain it a little better?
Yes, I think it does.

Exactly which version of Tomcat 6 are you using? The following works for me
on 6.0.18:
ContextPath: /foo/bar
XML: [leave blank]
WAR/DIR: C:/temp

There were several fixes / enhancements to multi-level context support in
6.0.18.

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 6 Manager

2008-09-17 Thread Susan G. Conger
When you go into the Tomcat Manager you get a list of running web
applications.  Then the next section lets you deploy a host directory or
local WAR file.  It asks for the following information:

Context Path (optional): [I have found this is not optional]
XML Configuration file URL:  [This appears to be optional]
WAR or Directory URL:[Here I enter my host directory path]

I don't have anything in my server.xml.  Just a generic tomcat 6 install.
When I enter anything in the Context path that has a 2 tier specification
.i.e. xyz/abc I get an error when I try to deploy the host directory.  I
have been able to deploy a different directory using just xyx.  So basically
if I have a unix directory called /mywebapps/xyz that has a web application
in it.  And I want to deploy it using the Tomcat Manager what would I put in
for the Context Path.  I know that the WAR or Directory should be
/mywebapps/xyz.  I want the context path to be xyz/abc.  However if I put
that in the deployment fails.

Does this explain it a little better?

Thanks,
Susan

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 17, 2008 9:07 AM
To: Tomcat Users List
Subject: Re: Tomcat 6 Manager

Susan G. Conger wrote:
> I am trying to use the deployment of a host directory under the tomcat
> manager.

No sure what you mean by deploy a host directory.

  The context path that I want to use is /webapp/bfc.  However
> whenever I try to deploy the directory it gives me an invalid context path
> and it fails to deploy.  What should I put in the context path to have it
> deploy to /webapps/bfc?

webapps is usually the host's appBase. I am a little confused.

A few questions:
- what is the full path to your Tomcat installation?
- what is your host configuration in server.xml?
- what is the full path to the directory you want to deploy?
- what url do you want to use to access this web app?

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6 Manager

2008-09-17 Thread Mark Thomas
Susan G. Conger wrote:
> I am trying to use the deployment of a host directory under the tomcat
> manager.

No sure what you mean by deploy a host directory.

  The context path that I want to use is /webapp/bfc.  However
> whenever I try to deploy the directory it gives me an invalid context path
> and it fails to deploy.  What should I put in the context path to have it
> deploy to /webapps/bfc?

webapps is usually the host's appBase. I am a little confused.

A few questions:
- what is the full path to your Tomcat installation?
- what is your host configuration in server.xml?
- what is the full path to the directory you want to deploy?
- what url do you want to use to access this web app?

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 6 Manager

2008-09-17 Thread Susan G. Conger
I am trying to use the deployment of a host directory under the tomcat
manager.  The context path that I want to use is /webapp/bfc.  However
whenever I try to deploy the directory it gives me an invalid context path
and it fails to deploy.  What should I put in the context path to have it
deploy to /webapps/bfc?

 

Thanks,

Susan

 


BFC Associates, Inc. 

  

"Helping Save You Money on Warehouse Operations"


Susan Conger

Chapel Hill, NC

630-562-0375 x106



Main Office:

245 W. Roosevelt Rd. #8-51

West Chicago, IL 60185

630.562.0375

630.562.0618 (fax)

 

 



Re: Tomcat 6 manager application bug

2007-06-02 Thread Mark Thomas
Jacob Rhoden wrote:
> I finally upgraded everything to java 6/tomcat 6. Its all nice! There
> does seem to be a bug in the manager app. The application list comes out
> formatted strangely. (See attached picture if it works). I think it
> might be a bug.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42459

Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 6 Manager App question (Memory usage)

2007-06-02 Thread Caldarale, Charles R
> From: Jacob Rhoden [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 6 Manager App question (Memory usage)
> 
> Free memory: 0.86 MB Total memory: 9.35 MB Max memory: 63.56 MB
> 
> What is the difference between total memory and max memory.

Total memory is the current size of the heap (somewhere between the -Xms
and -Xmx values); max memory is the upper bound on heap size (-Xmx).
Free memory is the amount of total memory that is not currently
allocated to objects.

A list of useful references:
http://java.sun.com/javase/technologies/hotspot/gc/index.jsp

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6 manager application bug

2007-06-02 Thread Rashmi Rubdi

On 6/2/07, Jacob Rhoden <[EMAIL PROTECTED]> wrote:

I finally upgraded everything to java 6/tomcat 6. Its all nice! There
does seem to be a bug in the manager app. The application list comes out
formatted strangely.


I use Java 6 and Tomcat 6 , the application list looks fine to me in
the manager app.


(See attached picture if it works). I think it


Attachments are automatically filtered. You could upload it somewhere
and post the link to it.


might be a bug.

-j


Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 6 manager application bug

2007-06-02 Thread Jacob Rhoden
I finally upgraded everything to java 6/tomcat 6. Its all nice! There 
does seem to be a bug in the manager app. The application list comes out 
formatted strangely. (See attached picture if it works). I think it 
might be a bug.


-j

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 6 Manager App question (Memory usage)

2007-06-02 Thread Jacob Rhoden

Hi,

The manager application status page reports the following regarding 
memory usage:


Free memory: 0.86 MB Total memory: 9.35 MB Max memory: 63.56 MB

I am confused about what this means. What is the difference between 
total memory and max memory. Is the free memory what is left of total 
memory, or maximum memory?


Best Regards,
Jacob

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6 Manager logging

2007-05-13 Thread ewsinc

the latest mod_jk.1.22 doesn't seem to improve things with APR connector, as
indicated by the Tomcat Manager. 
So for now, I have kept the libtcnative out of the Tomcat deployment.


ewsinc wrote:
> 
> not quite. other errors remain complaining about sockets not open:
> [Sat May 12 22:47:34 2007] [info]  ajp_send_request::jk_ajp_common.c
> (1178): Socket 16 is not connected any more (errno=-1)
> [Sat May 12 22:47:34 2007] [info]  ajp_send_request::jk_ajp_common.c
> (1202): Error sending request. Will try another pooled connection
> [Sat May 12 22:47:34 2007] [info]  ajp_send_request::jk_ajp_common.c
> (1225): All endpoints are disconnected or dead
> [Sat May 12 22:47:34 2007] [info]  ajp_service::jk_ajp_common.c (1749):
> Sending request to tomcat failed,  recoverable operation attempt=1
> 
> Removing the APR libraries (libtcnative*.* that I build from the Tomcat
> 6.0.10 distribution) from my JAVA path
> and then restarting Tomcat allowed the threads sockets to open and stay
> open.
> 
> found this recent  http://jira.codehaus.org/browse/JETTY-322 post  with
> someone seeing related problems and patching mod_jk... I will try getting
> the latest mod_jk and see if they work better with the latest APR libs.
> 
> 
> ewsinc wrote:
>> 
>> found the problem ... it was SELinux disabling access to the
>> jk-runtime-status file... 
>> which mod_jk wanted to access at startup of httpd/mod_jk.
>> 
>> 
>> ewsinc wrote:
>>> 
>>> I see in the Manager/status page an error count under the AJP-8009
>>> section of the page.
>>> How do I go and find out what those errors are?
>>> How does one turn on logging for AJP? 
>>> I have logging turned on for mod_jk in Apache... but what about logging
>>> for Tomcat's side of the AJP protocol?
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10453097
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6 Manager logging

2007-05-12 Thread ewsinc

not quite. other errors remain complaining about sockets not open:
[Sat May 12 22:47:34 2007] [info]  ajp_send_request::jk_ajp_common.c (1178):
Socket 16 is not connected any more (errno=-1)
[Sat May 12 22:47:34 2007] [info]  ajp_send_request::jk_ajp_common.c (1202):
Error sending request. Will try another pooled connection
[Sat May 12 22:47:34 2007] [info]  ajp_send_request::jk_ajp_common.c (1225):
All endpoints are disconnected or dead
[Sat May 12 22:47:34 2007] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1

Removing the APR libraries (libtcnative*.* that I build from the Tomcat
6.0.10 distribution) from my JAVA path
and then restarting Tomcat allowed the threads sockets to open and stay
open.

found this recent  http://jira.codehaus.org/browse/JETTY-322 post  with
someone seeing related problems and patching mod_jk... I will try getting
the latest mod_jk and see if they work better with the latest APR libs.


ewsinc wrote:
> 
> found the problem ... it was SELinux disabling access to the
> jk-runtime-status file... 
> which mod_jk wanted to access at startup of httpd/mod_jk.
> 
> 
> ewsinc wrote:
>> 
>> I see in the Manager/status page an error count under the AJP-8009
>> section of the page.
>> How do I go and find out what those errors are?
>> How does one turn on logging for AJP? 
>> I have logging turned on for mod_jk in Apache... but what about logging
>> for Tomcat's side of the AJP protocol?
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10452551
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6 Manager logging

2007-05-12 Thread ewsinc

found the problem ... it was SELinux disabling access to the
jk-runtime-status file... 
which mod_jk wanted to access at startup of httpd/mod_jk.


ewsinc wrote:
> 
> I see in the Manager/status page an error count under the AJP-8009 section
> of the page.
> How do I go and find out what those errors are?
> How does one turn on logging for AJP? 
> I have logging turned on for mod_jk in Apache... but what about logging
> for Tomcat's side of the AJP protocol?
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10450546
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 6 Manager logging

2007-05-12 Thread ewsinc

I see in the Manager/status page an error count under the AJP-8009 section of
the page.
How do I go and find out what those errors are?
How does one turn on logging for AJP? 
I have logging turned on for mod_jk in Apache... but what about logging for
Tomcat's side of the AJP protocol?
-- 
View this message in context: 
http://www.nabble.com/Tomcat-6-Manager-logging-tf3732449.html#a10447535
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]