Re: org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached

2004-04-20 Thread Thomas Tang
Hello,

I get the same messages in my log, but the application appears to work 
without a hitch. I was never able to figure out what the cause of this is, 
or if I should even be concerned with it?

One of my programmers tells me this is related when a client abruptly 
terminates a session. Im not totally convinced of it, but i don't have a 
better explanation or theory.





Kommineni, Sateesh \(GE Consumer  Industrial\) 
[EMAIL PROTECTED] 
04/20/2004 11:34 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
org.apache.jk.common.ChannelSocket processConnection INFO: connection 
timeout reached






Hi All,

I am trying to deploy a Web Application in my Tomcat and got the 
following Error in the Log Files..

 Apr 20, 2004 11:05:04 AM 
org.apache.jk.server.JkCoyoteHandler action
 INFO: RESET 
 Apr 20, 2004 11:05:04 AM 
org.apache.jk.server.JkCoyoteHandler action
 INFO: RESET 
 Apr 20, 2004 11:05:14 AM 
org.apache.jk.common.ChannelSocket processConnection
 INFO: connection timeout reached

What does this mean ??

I have the following entries in my server.xml.

  Connector className=org.apache.coyote.tomcat4.CoyoteConnector 
acceptCount=10 bufferSize=2048 connectionTimeout=2 debug=0 
enableLookups=true maxProcessors=75 minProcessors=5 
address=3.130.164.201 port=12312 
protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol 
proxyPort=0 redirectPort=8443 scheme=http secure=false 
tcpNoDelay=true useURIValidationHack=false
 Factory 
className=org.apache.catalina.net.DefaultServerSocketFactory/
/Connector

Connector className=org.apache.coyote.tomcat4.CoyoteConnector 
acceptCount=50 bufferSize=2048 connectionTimeout=1 debug=0 
enableLookups=false maxProcessors=75 minProcessors=20 
address=3.130.164.201 port=12313 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler 
proxyPort=0 redirectPort=8443 scheme=ajp13 secure=false 
tcpNoDelay=true useURIValidationHack=false
Factory className=org.apache.catalina.net.DefaultServerSocketFactory/
/Connector

   what is the significance of ajp13 scheme ??

  Pls let me know.. Thanks a lot..

-Sateesh


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




Re: How to set up JAVA_OPTS while running tomcat as a service

2004-04-02 Thread Thomas Tang
Hi,

You would need to specify this prior to starting up Tomcat.
Just set your environment variables accordingly and fire up the tomcat 
afterwards.

Thomas



Mandy Joss [EMAIL PROTECTED] 
04/02/2004 11:54 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
How to set up JAVA_OPTS while running tomcat as a service






I am running Tomcat 4.1.24 as service but under stress I get 
OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m 
-Xmx1000m -Xincgc to the Tomcat. Can somebody please tell me where should 
I 
specify JAVA_OPTS so that Tomcat running as service will look at them.

_
MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE 
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/


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




Re: Apache not starting with Mod_JK

2004-03-17 Thread Thomas Tang
Post up your httpd.conf and jk configurations.




Joseph Shraibman [EMAIL PROTECTED] 
03/17/2004 03:58 PM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
Re: Apache not starting with Mod_JK






Seems strange that apache would complain about a file only tomcat should 
deal with.

Chris Haines wrote:
 Hello,
 
 I am trying to start Apache with mod_jk. When I try starting apache, I 
 get the following error. I haven't modified the admin.xml file. If 
 anyone can help, I would greatly appreciated it.
 
 Syntax error on line 25 of 
 /usr/local/jakarta-tomcat-5.0.19/conf/Catalina/localhost/admin.xml:
 Expected /!-- but saw /Context
 
 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: why should i run apache to install tomcat4.1.29

2004-02-18 Thread Thomas Tang
The only time you really need  Apache web server along with Tomcat is if 
there are some basic functionality in apache that you need that Tomcat 
currently doesnt provide. I.E. mod_rewrite, or some other custom module.

In theory you can change the source to do X Y and Z but if apache which 
has a long stable history and can does it better, it might be simpler just 
to use the apache.

Just my take on the matter.

Thomas



Yiannis Mavroukakis [EMAIL PROTECTED] 
02/18/2004 09:02 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
'Tomcat Users List' [EMAIL PROTECTED]
cc

Subject
RE: why should i run apache to install tomcat4.1.29






The short version is you dont. You can use Tomcat to serve both static
contents and servlets.

-Original Message-
From: xavier manohar [mailto:[EMAIL PROTECTED]
Sent: 18 February 2004 13:46
To: [EMAIL PROTECTED]
Subject: why should i run apache to install tomcat4.1.29


Hello 
   I am a newbie and I am looking for a satisfactory answer why we 
need
to install apache and run it,to install tomcat 4.1.29 on windows 95 os
regards 
mano

Yahoo! India Insurance Special: Be informed on the best policies, 
services,
tools and more.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Re: JkMount and /*/servlet/

2004-02-18 Thread Thomas Tang
Did you try ?

JkMount /*/servlet/* local

Thomas





seph [EMAIL PROTECTED] 
02/18/2004 01:01 PM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
JkMount and /*/servlet/






I'd like to have apache proxy all jsp and servlets to an underlying
tomcat, but I'm having some trouble getting the JkMount directives
right. I have:

  JkMount /*.jsp local
  JkMount /*/servlet/ local

which are pretty much from the docs. using those I get the following:

localhost/foo/test.jsp   tomcat
localhost/foo/bar/test.jsp   tomcat
localhost/servlet/   apache
localhost/foo/servlet/   tomcat
localhost/foo/bar/servlet/   apache

This is a bit weird, because the * is behaving differently in the 2
cases. Is there a simple way to use JkMount so all that goes to
tomcat, or am I going to need to make explicate entries for each URL?
I've tried a couple permutations of the *, but always the same result.

System is debian testing, mod-jk is 1.2.5, tomcat is 4.0.4, apache is 
1.3.29

thanks
seph

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




Re: JkMount and /*/servlet/

2004-02-18 Thread Thomas Tang
Ive seen cases where one JkMount setting conflicts with another JkMount 
setting. 

Try moving the first JkMount setting to the bottom or remove it totally 
even. See if that works.

Thomas



seph [EMAIL PROTECTED] 
02/18/2004 01:25 PM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
Re: JkMount and /*/servlet/






 Did you try ?

 JkMount /*/servlet/* local

yes. with that nothing get's to tomcat, apache gives errors for
everything. I also tried /*/*/servlet/ apache doesn't like *servlet*,
saying the context must start with /, and /*servlet* still sends
everything to apache.

seph

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




Re: jsp deployment

2004-02-13 Thread Thomas Tang
Hi all,

Do the logs give any indication as to where Tomcat is looking for the jsp 
files?

A 404 error does not sound like a permissions problem. It sounds like a 
context setting might be off somewhere.

Thomas



Jerry Ford [EMAIL PROTECTED] 
02/13/2004 11:03 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
Re: jsp deployment






Good suggestions, but, no, didn't work. 

There are no config issues preventing Tomcat from serving files from my 
webapp---html and servlets all work.  And I know Tomcat is serving jsp 
files correctly; Tomcat's default examples work.

Tomcat simply will not serve my .jsp file regardless of filetype (tried 
it as .txt).  Permissions and file ownership are identical to the 
permissions of the Tomcat example .jsp files, which do work. 

I restart Tomcat everytime I make a change. 

Still get the 404 when I call the jsp, even though the html files in the 
same directory work fine, as do the servlets in the same webapp space.

Jerry

Parsons Technical Services wrote:

Jerry,

Just for a test, change the file name to end with .txt and see if the 
page
is displayed.

If it still fails. I would double check the permissions/ownership on that
file.

If it works, then try a restart. After a restart if it still fails, check
your configs
for an entry that might be blocking or redirecting the request.

Just a novice throwing out ideas.

Doug Parsons
www.parsonstechnical.com


- Original Message - 
From: Jerry Ford [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 2:33 PM
Subject: Re: jsp deployment


 

Permissions on the .jsp file are identical to permissions on all of the
html, javascript, and servlet class files in the webapp, all of which
work:  -rw--r--r--  owner/group is jford:user (which is the uid under
which tomcat was started).

And I know it will serve .jsp's, the Tomcat example .jsp's all work.

Jerry

QM wrote:

 

: Tomcat chokes when the jsp is requested.  I get a 404
: error, the requested resoruce is not available.
:
: What do I need to configure to get Tomcat to serve the jsp?


Chances are it's a permissions issue on the file.  (Unless you've
tweaked Tomcat's config, it should already be able to serve JSPs.)

-QM



 

-
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: jsp deployment

2004-02-13 Thread Thomas Tang
Cut and paste your context settings.

Thomas



Jerry Ford [EMAIL PROTECTED] 
02/13/2004 11:33 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
Re: jsp deployment






Hmmm...when I go to http://localhost/mywebapp, it works fine. 

When I bypass Apache and go to http://localhost:8080, I get Tomcat's 
home page, and http://localhost:8080/examples/jsp, I get the Tomcat 
examples. 

But when I go to http://localhost:8080/mywebapp, I get 404, resource not 
available.

Jerry

BAO RuiXian wrote:



 Jerry Ford wrote:

 Good suggestions, but, no, didn't work.
 There are no config issues preventing Tomcat from serving files from 
 my webapp---html and servlets all work.  And I know Tomcat is serving 
 jsp files correctly; Tomcat's default examples work.


 Have you tried run your jsp file directly from Tomcat instead of via 
 Apache? How about you copy one of the jsp files from the example jsp 
 files to this directory to see it still works? I think your problem is 
 just very trivial, somewhere wrong.

 Best

 Bao


 Tomcat simply will not serve my .jsp file regardless of filetype 
 (tried it as .txt).  Permissions and file ownership are identical to 
 the permissions of the Tomcat example .jsp files, which do work.
 I restart Tomcat everytime I make a change.
 Still get the 404 when I call the jsp, even though the html files in 
 the same directory work fine, as do the servlets in the same webapp 
 space.

 Jerry

 Parsons Technical Services wrote:

 Jerry,

 Just for a test, change the file name to end with .txt and see if 
 the page
 is displayed.

 If it still fails. I would double check the permissions/ownership on 
 that
 file.

 If it works, then try a restart. After a restart if it still fails, 
 check
 your configs
 for an entry that might be blocking or redirecting the request.

 Just a novice throwing out ideas.

 Doug Parsons
 www.parsonstechnical.com


 - Original Message - From: Jerry Ford 
[EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Thursday, February 12, 2004 2:33 PM
 Subject: Re: jsp deployment


 

 Permissions on the .jsp file are identical to permissions on all of 
 the
 html, javascript, and servlet class files in the webapp, all of which
 work:  -rw--r--r--  owner/group is jford:user (which is the uid under
 which tomcat was started).

 And I know it will serve .jsp's, the Tomcat example .jsp's all work.

 Jerry

 QM wrote:

 

 : Tomcat chokes when the jsp is requested.  I get a 404
 : error, the requested resoruce is not available.
 :
 : What do I need to configure to get Tomcat to serve the jsp?


 Chances are it's a permissions issue on the file.  (Unless you've
 tweaked Tomcat's config, it should already be able to serve JSPs.)

 -QM



 







 -
 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: jsp deployment

2004-02-13 Thread Thomas Tang
 set_config
  /servlet-name
  servlet-class
 catseye.ebook.set_config
  /servlet-class
   /servlet

   servlet
  servlet-name
 get_config
  /servlet-name
  servlet-class
 catseye.ebook.get_config
  /servlet-class
   /servlet

   servlet-mapping
  servlet-nameinvoker/servlet-name
  url-pattern/*/url-pattern
   /servlet-mapping


/web-app



Thomas Tang wrote:

Cut and paste your context settings.

Thomas



Jerry Ford [EMAIL PROTECTED]
02/13/2004 11:33 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
Re: jsp deployment






Hmmm...when I go to http://localhost/mywebapp, it works fine.

When I bypass Apache and go to http://localhost:8080, I get Tomcat's
home page, and http://localhost:8080/examples/jsp, I get the Tomcat
examples.

But when I go to http://localhost:8080/mywebapp, I get 404, resource not
available.

Jerry

BAO RuiXian wrote:



Jerry Ford wrote:



Good suggestions, but, no, didn't work.
There are no config issues preventing Tomcat from serving files from
my webapp---html and servlets all work.  And I know Tomcat is serving
jsp files correctly; Tomcat's default examples work.


Have you tried run your jsp file directly from Tomcat instead of via
Apache? How about you copy one of the jsp files from the example jsp
files to this directory to see it still works? I think your problem is
just very trivial, somewhere wrong.

Best

Bao



Tomcat simply will not serve my .jsp file regardless of filetype
(tried it as .txt).  Permissions and file ownership are identical to
the permissions of the Tomcat example .jsp files, which do work.
I restart Tomcat everytime I make a change.
Still get the 404 when I call the jsp, even though the html files in
the same directory work fine, as do the servlets in the same webapp
space.

Jerry

Parsons Technical Services wrote:



Jerry,

Just for a test, change the file name to end with .txt and see if
the page
is displayed.

If it still fails. I would double check the permissions/ownership on
that
file.

If it works, then try a restart. After a restart if it still fails,
check
your configs
for an entry that might be blocking or redirecting the request.

Just a novice throwing out ideas.

Doug Parsons
www.parsonstechnical.com


- Original Message - From: Jerry Ford


[EMAIL PROTECTED]


To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 2:33 PM
Subject: Re: jsp deployment






Permissions on the .jsp file are identical to permissions on all of
the
html, javascript, and servlet class files in the webapp, all of which
work:  -rw--r--r--  owner/group is jford:user (which is the uid under
which tomcat was started).

And I know it will serve .jsp's, the Tomcat example .jsp's all work.

Jerry

QM wrote:





: Tomcat chokes when the jsp is requested.  I get a 404
: error, the requested resoruce is not available.
:
: What do I need to configure to get Tomcat to serve the jsp?


Chances are it's a permissions issue on the file.  (Unless you've
tweaked Tomcat's config, it should already be able to serve JSPs.)

-QM









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





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




Re: Workaround for JK Bug

2004-02-13 Thread Thomas Tang
Is this issue only in the binary release or all releases?

I have jk 1.2.4 with apache 1.3.29 compiled from source on solaris but 
have not observed this problem.





David Rees [EMAIL PROTECTED] 
02/13/2004 02:12 PM
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
Re: Workaround for JK Bug






On Fri, February 13, 2004 1at 1:03 am, Chris Pennock wrote:

 I have recently encountered a bug in the interaction between mod_jk and
 Tomcat. In brief, Tomcat does not get the POST data from mod_jk 
following
 failover from one Tomacat node to another.

 Also, here is a link to the bug in Apache's Bugzilla:
 http://issues.apache.org/bugzilla/show_bug.cgi?id=24882

It's should be fixed in CVS.  Try pulling the latest code and see if it
fixes it for you and post your results in the bug, the developers would
love to hear about it.

-Dave

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