turning all logging off (Tomcat 4.1.18)

2005-08-01 Thread Kolev, Nik
Hi,
 
I am switching from Tomcat 3.2.X to Tomcat 4.1.18 (yeah, I know these are old, 
but that's what a 3rd party software vendor requires for their servlet). I do 
not need any of the Tomcat/servlets' logs and in Tomcat 3.2.X have modified the 
conf/server.xml Logger tags to contain the attribute path=/dev/null. Tomcat 
4.1.18, though, does not seem to honor this anymore. It honors the directory 
attribute instead and I can get the 3.2.X behaviour by making 
directory=/dev/null. Is this the right way to do it?
 
Also I had to modify the conf/catalina.sh script's start argument path to not 
append to catalina.out but to /dev/null. Besides turning all logging off, am I 
doing something wrong without realising it?
 
Thanks,
Nik


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



Apache/Tomcat 4.1.18 - Displaying empty Strings as null

2005-03-18 Thread Mendez, Eric
Hello,
I recently installed Apache/Tomcat v 4.1.18 on my new server, and I have a JSP 
page that extracts values from an Oracle database, if the value in the database 
is an empty String (), it returns as a null value in my JSP page. I have 
another server with Tomcat v. 4.1.31, and I am not having this issue. The new 
server has JDK v. 1.4.2 and my old server has v. 1.4.1. Any ideas will help.

Thanks

Confidentiality Note:

The preceding e-mail message (including any attachments) contains information 
that may be confidential, protected by applicable legal privileges, or 
constitute non-public information. It is intended to be conveyed only to the 
designated recipient(s). If you are not an intended recipient of this message, 
please notify the sender by replying to this message and then delete it from 
your system. Use, dissemination, distribution or reproduction of this message 
by unintended recipients is not authorized and may be unlawful.



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



Apache/Tomcat 4.1.18 - Displaying empty Strings as null

2005-03-18 Thread Ilya . Nabedrik
Return Receipt
   
   Your   Apache/Tomcat 4.1.18 - Displaying empty Strings as null  
   document:   
   
   wasIlya Nabedrik/PHIL/FRS   
   received
   by: 
   
   at:03/18/2005 11:15:58 AM   
   





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



Re: Apache/Tomcat 4.1.18 - Displaying empty Strings as null

2005-03-18 Thread Filip Hanik - Dev Lists
install tomcat 4.1.31 on your new server
Mendez, Eric wrote:
Hello,
I recently installed Apache/Tomcat v 4.1.18 on my new server, and I have a JSP page that 
extracts values from an Oracle database, if the value in the database is an empty String 
(), it returns as a null value in my JSP page. I have another server with 
Tomcat v. 4.1.31, and I am not having this issue. The new server has JDK v. 1.4.2 and my 
old server has v. 1.4.1. Any ideas will help.
Thanks
Confidentiality Note:
The preceding e-mail message (including any attachments) contains information 
that may be confidential, protected by applicable legal privileges, or 
constitute non-public information. It is intended to be conveyed only to the 
designated recipient(s). If you are not an intended recipient of this message, 
please notify the sender by replying to this message and then delete it from 
your system. Use, dissemination, distribution or reproduction of this message 
by unintended recipients is not authorized and may be unlawful.

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


Tomcat 4.1.18: jsessionid in URL on first access, but not subsequent access

2004-10-28 Thread Matt Mejaski
Hi all,
 
Using Tomcat 4.1.18, I am getting (what I believe) is inconsistent behaviour
with respect to session handling.  Hopefully someone here can clear this up
for me.
 
Running Tomcat Standalone on my local machine, if I go into my browser, and
go to http://mattm:8080/myapp/index.jsp, it uses a Struts redirect I have
set up to take me to the welcome page for my app, except it appends the
jsessionid on it (so I end up going to
http://mattm:8080/myapp/Welcome.do;jsessionid=**)
 
Now, If I immediately go back to the URL and enter in the exact same URL
again (without closing the browser) (i.e. go back and put in
http://mattm:8080/myapp/index.jsp), once again I am forwarded to the welcome
page for my app, but it does NOT contain the jsessionid, which I assume
means that it's storing the session in a cookie.  Subsequently, if I keep
accessing the site, the jsessionid is never appended to the URL again.
(Until i close the browser, of course -- which I realize should reset the
session id)
 
In my context, I do have cookies=true, and I do not have cookies disabled
in my browser (as far as I know).
 
Is there a reason why the first access includes the jsessionid and does not
appear to use browser cookies?  Is it because Tomcat doesn't know if my
browser supports cookies yet?  Is there a way to force the page to load with
cookies immediately? (By following another redirect or something).  I don't
want to disable support for cookie-disabled browsers -- I just want to see
if I can support cookie-enabled browsers better by not appended the
jsessionid in every URL.  (The reason I want to get rid of the jsessionid if
possible is because the 'Welcome' page (not index.jsp, but the page it
forwards to) is a Logon page, and if the user bookmarks that page with the
jsessionid in it, IE won't remember their username and password for the
future -- minor annoyance, but it'd be great if it could be fixed.)
 
 
Thanks for your help,
Matt Mejaski


Http 503 error when running servlet using tomcat 4.1.18

2004-07-15 Thread Kamaleshwaran Sivalingam
  
Hi,
      I am  using tomcat  4.1.18 with j2sdk1.4.1_02 running under redhat  linux.
I  have a strange error. for my servlet  The following is the error  that it gave .

HTTP Status 503 - Servlet org.apache.catalina.INVOKER.NirInsertPA is 
currently unavailable


type Status report

message Servlet org.apache.catalina.INVOKER.NirInsertPA is currently 
unavailable

description The requested service (Servlet 
org.apache.catalina.INVOKER.NirInsertPA is currently unavailable) is not 
currently available.


Apache Tomcat/4.1.18

It was working fine previously, untill i changed the code and  recompiled the 
java file and replaced the .class file. I recompiled the java file  using the same 
version of java but on  different machine. Then I copied the .class file from there 
and  then put it in linux machine.

There was no compilation  error. Can u help me out?

kamaleshwaran sivalingam



RE: Tomcat 4.1.18 MailSession Problem

2003-12-24 Thread Shapira, Yoav

Howdy,
Looks good.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Cord Awtry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 12:10 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.1.18 MailSession Problem

Yoav,

Resource name=mail/MyMail auth=Container
type=javax.mail.Session /
ResourceParams name=mail/MyMail
  parameter
namemail.smtp.host/name
valuesmtp.rcn.com/value
  /parameter
  parameter
namemail.transport.protocol/name
valuesmtp/value
  /parameter
/ResourceParams

   Thanks,

   -C-

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 9:33 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.18 MailSession Problem


Howdy,
What's your Resource tag in server.xml for mail/MyMail look like?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Cord Awtry [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 9:24 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 MailSession Problem

Hello all,

I'm hoping someone can given me some help here. I'm
attempting to set up a mail session but I can't seem to get Tomcat to
use the specified host of the mail server, it keeps using only
localhost.

In my web.xml, I have:

  resource-ref
descriptionMy Mail Server/description
res-ref-namemail/MyMail/res-ref-name
res-typejavax.mail.Session/res-type
res-authContainer/res-auth
  /resource-ref

And in the server.xml, I have:

  ResourceParams name=mail/MyMail
parameter
  namemail.smtp.host/name
  valuesmtp.myserver.com/value
/parameter
  /ResourceParams

No matter what I do I get error from the mail server that
it
can't relay my message. When I debug this and look at the session, the
mail.smtp.host is set to localhost.

Any idea on what I've done wrong?

Thanks in advance for any help,

-C-



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]




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: Tomcat 4.1.18 MailSession Problem

2003-12-23 Thread Cord Awtry
Yoav,

Resource name=mail/MyMail auth=Container
type=javax.mail.Session /
ResourceParams name=mail/MyMail
  parameter
namemail.smtp.host/name
valuesmtp.rcn.com/value
  /parameter
  parameter
namemail.transport.protocol/name
valuesmtp/value
  /parameter
/ResourceParams   

Thanks,

-C-

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 22, 2003 9:33 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.18 MailSession Problem


Howdy,
What's your Resource tag in server.xml for mail/MyMail look like?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Cord Awtry [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 9:24 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 MailSession Problem

Hello all,

I'm hoping someone can given me some help here. I'm
attempting to set up a mail session but I can't seem to get Tomcat to
use the specified host of the mail server, it keeps using only
localhost.

In my web.xml, I have:

  resource-ref
descriptionMy Mail Server/description
res-ref-namemail/MyMail/res-ref-name
res-typejavax.mail.Session/res-type
res-authContainer/res-auth
  /resource-ref

And in the server.xml, I have:

  ResourceParams name=mail/MyMail
parameter
  namemail.smtp.host/name
  valuesmtp.myserver.com/value
/parameter
  /ResourceParams

No matter what I do I get error from the mail server that
it
can't relay my message. When I debug this and look at the session, the
mail.smtp.host is set to localhost.

Any idea on what I've done wrong?

Thanks in advance for any help,

-C-



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: Tomcat 4.1.18 MailSession Problem

2003-12-22 Thread Shapira, Yoav

Howdy,
What's your Resource tag in server.xml for mail/MyMail look like?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Cord Awtry [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 9:24 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 MailSession Problem

Hello all,

I'm hoping someone can given me some help here. I'm
attempting to set up a mail session but I can't seem to get Tomcat to
use the specified host of the mail server, it keeps using only
localhost.

In my web.xml, I have:

  resource-ref
descriptionMy Mail Server/description
res-ref-namemail/MyMail/res-ref-name
res-typejavax.mail.Session/res-type
res-authContainer/res-auth
  /resource-ref

And in the server.xml, I have:

  ResourceParams name=mail/MyMail
parameter
  namemail.smtp.host/name
  valuesmtp.myserver.com/value
/parameter
  /ResourceParams

No matter what I do I get error from the mail server that
it
can't relay my message. When I debug this and look at the session, the
mail.smtp.host is set to localhost.

Any idea on what I've done wrong?

Thanks in advance for any help,

-C-



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]



Tomcat 4.1.18 MailSession Problem

2003-12-21 Thread Cord Awtry
Hello all,
 
I'm hoping someone can given me some help here. I'm
attempting to set up a mail session but I can't seem to get Tomcat to
use the specified host of the mail server, it keeps using only
localhost.
 
In my web.xml, I have:
 
  resource-ref
descriptionMy Mail Server/description
res-ref-namemail/MyMail/res-ref-name
res-typejavax.mail.Session/res-type
res-authContainer/res-auth
  /resource-ref
 
And in the server.xml, I have:
 
  ResourceParams name=mail/MyMail
parameter
  namemail.smtp.host/name
  valuesmtp.myserver.com/value
/parameter
  /ResourceParams
 
No matter what I do I get error from the mail server that it
can't relay my message. When I debug this and look at the session, the
mail.smtp.host is set to localhost.
 
Any idea on what I've done wrong?
 
Thanks in advance for any help,
 
-C-


Apache Tomcat/4.1.18 Upload a WAR file

2003-11-30 Thread Juan Ignacio Garcia
Hello, I have suse 9.0 which cames with tomcat/4.1.18. The problem is 
that the form that appears in others version to upload war files in the 
manager doesn't appear in this one. What's wrong in the configuration. 
How can I change that?

Thanks,

Ignacio



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


Tomcat 4.1.18 Administration Tool does not appear to support pass word encryption

2003-09-19 Thread Gardner, David [IT]
I am using a tomcat Realm user database that reads the standard
tomcat-users.xml file using MD5 encryption. I have set up the administration
tool to allow user name and password administration. This works but only
saves a clear text password back to the tomcat-users.xml file. There appears
to be no facility to configure it to write encrypted passwords. Has anyone
set this up or changed the admin tool to allow this?


David Gardner
Software Developer
Cititech
Level 11, 2 Park Street
Sydney NSW Australia 2000

Phone:  (+612) 8225 4803
Fax:(+612) 8225 
Email:  [EMAIL PROTECTED]


Important  Information

This message may contain confidential or proprietary information.  If you
are not the intended recipient, please notify the sender immediately and
delete the message from your system.  You should not copy or use it for any
purpose, nor disclose its contents to any other person.  E-mail transmission
cannot be guaranteed to be secure or error-free.  No guarantee is made that
any attachments are virus free.  We reserve the right to monitor all e-mail
communications.

This e-mail does not take into account your investment objectives or
financial situation and you should obtain advice based on your own
individual circumstances before making an investment decision

This e-mail is made available to you in Australia by Citigroup Global
Markets Australia Pty Limited ABN 64 003 114 832, a licensed securities
dealer and futures broker, a Participating Organisation of the Australian
Stock Exchange Limited and a participant of the Sydney Futures Exchange
Limited.  In New Zealand it is made available through Citigroup Global
Markets New Zealand Limited, a member firm of the New Zealand Stock
Exchange.

Although the information is believed to be reliable, we do not guarantee its
accuracy and it may be incomplete or condensed.  All opinions and estimates
constitute Citigroup's judgement at the date of issue and are subject to
change without notice. Unless stated otherwise, pricing information is
indicative only, subject to change and is not an offer to deal at any price
quoted.  Any reference to the terms of executed transactions is preliminary
only and subject to written confirmation.



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



Re: Tomcat 4.1.18 Administration Tool does not appear to support pass word encryption

2003-09-19 Thread Tim Funk
tomcat-users.xml is meant for *simple* password maintenance. For more advance 
password usage  - use a different Realm such as JDBCRealm or JNDIRealm

-Tim

Gardner, David [IT] wrote:

I am using a tomcat Realm user database that reads the standard
tomcat-users.xml file using MD5 encryption. I have set up the administration
tool to allow user name and password administration. This works but only
saves a clear text password back to the tomcat-users.xml file. There appears
to be no facility to configure it to write encrypted passwords. Has anyone
set this up or changed the admin tool to allow this?
 


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


Failed to Install Web Application thru Tomcat Manager (TOMCAT 4.1.18)

2003-09-08 Thread Thana Letchumi
Hi,

   I have recently installed TOMCAT 4.1.18. I developed a few
applications in a differect directory path from the tomcat installation
path. Initially, I updated the server.xml with my web application path.
But I realize that any update I make to the jar file (located in my
application path/WEB-INF/lib) is not being reflected unless I stop and
start tomcat. 
Then, I tried using manager install command to install the web
application and remove the path from the server.xml. 

   My command :
http://localhost:8080/manager/install?path=/saw_javwar=file:/apps/saw_j
av

 It says that the application got installed and I can start/stop it from
the manager. But I still could not get the update in the jar file
reflected after I stop and start the application from the manager.
Furthermore, whenever I stop and start tomcat, the application is gone
from the manager process list and I have to re-install the application
again. I hope someone could advise me on this matter. I need to switch a
few applications in production mode and I can't afford to stop/start
tomcat whenever I make changes to the applications. 
Another question, If install a war file, Do I need to create the
directory for the application or is it auto-expandable ?. This is not in
the tomcat installation path .  
Thanks for your help.

Regards,
Thana


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



IIS mod_jk and tomcat 4.1.18 issue

2003-09-05 Thread Tobias Kieninger
Hi,

i installed iis 5.0 with iis_redirect.dll and tomcat 4.1.18. This
configuration uses Coyote/JK2 AJP 1.3 Connector and works two times without
reasonable problems.

On a third server a _few_ Clients have Problems getting any results.
Partly JSP works but images aren´t displayed. On Refresh a few images are
shown but other are vanished.

With these Clients i get strange Messages in the isapi_redirect.log:

[Fri Sep 05 10:56:55 2003]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -
/context/
[Fri Sep 05 10:56:55 2003]  [jk_isapi_plugin.c (617)]: HttpFilterProc
[/context/configure.js] is a servlet url - should redirect to ajp13
[Fri Sep 05 10:56:55 2003]  [jk_isapi_plugin.c (639)]: HttpFilterProc check
if [/context/configure.js] is points to the web-inf directory
[Fri Sep 05 10:56:55 2003]  [jk_isapi_plugin.c (679)]: HttpExtensionProc
started
[Fri Sep 05 10:56:55 2003]  [jk_worker.c (123)]: Into wc_get_worker_for_name
ajp13
[Fri Sep 05 10:56:55 2003]  [jk_worker.c (127)]: wc_get_worker_for_name,
done  found a worker
[Fri Sep 05 10:56:55 2003]  [jk_isapi_plugin.c (701)]: HttpExtensionProc got
a worker for name ajp13
[Fri Sep 05 10:56:55 2003]  [jk_ajp13_worker.c (865)]: Into
jk_worker_t::get_endpoint
[Fri Sep 05 10:56:55 2003]  [jk_ajp13_worker.c (775)]: Into
jk_endpoint_t::service
[Fri Sep 05 10:56:55 2003]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Fri Sep 05 10:56:55 2003]  [jk_ajp13.c (447)]: Error
ajp13_marshal_into_msgb - Error appending the header value
[Fri Sep 05 10:56:55 2003]  [jk_isapi_plugin.c (716)]: HttpExtensionProc
error, service() failed
[Fri Sep 05 10:56:55 2003]  [jk_ajp13_worker.c (549)]: Into
jk_endpoint_t::done
[Fri Sep 05 10:56:55 2003]  [jk_isapi_plugin.c (555)]: HttpFilterProc starte

Thanks in advance
Tobias


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



Install Web Application thru Tomcat Manager (TOMCAT 4.1.18)

2003-09-03 Thread Thana Letchumi
Hi,

   I have recently installed TOMCAT 4.1.18. I developed a few
applications in a differect directory path from the tomcat installation
path. Initially, I updated the server.xml with my web application path.
But I realize that any update I make to the jar file (located in my
application path/WEB-INF/lib) is not being reflected unless I stop and
start tomcat. 
Then, I tried using manager install command to install the web
application and remove the path from the server.xml. 

   My command :
http://localhost:8080/manager/install?path=/saw_javwar=file:/apps/saw_j
av

 It says that the application got installed and I can start/stop it from
the manager. But I still could not get the update in the jar file
reflected after I stop and start the application from the manager.
Furthermore, whenever I stop and start tomcat, the application is gone
from the manager process list and I have to re-install the application
again. I hope someone could advise me on this matter. I need to switch a
few applications in production mode and I can't afford to stop/start
tomcat whenever I make changes to the applications. 
Another question, If install a war file, Do I need to create the
directory for the application or is it auto-expandable ?. This is not in
the tomcat installation path .  
Thanks for your help.

Regards,
Thana


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



RE: Tomcat 4.1.18 and SQUID

2003-08-19 Thread Brian Peterson
Many thanks Bill, for a hint.

snip

 Tomcat doesn't honor a HTTP/1.0 Connection: keep-alive when it comes from
 SQUID.  I've upgraded Tomcat to 4.1.27 (latest stable), and I am still
 seeing these errors.  Any ideas?


Not really.  Tomcat is supposed to handle HTTP/1.0 Keep-Alives.  You could
try enabling the RequestDumper and posting the results.

It appears as if tomcat says connection:close and then spews more data.
Very strange.

Here is the Request Dumper output...

2003-08-19 17:27:02 RequestDumperValve[/path]: REQUEST URI
=/path/to/app.file
2003-08-19 17:27:02 RequestDumperValve[/path]:   authType=null
2003-08-19 17:27:02 RequestDumperValve[/path]:  characterEncoding=utf-8
2003-08-19 17:27:02 RequestDumperValve[/path]:  contentLength=874
2003-08-19 17:27:02 RequestDumperValve[/path]:contentType=text/xml;
charset=utf-8
2003-08-19 17:27:02 RequestDumperValve[/path]:contextPath=/path
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=user-agent=Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 1.1.4322.573)
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=content-type=text/xml; charset=utf-8
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=soapaction=urn:appname
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=content-length=874
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=expect=100-continue
2003-08-19 17:27:02 RequestDumperValve[/path]: header=via=1.1
squid.host:2000 (squid/2.5.STABLE3)
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=x-forwarded-for=xxx.yyy.zzz.www
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=host=server.host
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=cache-control=max-age=5184000
2003-08-19 17:27:02 RequestDumperValve[/path]:
header=connection=keep-alive
2003-08-19 17:27:02 RequestDumperValve[/path]: locale=en
2003-08-19 17:27:02 RequestDumperValve[/path]: method=POST
2003-08-19 17:27:02 RequestDumperValve[/path]:   pathInfo=null
2003-08-19 17:27:02 RequestDumperValve[/path]:   protocol=HTTP/1.0
2003-08-19 17:27:02 RequestDumperValve[/path]:queryString=null
2003-08-19 17:27:02 RequestDumperValve[/path]:
remoteAddr=xxx.yyy.zzz.www
2003-08-19 17:27:02 RequestDumperValve[/path]: remoteHost=squid.host
2003-08-19 17:27:02 RequestDumperValve[/path]: remoteUser=null
2003-08-19 17:27:02 RequestDumperValve[/path]: requestedSessionId=null
2003-08-19 17:27:02 RequestDumperValve[/path]: scheme=http
2003-08-19 17:27:02 RequestDumperValve[/path]:
serverName=server.host
2003-08-19 17:27:02 RequestDumperValve[/path]: serverPort=80
2003-08-19 17:27:02 RequestDumperValve[/path]:servletPath=null
2003-08-19 17:27:02 RequestDumperValve[/path]:   isSecure=false
2003-08-19 17:27:02
RequestDumperValve[/path]: -
--
2003-08-19 17:27:20
RequestDumperValve[/path]: -
--
2003-08-19 17:27:20 RequestDumperValve[/path]:   authType=null
2003-08-19 17:27:20 RequestDumperValve[/path]:  contentLength=-1
2003-08-19 17:27:20 RequestDumperValve[/path]:contentType=text/xml;
charset=utf-8
2003-08-19 17:27:20 RequestDumperValve[/path]:
cookie=JSESSIONID=47447E2713208AC8220A1BAF587D19E5; domain=null; path=/path
2003-08-19 17:27:20 RequestDumperValve[/path]:
header=Set-Cookie=JSESSIONID=47447E2713208AC8220A1BAF587D19E5; Path=/path
2003-08-19 17:27:20 RequestDumperValve[/path]:
header=Content-Type=text/xml; charset=utf-8
2003-08-19 17:27:20 RequestDumperValve[/path]: header=Date=Wed,
20 Aug 2003 00:27:20 GMT
2003-08-19 17:27:20 RequestDumperValve[/path]:
header=Server=Apache Coyote/1.0
2003-08-19 17:27:20 RequestDumperValve[/path]:
header=Connection=close
2003-08-19 17:27:20 RequestDumperValve[/path]:message=null
2003-08-19 17:27:20 RequestDumperValve[/path]: remoteUser=null
2003-08-19 17:27:20 RequestDumperValve[/path]: status=200
2003-08-19 17:27:20 RequestDumperValve[/path]:
===


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



RE: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Ralph Einfeldt
There is someone from xx.xx.xx.xx trying to use an IIS 
vulnerability. If it's realy intranet your admin should 
have a look at the offending pc if it is infected by a 
virus. (Not shure out of the head if this is nimda, code 
red or what else)

This vulnerability is not affecting tomcat.

 -Original Message-
 From: Antony paul [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 11, 2003 2:11 PM
 To: tomcat mail list
 Subject: [OT] Some one executing windows commands in Tomcat 4.1.18.
 
 
 I have Tomcat standalone running on a local Intranet. The 
 server is
 windows 2000 SP2. Today while checking the access log files I 
 found the following lines
 xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET 
 /scripts/root.exe?/c+dir

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



[OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Antony paul
Hello,
I have Tomcat standalone running on a local Intranet. The server is
windows 2000 SP2. Today while checking the access log files I found the
following lines
xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET /scripts/root.exe?/c+dir
HTTP/1.0 404 716
xx.xx.xx.xx - - [11/Aug/2003:09:47:43 5050] GET /MSADC/root.exe?/c+dir
HTTP/1.0 404 710

What does this mean ? Is there any vulnerability in Tomcat or this
combination ?. I have uncommented the invoker servlet in web.xml. Is it
creating the problem ?.

regards
Antony Paul

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



RE: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Steph Richardson
this is just an IIS worm ( Nimda I think ) on someone else's server, sending requests 
to yours. You can see that all the requests
are returning a 404. Almost everyone sees this at some stage. Don't worry about it.

steph

 -Original Message-
 From: Antony paul [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 11, 2003 8:11 AM
 To: tomcat mail list
 Subject: [OT] Some one executing windows commands in Tomcat 4.1.18.


 Hello,
 I have Tomcat standalone running on a local Intranet. The server is
 windows 2000 SP2. Today while checking the access log files I found the
 following lines
 xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET /scripts/root.exe?/c+dir
 HTTP/1.0 404 716
 xx.xx.xx.xx - - [11/Aug/2003:09:47:43 5050] GET /MSADC/root.exe?/c+dir
 HTTP/1.0 404 710

 What does this mean ? Is there any vulnerability in Tomcat or this
 combination ?. I have uncommented the invoker servlet in web.xml. Is it
 creating the problem ?.

 regards
 Antony Paul

 -
 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: Tomcat 4.1.18 and SQUID

2003-08-14 Thread Bill Barker

Brian Peterson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Let me try again.

 I've done a lot of testing, and reading.

 Tomcat doesn't honor a HTTP/1.0 Connection: keep-alive when it comes from
 SQUID.  I've upgraded Tomcat to 4.1.27 (latest stable), and I am still
 seeing these errors.  Any ideas?


Not really.  Tomcat is supposed to handle HTTP/1.0 Keep-Alives.  You could
try enabling the RequestDumper and posting the results.

It looks like the 100-continue is being generated by SQUID (since Tomcat
would reply with HTTP/1.1 100 Continue, if it saw a Expect: 100-continue
header).

 Brian Peterson

 -Original Message-
 From: Brian Peterson [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 11, 2003 1:39 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 4.1.18 and SQUID


 Tomcat Experts,

 I have the following setup.

 (1)  Client App -- SQUID -- Tomcat 4.1.18
 and
 (2)  Client App -- Tomcat 4.1.18

 Where Client App is a program, not a webuser.  When I remove SQUID, the
 Client App seems to function normally.  With SQUID, I get an HTTP/1.0 100
 Continue going back to the Client App, and then the Client App times out.
I
 am not doing any special filtering on SQUID.

 I've searched Google, Squid FAQ, Squid-users, the Tomcat-users archive.

 I'm at a loss, anyone else seen this?  Any ideas?  Any help appreciated.

 Thanks in advance!

 Brian Peterson


 -
 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: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Kwok Peng Tuck
It's in the intranet right ? Should be easy to track down :)

Antony paul wrote:

Hello,
   I have Tomcat standalone running on a local Intranet. The server is
windows 2000 SP2. Today while checking the access log files I found the
following lines
xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET /scripts/root.exe?/c+dir
HTTP/1.0 404 716
xx.xx.xx.xx - - [11/Aug/2003:09:47:43 5050] GET /MSADC/root.exe?/c+dir
HTTP/1.0 404 710
What does this mean ? Is there any vulnerability in Tomcat or this
combination ?. I have uncommented the invoker servlet in web.xml. Is it
creating the problem ?.
regards
Antony Paul
-
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: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Antony paul
Althoug it is an intranet application Tomcat is listening on the public IP
address accessible from internet(temporary arrangement) and the IP address
in the log is out side the intranet but of same ISP. The IIS is not running
but we have some other web server program(probably apache) which listens on
this IP address.
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:08 PM
Subject: RE: [OT] Some one executing windows commands in Tomcat 4.1.18.


There is someone from xx.xx.xx.xx trying to use an IIS
vulnerability. If it's realy intranet your admin should
have a look at the offending pc if it is infected by a
virus. (Not shure out of the head if this is nimda, code
red or what else)

This vulnerability is not affecting tomcat.

 -Original Message-
 From: Antony paul [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 11, 2003 2:11 PM
 To: tomcat mail list
 Subject: [OT] Some one executing windows commands in Tomcat 4.1.18.


 I have Tomcat standalone running on a local Intranet. The
 server is
 windows 2000 SP2. Today while checking the access log files I
 found the following lines
 xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET
 /scripts/root.exe?/c+dir

-
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: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Michael Teter
This is the age old IIS worm working its magic.  It's either Code Red or 
Code Red 2 or whatever.

In any case, you can safely ignore it if Tomcat is the one reporting it. 
 And unfortunately, you're unlikely to get anywhere by trying to 
contact the offending server owner or ISP.

Just ignore it, as long as you're not using IIS, or you have IIS patched up.

MT

Antony paul wrote:
Althoug it is an intranet application Tomcat is listening on the public IP
address accessible from internet(temporary arrangement) and the IP address
in the log is out side the intranet but of same ISP. The IIS is not running
but we have some other web server program(probably apache) which listens on
this IP address.
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:08 PM
Subject: RE: [OT] Some one executing windows commands in Tomcat 4.1.18.
There is someone from xx.xx.xx.xx trying to use an IIS
vulnerability. If it's realy intranet your admin should
have a look at the offending pc if it is infected by a
virus. (Not shure out of the head if this is nimda, code
red or what else)
This vulnerability is not affecting tomcat.


-Original Message-
From: Antony paul [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 2:11 PM
To: tomcat mail list
Subject: [OT] Some one executing windows commands in Tomcat 4.1.18.
   I have Tomcat standalone running on a local Intranet. The
server is
windows 2000 SP2. Today while checking the access log files I
found the following lines
xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET
/scripts/root.exe?/c+dir


-
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: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Angus Mezick
That 404 means they got a page not found error.  This is just some
script kiddie looking for problems.  I wouldn't worry about it.  If you
want to creat a servlet mapping that grabs these requests and then pipes
them off into the lala land of the never-ending-connection, please do.
It would help reduce their effect on the rest of the net.
--Angus

 -Original Message-
 From: Antony paul [mailto:[EMAIL PROTECTED] 
 Sent: Monday, August 11, 2003 8:11 AM
 To: tomcat mail list
 Subject: [OT] Some one executing windows commands in Tomcat 4.1.18.
 
 
 Hello,
 I have Tomcat standalone running on a local Intranet. The 
 server is
 windows 2000 SP2. Today while checking the access log files I 
 found the
 following lines
 xx.xx.xx.xx - - [11/Aug/2003:09:47:38 5050] GET 
 /scripts/root.exe?/c+dir
 HTTP/1.0 404 716
 xx.xx.xx.xx - - [11/Aug/2003:09:47:43 5050] GET 
 /MSADC/root.exe?/c+dir
 HTTP/1.0 404 710
 
 What does this mean ? Is there any vulnerability in Tomcat or this
 combination ?. I have uncommented the invoker servlet in 
 web.xml. Is it
 creating the problem ?.
 
 regards
 Antony Paul
 
 -
 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: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-12 Thread John Turner
Then contact your ISP's abuse center and tell them that a machine on 
their network is infected.  That's the only way it will go away, 
otherwise you will keep seeing it.

John

Antony paul wrote:

Althoug it is an intranet application Tomcat is listening on the public IP
address accessible from internet(temporary arrangement) and the IP address
in the log is out side the intranet but of same ISP. The IIS is not running
but we have some other web server program(probably apache) which listens on
this IP address.
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:08 PM
Subject: RE: [OT] Some one executing windows commands in Tomcat 4.1.18.
There is someone from xx.xx.xx.xx trying to use an IIS
vulnerability. If it's realy intranet your admin should
have a look at the offending pc if it is infected by a
virus. (Not shure out of the head if this is nimda, code
red or what else)
This vulnerability is not affecting tomcat.




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


Tomcat 4.1.18 and SQUID

2003-08-11 Thread Brian Peterson
Tomcat Experts,

I have the following setup.

(1)  Client App -- SQUID -- Tomcat 4.1.18
and
(2)  Client App -- Tomcat 4.1.18

Where Client App is a program, not a webuser.  When I remove SQUID, the
Client App seems to function normally.  With SQUID, I get an HTTP/1.0 100
Continue going back to the Client App, and then the Client App times out.  I
am not doing any special filtering on SQUID.

I've searched Google, Squid FAQ, Squid-users, the Tomcat-users archive.

I'm at a loss, anyone else seen this?  Any ideas?  Any help appreciated.

Thanks in advance!

Brian Peterson


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



RE: Tomcat 4.1.18 and SQUID

2003-08-11 Thread Brian Peterson
Let me try again.

I've done a lot of testing, and reading.

Tomcat doesn't honor a HTTP/1.0 Connection: keep-alive when it comes from
SQUID.  I've upgraded Tomcat to 4.1.27 (latest stable), and I am still
seeing these errors.  Any ideas?

Brian Peterson

-Original Message-
From: Brian Peterson [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 1:39 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 and SQUID


Tomcat Experts,

I have the following setup.

(1)  Client App -- SQUID -- Tomcat 4.1.18
and
(2)  Client App -- Tomcat 4.1.18

Where Client App is a program, not a webuser.  When I remove SQUID, the
Client App seems to function normally.  With SQUID, I get an HTTP/1.0 100
Continue going back to the Client App, and then the Client App times out.  I
am not doing any special filtering on SQUID.

I've searched Google, Squid FAQ, Squid-users, the Tomcat-users archive.

I'm at a loss, anyone else seen this?  Any ideas?  Any help appreciated.

Thanks in advance!

Brian Peterson


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



Tomcat 4.1.18 JSP reload issue

2003-08-03 Thread Greg H
We are running Tomcat 4.1.18 on Solaris 8 and have
been having issues with JSP reloading. We have 4
instances of Tomcat running on two boxes. There are
two instances on each box that are load balanced
through mod_jk. Because we are a content based site,
and most of our content is not database driven, we
deploy new JSP files at various intervals throughout
the day. At first we left the instances in development
mode which forced the JSP files to reload, but also
caused the Tomcat instances to fail under load. When
we turned the development settings to false and then
enabled reloading with checkInterval of 60 seconds we
had serious issues with JSP reloading. Sometimes the
instances would pick up the changes and then at others
none of the servers would pick up changes to the JSP
files. At first we thought it may be a timestamp
issue, but we were wrong as file edits on the machines
will still not force tomcat to reload the JSP. The
only way we can guarantee that all of the servers are
showing the proper content is to restart the
instances. At the current time we schedule restarts at
various intervals during the day but we need to fix
the problem. Has anyone had a similiar problem? 

At this point we are willing to try anything. I
appreciate any and all suggestions.

TIA,
Greg

 

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: Tomcat 4.1.18 JSP reload issue

2003-08-03 Thread Tim Funk
Sorry if this sounds stupid but, can you reproduce with 4.1.27? (Maybe by 
luck this issue is already fixed before more probing questions)

-Tim

Greg H wrote:
We are running Tomcat 4.1.18 on Solaris 8 and have
been having issues with JSP reloading. We have 4
instances of Tomcat running on two boxes. There are
two instances on each box that are load balanced
through mod_jk. Because we are a content based site,
and most of our content is not database driven, we
deploy new JSP files at various intervals throughout
the day. At first we left the instances in development
mode which forced the JSP files to reload, but also
caused the Tomcat instances to fail under load. When
we turned the development settings to false and then
enabled reloading with checkInterval of 60 seconds we
had serious issues with JSP reloading. Sometimes the
instances would pick up the changes and then at others
none of the servers would pick up changes to the JSP
files. At first we thought it may be a timestamp
issue, but we were wrong as file edits on the machines
will still not force tomcat to reload the JSP. The
only way we can guarantee that all of the servers are
showing the proper content is to restart the
instances. At the current time we schedule restarts at
various intervals during the day but we need to fix
the problem. Has anyone had a similiar problem? 

At this point we are willing to try anything. I
appreciate any and all suggestions.
TIA,
Greg
 

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.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]


Possible configuration error in JK2-Environment (Apache 2.0.46, Tomcat 4.1.18/24)

2003-08-01 Thread nospam
Hi,
i get the order  to  configure  a  new  webhost  with  apache  as  the
exclusive  connection.  Behind the apache should be in furher future a
tomcat farm on serveral servers. Therefor, i install (a) an blank ger-
man  linux-distribution (SuSE 8.2) with binaries for Apache 2.0.46 and
Tomcat 4.1.18; read (b) a lot of Documentation and change (c)  several
config-files.

The first goal, two running standalone  servers  with  one  donain,  i
reached  very  quickly. The second goal, standalone servers with named
virtual hosts(!), are a bit more complex, but reached too.

Now should hide tomcat behind the apache. I create the workers2.prop-
erties and the jk2.properties, set JkUri Statements in apaches vir-
tual host  section,  change  tomcats  server.xml  to  use  an  other
connector  and so one. In worst case, it happens nothing. In best case
i get an lot of errors if i ask the apache for  an  index.jsp.  This
implied  for  me,  that  the basic communication are existing, but the
speak suaheli and esperanto and don't understanding each other. It
was irrelevant what i do, as install the binaries of tomcat 4.1.24, or
tries other possibilities in the  config-files,  i  was  not  able  to
change  the  situation. In the best case (they talk together, or tries
at least) i get messages like following in apaches error log:

..[error] msgAjp.receive(): Bad signature 00
..[notice] BAD MESSAGE:  pos=4 len=4 max=8192
..[notice] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
..[error] channelSocket.receive(): Bad header
..[error] workerEnv.processCallbacks() Error reading reply
..[error] ajp13.service() ajpGetReply recoverable error 12

On tomcat side it look like:

.. PM org.apache.tomcat.util.log.CommonLogHandler log
SEVERE: Caught exception executing
[EMAIL PROTECTED], terminating thread
java.lang.NullPointerException
at org.apache.jk.common.ChannelSocket
  .processConnection  (ChannelSocket.java:597)
at org.apache.jk.common.SocketConnection
  .runIt  (ChannelSocket.java:707)
at org.apache.tomcat.util.threads
  .ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run  (Thread.java:536)

I think i have do all what i can. The next (and last)  step  are  take
the source-code and begin with debugging.

In the appendix i add more or less my config-files. I  build  an  hole
*.tar.bz2  with  the  complete  relevant  files (i think), but this is
with 38KB to big for the list. Therfor i add short snipplets from  the
right config-files.

Maybe had someone a running minimal configuration, or  know  where  is
one available.

Thanks for help.
Christian.

PS.:

The apache-error.log has for every apache-thread one line like follow:

..[error] jk2_init() Can't find child 12957 in scoreboard

Over this i readed a little bit in the mailing list, but the change of
the  start-sequence  don't kill this messages. Had it an effect of the
hole system?

 /etc/apache2/httpd.conf: ---

:
IfModule mod_jk2.c
  JkSet  config.file /etc/apache2/workers2.properties
/IfModule
:
NameVirtualHost *
VirtualHost*
  DocumentRoot  /opt/jakarta/tomcat/current/webapps/
  ServerNamebotanix-vhost00.muthpartners.de
  ServerAlias   botanix-vhost00.muthpartners
  ServerAlias   botanix-vhost00
  ErrorLog  /var/log/apache2/vhost00-error.log
  CustomLog /var/log/apache2/vhost00-access.log common

  JkSet  uri:botanix-vhost00/*.jsp.group  ajp13:localhost:9000

#  DirectoryIndex index.jsp

  Directory/opt/jakarta/tomcat/current/webapps
AllowOverride None
Options +Indexes +FollowSymLinks
Order   deny,allow
deny from   all
allow from  localhost
allow from  172.16.0
  /Directory
/VirtualHost
:

 /etc/apache2/workers2.properties ---

:
[logger.apache2]
level=DEBUG

[status:status]
info=Status Worker
debug=10

[shm]
debug=10
file=/opt/jakarta/tomcat/current/work/jk2.shm
size=1048576

[channel.socket:localhost:9000]
port=9000
host=127.0.0.1

[ajp13:localhost:9000]
channel=channel.socket:localhost:9000
:

/opt/jakarta/tomcat/node0/conf/server.xml ---

Server className=org.apache.catalina.core.StandardServer
debug=99 port=9099 shutdown=SHUTDOWN
 Service debug=99 name=Service00
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 acceptCount=10 bufferSize=2048 connectionTimeout=
 2 debug=99 disableUploadTimeout=true
 enableLookups=true maxProcessors=15 minProcessors=5
 port=9000 protocolHandlerClassName=
 org.apache.jk.server.JkCoyoteHandler proxyPort=0
 redirectPort=9043 scheme=http secure=false
 tcpNoDelay=true useURIValidationHack=false/
  Engine defaultHost=botanix-vhost00.muthpartners.de debug=99
  name=Engine00
   Host name=botanix-vhost00

Possible configuration error in JK2-Environment (Apache 2.0.46, Tomcat 4.1.18/24)

2003-07-31 Thread nospam
Hi,
i get the order  to  configure  a  new  webhost  with  apache  as  the
exclusive  connection.  Behind the apache should be in furher future a
tomcat farm on serveral servers. Therefor, i install (a) an blank ger-
man  linux-distribution (SuSE 8.2) with binaries for Apache 2.0.46 and
Tomcat 4.1.18; read (b) a lot of Documentation and change (c)  several
config-files.

The first goal, two running standalone  servers  with  one  donain,  i
reached  very  quickly. The second goal, standalone servers with named
virtual hosts(!), are a bit more complex, but reached too.

Now should hide tomcat behind the apache. I create the workers2.prop-
erties and the jk2.properties, set JkUri Statements in apaches vir-
tual host  section,  change  tomcats  server.xml  to  use  an  other
connector  and so one. In worst case, it happens nothing. In best case
i get an lot of errors if i ask the apache for  an  index.jsp.  This
implied  for  me,  that  the basic communication are existing, but the
speak suaheli and esperanto and don't understanding each other. It
was irrelevant what i do, as install the binaries of tomcat 4.1.24, or
tries other possibilities in the  config-files,  i  was  not  able  to
change  the  situation. In the best case (they talk together, or tries
at least) i get messages like following in apaches error log:

..[error] msgAjp.receive(): Bad signature 00
..[notice] BAD MESSAGE:  pos=4 len=4 max=8192
..[notice] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
..[error] channelSocket.receive(): Bad header
..[error] workerEnv.processCallbacks() Error reading reply
..[error] ajp13.service() ajpGetReply recoverable error 12

On tomcat side it look like:

.. PM org.apache.tomcat.util.log.CommonLogHandler log
SEVERE: Caught exception executing
[EMAIL PROTECTED], terminating thread
java.lang.NullPointerException
at org.apache.jk.common.ChannelSocket
  .processConnection  (ChannelSocket.java:597)
at org.apache.jk.common.SocketConnection
  .runIt  (ChannelSocket.java:707)
at org.apache.tomcat.util.threads
  .ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run  (Thread.java:536)

I think i have do all what i can. The next (and last)  step  are  take
the source-code and begin with debugging.

In the appendix i add more or less my config-files. I  build  an  hole
*.tar.bz2  with  the  complete  relevant  files (i think), but this is
with 38KB to big for the list. Therfor i add short snipplets from  the
right config-files.

Maybe had someone a running minimal configuration, or  know  where  is
one available.

Thanks for help.
Christian.

PS.:

The apache-error.log has for every apache-thread one line like follow:

..[error] jk2_init() Can't find child 12957 in scoreboard

Over this i readed a little bit in the mailing list, but the change of
the  start-sequence  don't kill this messages. Had it an effect of the
hole system?

 /etc/apache2/httpd.conf: ---

:
IfModule mod_jk2.c
  JkSet  config.file /etc/apache2/workers2.properties
/IfModule
:
NameVirtualHost *
VirtualHost*
  DocumentRoot  /opt/jakarta/tomcat/current/webapps/
  ServerNamebotanix-vhost00.muthpartners.de
  ServerAlias   botanix-vhost00.muthpartners
  ServerAlias   botanix-vhost00
  ErrorLog  /var/log/apache2/vhost00-error.log
  CustomLog /var/log/apache2/vhost00-access.log common

  JkSet  uri:botanix-vhost00/*.jsp.group  ajp13:localhost:9000

#  DirectoryIndex index.jsp

  Directory/opt/jakarta/tomcat/current/webapps
AllowOverride None
Options +Indexes +FollowSymLinks
Order   deny,allow
deny from   all
allow from  localhost
allow from  172.16.0
  /Directory
/VirtualHost
:

 /etc/apache2/workers2.properties ---

:
[logger.apache2]
level=DEBUG

[status:status]
info=Status Worker
debug=10

[shm]
debug=10
file=/opt/jakarta/tomcat/current/work/jk2.shm
size=1048576

[channel.socket:localhost:9000]
port=9000
host=127.0.0.1

[ajp13:localhost:9000]
channel=channel.socket:localhost:9000
:

/opt/jakarta/tomcat/node0/conf/server.xml ---

Server className=org.apache.catalina.core.StandardServer
debug=99 port=9099 shutdown=SHUTDOWN
 Service debug=99 name=Service00
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 acceptCount=10 bufferSize=2048 connectionTimeout=
 2 debug=99 disableUploadTimeout=true
 enableLookups=true maxProcessors=15 minProcessors=5
 port=9000 protocolHandlerClassName=
 org.apache.jk.server.JkCoyoteHandler proxyPort=0
 redirectPort=9043 scheme=http secure=false
 tcpNoDelay=true useURIValidationHack=false/
  Engine defaultHost=botanix-vhost00.muthpartners.de debug=99
  name=Engine00
   Host name=botanix-vhost00

Re: Possible configuration error in JK2-Environment (Apache 2.0.46,Tomcat 4.1.18/24)

2003-07-31 Thread Eric J. Pinnell
Hi,

Here is a minimal JK2 config.  This is a default config so you need to
change port 8009 below to port 9000 per your server.xml

workers2.properties:

bash-2.05$ more workers2.properties
[shm]
file=${serverRoot}/logs/shm.file
size=1048576

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping
[uri:/*]
worker=ajp13:localhost:8009

http.conf:  (change the path on the JkSet line for your system)

LoadModule jk2_module modules/mod_jk2.so
JkSet config.file /full/system/path/to/workers2.properties

jk2.properties should be all commented out.

server.xml should just the default JK2 settings.

That's it, nothing more nothing less.  It should work.  Then you want to
go back and adjust workers2.properties for your contexts, maybe add a
logger, whatever.

-e

On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote:

 Hi,
 i get the order  to  configure  a  new  webhost  with  apache  as  the
 exclusive  connection.  Behind the apache should be in furher future a
 tomcat farm on serveral servers. Therefor, i install (a) an blank ger-
 man  linux-distribution (SuSE 8.2) with binaries for Apache 2.0.46 and
 Tomcat 4.1.18; read (b) a lot of Documentation and change (c)  several
 config-files.

 The first goal, two running standalone  servers  with  one  donain,  i
 reached  very  quickly. The second goal, standalone servers with named
 virtual hosts(!), are a bit more complex, but reached too.

 Now should hide tomcat behind the apache. I create the workers2.prop-
 erties and the jk2.properties, set JkUri Statements in apaches vir-
 tual host  section,  change  tomcats  server.xml  to  use  an  other
 connector  and so one. In worst case, it happens nothing. In best case
 i get an lot of errors if i ask the apache for  an  index.jsp.  This
 implied  for  me,  that  the basic communication are existing, but the
 speak suaheli and esperanto and don't understanding each other. It
 was irrelevant what i do, as install the binaries of tomcat 4.1.24, or
 tries other possibilities in the  config-files,  i  was  not  able  to
 change  the  situation. In the best case (they talk together, or tries
 at least) i get messages like following in apaches error log:

 ..[error] msgAjp.receive(): Bad signature 00
 ..[notice] BAD MESSAGE:  pos=4 len=4 max=8192
 ..[notice] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ..[error] channelSocket.receive(): Bad header
 ..[error] workerEnv.processCallbacks() Error reading reply
 ..[error] ajp13.service() ajpGetReply recoverable error 12

 On tomcat side it look like:

 .. PM org.apache.tomcat.util.log.CommonLogHandler log
 SEVERE: Caught exception executing
 [EMAIL PROTECTED], terminating thread
 java.lang.NullPointerException
 at org.apache.jk.common.ChannelSocket
   .processConnection  (ChannelSocket.java:597)
 at org.apache.jk.common.SocketConnection
   .runIt  (ChannelSocket.java:707)
 at org.apache.tomcat.util.threads
   .ThreadPool$ControlRunnable.run(ThreadPool.java:530)
 at java.lang.Thread.run  (Thread.java:536)

 I think i have do all what i can. The next (and last)  step  are  take
 the source-code and begin with debugging.

 In the appendix i add more or less my config-files. I  build  an  hole
 *.tar.bz2  with  the  complete  relevant  files (i think), but this is
 with 38KB to big for the list. Therfor i add short snipplets from  the
 right config-files.

 Maybe had someone a running minimal configuration, or  know  where  is
 one available.

 Thanks for help.
 Christian.

 PS.:

 The apache-error.log has for every apache-thread one line like follow:

 ..[error] jk2_init() Can't find child 12957 in scoreboard

 Over this i readed a little bit in the mailing list, but the change of
 the  start-sequence  don't kill this messages. Had it an effect of the
 hole system?

  /etc/apache2/httpd.conf: ---

 :
 IfModule mod_jk2.c
   JkSet  config.file /etc/apache2/workers2.properties
 /IfModule
 :
 NameVirtualHost *
 VirtualHost*
   DocumentRoot  /opt/jakarta/tomcat/current/webapps/
   ServerNamebotanix-vhost00.muthpartners.de
   ServerAlias   botanix-vhost00.muthpartners
   ServerAlias   botanix-vhost00
   ErrorLog  /var/log/apache2/vhost00-error.log
   CustomLog /var/log/apache2/vhost00-access.log common

   JkSet  uri:botanix-vhost00/*.jsp.group  ajp13:localhost:9000

 #  DirectoryIndex index.jsp

   Directory/opt/jakarta/tomcat/current/webapps
 AllowOverride None
 Options +Indexes +FollowSymLinks
 Order   deny,allow
 deny from   all
 allow from  localhost
 allow from  172.16.0
   /Directory
 /VirtualHost
 :

  /etc/apache2/workers2.properties ---

 :
 [logger.apache2]
 level=DEBUG

 [status:status]
 info=Status Worker

Re: Possible configuration error in JK2-Environment (Apache 2.0.46,Tomcat 4.1.18/24)

2003-07-31 Thread Eric J. Pinnell
heh.  Sorry.  Forget the first line in my workers2.properties.

I got a little wild with my cut and paste.

-e

On Thu, 31 Jul 2003, Eric J. Pinnell wrote:

 Hi,

 Here is a minimal JK2 config.  This is a default config so you need to
 change port 8009 below to port 9000 per your server.xml

 workers2.properties:

 bash-2.05$ more workers2.properties
 [shm]
 file=${serverRoot}/logs/shm.file
 size=1048576

 # socket channel
 [channel.socket:localhost:8009]
 port=8009
 host=127.0.0.1

 # define the worker
 [ajp13:localhost:8009]
 channel=channel.socket:localhost:8009

 # Uri mapping
 [uri:/*]
 worker=ajp13:localhost:8009

 http.conf:  (change the path on the JkSet line for your system)

 LoadModule jk2_module modules/mod_jk2.so
 JkSet config.file /full/system/path/to/workers2.properties

 jk2.properties should be all commented out.

 server.xml should just the default JK2 settings.

 That's it, nothing more nothing less.  It should work.  Then you want to
 go back and adjust workers2.properties for your contexts, maybe add a
 logger, whatever.

 -e

 On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote:

  Hi,
  i get the order  to  configure  a  new  webhost  with  apache  as  the
  exclusive  connection.  Behind the apache should be in furher future a
  tomcat farm on serveral servers. Therefor, i install (a) an blank ger-
  man  linux-distribution (SuSE 8.2) with binaries for Apache 2.0.46 and
  Tomcat 4.1.18; read (b) a lot of Documentation and change (c)  several
  config-files.
 
  The first goal, two running standalone  servers  with  one  donain,  i
  reached  very  quickly. The second goal, standalone servers with named
  virtual hosts(!), are a bit more complex, but reached too.
 
  Now should hide tomcat behind the apache. I create the workers2.prop-
  erties and the jk2.properties, set JkUri Statements in apaches vir-
  tual host  section,  change  tomcats  server.xml  to  use  an  other
  connector  and so one. In worst case, it happens nothing. In best case
  i get an lot of errors if i ask the apache for  an  index.jsp.  This
  implied  for  me,  that  the basic communication are existing, but the
  speak suaheli and esperanto and don't understanding each other. It
  was irrelevant what i do, as install the binaries of tomcat 4.1.24, or
  tries other possibilities in the  config-files,  i  was  not  able  to
  change  the  situation. In the best case (they talk together, or tries
  at least) i get messages like following in apaches error log:
 
  ..[error] msgAjp.receive(): Bad signature 00
  ..[notice] BAD MESSAGE:  pos=4 len=4 max=8192
  ..[notice] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ..[error] channelSocket.receive(): Bad header
  ..[error] workerEnv.processCallbacks() Error reading reply
  ..[error] ajp13.service() ajpGetReply recoverable error 12
 
  On tomcat side it look like:
 
  .. PM org.apache.tomcat.util.log.CommonLogHandler log
  SEVERE: Caught exception executing
  [EMAIL PROTECTED], terminating thread
  java.lang.NullPointerException
  at org.apache.jk.common.ChannelSocket
.processConnection  (ChannelSocket.java:597)
  at org.apache.jk.common.SocketConnection
.runIt  (ChannelSocket.java:707)
  at org.apache.tomcat.util.threads
.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
  at java.lang.Thread.run  (Thread.java:536)
 
  I think i have do all what i can. The next (and last)  step  are  take
  the source-code and begin with debugging.
 
  In the appendix i add more or less my config-files. I  build  an  hole
  *.tar.bz2  with  the  complete  relevant  files (i think), but this is
  with 38KB to big for the list. Therfor i add short snipplets from  the
  right config-files.
 
  Maybe had someone a running minimal configuration, or  know  where  is
  one available.
 
  Thanks for help.
  Christian.
 
  PS.:
 
  The apache-error.log has for every apache-thread one line like follow:
 
  ..[error] jk2_init() Can't find child 12957 in scoreboard
 
  Over this i readed a little bit in the mailing list, but the change of
  the  start-sequence  don't kill this messages. Had it an effect of the
  hole system?
 
   /etc/apache2/httpd.conf: ---
 
  :
  IfModule mod_jk2.c
JkSet  config.file /etc/apache2/workers2.properties
  /IfModule
  :
  NameVirtualHost *
  VirtualHost*
DocumentRoot  /opt/jakarta/tomcat/current/webapps/
ServerNamebotanix-vhost00.muthpartners.de
ServerAlias   botanix-vhost00.muthpartners
ServerAlias   botanix-vhost00
ErrorLog  /var/log/apache2/vhost00-error.log
CustomLog /var/log/apache2/vhost00-access.log common
 
JkSet  uri:botanix-vhost00/*.jsp.group  ajp13:localhost:9000
 
  #  DirectoryIndex index.jsp
 
Directory/opt/jakarta/tomcat/current/webapps
  AllowOverride None
  Options +Indexes +FollowSymLinks

Tomcat 4.1.18 crash.

2003-07-29 Thread EXT / ALTIOR CABOU Carl (DRT)
Hi all.
I'm using Tomcat 4.1.18 with Axis 1.0.
Sometimes I must restart Tomcat because it crashes and hangs up (I only get
the message  Exception in thread main  in catalina.log).

I'm moving to Tomcat 4.1.24, maybe it will helps.

Any idea ?

Best regards.

Carl.

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



Re: Tomcat 4.1.18 crash.

2003-07-29 Thread Eric J. Pinnell
Hi,

If it hangs get a thread dump by sending a 'kill -QUIT' to the process
(Unix only).  That will tell you more of whats going on in the VM than the
logs do.  From it you can tell where the threads are getting stuck.
Hopefully that will point you in the right direction to debug.

I think there is a way to get a thread dump on Windows but I don't know
what it is.  Google is your friend.

Reading the thread dump might be a little confusing if you haven't done it
before.  Again, google is you friend.

-e

On Tue, 29 Jul 2003, EXT / ALTIOR CABOU Carl (DRT) wrote:

 Hi all.
 I'm using Tomcat 4.1.18 with Axis 1.0.
 Sometimes I must restart Tomcat because it crashes and hangs up (I only get
 the message  Exception in thread main  in catalina.log).

 I'm moving to Tomcat 4.1.24, maybe it will helps.

 Any idea ?

 Best regards.

 Carl.

 -
 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: Tomcat 4.1.18 crash.

2003-07-29 Thread Shapira, Yoav

Howdy,
Moving to 4.1.24 can't hurt.  Telling us the whole exception message,
including the full stack trace, can't hurt either ;)

I like your trains, btw.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: EXT / ALTIOR CABOU Carl (DRT) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:05 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 4.1.18 crash.

Hi all.
I'm using Tomcat 4.1.18 with Axis 1.0.
Sometimes I must restart Tomcat because it crashes and hangs up (I only
get
the message  Exception in thread main  in catalina.log).

I'm moving to Tomcat 4.1.24, maybe it will helps.

Any idea ?

Best regards.

Carl.

-
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: Tomcat 4.1.18 crash.

2003-07-29 Thread EXT / ALTIOR CABOU Carl (DRT)
Thanks Eric.
I'm using Linux, so I'll try 'kill -QUIT' next time it arrives.

Thanks a lot.

Carl.

-Message d'origine-
De : Eric J. Pinnell [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 juillet 2003 15:02
À : Tomcat Users List
Objet : Re: Tomcat 4.1.18 crash.


Hi,

If it hangs get a thread dump by sending a 'kill -QUIT' to the process
(Unix only).  That will tell you more of whats going on in the VM than the
logs do.  From it you can tell where the threads are getting stuck.
Hopefully that will point you in the right direction to debug.

I think there is a way to get a thread dump on Windows but I don't know
what it is.  Google is your friend.

Reading the thread dump might be a little confusing if you haven't done it
before.  Again, google is you friend.

-e

On Tue, 29 Jul 2003, EXT / ALTIOR CABOU Carl (DRT) wrote:

 Hi all.
 I'm using Tomcat 4.1.18 with Axis 1.0.
 Sometimes I must restart Tomcat because it crashes and hangs up (I only
get
 the message  Exception in thread main  in catalina.log).

 I'm moving to Tomcat 4.1.24, maybe it will helps.

 Any idea ?

 Best regards.

 Carl.

 -
 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: Tomcat 4.1.18 crash.

2003-07-29 Thread EXT / ALTIOR CABOU Carl (DRT)
If I had some more than Exception in thread main, I would have post it.

Thanks.
Carl.

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 juillet 2003 15:04
À : Tomcat Users List
Objet : RE: Tomcat 4.1.18 crash.



Howdy,
Moving to 4.1.24 can't hurt.  Telling us the whole exception message,
including the full stack trace, can't hurt either ;)

I like your trains, btw.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: EXT / ALTIOR CABOU Carl (DRT) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:05 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 4.1.18 crash.

Hi all.
I'm using Tomcat 4.1.18 with Axis 1.0.
Sometimes I must restart Tomcat because it crashes and hangs up (I only
get
the message  Exception in thread main  in catalina.log).

I'm moving to Tomcat 4.1.24, maybe it will helps.

Any idea ?

Best regards.

Carl.

-
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: Tomcat 4.1.18 crash.

2003-07-29 Thread EXT / ALTIOR CABOU Carl (DRT)
I meant  ... next time it happens ...

-Message d'origine-
De : EXT / ALTIOR CABOU Carl (DRT) [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 juillet 2003 15:16
À : 'Tomcat Users List'
Objet : RE: Tomcat 4.1.18 crash.


Thanks Eric.
I'm using Linux, so I'll try 'kill -QUIT' next time it arrives.

Thanks a lot.

Carl.

-Message d'origine-
De : Eric J. Pinnell [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 juillet 2003 15:02
À : Tomcat Users List
Objet : Re: Tomcat 4.1.18 crash.


Hi,

If it hangs get a thread dump by sending a 'kill -QUIT' to the process
(Unix only).  That will tell you more of whats going on in the VM than the
logs do.  From it you can tell where the threads are getting stuck.
Hopefully that will point you in the right direction to debug.

I think there is a way to get a thread dump on Windows but I don't know
what it is.  Google is your friend.

Reading the thread dump might be a little confusing if you haven't done it
before.  Again, google is you friend.

-e

On Tue, 29 Jul 2003, EXT / ALTIOR CABOU Carl (DRT) wrote:

 Hi all.
 I'm using Tomcat 4.1.18 with Axis 1.0.
 Sometimes I must restart Tomcat because it crashes and hangs up (I only
get
 the message  Exception in thread main  in catalina.log).

 I'm moving to Tomcat 4.1.24, maybe it will helps.

 Any idea ?

 Best regards.

 Carl.

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



Help! Symbolic Links and Tomcat 4.1.18

2003-07-10 Thread Pat Pomatto
Has anyone gotten symbolic links working with Tomcat 4.1.18? I inserted
into my server.xml:

 

Context path=/MyApp docBase=webapps/Media debug=0
   Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true  /
/Context
 
 

the docBase is set to an images directory that I want all my web
applications to share. Once Tomcat is restarted errors get thrown. Am I
completely off base? Does anyone have a suggestion how to share images
among all of your web applications? Please any and all suggestion
greatly appreciated.

 

Pat Pomatto

 



Re: Help! Symbolic Links and Tomcat 4.1.18

2003-07-10 Thread Matt Swensson
What if you just set up a symbolic link inside the
webapp itself going to the actual directory.  

for example you have a directory /media/ - in your
webapps you create a symbolic link to the media
directory but access it as if it is a local dir.
../webapps/myWebApp/media-/media/


 Has anyone gotten symbolic links working with Tomcat
 4.1.18? I inserted
 into my server.xml:
 
  
 
 Context path=/MyApp docBase=webapps/Media
 debug=0
Resources

className=org.apache.naming.resources.FileDirContext
 allowLinking=true  /
 /Context
  
  
 
 the docBase is set to an images directory that I
 want all my web
 applications to share. Once Tomcat is restarted
 errors get thrown. Am I
 completely off base? Does anyone have a suggestion
 how to share images
 among all of your web applications? Please any and
 all suggestion
 greatly appreciated.
 
  
 
 Pat Pomatto
 
  
 
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



RE: Help! Symbolic Links and Tomcat 4.1.18

2003-07-10 Thread Pat Pomatto
Should I still edit my server.xml? I also should mention I'm running IIS
as a server and using Virtual Directories for sym links. I tried virtual
directories without editing the server.xml but that did not work at all.


-Original Message-
From: Matt Swensson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 10, 2003 4:37 PM
To: Tomcat Users List
Subject: Re: Help! Symbolic Links and Tomcat 4.1.18

What if you just set up a symbolic link inside the
webapp itself going to the actual directory.  

for example you have a directory /media/ - in your
webapps you create a symbolic link to the media
directory but access it as if it is a local dir.
../webapps/myWebApp/media-/media/


 Has anyone gotten symbolic links working with Tomcat
 4.1.18? I inserted
 into my server.xml:
 
  
 
 Context path=/MyApp docBase=webapps/Media
 debug=0
Resources

className=org.apache.naming.resources.FileDirContext
 allowLinking=true  /
 /Context
  
  
 
 the docBase is set to an images directory that I
 want all my web
 applications to share. Once Tomcat is restarted
 errors get thrown. Am I
 completely off base? Does anyone have a suggestion
 how to share images
 among all of your web applications? Please any and
 all suggestion
 greatly appreciated.
 
  
 
 Pat Pomatto
 
  
 
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.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: Help! Symbolic Links and Tomcat 4.1.18

2003-07-10 Thread Matt Swensson
I don't have experience with IIS so I am not sure how
symbolic links should be working.

wish i could be of more help.
what are the errors being thrown?


 Should I still edit my server.xml? I also should
 mention I'm running IIS
 as a server and using Virtual Directories for sym
 links. I tried virtual
 directories without editing the server.xml but that
 did not work at all.
 
 
 -Original Message-
 Sent: Thursday, July 10, 2003 4:37 PM
 To: Tomcat Users List
 Subject: Re: Help! Symbolic Links and Tomcat 4.1.18
 
 What if you just set up a symbolic link inside the
 webapp itself going to the actual directory.  
 
 for example you have a directory /media/ - in your
 webapps you create a symbolic link to the media
 directory but access it as if it is a local dir.
 ../webapps/myWebApp/media-/media/
 
 
  Has anyone gotten symbolic links working with
 Tomcat
  4.1.18? I inserted
  into my server.xml:
  
   
  
  Context path=/MyApp docBase=webapps/Media
  debug=0
 Resources
 

className=org.apache.naming.resources.FileDirContext
  allowLinking=true  /
  /Context
   
   
  
  the docBase is set to an images directory that I
  want all my web
  applications to share. Once Tomcat is restarted
  errors get thrown. Am I
  completely off base? Does anyone have a suggestion
  how to share images
  among all of your web applications? Please any and
  all suggestion
  greatly appreciated.
  
   
  
  Pat Pomatto
  
   
  
  
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.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]
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Re: Help! Symbolic Links and Tomcat 4.1.18

2003-07-10 Thread Bill Barker
a) allowLinking doesn't work right in 4.1.18.  You need
caseSensitive=false as well.
b) I wasn't aware that Windows supported symlinks.
c) It looks like you have a mis-match between your Tomcat Context paths, and
your IIS VirtualDirectories.

Pat Pomatto [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Should I still edit my server.xml? I also should mention I'm running IIS
 as a server and using Virtual Directories for sym links. I tried virtual
 directories without editing the server.xml but that did not work at all.


 -Original Message-
 From: Matt Swensson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 10, 2003 4:37 PM
 To: Tomcat Users List
 Subject: Re: Help! Symbolic Links and Tomcat 4.1.18

 What if you just set up a symbolic link inside the
 webapp itself going to the actual directory.

 for example you have a directory /media/ - in your
 webapps you create a symbolic link to the media
 directory but access it as if it is a local dir.
 ../webapps/myWebApp/media-/media/


  Has anyone gotten symbolic links working with Tomcat
  4.1.18? I inserted
  into my server.xml:
 
 
 
  Context path=/MyApp docBase=webapps/Media
  debug=0
 Resources
 
 className=org.apache.naming.resources.FileDirContext
  allowLinking=true  /
  /Context
 
 
 
  the docBase is set to an images directory that I
  want all my web
  applications to share. Once Tomcat is restarted
  errors get thrown. Am I
  completely off base? Does anyone have a suggestion
  how to share images
  among all of your web applications? Please any and
  all suggestion
  greatly appreciated.
 
 
 
  Pat Pomatto
 
 
 
 


 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.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]



Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Hi,
I try to setup Apache-Tomcat using Apache Apache
2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2
connector), and whenever I try to browse to any JSP
page, I get this error:

Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete your
request.

Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time the
error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in
the server error log.




Apache/2.0.46 (Win32) mod_jk2/2.0.2 Server at laptop1
Port 80

In the file error.log of Apache, I get:
Tue Jul 01 02:46:21 2003] [error] workerEnv.init()
create slot epStat.0 failed
[Tue Jul 01 02:46:21 2003] [error] mod_jk.handler()
Error connecting to tomcat 12

My configuration is based on this guide:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

and I am sure that I follow the steps exactly.

Do you have any suggestion ?
Thank you very much.



__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Hi,
I try to setup Apache-Tomcat using Apache Apache
2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2
connector), and whenever I try to browse to any JSP
page, I get this error:

Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete your
request.

Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time the
error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in
the server error log.




Apache/2.0.46 (Win32) mod_jk2/2.0.2 Server at laptop1
Port 80

In the file error.log of Apache, I get:
Tue Jul 01 02:46:21 2003] [error] workerEnv.init()
create slot epStat.0 failed
[Tue Jul 01 02:46:21 2003] [error] mod_jk.handler()
Error connecting to tomcat 12

My configuration is based on this guide:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

and I am sure that I follow the steps exactly.

Do you have any suggestion ?
Thank you very much.



__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Tomcat 4.1.18 as NT Service JVM property

2003-07-01 Thread Renato Romano
I have to put a system property on the command line of the tomcat
starting script, but I would like to start it as a Service (on a windows
machine); i tried using CATALINA_OPTS defined as a system environment
variable, but it doesn't seem to work. Release 4.1.18 already installs
the service, but I don't know where to set the property (-Dvar=val) for
the JVM.
Any help appreciated
Renato


Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_



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



Re: Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread John Turner
http://www.greenfieldresearch.ca/technical/jk2_config.html

John

On Mon, 30 Jun 2003 23:49:06 -0700 (PDT), Nguyen Anh Tuan 
[EMAIL PROTECTED] wrote:

Hi,
I try to setup Apache-Tomcat using Apache Apache
2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2
connector), and whenever I try to browse to any JSP
page, I get this error:
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete your
request.
Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time the
error occurred, and anything you might have done that
may have caused the error.
More information about this error may be available in
the server error log.
-- 

--

Apache/2.0.46 (Win32) mod_jk2/2.0.2 Server at laptop1
Port 80
In the file error.log of Apache, I get:
Tue Jul 01 02:46:21 2003] [error] workerEnv.init()
create slot epStat.0 failed
[Tue Jul 01 02:46:21 2003] [error] mod_jk.handler()
Error connecting to tomcat 12
My configuration is based on this guide:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

and I am sure that I follow the steps exactly.

Do you have any suggestion ?
Thank you very much.


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Thank you, John.
I guess that my problem is the version 2.0.43 of
mod_jk2 is not compatible with the version 2.0.46 of
Apache. 



--- John Turner [EMAIL PROTECTED] wrote:
 

http://www.greenfieldresearch.ca/technical/jk2_config.html
 
 John
 
 On Mon, 30 Jun 2003 23:49:06 -0700 (PDT), Nguyen Anh
 Tuan 
 [EMAIL PROTECTED] wrote:
 
  Hi,
  I try to setup Apache-Tomcat using Apache Apache
  2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2
  connector), and whenever I try to browse to any
 JSP
  page, I get this error:
 
  Internal Server Error
  The server encountered an internal error or
  misconfiguration and was unable to complete your
  request.
 
  Please contact the server administrator,
  [EMAIL PROTECTED] and inform them of the time
 the
  error occurred, and anything you might have done
 that
  may have caused the error.
 
  More information about this error may be available
 in
  the server error log.
 
 
 

--
 
 
 
  --
 
  Apache/2.0.46 (Win32) mod_jk2/2.0.2 Server at
 laptop1
  Port 80
 
  In the file error.log of Apache, I get:
  Tue Jul 01 02:46:21 2003] [error] workerEnv.init()
  create slot epStat.0 failed
  [Tue Jul 01 02:46:21 2003] [error]
 mod_jk.handler()
  Error connecting to tomcat 12
 
  My configuration is based on this guide:
 
 

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
 
  and I am sure that I follow the steps exactly.
 
  Do you have any suggestion ?
  Thank you very much.
 
 
 
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 -- 
 Using M2, Opera's revolutionary e-mail client:
 http://www.opera.com/m2/
 

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


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Tomcat 4.1.18 + Mod_JK + Apache 2.0.43

2003-06-30 Thread Chakravarthy, Sundar

Hi,

We have Apache with mod_jk on Solaris 8 load-balanced with 2 local
Tomcats.
What I notice is that mod_jk seems to be sending all requests to only
one Tomcat . If it fails the other Tomcat gets all the requests again
i.e mod_jk seems to be doing failover but not load-balancing. 

Any suggestions ? 

Thanks
Sundar

workers.properties 
#


#Define 1 real worker using ajp13

worker.list=loadbalancer

# Set propeties for worker1 (ajp13)

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=11009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=12009
worker.worker2.lbfactor=50
worker.worker2.cachesize=10
worker.worker2.cache_timeout=600
worker.worker2.socket_keepalive=1
worker.worker2.socket_timeout=300

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker1,worker2
#



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



RE: Tomcat 4.1.18 won't reload deleted and re-created JSP pages, returns 404 error though JSP is there

2003-06-26 Thread Florian G. Haas
Hello Peter,

| -Original Message-
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, June 25, 2003 12:44 PM
| 
| do you have reloadalble set to true
| in your server.xml ?

Not quite sure if that question was addressed to Paul or me. As for my part, as 
indicated earlier, yes, reloadable is set to true.

Hope that helps narrow down the issue,
best regards,

Florian

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



Tomcat 4.1.18 won't reload deleted and re-created JSP pages, returns 404 error though JSP is there

2003-06-25 Thread Florian G. Haas
Hello,

forgive my intrusion, it's usually not my style to start posting to a list I haven't 
previously lurked on for a while. This issue baffles me, though, and I haven't been 
able to find any information to even give me the feeling of heading in the right 
direction.

Using Tomcat 4.1.18 on a Red Hat Linux 7.2 box with JDK 1.3.1_06, JSP pages on the 
system are created and deleted automagically by a CMS. When the CMS deletes a 
previously published JSP, attempting to access that document of course results in a 
404 error. Re-publishing the same document, however, doesn't change the situation at 
all; Tomcat still issues the 404 even though the JSP is again there. Jasper never 
seems to pick up the JSP; the .java and .class files in the work folder are never 
updated. The only current way of being able to access the file again is to restart 
Tomcat.

The default Jasper settings in the global web.xml are unchanged, the development 
init-param is set to true. The webapp's Context has reloadable=true, its Host has 
autoDeploy=true and liveDeploy=true. The file is owned by the Tomcat user and has 
a mode of 0664.

The problem applies regardless of whether the document is accessed through a Tomcat 
standalone connector or via Apache and mod_jk2.

Any clues will be greatly appreciated.

Thanks very much in advance,
Florian

--
Florian G. Haas

hico .:. Informations- und Kommunikations- Management Ges.m.b.H.
TechLab .:. Thomas A. Edison Str. 2
A-7000 Eisenstadt .:. Austria 
Phone: +43 (2682) 704 6141
Cellular: +43 (664) 410 2703
Fax: +43 (2682) 704 6110

[EMAIL PROTECTED]
www.hico.com


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



RE: Tomcat 4.1.18 won't reload deleted and re-created JSP pages, returns 404 error though JSP is there

2003-06-25 Thread Paul \(BRI\)
Florian, Just as a side note, I know I have to constantly delete out the
/work/Standalone/localhost/xxx directory and start/stop tomcat
(4.1.18/RedHat 7.2) to see my new pages. If I add a new JSP, delete the
/work/Standalone/localhost/xxx, and then don't restart, I get a 404
error. If I don't delete those files I of course see the old page -  I
also have my settings to development. I am using Tomcat as a standalone.
So I would also be interested in others experience with this. Paul

-Original Message-
From: Florian G. Haas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 25, 2003 5:20 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 won't reload deleted and re-created JSP pages,
returns 404 error though JSP is there


Hello,

forgive my intrusion, it's usually not my style to start posting to a
list I haven't previously lurked on for a while. This issue baffles me,
though, and I haven't been able to find any information to even give me
the feeling of heading in the right direction.

Using Tomcat 4.1.18 on a Red Hat Linux 7.2 box with JDK 1.3.1_06, JSP
pages on the system are created and deleted automagically by a CMS. When
the CMS deletes a previously published JSP, attempting to access that
document of course results in a 404 error. Re-publishing the same
document, however, doesn't change the situation at all; Tomcat still
issues the 404 even though the JSP is again there. Jasper never seems to
pick up the JSP; the .java and .class files in the work folder are never
updated. The only current way of being able to access the file again is
to restart Tomcat.

The default Jasper settings in the global web.xml are unchanged, the
development init-param is set to true. The webapp's Context has
reloadable=true, its Host has autoDeploy=true and liveDeploy=true.
The file is owned by the Tomcat user and has a mode of 0664.

The problem applies regardless of whether the document is accessed
through a Tomcat standalone connector or via Apache and mod_jk2.

Any clues will be greatly appreciated.

Thanks very much in advance,
Florian

--
Florian G. Haas

hico .:. Informations- und Kommunikations- Management Ges.m.b.H. TechLab
.:. Thomas A. Edison Str. 2 A-7000 Eisenstadt .:. Austria 
Phone: +43 (2682) 704 6141
Cellular: +43 (664) 410 2703
Fax: +43 (2682) 704 6110

[EMAIL PROTECTED]
www.hico.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: Tomcat 4.1.18 won't reload deleted and re-created JSP pages, returns 404 error though JSP is there

2003-06-25 Thread Peter.Kerekes
do you have reloadalble set to true
in your server.xml ?

 
 Florian, Just as a side note, I know I have to constantly 
 delete out the
 /work/Standalone/localhost/xxx directory and start/stop tomcat
 (4.1.18/RedHat 7.2) to see my new pages. If I add a new JSP, 
 delete the
 /work/Standalone/localhost/xxx, and then don't restart, I get a 404
 error. If I don't delete those files I of course see the old page -  I
 also have my settings to development. I am using Tomcat as a 
 standalone.
 So I would also be interested in others experience with this. Paul
 

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



Problems Setting up Tomcat 4.1.18 on W2K

2003-06-18 Thread Oliver . Methfessel
Hi There,

I'm trying to use Tomcat 4.1.18 on my local Machine, but it won't work.

When I try to open the index.jsp it says me:

Error 500
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

The Env-Variables in Windows (Catalina_home, Java_Home, Path, Classpath) 
are setten correctly.
In the work/standalone/localhost/- Directory he creates the file 
index-jsp.java, but no .class file like on other machines running Tomcat .

My it be a problem with my rights on my local machine? Or is it something 
other?

Thx

Oliver

jsp:getProperty Bug in TomCat 4.1.18 (running log attached) - stop using tomcat

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
In TomCat 4.1.18, its impossible to get any bean content as bellow! The
TomCat's running process seems to be WRONG.Why? The code bellow is correct,
and runs fine in OC4J! Unfortunately, I am thinking in stop using TomCat
forever...
Euclides.

-
font class=Style_1a
href=http://wtrjo210/ConsultaDica?pagina=pagina_atualindice=i;Bjsp:get
Property name=dica property=nomeDica //B/a/font
-

But, this  bean property is well defined into my Javabeans!!!

Take a look at the log running process of Tomcat:
 dica = (euc.Dica) pageContext.getAttribute(dica, PageContext.PAGE_SCOPE);
if (dica == null){
  try {
dica = (euc.Dica)
java.beans.Beans.instantiate(this.getClass().getClassLoader(), euc.Dica);
  } catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
  } catch (Exception exc) {
throw new ServletException(Cannot create bean of class  +
euc.Dica, exc);
  }
  pageContext.setAttribute(dica, dica, PageContext.PAGE_SCOPE);
}


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



Tomcat 4.1.18 Can't find any files

2003-06-04 Thread Lior Shliechkorn
Hello,
 
I've upgraded over to 4.1.18 from 4.0.5 and I figured that the transition should be 
quite easy...always assuming I suppose. I'm using Windows 2k, IIS 5 with now 4.1.18.
 
Are there any steps that differ in the installations of both versions that I might 
have overlooked. I've went through all the steps, and have the isapi_redirect.dll file 
copied over from the bin/native to the new install bin/native directory. Under IIS all 
arrows are green.
 
I can see my login page, however, when I try to log in I get a HTTP 500 page cannot be 
displayed. I'm not sure why this would be happening. Any help would be greatly 
appreciated.
 
Thanks you very much for you time,
 
Lior


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

RE: Tomcat 4.1.18 Can't find any files

2003-06-04 Thread Shapira, Yoav

Howdy,
Does your application require the invoker servlet -- i.e. do you rely on
tomcat mapping URLs like
http://host/context/servlet/com.yourcompany.yourservlet to the
appropriate servlet?  If so, you may need to comment in the invoker
servlet or map the relevant servlets in your web.xml.

Regardless, the tomcat logs will tell you the root cause of the 500
errors.  Check the localhost_[date] log file.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 3:15 PM
To: Tomcat
Subject: Tomcat 4.1.18 Can't find any files

Hello,

I've upgraded over to 4.1.18 from 4.0.5 and I figured that the
transition
should be quite easy...always assuming I suppose. I'm using Windows 2k,
IIS
5 with now 4.1.18.

Are there any steps that differ in the installations of both versions
that
I might have overlooked. I've went through all the steps, and have the
isapi_redirect.dll file copied over from the bin/native to the new
install
bin/native directory. Under IIS all arrows are green.

I can see my login page, however, when I try to log in I get a HTTP 500
page cannot be displayed. I'm not sure why this would be happening. Any
help would be greatly appreciated.

Thanks you very much for you time,

Lior


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).



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: Tomcat 4.1.18 Can't find any files

2003-06-04 Thread Lior Shliechkorn
My application does take mapping for servlets such as 
www.domain.coom/context/servlet/ServletName, which I didn't think would really matter 
when moving a version ahead...or would need to be changed.
 
One thing I am getting is an error with the isapi.log file:
 
[Tue Jun 03 13:35:12 2003]  [jk_isapi_plugin.c (920)]: Unable to read worker mount 
file C:\Tomcat\conf\uriworkermap.properties.
 
Any ideas why this would be happening?
 
Thanks.

Shapira, Yoav [EMAIL PROTECTED] wrote:

Howdy,
Does your application require the invoker servlet -- i.e. do you rely on
tomcat mapping URLs like
http://host/context/servlet/com.yourcompany.yourservlet to the
appropriate servlet? If so, you may need to comment in the invoker
servlet or map the relevant servlets in your web.xml.

Regardless, the tomcat logs will tell you the root cause of the 500
errors. Check the localhost_[date] log file.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 3:15 PM
To: Tomcat
Subject: Tomcat 4.1.18 Can't find any files

Hello,

I've upgraded over to 4.1.18 from 4.0.5 and I figured that the
transition
should be quite easy...always assuming I suppose. I'm using Windows 2k,
IIS
5 with now 4.1.18.

Are there any steps that differ in the installations of both versions
that
I might have overlooked. I've went through all the steps, and have the
isapi_redirect.dll file copied over from the bin/native to the new
install
bin/native directory. Under IIS all arrows are green.

I can see my login page, however, when I try to log in I get a HTTP 500
page cannot be displayed. I'm not sure why this would be happening. Any
help would be greatly appreciated.

Thanks you very much for you time,

Lior


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).



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]


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

RE: tomcat 4.1.18/24 unstable (UPDATE)

2003-05-29 Thread Shapira, Yoav

Howdy,
Thanks for posting the update.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: joseph lam [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 10:18 PM
To: Tomcat Users List
Subject: Re: tomcat 4.1.18/24 unstable (UPDATE)

I just found out what caused the 'ESTABLISHED' connection piling up
problem. It was due to a javascript form.submit() triggered by pressing
'Enter' key which causes IE to double submit the form. What it does so
it will first submit the form, then quickly send a reset and submit it
again. That seems to confuse Tomcat. After fixing the Javascript the
problem is largely gone.

Joseph

joseph lam wrote:

 I also had the same problem with both 4.1.18 and 24. Now I resort to
 setting a high maxProcessor (e.g. 800) and restart the tomcat once
the
 connections are reaching that. I also found that those 'ESTABLISHED'
 connections would stay forever eating up sockets and tomcat
 connectors. I've also tried to tune the ipv4 kernel settings for
 example to shorten the keep alive timeout but no luck.

 I'm using Redhat 7.3 and Sun JDK 1.4.1_02.

 Joseph

 Eric Roberts wrote:

 We currently have secure web services deployed within tomcat 4.1.18
 using axis.  We have 4 or 5 backend information providers submitting
 information to the web service every 5 minutes.  Every so often I
can
 run a 'netstat -an | grep 8443' and see roughly 100+ connections
with
 the ESTABLISHED status.  It seems as though the connections are
hanging
 from the tomcat end.  Has anyone else experienced this?
 ( the limit of connections in tomcat is set to 100, time out is
2 in
 server.xml )

 Thanks in advance





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




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: tomcat 4.1.18/24 unstable (UPDATE)

2003-05-27 Thread joseph lam
I just found out what caused the 'ESTABLISHED' connection piling up 
problem. It was due to a javascript form.submit() triggered by pressing 
'Enter' key which causes IE to double submit the form. What it does so 
it will first submit the form, then quickly send a reset and submit it 
again. That seems to confuse Tomcat. After fixing the Javascript the 
problem is largely gone.

Joseph

joseph lam wrote:

I also had the same problem with both 4.1.18 and 24. Now I resort to 
setting a high maxProcessor (e.g. 800) and restart the tomcat once the 
connections are reaching that. I also found that those 'ESTABLISHED' 
connections would stay forever eating up sockets and tomcat 
connectors. I've also tried to tune the ipv4 kernel settings for 
example to shorten the keep alive timeout but no luck.

I'm using Redhat 7.3 and Sun JDK 1.4.1_02.

Joseph

Eric Roberts wrote:

We currently have secure web services deployed within tomcat 4.1.18
using axis.  We have 4 or 5 backend information providers submitting
information to the web service every 5 minutes.  Every so often I can
run a 'netstat -an | grep 8443' and see roughly 100+ connections with
the ESTABLISHED status.  It seems as though the connections are hanging
from the tomcat end.  Has anyone else experienced this? 
( the limit of connections in tomcat is set to 100, time out is 2 in
server.xml )

Thanks in advance

 



-
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: Tomcat 4.1.18-4.1.24 causes standard tag to fail

2003-04-05 Thread johannes . fiala
/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
namescope/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
  /tag

  tag
nameurl/name
tag-classorg.apache.taglibs.standard.tag.el.core.UrlTag/tag-class
body-contentJSP/body-content
description
Prints or exposes a URL with optional query parameters
(via the c:param tag).
/description
attribute
namevar/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
namescope/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
namevalue/name
requiredtrue/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
namecontext/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
  /tag

  tag
namewhen/name
tag-classorg.apache.taglibs.standard.tag.el.core.WhenTag/tag-class
body-contentJSP/body-content
description
Subtag of lt;choosegt; that includes its body if its
condition evalutes to 'true'
/description
attribute
nametest/name
requiredtrue/required
rtexprvaluefalse/rtexprvalue
/attribute
  /tag

/taglib


cheers
johannes




Nikolaos Giannopoulos [EMAIL PROTECTED] 
05.04.2003 00:09
Please respond to
Tomcat Users List [EMAIL PROTECTED]


To
Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED]
cc

Subject
RE: Tomcat 4.1.18-4.1.24 causes standard tag to fail








 -Original Message-
 From: Jim Henderson [mailto:[EMAIL PROTECTED]

 %@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
 %@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %

snip

 My application's .war file contains the core tag library.

I'm a Java developer (although I haven't used taglibs yet) but if the 
taglib
is in your war file then why are you referencing sun's site as the uri for
the tag lib.

In general, I would suggest not doing this, even if you planned it this 
way
as you want to always be in control of what gets deployed - assuming that 
I
am understanding this taglib uri parameter correctly.

As far as working in 4.1.18 and not in 4.1.24 maybe chokes on the fact 
that
it can't get the resource from SUN (I tried the uri and got a page not
found) but in 4.1.18 maybe it simply ignores the fact that its not there 
and
finds it in your war (and thus is happy).

HTH.

--Nikolaos



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




Tomcat 4.1.18-4.1.24 causes standard tag to fail

2003-04-04 Thread Jim Henderson

I had been running my application with Tomcat 4.1.18 (full version) and Java
1.4.1_2-b06 under Redhat Linux 8 without problems.
However, once I switched to Tomcat 4.1.24 (full version) I get the following
error first time a page is displayed:


org.apache.jasper.JasperException: /jsp/FolderPage.jsp(88,7) No such tag
import in the tag library imported with prefix c
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:94)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428
)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219
)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:705)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)


The .jsp page is as follows (parts removed):


%@ page language=java  contentType=text/html %
%@ taglib prefix=MFnet uri=mfnettags.tld %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
%@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %
HTML
   HEAD
  TITLEFolderPage/TITLE
  META http-equiv=Content-Type content=text/html;
charset=iso-8859-1
   /HEAD
   BODY bgcolor=#FF text=#00
onLoad=javascript:updateStatus();
   MFnet:findDocuments
  userID  = %= userID %
  libraryName = %= searchLib %
  searchStmt  = %= searchStmt %
  webSearchID = %= searchKey %
  startDatePriorUnit  = %= searchBackUnit %
  startDatePriorUnitCount = %= searchBackCount %
   /
   c:import url=treeFolder.xsl var=stylesheet /
   x:transform xslt=${stylesheet}  %= xmlFolderInfo %
/x:transform
   /body
/html


Anyone know what happened between 4.1.18 and 4.1.24 of Tomcat that would
cause the error?  I deployed my application in both versions the same way (I
retraced my steps twice).  The first JSP page (does not use any standard
tags) is generated OK.

My application's .war file contains the core tag library.


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



RE: Tomcat 4.1.18-4.1.24 causes standard tag to fail

2003-04-04 Thread Nikolaos Giannopoulos


 -Original Message-
 From: Jim Henderson [mailto:[EMAIL PROTECTED]

 %@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
 %@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %

snip

 My application's .war file contains the core tag library.

I'm a Java developer (although I haven't used taglibs yet) but if the taglib
is in your war file then why are you referencing sun's site as the uri for
the tag lib.

In general, I would suggest not doing this, even if you planned it this way
as you want to always be in control of what gets deployed - assuming that I
am understanding this taglib uri parameter correctly.

As far as working in 4.1.18 and not in 4.1.24 maybe chokes on the fact that
it can't get the resource from SUN (I tried the uri and got a page not
found) but in 4.1.18 maybe it simply ignores the fact that its not there and
finds it in your war (and thus is happy).

HTH.

--Nikolaos



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



RE: tomcat 4.1.18 NT service

2003-04-01 Thread Cox, Charlie
I had this same prob on 4.0.x and the bug I had opened was labelled as a
'worksforme' since they could not reproduce it(bug 4524). It happened on a
clean install of win2k that only had office 2k I think. I think it was a
problem with the JavaService that was used with tomcat since tomcat worked
fine through the tomcat.bat file.

I ended up using the old jk_nt_service.exe(which I still use,btw) by
following the directions here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg35196.html
(replace references to 3.2 with 3.3)

Charlie

 -Original Message-
 From: Andrew Garnett [mailto:[EMAIL PROTECTED]
 Sent: Saturday, March 29, 2003 8:00 AM
 To: [EMAIL PROTECTED]
 Subject: Re: tomcat 4.1.18 NT service
 
 
 Yes Larry, that's the weird thing - everything looks
 fine until the hang, then the Iexplorer globe just
 keeps rotating. No response, no timeout, nothing in
 the log, it just goes on... I'll try to leave it
 overnight to see if it eventually returns.
 The worst part is that it does actually work for a
 brief few minutes, so the config can't be that bad.
 
 meantime, I've installed on another NT4 box, and got
 exactly the same. I got the .exe from the apache site,
 so I'm hoping someone else has seen it.
 
 Any ideas gladly accepted...
 Andy 
 =  Larry Meadors Larry.Meadors () plumcreek !
 com
 
 
 Did you look in the logs?
 
  [EMAIL PROTECTED] 03/28/03 10:14 AM 
 All,
 The tomcat-4.1.18.exe installs perfectly as a service
 on my NT 4 box, starts up tomcat service happily, and
 immediately responds on port 8080 with the example
 servlets.
 Then within a minute or two, it stops responding
 completely - just hangs with no output anywhere.
 
 If I startup using the bat files in DOS, everything
 runs fine.
 Any ideas ?
 Thanks,
 Andy
 
 
 
 __
 Yahoo! Plus
 For a better Internet experience
 http://www.yahoo.co.uk/btoffer
 
 -
 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]



Antwort: RE: tomcat 4.1.18 NT service

2003-04-01 Thread Oliver Wulff

I had also a problem with tomcat running as a W2K service. In some cases,
tomcat just hangs. It uses almost 100% of CPU resources. I used the
tomcat.exe to do it which doesn't work.
It works fine, if I execute startup.bat.
It does work now with JavaService.exe from
http://www.alexandriasc.com/software/JavaService/documentation.html

**
Oliver Wulff
Zürich Versicherungs-Gesellschaft
IA4, CoC Middleware
Postfach, 8085 Zürich
Telefon: +41- 1 628 58 07
Fax: +41 - 1 623 58 07
E-Mail: mailto:[EMAIL PROTECTED]



   

  Cox, Charlie   

  [EMAIL PROTECTED] An:  'Tomcat Users List' [EMAIL 
PROTECTED]   
  Kopie:   '[EMAIL PROTECTED]' [EMAIL 
PROTECTED]  
   Thema:   RE: tomcat 4.1.18 NT service   

  01.04.2003 17:46 

  Bitte antworten  

  an Tomcat Users 

  List

   

   





I had this same prob on 4.0.x and the bug I had opened was labelled as a
'worksforme' since they could not reproduce it(bug 4524). It happened on a
clean install of win2k that only had office 2k I think. I think it was a
problem with the JavaService that was used with tomcat since tomcat worked
fine through the tomcat.bat file.

I ended up using the old jk_nt_service.exe(which I still use,btw) by
following the directions here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg35196.html
(replace references to 3.2 with 3.3)

Charlie

 -Original Message-
 From: Andrew Garnett [mailto:[EMAIL PROTECTED]
 Sent: Saturday, March 29, 2003 8:00 AM
 To: [EMAIL PROTECTED]
 Subject: Re: tomcat 4.1.18 NT service


 Yes Larry, that's the weird thing - everything looks
 fine until the hang, then the Iexplorer globe just
 keeps rotating. No response, no timeout, nothing in
 the log, it just goes on... I'll try to leave it
 overnight to see if it eventually returns.
 The worst part is that it does actually work for a
 brief few minutes, so the config can't be that bad.

 meantime, I've installed on another NT4 box, and got
 exactly the same. I got the .exe from the apache site,
 so I'm hoping someone else has seen it.

 Any ideas gladly accepted...
 Andy
 =  Larry Meadors Larry.Meadors () plumcreek !
 com


 Did you look in the logs?

  [EMAIL PROTECTED] 03/28/03 10:14 AM 
 All,
 The tomcat-4.1.18.exe installs perfectly as a service
 on my NT 4 box, starts up tomcat service happily, and
 immediately responds on port 8080 with the example
 servlets.
 Then within a minute or two, it stops responding
 completely - just hangs with no output anywhere.

 If I startup using the bat files in DOS, everything
 runs fine.
 Any ideas ?
 Thanks,
 Andy



 __
 Yahoo! Plus
 For a better Internet experience
 http://www.yahoo.co.uk/btoffer

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



Tomcat 4.1.18 with MySQL 4.04

2003-03-31 Thread Steve Gums
Running into a little problem with this combination.

I have configured a JNDI Resource pointing at javax.sql.DataSource as
instructed from the site(1) listed below.
I can only seem to query the DB 10 times before the system appears to hang
my webapp.  Most likely waiting for something to return.

If anyone is familiar with this please let me know.

[1]
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html

Steve Gums


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



Re: tomcat 4.1.18 NT service

2003-03-30 Thread Andrew Garnett
Yes Larry, that's the weird thing - everything looks
fine until the hang, then the Iexplorer globe just
keeps rotating. No response, no timeout, nothing in
the log, it just goes on... I'll try to leave it
overnight to see if it eventually returns.
The worst part is that it does actually work for a
brief few minutes, so the config can't be that bad.

meantime, I've installed on another NT4 box, and got
exactly the same. I got the .exe from the apache site,
so I'm hoping someone else has seen it.

Any ideas gladly accepted...
Andy 
=  Larry Meadors Larry.Meadors () plumcreek !
com


Did you look in the logs?

 [EMAIL PROTECTED] 03/28/03 10:14 AM 
All,
The tomcat-4.1.18.exe installs perfectly as a service
on my NT 4 box, starts up tomcat service happily, and
immediately responds on port 8080 with the example
servlets.
Then within a minute or two, it stops responding
completely - just hangs with no output anywhere.

If I startup using the bat files in DOS, everything
runs fine.
Any ideas ?
Thanks,
Andy



__
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer

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



Please help : Urgent : Tomcat 4.1.18 start problem

2003-03-28 Thread Selvaraj N
Hi,

I am trying to use the following command on unix to start Tomcat 4.1.18
server. But, when I use the same command to start Tomcat 4.0.3, it
starts fine.

/opt/java/bin/java
-Djava.endorsed.dirs=/opt/tomcat/bin:/opt/tomcat/common/lib -classpath
/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/opt/tomcat/bin/bootst
rap
.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat
-Djava.io.tmpdir=/opt/tomcat/temp
org.apache.catalina.startup.Bootstrap -config
/opt/tomcat/conf/server.xml start


The following was the error message :

org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
at
org.apache.commons.digester.Digester.init(Digester.java:345)
at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:2
80)
at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.NullPointerException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
... 12 more


As I mentioned, Tomcat 4.0.3 server starts wit out any problem. Please
help me out to solve this problem as this is very critical for us.

Thanks in  advance,
Selva


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



tomcat 4.1.18 NT service

2003-03-28 Thread Andrew Garnett
All,
The tomcat-4.1.18.exe installs perfectly as a service
on my NT 4 box, starts up tomcat service happily, and
immediately responds on port 8080 with the example
servlets.
Then within a minute or two, it stops responding
completely - just hangs with no output anywhere.

If I startup using the bat files in DOS, everything
runs fine.
Any ideas ?
Thanks,
Andy

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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



Re: tomcat 4.1.18 NT service

2003-03-28 Thread Larry Meadors
Did you look in the logs?

 [EMAIL PROTECTED] 03/28/03 10:14 AM 
All,
The tomcat-4.1.18.exe installs perfectly as a service
on my NT 4 box, starts up tomcat service happily, and
immediately responds on port 8080 with the example
servlets.
Then within a minute or two, it stops responding
completely - just hangs with no output anywhere.

If I startup using the bat files in DOS, everything
runs fine.
Any ideas ?
Thanks,
Andy

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.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]



Error with tomcat 4.1.18

2003-03-27 Thread Samuel Blanchet
Hi,
 
Have you ever seen this error : 
 
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file
[javac] Modern compiler not found - looking for classic compiler
 
Could you help me ?

 Sam



Re: Error with tomcat 4.1.18

2003-03-27 Thread Mr. Cristian Romanescu
Yes, you have to put in your path the JDK 1.4, 'java' and 'javac' should
be made available to the environment. I had the same problem when
upgrading from JDK 1.3/tomcat 4.0.3 to JDK 1.4/tomcat 4.1.18...

good luck!

On Thu, 2003-03-27 at 10:07, Samuel Blanchet wrote:
 Hi,
  
 Have you ever seen this error : 
  
 org.apache.jasper.JasperException: Unable to compile class for JSP
 
 An error occurred at line: -1 in the jsp file: null
 
 Generated servlet error:
 [javac] Compiling 1 source file
 [javac] Modern compiler not found - looking for classic compiler
  
 Could you help me ?
 
  Sam
 


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



Tomcat 4.1.18 config for Servlet ...

2003-03-27 Thread Randy Curnutt
I can't get Tomcat 4.1.18 to send a form GET to my Servlet.   My current
guess is that maybe the GET is being handled by the DefaultServlet.   I
checked my log file after starting Tomcat and then having the error occur.
In the log it looks like it maps to my servlet correctly but then it adds 
default: DefaultServlet.serveResource: Serving resource '/' headers and
data.
What does this mean?   Is it saying that the DefaultServlet is handling
these requests instead of my servlet?

2003-03-27 09:48:10 StandardHost[localhost]: Mapping request URI
'/SAWSServlet'
2003-03-27 09:48:10 StandardHost[localhost]: Trying the longest context path
prefix
2003-03-27 09:48:10 StandardHost[localhost]: Mapped to context
'/SAWSServlet'
2003-03-27 09:48:10 default: DefaultServlet.serveResource: Serving resource
'/' headers and data
2003-03-27 09:48:10 StandardHost[localhost]: Mapping request URI
'/SAWSServlet/'
2003-03-27 09:48:10 StandardHost[localhost]: Trying the longest context path
prefix
2003-03-27 09:48:10 StandardHost[localhost]: Mapped to context
'/SAWSServlet'
2003-03-27 09:48:10 default: DefaultServlet.serveResource: Serving resource
'/' headers and data
2003-03-27 09:48:10 default: DefaultServlet.serveFile:
contentType='text/html;charset=UTF-8'

I'm really stuck on this one so any help would be greatly appreciated!
Thanks very much!
Randy Curnutt
Solutions Plus, Inc.


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



Re: Tomcat 4.1.18 config for Servlet ...

2003-03-27 Thread Craig R. McClanahan


On Thu, 27 Mar 2003, Randy Curnutt wrote:

 Date: Thu, 27 Mar 2003 10:13:40 -0500
 From: Randy Curnutt [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED],
  Randy Curnutt [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Tomcat 4.1.18 config for Servlet ...

 I can't get Tomcat 4.1.18 to send a form GET to my Servlet.   My current
 guess is that maybe the GET is being handled by the DefaultServlet.   I
 checked my log file after starting Tomcat and then having the error occur.
 In the log it looks like it maps to my servlet correctly but then it adds 
 default: DefaultServlet.serveResource: Serving resource '/' headers and
 data.
 What does this mean?   Is it saying that the DefaultServlet is handling
 these requests instead of my servlet?

 2003-03-27 09:48:10 StandardHost[localhost]: Mapping request URI
 '/SAWSServlet'
 2003-03-27 09:48:10 StandardHost[localhost]: Trying the longest context path
 prefix
 2003-03-27 09:48:10 StandardHost[localhost]: Mapped to context
 '/SAWSServlet'

You don't tell us the entire URL you are submitting, or how you've got
your webapps organized, so the best we can do is guess, but this line is
pretty revealing -- it implies that you are using a URL like this:

  http://localhost:8080/SAWSServlet

and you've got your web application in a directory named /SAWSServlet
under webapps.  To make this work, you need to do one of the following:

* Use a different URL (http//localhost:8080/SAWSServlet/SAWSServlet)
  -- note that it is pretty confusing to have a webapp and a servlet
  using the same prefix.

* Make your web application the default webapp for this Tomcat
  installation, by putting it in the webapps/ROOT directory.

Craig


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



Problem with Name Virtual Hosting, Jk, Apache 1.3.27 and Tomcat 4.1.18

2003-03-27 Thread Gerstel, Rachel
Hi All,

I am having trouble with Name Virtual Hosting for Apache 1.3.27 and tomcat
4.1.18 and mod_jk. Maybe someone can see something that I have overlooked.
And I apologize ahead of time if this is jumbled, but I have been at this
all day and my brain is pretty fried. :--)

I have one server with four name-based virtual hosts:
host1-app1
host1-app2
host1-app3
host1-app4

Only one of them needs tomcat - host1-app4. I tried adding/loading the jk
module in my httpd.conf directly and putting all the jk directives in my
virtual host container for that app, but then I got errors in my
/var/apache/logs/error_log saying:
[Thu Mar 27 18:22:27 2003] [error] Error while opening the workers, jk will
not work
[Thu Mar 27 18:22:28 2003] [error] (2)No such file or directory: Error while
opening the workers, jk will not work

So I am guessing that there was something wrong with the config. But, If I
just take out the jk directives (also removing the load/add module for jk),
put them in an include file and load jk from there then I get no errors. The
only problem is that then I get no page displayed when I try to go to one of
the pages which should be served by cocoon for host1-app4. 

log messages from mod_jk.log:
[Thu Mar 27 18:44:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Mar 27 18:44:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/DerivativesAdminWebsite'
[Thu Mar 27 18:44:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match

And you can see in apache error log that it is looking in the doc root
rather than tomcat:
[Thu Mar 27 18:47:15 2003] [error] [client 140.60.36.44] File does not
exist: /var/apache/htdocs/app4/cocoon/

server.xml:
Server port=8005 shutdown=SHUTDOWN debug=2

Listener
className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0 /
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0 /

 !-- Global JNDI resources --
  GlobalNamingResources

!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer value=30/

!-- Editable user database that can also be used by
 UserDatabaseRealm to authenticate users --
Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
   description=User database that can be updated and saved
/Resource
ResourceParams name=UserDatabase
  parameter
namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
  /parameter
  parameter
namepathname/name
valueconf/tomcat-users.xml/value
  /parameter
/ResourceParams

/GlobalNamingResources

  Service name=Tomcat-host1

!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=5 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

Engine name=Engine-host1 defaultHost=host1 debug=2

  !--
  Valve className=org.apache.catalina.valves.RequestDumperValve/
  --

  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=catalina_log. suffix=.txt
  timestamp=true/

  !-- Because this Realm is here, an instance will be shared globally
--

  Realm className=org.apache.catalina.realm.UserDatabaseRealm
debug=0 resourceName=UserDatabase /

  !-- Define the default virtual host --
  Host name=host1-app4.com address=ip here debug=2
appBase=webapps unpackWARs=true autoDeploy=true

Valve className=org.apache.catalina.valves.AccessLogValve
 directory=/var/tomcat/logs  prefix=host1_access_log.
suffix=.txt
 pattern=common resolveHosts=false/

Logger className=org.apache.catalina.logger.FileLogger
 directory=/var/tomcat/logs  prefix=host1. suffix=.txt
timestamp=true/

  /Host
/Engine
  /Service
/Server

$TOMCAT_HOME/conf/jk/workers.properties:

workers.tomcat_home=/usr/local/tomcat
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13 
worker.ajp13.port=8009
worker.ajp13.host=nutmeg
worker.ajp13.type=ajp13

worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)sparcv9$(p
s)server$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

$TOMCAT_HOME/conf/auto/mod_jk.conf.hardcopy

IfModule !mod_jk.c
  LoadModule jk_module /usr/local/apache

Re: Tomcat 4.1.18 config for Servlet ...

2003-03-27 Thread Randal E. Curnutt
Craig, Thank you for the feedback.  This is my first Servlet / Tomcat 
project and apparently I have some things confused.  Within my web 
application I do have a Servlet named, SAWSServlet.
It was my impression that when I export my application to a WAR file 
that I should  name it with the exact same name as the Servlet.  So 
I've created a war file called SAWSServlet.war, which when unpacked 
creates a SAWSServlet folder under the Tomcat webapps directory.

Also, to provide more of the details which you had asked about.
My initial logon JSP just has a simple form as follows:
FORM action=/SAWSServlet class=formClass method=get 
INPUT type=HIDDEN id=action name= action value=logon
pUserId: nbsp;nbsp;nbsp;INPUT type=TEXT id=UserId 
name= UserId width=50/p
pPassword: nbsp;INPUT type=PASSWORD id=Password 
name= Password width=50/p
pINPUT type=SUBMIT id=Submit value=Logon width=50/p
/FORM

The URL generated when that form is submitted is:
http://localhost:8080/SAWSServlet/action=logonuserId=testpassword=test

Is it possible to configure Tomcat so that when the form in my JSP is 
submitted that it will generate a URL such as:
http://localhost:8080/myServletsName?parm1=anActionparm2=value2

Lastly, I used the auto-deploy feature of Tomcat and just placed my WAR 
file in the webapps directory.  Therefore I haven't made any 
modifications to conf/server.xml or conf/web.xml.

Again, thanks for all of the help!
Regards,
Randy

Quoting Craig R. McClanahan [EMAIL PROTECTED]:

 
 
 On Thu, 27 Mar 2003, Randy Curnutt wrote:
 
  Date: Thu, 27 Mar 2003 10:13:40 -0500
  From: Randy Curnutt [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED],
   Randy Curnutt [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Tomcat 4.1.18 config for Servlet ...
 
  I can't get Tomcat 4.1.18 to send a form GET to my Servlet.   My
 current
  guess is that maybe the GET is being handled by the DefaultServlet.
   I
  checked my log file after starting Tomcat and then having the error
 occur.
  In the log it looks like it maps to my servlet correctly but then
 it adds 
  default: DefaultServlet.serveResource: Serving resource '/' headers
 and
  data.
  What does this mean?   Is it saying that the DefaultServlet is
 handling
  these requests instead of my servlet?
 
  2003-03-27 09:48:10 StandardHost[localhost]: Mapping request URI
  '/SAWSServlet'
  2003-03-27 09:48:10 StandardHost[localhost]: Trying the longest
 context path
  prefix
  2003-03-27 09:48:10 StandardHost[localhost]: Mapped to context
  '/SAWSServlet'
 
 You don't tell us the entire URL you are submitting, or how you've
 got
 your webapps organized, so the best we can do is guess, but this line
 is
 pretty revealing -- it implies that you are using a URL like this:
 
   http://localhost:8080/SAWSServlet
 
 and you've got your web application in a directory named
 /SAWSServlet
 under webapps.  To make this work, you need to do one of the
 following:
 
 * Use a different URL (http//localhost:8080/SAWSServlet/SAWSServlet)
   -- note that it is pretty confusing to have a webapp and a servlet
   using the same prefix.
 
 * Make your web application the default webapp for this Tomcat
   installation, by putting it in the webapps/ROOT directory.
 
 Craig
 


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



Re: Tomcat 4.1.18 config for Servlet ...

2003-03-27 Thread Craig R. McClanahan


On Thu, 27 Mar 2003, Randal E. Curnutt wrote:

 Date: Thu, 27 Mar 2003 13:23:09 -0500
 From: Randal E. Curnutt [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat 4.1.18 config for Servlet ...

 Craig, Thank you for the feedback.  This is my first Servlet / Tomcat
 project and apparently I have some things confused.  Within my web
 application I do have a Servlet named, SAWSServlet.
 It was my impression that when I export my application to a WAR file
 that I should  name it with the exact same name as the Servlet.  So
 I've created a war file called SAWSServlet.war, which when unpacked
 creates a SAWSServlet folder under the Tomcat webapps directory.

 Also, to provide more of the details which you had asked about.
 My initial logon JSP just has a simple form as follows:
 FORM action=/SAWSServlet class=formClass method=get 
 INPUT type=HIDDEN id=action name= action value=logon
 pUserId: nbsp;nbsp;nbsp;INPUT type=TEXT id=UserId
 name= UserId width=50/p
 pPassword: nbsp;INPUT type=PASSWORD id=Password
 name= Password width=50/p
 pINPUT type=SUBMIT id=Submit value=Logon width=50/p
 /FORM

 The URL generated when that form is submitted is:
 http://localhost:8080/SAWSServlet/action=logonuserId=testpassword=test

 Is it possible to configure Tomcat so that when the form in my JSP is
 submitted that it will generate a URL such as:
 http://localhost:8080/myServletsName?parm1=anActionparm2=value2

 Lastly, I used the auto-deploy feature of Tomcat and just placed my WAR
 file in the webapps directory.  Therefore I haven't made any
 modifications to conf/server.xml or conf/web.xml.


You've confirmed that my guess about what was going on is correct, and
either of the two approaches I recommended will take care of it for you.

 Again, thanks for all of the help!
 Regards,
 Randy


Craig

 Quoting Craig R. McClanahan [EMAIL PROTECTED]:

 
 
  On Thu, 27 Mar 2003, Randy Curnutt wrote:
 
   Date: Thu, 27 Mar 2003 10:13:40 -0500
   From: Randy Curnutt [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED],
Randy Curnutt [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Subject: Tomcat 4.1.18 config for Servlet ...
  
   I can't get Tomcat 4.1.18 to send a form GET to my Servlet.   My
  current
   guess is that maybe the GET is being handled by the DefaultServlet.
I
   checked my log file after starting Tomcat and then having the error
  occur.
   In the log it looks like it maps to my servlet correctly but then
  it adds 
   default: DefaultServlet.serveResource: Serving resource '/' headers
  and
   data.
   What does this mean?   Is it saying that the DefaultServlet is
  handling
   these requests instead of my servlet?
  
   2003-03-27 09:48:10 StandardHost[localhost]: Mapping request URI
   '/SAWSServlet'
   2003-03-27 09:48:10 StandardHost[localhost]: Trying the longest
  context path
   prefix
   2003-03-27 09:48:10 StandardHost[localhost]: Mapped to context
   '/SAWSServlet'
 
  You don't tell us the entire URL you are submitting, or how you've
  got
  your webapps organized, so the best we can do is guess, but this line
  is
  pretty revealing -- it implies that you are using a URL like this:
 
http://localhost:8080/SAWSServlet
 
  and you've got your web application in a directory named
  /SAWSServlet
  under webapps.  To make this work, you need to do one of the
  following:
 
  * Use a different URL (http//localhost:8080/SAWSServlet/SAWSServlet)
-- note that it is pretty confusing to have a webapp and a servlet
using the same prefix.
 
  * Make your web application the default webapp for this Tomcat
installation, by putting it in the webapps/ROOT directory.
 
  Craig
 


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



Tomcat 4.1.18 not finding JAR's under WEB_INF/lib directory

2003-03-26 Thread Dean Fantham
I am trying to upgrade from 4.0.6 to 4.1.18.  I can get the existing webapp
to run correctly, when run it with both CATALINA_HOME and CATALINA_BASE set
to the same directory, however if I try and start tomcat with CATALINA_HOME
and CATALINA_BASE being set differently, I get The system cannot find the
path Specified error (see below).

The root cause indicates that it is a missing JAR file, but that file exists
under the CATALINA_BASE/edgile/WEB-INF/lib directory, but for some reason is
not being found.  It is found and correctly started when I move the edgile
webapp to the webapps directory under CATALINA_HOME.

It is not an option to run it with CATALINA_HOME and CATALINA_BASE set the
same.

Thanks, Dean

Errors reported in Tomcat Logs:

2003-03-26 07:41:56 HostConfig[localhost]: Deploying web application
directory edgile
2003-03-26 07:41:56 StandardHost[localhost]: Installing web application at
context path /edgile from URL file:C:\dean\dev\edgile\admin\webapps\edgile
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploying class repositories to
work directory C:\dean\dev\edgile\admin\work\Standalone\localhost\edgile
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy class files
/WEB-INF/classes to C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\classes
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/batik-awt-util.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\batik-awt-util.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/batik-dom.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\batik-dom.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/batik-svggen.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\batik-svggen.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/batik-util.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\batik-util.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/batik-xml.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\batik-xml.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/cewolf.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\cewolf.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/jcommon-0.7.1.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\jcommon-0.7.1.jar
2003-03-26 07:41:56 WebappLoader[/edgile]: Deploy JAR
/WEB-INF/lib/jfreechart-0.9.4.jar to
C:\dean\dev\edgile\admin\webapps\edgile\WEB-INF\lib\jfreechart-0.9.4.jar
2003-03-26 07:41:56 ContextConfig[/edgile] Exception processing JAR at
resource path /WEB-INF/lib/batik-util.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/batik-util.jar
 at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
 at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
 at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
 at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:257)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
 at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569
)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at org.apache.catalina.core.StandardService.start(StandardService.java:497)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at 

Re: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 but fails in Tomcat 4.1.18

2003-03-26 Thread Randal E. Curnutt
I tried changing the URL Pattern as suggested below but that didn't fix 
the problem.  With regards to my code, I have a simple form in my JSP 
which uses the GET method to send some form field values to my 
servlet.  I'll paste the code below.

FORM action=/SAWSServlet class=formClass method=get 
INPUT type=HIDDEN id=action name= action value=logon
pUserId: nbsp;nbsp;nbsp;INPUT type=TEXT id=UserId 
name= UserId width=50/p
pPassword: nbsp;INPUT type=PASSWORD id=Password 
name= Password width=50/p
pINPUT type=SUBMIT id=Submit value=Logon width=50/p
/FORM

When I run this under Tomcat 4.1.18 there is an extra / inserted 
between the action and the start of the query string.  I don't have 
this problem when running the exact same code in NetBeans using the 
Internal Tomcat version 4.0.4.  The incorrect URL which is generated 
under Tomcat 4.1.18 is:  
http://localhost:8080/SAWSServlet/action=logonuserId=testpassword=test
Since the exact same code works in one version but fails in another 
that makes me suspect that the problem is a configuration issue.
Any clue what could be making the URL different between the two 
versions of Tomcat?
Thanks,
Randy

Quoting Craig R. McClanahan [EMAIL PROTECTED]:

...
  It appears the problem might be related to the url-pattern.
  In my web.xml file I have the following:
servlet-mapping
  servlet-nameSAWSServlet/servlet-name
  url-pattern/SAWSServlet/url-pattern
/servlet-mapping
 
  Running Tomcat 4.0.4 from within netbeans the URL which it
 successfully posts to after the logon
  screen looks as follows: 
 http://localhost:8081/SAWSServlet?
action=logonUserId=testPassword=test
 
  Under Tomcat 4.1.18 the URL which it tries to post to after logon
 has an extra / after the servlet name and
  before the query string parameters: 
 http://localhost:8080/SAWSServlet/?
action=logonUserId=testPassword=test
 
  Can anyone explain why I'm getting the extra / after the sevlet
 name?I'm wondering if there is a setting in the server.xml or
 web.xml for the whole Tomcat install that is different in 4.1.18 than
 the Netbeans Internal version of Tomcat 4.0.4.
  TIA for any help!
 
 Without seeing the code in your JSP page that generates the URL you
 are
 posting to, there is no way to know what's really going on.  However,
 a
 workaround that will make Tomcat forward the extra slash URL to
 your
 servlet anyway would be to change the URL pattern to
 /SAWSServlet/*
 instead.
 
  Randy
 
 
 Craig
 
 -
 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: Mod_jk and tomcat 4.1.18 communication issues

2003-03-25 Thread Marion McKelvie

It looks like you are seeing the same problem as some of the rest of us.  It
seems apache, tomcat or mod_jk does not close the connection after serving a
request and the number of threads just keep building up.  It seems to be a
problem mainly on Redhat 8.

Have a look at the 'Problems with tomcat 4.0.1 and 4.1.18' message thread on
http://www.mail-archive.com/[EMAIL PROTECTED]/thrd2.html and
'tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43' message thread
http://www.mail-archive.com/[EMAIL PROTECTED]/thrd3.html


-Original Message-
From: David Nagrosst [mailto:[EMAIL PROTECTED]
Sent: 24 March 2003 17:14
To: [EMAIL PROTECTED]
Subject: Mod_jk and tomcat 4.1.18 communication issues


I have plenty of processors for ajp13 running under tomcat, but tomcat and
mod_jk seem to lose communication and when that happens the tomcat process
gets stuck running at 99% cpu utilization.
This occurs when I am just bouncing around the site for a while.  When the
page gets stuck(does not load all the way) within that session and I
refresh, I get another stuck process.  It's very strange.  when I run the
site through port 8080, it works fine.  No problems.  Mod_jk2 does not cause
problems, but does not load index file automatically, which is why I am
using mod_jk in the first place.

Any help is greatly appreciated.

Thanks in advance,
David

excerpt from server.xml

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=20 maxProcessors=200
   enableLookups=false connectionTimeout=6
   useURIValidationHack=false
   acceptCount=10 debug=1/

excerpt from web.xml

servlet
servlet-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
init-param
param-namelogVerbosityLevel/param-name
param-valueWARNING/param-value
/init-param
init-param
param-namedevelopment/param-name
param-valuefalse/param-value
/init-param
init-param
param-namereloading/param-name
param-valuefalse/param-value
/init-param
init-param
param-namecompiler/param-name
param-valuejikes/param-value
/init-param
load-on-startup3/load-on-startup
/servlet

excerpt from workers.properties
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
worker.ajp13.cachesize=100
worker.ajp13.socket_keepalive=1

except from mod_jk.conf

JkMount /*.jsp ajp13



/var/log/httpd/mod_jk.log
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (970)]: ERROR sending data to
client. Connection aborted or network problems
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (970)]: ERROR sending data to
client. Connection aborted or network problems
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (970)]: ERROR sending data to
client. Connection aborted or network problems
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (681)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is
down.
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (1050)]: Error reading reply
from tomcat. Tomcat is down or network problems.
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (1187)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=0
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (970)]: ERROR sending data to
client. Connection aborted or network problems
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (970)]: ERROR sending data to
client. Connection aborted or network problems
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (681)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is
down.
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (1050)]: Error reading reply
from tomcat. Tomcat is down or network problems.
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (1187)]: ERROR: Receiving from
tomcat failed, recoverable operation. err=0
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (970)]: ERROR sending data to
client. Connection aborted or network problems

catalina.out

Ajp13Connector active threads=21
java.lang.ThreadGroup[name=Ajp13Connector[8009],maxpri=10]
Thread[Ajp13Connector[8009],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][0],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][1],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][2],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][3],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][5],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][6],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][7],5,Ajp13Connector[8009]]
Thread[Ajp13Processor

Tomcat-4.0.3 to Tomcat-4.1.18 causes LogConfigurationException

2003-03-25 Thread Daniel Haynes
Hi,

We've upgraded from Tomcat-4.0.3 to Tomcat-4.1.18 and are now getting an
intermittant error which causes Tomcat to fail completely :(

The error is in stderr.log:

21479094 [Thread-13] INFO filters.TimerFilter  - /euroTrading/action/logout:
16ms
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:345)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
at
org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
at org.apache.tomcat.util.log.Log.log(Log.java:198)
at org.apache.tomcat.util.log.Log.log(Log.java:192)
at org.apache.tomcat.util.log.Log.log(Log.java:174)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.ClassCastException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:554)
... 8 more
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:345)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
at
org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
at org.apache.tomcat.util.log.Log.log(Log.java:198)
at org.apache.tomcat.util.log.Log.log(Log.java:192)
at org.apache.tomcat.util.log.Log.log(Log.java:174)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.ClassCastException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:554)
... 8 more
85917734 [Thread-7] INFO filters.TimerFilter  - /euroTrading: 15ms
85917734 [Thread-7] INFO filters.TimerFilter  - /euroTrading/: 0ms

We did not get a problem with Tomcat-4.0.3. The application uses
log4j-1.2.6.jar, commons logging contains:

org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory
.

Does anyone have any ideas what is causing this ?


Dan



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



Re: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 butfails in Tomcat 4.1.18

2003-03-25 Thread Craig R. McClanahan


On Tue, 25 Mar 2003, Randy Curnutt wrote:

 Date: Tue, 25 Mar 2003 21:14:47 -0500
 From: Randy Curnutt [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED],
  Randy Curnutt [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 but
 fails in Tomcat 4.1.18

 I have a Servlet (with JSP's) which was created using NetBeans, and I did use the 
 appropriate hierarchy.
 When I run the servlet using the NetBeans Internal Tomcat version 4.0.4
 the Servlet and JSP pages work fine.  However, when I create a WAR file and let 
 Tomcat do the Auto Deploy and
 try to run under Tomcat 4.1.18 the servlet fails.  The first  page is just   a JSP  
 and it is displayed okay  but it then posts to my Servlet and it immediately returns 
 to the initial page.  My error page is not displayed.  I can't find anything in the 
 log files.
 It appears the problem might be related to the url-pattern.
 In my web.xml file I have the following:
   servlet-mapping
 servlet-nameSAWSServlet/servlet-name
 url-pattern/SAWSServlet/url-pattern
   /servlet-mapping

 Running Tomcat 4.0.4 from within netbeans the URL which it successfully posts to 
 after the logon
 screen looks as follows:  
 http://localhost:8081/SAWSServlet?action=logonUserId=testPassword=test

 Under Tomcat 4.1.18 the URL which it tries to post to after logon has an extra / 
 after the servlet name and
 before the query string parameters:  
 http://localhost:8080/SAWSServlet/?action=logonUserId=testPassword=test

 Can anyone explain why I'm getting the extra / after the sevlet name?I'm 
 wondering if there is a setting in the server.xml or web.xml for the whole Tomcat 
 install that is different in 4.1.18 than the Netbeans Internal version of Tomcat 
 4.0.4.
 TIA for any help!

Without seeing the code in your JSP page that generates the URL you are
posting to, there is no way to know what's really going on.  However, a
workaround that will make Tomcat forward the extra slash URL to your
servlet anyway would be to change the URL pattern to /SAWSServlet/*
instead.

 Randy


Craig

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



RE: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-24 Thread Marion McKelvie

It's interesting that you've tried Tomcat 4.1.24, I was going to try that
this week.  I've tried Sun's JDK 1.4.1_01 and 1.4.1_02, and it made no
difference.

Where do we go from here?

-Original Message-
From: Ivan F. Martinez [mailto:[EMAIL PROTECTED]
Sent: 22 March 2003 03:03
To: Tomcat Users List
Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43



On Fri, 21 Mar 2003 13:50:41 -
Marion McKelvie [EMAIL PROTECTED] wrote:

MM Ivan,
MM
MM Thanks for your reply.  When you restart Apache, do the threads just
build
MM up again?

Yes, tomcat gives a lot of messages like this :
512488 [Thread-73] INFO common.ChannelSocket  - server has been restarted or
reset this connection

And it returns to work for some time again.
Apparently tomcat or mod_jk does not close the connection after serving the
request.

MM If you can't see any difference between the two configurations, do you
think
MM there may be a difference between the libraries being used?

I'm checked better, and the difference is :

Case when works (USING 2 MACHINES):
   RedHat 8, Apache 2.0.40
   RedHat 7.3 Tomcat 4.1.18

Case when I have problems
   RedHat 8, Apache 2.0.40 Tomcat 4.1.18 (SAME MACHINE)

The 2 use the same SUN SDK 1.4.1-01


But I have tried  today many combinations in the single machine :
SUNSDK 1.4.1, IBM SDK 1.3, 1.3.1, 1.4.
Apache 2.0.40 and 2.0.43
Tomcat 4.1.18 and 4.1.24

All configurations have the same problem.

All machines have up to date , kernels from redhat. And all other updates.

Last week I have made some tests with mod_jk2 with same problem.





MM Marion
MM
MM -Original Message-
MM From: Ivan F. Martinez [mailto:[EMAIL PROTECTED]
MM Sent: 21 March 2003 12:59
MM To: Tomcat Users List
MM Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM
MM
MM
MM On Thu, 20 Mar 2003 09:40:14 -
MM Marion McKelvie [EMAIL PROTECTED] wrote:
MM
MM MM Hello again,
MM MM
MM MM Is anyone running with the combination of Tomcat 4.1.18, Apache
2.0.43
MM and
MM MM mod_jk 2.0.43 on Redhat 8?
MM MM
MM
MM I have one machine that works fine, and other with same problem as you.
MM When you restart apache everything works again.
MM
MM I have tested with mod_jk and mod_jk2.
MM
MM I didn't find the difference between the two machines.
MM
MM MM Marion
MM MM
MM MM -Original Message-
MM MM From: Marion McKelvie [mailto:[EMAIL PROTECTED]
MM MM Sent: 19 March 2003 10:38
MM MM To: [EMAIL PROTECTED]
MM MM Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM MM
MM MM
MM MM Hi,
MM MM
MM MM I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk
MM 2.0.43
MM MM running on Redhat 8, all installed from rpms as executables (no
building
MM MM from source).
MM MM
MM MM Everything works fine for a while until I get the following error in
MM MM catalina.out
MM MM
MM MM 19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
MM MM INFO: All threads are busy, waiting. Please increase maxThreads or
check
MM the
MM MM servlet sttus75 75
MM MM
MM MM I can get this error just by playing with the Tomcat examples for
long
MM MM enough (presumably after 75 activities).  It's a bit like each
thread is
MM not
MM MM being released after it's used.  I have a comparable installation
which
MM runs
MM MM without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.
MM MM
MM MM Server.xml is pretty much as installed by default (I've commented
out
MM the
MM MM 8080 connector) so it's using the Coyote connector:
MM MM
MM MM Connector className=org.apache.coyote.tomcat4.CoyoteConnector
MM MMport=8009 minProcessors=5 maxProcessors=75
MM MMenableLookups=true redirectPort=8443
MM MMacceptCount=10 debug=0 connectionTimeout=0
MM MMuseURIValidationHack=false
MM MM
MM MM protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
MM MM
MM MM If I change the timeout to 2, catalina.out reports that the
timeout
MM has
MM MM been reached.
MM MM
MM MM workers.properties is as installed by default except that I've
corrected
MM the
MM MM java_home path.
MM MM
MM MM mod_jk.conf is as follows
MM MM
MM MM JkWorkersFile /etc/httpd/conf/workers.properties
MM MM JkLogFile /var/log/httpd/mod_jk.log
MM MM JkLogLevel error
MM MM
MM MM
MM MM #
MM MM # Root context mounts for Tomcat
MM MM #
MM MM JkMount /*.jsp ajp13
MM MM JkMount /servlet/* ajp13
MM MM
MM MM #
MM MM # Auto configuration for the /examples context starts.
MM MM #
MM MM
MM MM #
MM MM # The following line makes apache aware of the location of the
/examples
MM MM context
MM MM #
MM MM Alias /examples /var/tomcat4/webapps/examples
MM MM Directory /var/tomcat4/webapps/examples
MM MM Options Indexes FollowSymLinks
MM MM /Directory
MM MM
MM MM #
MM MM # The following line mounts all JSP files and the /servlet/ uri to
MM tomcat
MM MM #
MM MM JkMount /examples/servlet/* ajp13
MM MM JkMount

Problem with taglib declarations in Tomcat 4.1.18

2003-03-24 Thread Andrew May
Hi, we've just upgraded the version of JBoss that we're running our J2EE application on, 
and this has meant an upgrade to the servlet and JSP engines.

We've started having problems with our JSPs not validating due to the same taglib being 
declared multiple times.

The exception is:
org.apache.jasper.JasperException: h3jsp.error.tlv.invalid.page/h3pnull: 
org.xml.sax.SAXParseException: Attribute xmlns:c was already specified for element 
jsp:root./p
at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:112)
at org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:661)
at org.apache.jasper.compiler.Validator.validate(Validator.java:613)

In the application the core JSTL taglib is being declared in a template JSP which is 
statically including other JSP fragments that also declare the taglib (because they may or 
may not be included by something that uses the JSTL taglib).

It's also possible to recreate the error with a trivial JSP like:

%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
html
headtitleTest/title/head
body
Test
/body
/html
where the WAR only contains the test jsp, a basic web.xml and standard.jar (the JSTL tags) 
in WEB-INF/lib. The error occurs both in JBoss with the bundled servlet engine, or with a 
standalone version of Tomcat.

As far as we're aware there's nothing in the spec that says the same taglib can't be 
declared twice, and this page worked in earlier versions.

Is this a bug in Jasper (should it be ignorning duplicate declarations where both the 
prefix and uri are the same), or is our use of the taglib invalid?

Any help would be greatly appreciated.

Thanks,

Andrew

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


RE: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-24 Thread Marion McKelvie

I've just gone back to using tomcat 4.1.12 and I still get the same problem.
It must be something to do with the apache or mod_jk versions rather than
tomcat itself.  I run tomcat 4.1.12 with apache 1.3.22 on a different server
with no problems.

I'm tempted to go back to Apache 1.3.x but it seems a great pity!

-Original Message-
From: Ivan F. Martinez [mailto:[EMAIL PROTECTED]
Sent: 22 March 2003 03:03
To: Tomcat Users List
Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43



On Fri, 21 Mar 2003 13:50:41 -
Marion McKelvie [EMAIL PROTECTED] wrote:

MM Ivan,
MM
MM Thanks for your reply.  When you restart Apache, do the threads just
build
MM up again?

Yes, tomcat gives a lot of messages like this :
512488 [Thread-73] INFO common.ChannelSocket  - server has been restarted or
reset this connection

And it returns to work for some time again.
Apparently tomcat or mod_jk does not close the connection after serving the
request.

MM If you can't see any difference between the two configurations, do you
think
MM there may be a difference between the libraries being used?

I'm checked better, and the difference is :

Case when works (USING 2 MACHINES):
   RedHat 8, Apache 2.0.40
   RedHat 7.3 Tomcat 4.1.18

Case when I have problems
   RedHat 8, Apache 2.0.40 Tomcat 4.1.18 (SAME MACHINE)

The 2 use the same SUN SDK 1.4.1-01


But I have tried  today many combinations in the single machine :
SUNSDK 1.4.1, IBM SDK 1.3, 1.3.1, 1.4.
Apache 2.0.40 and 2.0.43
Tomcat 4.1.18 and 4.1.24

All configurations have the same problem.

All machines have up to date , kernels from redhat. And all other updates.

Last week I have made some tests with mod_jk2 with same problem.





MM Marion
MM
MM -Original Message-
MM From: Ivan F. Martinez [mailto:[EMAIL PROTECTED]
MM Sent: 21 March 2003 12:59
MM To: Tomcat Users List
MM Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM
MM
MM
MM On Thu, 20 Mar 2003 09:40:14 -
MM Marion McKelvie [EMAIL PROTECTED] wrote:
MM
MM MM Hello again,
MM MM
MM MM Is anyone running with the combination of Tomcat 4.1.18, Apache
2.0.43
MM and
MM MM mod_jk 2.0.43 on Redhat 8?
MM MM
MM
MM I have one machine that works fine, and other with same problem as you.
MM When you restart apache everything works again.
MM
MM I have tested with mod_jk and mod_jk2.
MM
MM I didn't find the difference between the two machines.
MM
MM MM Marion
MM MM
MM MM -Original Message-
MM MM From: Marion McKelvie [mailto:[EMAIL PROTECTED]
MM MM Sent: 19 March 2003 10:38
MM MM To: [EMAIL PROTECTED]
MM MM Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM MM
MM MM
MM MM Hi,
MM MM
MM MM I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk
MM 2.0.43
MM MM running on Redhat 8, all installed from rpms as executables (no
building
MM MM from source).
MM MM
MM MM Everything works fine for a while until I get the following error in
MM MM catalina.out
MM MM
MM MM 19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
MM MM INFO: All threads are busy, waiting. Please increase maxThreads or
check
MM the
MM MM servlet sttus75 75
MM MM
MM MM I can get this error just by playing with the Tomcat examples for
long
MM MM enough (presumably after 75 activities).  It's a bit like each
thread is
MM not
MM MM being released after it's used.  I have a comparable installation
which
MM runs
MM MM without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.
MM MM
MM MM Server.xml is pretty much as installed by default (I've commented
out
MM the
MM MM 8080 connector) so it's using the Coyote connector:
MM MM
MM MM Connector className=org.apache.coyote.tomcat4.CoyoteConnector
MM MMport=8009 minProcessors=5 maxProcessors=75
MM MMenableLookups=true redirectPort=8443
MM MMacceptCount=10 debug=0 connectionTimeout=0
MM MMuseURIValidationHack=false
MM MM
MM MM protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
MM MM
MM MM If I change the timeout to 2, catalina.out reports that the
timeout
MM has
MM MM been reached.
MM MM
MM MM workers.properties is as installed by default except that I've
corrected
MM the
MM MM java_home path.
MM MM
MM MM mod_jk.conf is as follows
MM MM
MM MM JkWorkersFile /etc/httpd/conf/workers.properties
MM MM JkLogFile /var/log/httpd/mod_jk.log
MM MM JkLogLevel error
MM MM
MM MM
MM MM #
MM MM # Root context mounts for Tomcat
MM MM #
MM MM JkMount /*.jsp ajp13
MM MM JkMount /servlet/* ajp13
MM MM
MM MM #
MM MM # Auto configuration for the /examples context starts.
MM MM #
MM MM
MM MM #
MM MM # The following line makes apache aware of the location of the
/examples
MM MM context
MM MM #
MM MM Alias /examples /var/tomcat4/webapps/examples
MM MM Directory /var/tomcat4/webapps/examples
MM MM Options Indexes FollowSymLinks
MM MM /Directory
MM MM
MM MM #
MM MM

Mod_jk and tomcat 4.1.18 communication issues

2003-03-24 Thread David Nagrosst
I have plenty of processors for ajp13 running under tomcat, but tomcat and mod_jk seem 
to lose communication and when that happens the tomcat process gets stuck running at 
99% cpu utilization.
This occurs when I am just bouncing around the site for a while.  When the page gets 
stuck(does not load all the way) within that session and I refresh, I get another 
stuck process.  It's very strange.  when I run the site through port 8080, it works 
fine.  No problems.  Mod_jk2 does not cause problems, but does not load index file 
automatically, which is why I am using mod_jk in the first place.

Any help is greatly appreciated.

Thanks in advance,
David

excerpt from server.xml

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=20 maxProcessors=200
   enableLookups=false connectionTimeout=6
   useURIValidationHack=false
   acceptCount=10 debug=1/

excerpt from web.xml

servlet
servlet-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
init-param
param-namelogVerbosityLevel/param-name
param-valueWARNING/param-value
/init-param
init-param
param-namedevelopment/param-name
param-valuefalse/param-value
/init-param
init-param
param-namereloading/param-name
param-valuefalse/param-value
/init-param
init-param
param-namecompiler/param-name
param-valuejikes/param-value
/init-param
load-on-startup3/load-on-startup
/servlet

excerpt from workers.properties
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
worker.ajp13.cachesize=100
worker.ajp13.socket_keepalive=1

except from mod_jk.conf

JkMount /*.jsp ajp13



/var/log/httpd/mod_jk.log
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (970)]: ERROR sending data to client. 
Connection aborted or network problems
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (970)]: ERROR sending data to client. 
Connection aborted or network problems
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (970)]: ERROR sending data to client. 
Connection aborted or network problems
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (681)]: ERROR: can't receive the response 
message from tomcat, network problems or tomcat is
down.
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (1050)]: Error reading reply from tomcat. 
Tomcat is down or network problems.
[Mon Mar 24 11:57:17 2003]  [jk_ajp_common.c (1187)]: ERROR: Receiving from tomcat 
failed, recoverable operation. err=0
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (970)]: ERROR sending data to client. 
Connection aborted or network problems
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (970)]: ERROR sending data to client. 
Connection aborted or network problems
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (681)]: ERROR: can't receive the response 
message from tomcat, network problems or tomcat is
down.
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (1050)]: Error reading reply from tomcat. 
Tomcat is down or network problems.
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (1187)]: ERROR: Receiving from tomcat 
failed, recoverable operation. err=0
[Mon Mar 24 11:57:18 2003]  [jk_ajp_common.c (970)]: ERROR sending data to client. 
Connection aborted or network problems

catalina.out

Ajp13Connector active threads=21
java.lang.ThreadGroup[name=Ajp13Connector[8009],maxpri=10]
Thread[Ajp13Connector[8009],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][0],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][1],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][2],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][3],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][5],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][6],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][7],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][8],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][9],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][10],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][11],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][12],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][13],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][14],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][15],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][16],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][17],5,Ajp13Connector[8009]]
Thread[Ajp13Processor[8009][18],5,Ajp13Connector[8009]]

Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Ivan F. Martinez

On Thu, 20 Mar 2003 09:40:14 -
Marion McKelvie [EMAIL PROTECTED] wrote:

MM Hello again,
MM 
MM Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43 and
MM mod_jk 2.0.43 on Redhat 8?
MM 

I have one machine that works fine, and other with same problem as you.
When you restart apache everything works again.

I have tested with mod_jk and mod_jk2.

I didn't find the difference between the two machines.

MM Marion
MM 
MM -Original Message-
MM From: Marion McKelvie [mailto:[EMAIL PROTECTED]
MM Sent: 19 March 2003 10:38
MM To: [EMAIL PROTECTED]
MM Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM 
MM 
MM Hi,
MM 
MM I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk 2.0.43
MM running on Redhat 8, all installed from rpms as executables (no building
MM from source).
MM 
MM Everything works fine for a while until I get the following error in
MM catalina.out
MM 
MM 19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
MM INFO: All threads are busy, waiting. Please increase maxThreads or check the
MM servlet sttus75 75
MM 
MM I can get this error just by playing with the Tomcat examples for long
MM enough (presumably after 75 activities).  It's a bit like each thread is not
MM being released after it's used.  I have a comparable installation which runs
MM without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.
MM 
MM Server.xml is pretty much as installed by default (I've commented out the
MM 8080 connector) so it's using the Coyote connector:
MM 
MM Connector className=org.apache.coyote.tomcat4.CoyoteConnector
MMport=8009 minProcessors=5 maxProcessors=75
MMenableLookups=true redirectPort=8443
MMacceptCount=10 debug=0 connectionTimeout=0
MMuseURIValidationHack=false
MM 
MM protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
MM 
MM If I change the timeout to 2, catalina.out reports that the timeout has
MM been reached.
MM 
MM workers.properties is as installed by default except that I've corrected the
MM java_home path.
MM 
MM mod_jk.conf is as follows
MM 
MM JkWorkersFile /etc/httpd/conf/workers.properties
MM JkLogFile /var/log/httpd/mod_jk.log
MM JkLogLevel error
MM 
MM 
MM #
MM # Root context mounts for Tomcat
MM #
MM JkMount /*.jsp ajp13
MM JkMount /servlet/* ajp13
MM 
MM #
MM # Auto configuration for the /examples context starts.
MM #
MM 
MM #
MM # The following line makes apache aware of the location of the /examples
MM context
MM #
MM Alias /examples /var/tomcat4/webapps/examples
MM Directory /var/tomcat4/webapps/examples
MM Options Indexes FollowSymLinks
MM /Directory
MM 
MM #
MM # The following line mounts all JSP files and the /servlet/ uri to tomcat
MM #
MM JkMount /examples/servlet/* ajp13
MM JkMount /examples/*.jsp ajp13
MM 
MM #
MM # The following line prohibits users from directly access WEB-INF
MM #
MM Location /examples/WEB-INF/
MM AllowOverride None
MM deny from all
MM /Location
MM 
MM ###
MM # Auto configuration for the /examples context ends.
MM ###
MM 
MM 
MM 
MM Any help much appreciated - I'm sure I've probably missed something obvious
MM but all the restarts are getting very annoying!
MM 
MM Marion
MM 
MM 
MM -
MM To unsubscribe, e-mail: [EMAIL PROTECTED]
MM For additional commands, e-mail: [EMAIL PROTECTED]
MM 
MM 
MM -
MM To unsubscribe, e-mail: [EMAIL PROTECTED]
MM For additional commands, e-mail: [EMAIL PROTECTED]
MM 


-- 


Ivan F. Martinez

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



RE: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Marion McKelvie
Ivan,

Thanks for your reply.  When you restart Apache, do the threads just build
up again?

If you can't see any difference between the two configurations, do you think
there may be a difference between the libraries being used?

Marion

-Original Message-
From: Ivan F. Martinez [mailto:[EMAIL PROTECTED]
Sent: 21 March 2003 12:59
To: Tomcat Users List
Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43



On Thu, 20 Mar 2003 09:40:14 -
Marion McKelvie [EMAIL PROTECTED] wrote:

MM Hello again,
MM
MM Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43
and
MM mod_jk 2.0.43 on Redhat 8?
MM

I have one machine that works fine, and other with same problem as you.
When you restart apache everything works again.

I have tested with mod_jk and mod_jk2.

I didn't find the difference between the two machines.

MM Marion
MM
MM -Original Message-
MM From: Marion McKelvie [mailto:[EMAIL PROTECTED]
MM Sent: 19 March 2003 10:38
MM To: [EMAIL PROTECTED]
MM Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM
MM
MM Hi,
MM
MM I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk
2.0.43
MM running on Redhat 8, all installed from rpms as executables (no building
MM from source).
MM
MM Everything works fine for a while until I get the following error in
MM catalina.out
MM
MM 19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
MM INFO: All threads are busy, waiting. Please increase maxThreads or check
the
MM servlet sttus75 75
MM
MM I can get this error just by playing with the Tomcat examples for long
MM enough (presumably after 75 activities).  It's a bit like each thread is
not
MM being released after it's used.  I have a comparable installation which
runs
MM without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.
MM
MM Server.xml is pretty much as installed by default (I've commented out
the
MM 8080 connector) so it's using the Coyote connector:
MM
MM Connector className=org.apache.coyote.tomcat4.CoyoteConnector
MMport=8009 minProcessors=5 maxProcessors=75
MMenableLookups=true redirectPort=8443
MMacceptCount=10 debug=0 connectionTimeout=0
MMuseURIValidationHack=false
MM
MM protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
MM
MM If I change the timeout to 2, catalina.out reports that the timeout
has
MM been reached.
MM
MM workers.properties is as installed by default except that I've corrected
the
MM java_home path.
MM
MM mod_jk.conf is as follows
MM
MM JkWorkersFile /etc/httpd/conf/workers.properties
MM JkLogFile /var/log/httpd/mod_jk.log
MM JkLogLevel error
MM
MM
MM #
MM # Root context mounts for Tomcat
MM #
MM JkMount /*.jsp ajp13
MM JkMount /servlet/* ajp13
MM
MM #
MM # Auto configuration for the /examples context starts.
MM #
MM
MM #
MM # The following line makes apache aware of the location of the /examples
MM context
MM #
MM Alias /examples /var/tomcat4/webapps/examples
MM Directory /var/tomcat4/webapps/examples
MM Options Indexes FollowSymLinks
MM /Directory
MM
MM #
MM # The following line mounts all JSP files and the /servlet/ uri to
tomcat
MM #
MM JkMount /examples/servlet/* ajp13
MM JkMount /examples/*.jsp ajp13
MM
MM #
MM # The following line prohibits users from directly access WEB-INF
MM #
MM Location /examples/WEB-INF/
MM AllowOverride None
MM deny from all
MM /Location
MM
MM ###
MM # Auto configuration for the /examples context ends.
MM ###
MM
MM
MM
MM Any help much appreciated - I'm sure I've probably missed something
obvious
MM but all the restarts are getting very annoying!
MM
MM Marion
MM
MM
MM -
MM To unsubscribe, e-mail: [EMAIL PROTECTED]
MM For additional commands, e-mail: [EMAIL PROTECTED]
MM
MM
MM -
MM To unsubscribe, e-mail: [EMAIL PROTECTED]
MM For additional commands, e-mail: [EMAIL PROTECTED]
MM


--


Ivan F. Martinez

-
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: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Jonathan Eric Miller
I'm running in standalone mode and I'm receiving the same error, so, I don't
think the problem is with regard to what version of Apache you're running or
mod_jk.

Jon

- Original Message -
From: Ivan F. Martinez [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 6:59 AM
Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43



 On Thu, 20 Mar 2003 09:40:14 -
 Marion McKelvie [EMAIL PROTECTED] wrote:

 MM Hello again,
 MM
 MM Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43
and
 MM mod_jk 2.0.43 on Redhat 8?
 MM

 I have one machine that works fine, and other with same problem as you.
 When you restart apache everything works again.

 I have tested with mod_jk and mod_jk2.

 I didn't find the difference between the two machines.

 MM Marion
 MM
 MM -Original Message-
 MM From: Marion McKelvie [mailto:[EMAIL PROTECTED]
 MM Sent: 19 March 2003 10:38
 MM To: [EMAIL PROTECTED]
 MM Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
 MM
 MM
 MM Hi,
 MM
 MM I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk
2.0.43
 MM running on Redhat 8, all installed from rpms as executables (no
building
 MM from source).
 MM
 MM Everything works fine for a while until I get the following error in
 MM catalina.out
 MM
 MM 19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
 MM INFO: All threads are busy, waiting. Please increase maxThreads or
check the
 MM servlet sttus75 75
 MM
 MM I can get this error just by playing with the Tomcat examples for long
 MM enough (presumably after 75 activities).  It's a bit like each thread
is not
 MM being released after it's used.  I have a comparable installation
which runs
 MM without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.
 MM
 MM Server.xml is pretty much as installed by default (I've commented out
the
 MM 8080 connector) so it's using the Coyote connector:
 MM
 MM Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 MMport=8009 minProcessors=5 maxProcessors=75
 MMenableLookups=true redirectPort=8443
 MMacceptCount=10 debug=0 connectionTimeout=0
 MMuseURIValidationHack=false
 MM
 MM protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
 MM
 MM If I change the timeout to 2, catalina.out reports that the
timeout has
 MM been reached.
 MM
 MM workers.properties is as installed by default except that I've
corrected the
 MM java_home path.
 MM
 MM mod_jk.conf is as follows
 MM
 MM JkWorkersFile /etc/httpd/conf/workers.properties
 MM JkLogFile /var/log/httpd/mod_jk.log
 MM JkLogLevel error
 MM
 MM
 MM #
 MM # Root context mounts for Tomcat
 MM #
 MM JkMount /*.jsp ajp13
 MM JkMount /servlet/* ajp13
 MM
 MM #
 MM # Auto configuration for the /examples context starts.
 MM #
 MM
 MM #
 MM # The following line makes apache aware of the location of the
/examples
 MM context
 MM #
 MM Alias /examples /var/tomcat4/webapps/examples
 MM Directory /var/tomcat4/webapps/examples
 MM Options Indexes FollowSymLinks
 MM /Directory
 MM
 MM #
 MM # The following line mounts all JSP files and the /servlet/ uri to
tomcat
 MM #
 MM JkMount /examples/servlet/* ajp13
 MM JkMount /examples/*.jsp ajp13
 MM
 MM #
 MM # The following line prohibits users from directly access WEB-INF
 MM #
 MM Location /examples/WEB-INF/
 MM AllowOverride None
 MM deny from all
 MM /Location
 MM
 MM ###
 MM # Auto configuration for the /examples context ends.
 MM ###
 MM
 MM
 MM
 MM Any help much appreciated - I'm sure I've probably missed something
obvious
 MM but all the restarts are getting very annoying!
 MM
 MM Marion
 MM
 MM
 MM -
 MM To unsubscribe, e-mail: [EMAIL PROTECTED]
 MM For additional commands, e-mail: [EMAIL PROTECTED]
 MM
 MM
 MM -
 MM To unsubscribe, e-mail: [EMAIL PROTECTED]
 MM For additional commands, e-mail: [EMAIL PROTECTED]
 MM


 --


 Ivan F. Martinez

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



HOT redeploy of webapps using Tomcat 4.1.18?

2003-03-21 Thread Johannes Fiala
Hi there,

Has anybody done a hot redeploy of a web application context using Tomcat?

What I've got to work so far:
*) simply overwrite JARs in the /webapps/myapp/WEB-INF/lib directory and 
reloading the application context runs ok
*) however, if you really want to completeley redeploy a web application, 
I currently have not found any other solution than having to stop and 
start the application (which means putting the whole application down).

== Is there really no way for simply exchanging a webapp during runtime?
What about the most simple solution: 
1.) putting up a new version (e.g. myapp2)
2.) using a redirect to redirect from myapp - myapp2 (without the user 
noticing it)

this would also make it easy to step back if troubles occur.
any thoughts on this matter?

Johannes

Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-21 Thread Ivan F. Martinez

On Fri, 21 Mar 2003 13:50:41 -
Marion McKelvie [EMAIL PROTECTED] wrote:

MM Ivan,
MM 
MM Thanks for your reply.  When you restart Apache, do the threads just build
MM up again?

Yes, tomcat gives a lot of messages like this :
512488 [Thread-73] INFO common.ChannelSocket  - server has been restarted or reset 
this connection

And it returns to work for some time again.
Apparently tomcat or mod_jk does not close the connection after serving the request.

MM If you can't see any difference between the two configurations, do you think
MM there may be a difference between the libraries being used?

I'm checked better, and the difference is :

Case when works (USING 2 MACHINES):
   RedHat 8, Apache 2.0.40 
   RedHat 7.3 Tomcat 4.1.18 

Case when I have problems
   RedHat 8, Apache 2.0.40 Tomcat 4.1.18 (SAME MACHINE)

The 2 use the same SUN SDK 1.4.1-01


But I have tried  today many combinations in the single machine :
SUNSDK 1.4.1, IBM SDK 1.3, 1.3.1, 1.4.
Apache 2.0.40 and 2.0.43
Tomcat 4.1.18 and 4.1.24

All configurations have the same problem.

All machines have up to date , kernels from redhat. And all other updates.

Last week I have made some tests with mod_jk2 with same problem.





MM Marion
MM 
MM -Original Message-
MM From: Ivan F. Martinez [mailto:[EMAIL PROTECTED]
MM Sent: 21 March 2003 12:59
MM To: Tomcat Users List
MM Subject: Re: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM 
MM 
MM 
MM On Thu, 20 Mar 2003 09:40:14 -
MM Marion McKelvie [EMAIL PROTECTED] wrote:
MM 
MM MM Hello again,
MM MM
MM MM Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43
MM and
MM MM mod_jk 2.0.43 on Redhat 8?
MM MM
MM 
MM I have one machine that works fine, and other with same problem as you.
MM When you restart apache everything works again.
MM 
MM I have tested with mod_jk and mod_jk2.
MM 
MM I didn't find the difference between the two machines.
MM 
MM MM Marion
MM MM
MM MM -Original Message-
MM MM From: Marion McKelvie [mailto:[EMAIL PROTECTED]
MM MM Sent: 19 March 2003 10:38
MM MM To: [EMAIL PROTECTED]
MM MM Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43
MM MM
MM MM
MM MM Hi,
MM MM
MM MM I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk
MM 2.0.43
MM MM running on Redhat 8, all installed from rpms as executables (no building
MM MM from source).
MM MM
MM MM Everything works fine for a while until I get the following error in
MM MM catalina.out
MM MM
MM MM 19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
MM MM INFO: All threads are busy, waiting. Please increase maxThreads or check
MM the
MM MM servlet sttus75 75
MM MM
MM MM I can get this error just by playing with the Tomcat examples for long
MM MM enough (presumably after 75 activities).  It's a bit like each thread is
MM not
MM MM being released after it's used.  I have a comparable installation which
MM runs
MM MM without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.
MM MM
MM MM Server.xml is pretty much as installed by default (I've commented out
MM the
MM MM 8080 connector) so it's using the Coyote connector:
MM MM
MM MM Connector className=org.apache.coyote.tomcat4.CoyoteConnector
MM MMport=8009 minProcessors=5 maxProcessors=75
MM MMenableLookups=true redirectPort=8443
MM MMacceptCount=10 debug=0 connectionTimeout=0
MM MMuseURIValidationHack=false
MM MM
MM MM protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
MM MM
MM MM If I change the timeout to 2, catalina.out reports that the timeout
MM has
MM MM been reached.
MM MM
MM MM workers.properties is as installed by default except that I've corrected
MM the
MM MM java_home path.
MM MM
MM MM mod_jk.conf is as follows
MM MM
MM MM JkWorkersFile /etc/httpd/conf/workers.properties
MM MM JkLogFile /var/log/httpd/mod_jk.log
MM MM JkLogLevel error
MM MM
MM MM
MM MM #
MM MM # Root context mounts for Tomcat
MM MM #
MM MM JkMount /*.jsp ajp13
MM MM JkMount /servlet/* ajp13
MM MM
MM MM #
MM MM # Auto configuration for the /examples context starts.
MM MM #
MM MM
MM MM #
MM MM # The following line makes apache aware of the location of the /examples
MM MM context
MM MM #
MM MM Alias /examples /var/tomcat4/webapps/examples
MM MM Directory /var/tomcat4/webapps/examples
MM MM Options Indexes FollowSymLinks
MM MM /Directory
MM MM
MM MM #
MM MM # The following line mounts all JSP files and the /servlet/ uri to
MM tomcat
MM MM #
MM MM JkMount /examples/servlet/* ajp13
MM MM JkMount /examples/*.jsp ajp13
MM MM
MM MM #
MM MM # The following line prohibits users from directly access WEB-INF
MM MM #
MM MM Location /examples/WEB-INF/
MM MM AllowOverride None
MM MM deny from all
MM MM /Location
MM MM
MM MM ###
MM MM # Auto configuration for the /examples context ends.
MM MM

RE: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-20 Thread Marion McKelvie
Hello again,

Is anyone running with the combination of Tomcat 4.1.18, Apache 2.0.43 and
mod_jk 2.0.43 on Redhat 8?

Marion

-Original Message-
From: Marion McKelvie [mailto:[EMAIL PROTECTED]
Sent: 19 March 2003 10:38
To: [EMAIL PROTECTED]
Subject: tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43


Hi,

I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk 2.0.43
running on Redhat 8, all installed from rpms as executables (no building
from source).

Everything works fine for a while until I get the following error in
catalina.out

19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
INFO: All threads are busy, waiting. Please increase maxThreads or check the
servlet sttus75 75

I can get this error just by playing with the Tomcat examples for long
enough (presumably after 75 activities).  It's a bit like each thread is not
being released after it's used.  I have a comparable installation which runs
without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.

Server.xml is pretty much as installed by default (I've commented out the
8080 connector) so it's using the Coyote connector:

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

If I change the timeout to 2, catalina.out reports that the timeout has
been reached.

workers.properties is as installed by default except that I've corrected the
java_home path.

mod_jk.conf is as follows

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel error


#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

#
# Auto configuration for the /examples context starts.
#

#
# The following line makes apache aware of the location of the /examples
context
#
Alias /examples /var/tomcat4/webapps/examples
Directory /var/tomcat4/webapps/examples
Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

#
# The following line prohibits users from directly access WEB-INF
#
Location /examples/WEB-INF/
AllowOverride None
deny from all
/Location

###
# Auto configuration for the /examples context ends.
###



Any help much appreciated - I'm sure I've probably missed something obvious
but all the restarts are getting very annoying!

Marion


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



How can I install the ant to run with the TomCat 4.1.18 integrated with IIS?

2003-03-20 Thread Edemilson Aguiar
Hello all,

Somebody know How can I install the ant to run with the TomCat 4.1.18
integrated with IIS??

Please, if someone has some documentations or link about it let me know.
I'll appreciate it!!


Tks.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/3/2003
 


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



tomcat 4.1.18, apache 2.0.43, mod_jk 2.0.43

2003-03-19 Thread Marion McKelvie
Hi,

I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk 2.0.43
running on Redhat 8, all installed from rpms as executables (no building
from source).

Everything works fine for a while until I get the following error in
catalina.out

19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
INFO: All threads are busy, waiting. Please increase maxThreads or check the
servlet sttus75 75

I can get this error just by playing with the Tomcat examples for long
enough (presumably after 75 activities).  It's a bit like each thread is not
being released after it's used.  I have a comparable installation which runs
without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.

Server.xml is pretty much as installed by default (I've commented out the
8080 connector) so it's using the Coyote connector:

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

If I change the timeout to 2, catalina.out reports that the timeout has
been reached.

workers.properties is as installed by default except that I've corrected the
java_home path.

mod_jk.conf is as follows

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel error


#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

#
# Auto configuration for the /examples context starts.
#

#
# The following line makes apache aware of the location of the /examples
context
#
Alias /examples /var/tomcat4/webapps/examples
Directory /var/tomcat4/webapps/examples
Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

#
# The following line prohibits users from directly access WEB-INF
#
Location /examples/WEB-INF/
AllowOverride None
deny from all
/Location

###
# Auto configuration for the /examples context ends.
###



Any help much appreciated - I'm sure I've probably missed something obvious
but all the restarts are getting very annoying!

Marion


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



Getting Notified in Tomcat 4.1.18

2003-03-19 Thread B A L A J I
Hi,

I'm trying to extend Tomcat to get notified whenever a session is created 
or cleared. How is this possible in 4.1.18 version.?
Any help will be appreciated as I'm new to Tomcat.

Kind Regards
Balaji 

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


Re: Getting Notified in Tomcat 4.1.18

2003-03-19 Thread Nikola Milutinovic
B A L A J I wrote:
Hi,

I'm trying to extend Tomcat to get notified whenever a session is 
created or cleared. How is this possible in 4.1.18 version.?
Any help will be appreciated as I'm new to Tomcat.
Take a look at Listeners in Servlet 2.3 specification and in Tomcat, more 
specifically, SessionListener class.



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


Tomcat 4.1.18

2003-03-18 Thread Keith
I have just installed and having running Tomcat 4.1.18 for Windows ... I 
am presently starting the server by using the {TOMCAT}\bin\startup.bat 
script  is there a way to start the Tomcat server using services ???

Thanks,
Keith Crosby
--
-
Keith S. Crosby
Principal Systems Consultant
Xyvision Enterprise Solutions Inc.
30 New Crossing Rd
Reading, MA 01867
781-756-5669
visit:  www.xyenterprise.com
-


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


RE: Tomcat 4.1.18

2003-03-18 Thread Chris Dodunski
When you installed Tomcat, did you select a normal install (NT
checkbox=false), or custom (NT checkbox=true)?

Chris.


-Original Message-
From: Keith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 March 2003 10:40 a.m.
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18


I have just installed and having running Tomcat 4.1.18 for Windows ... I
am presently starting the server by using the {TOMCAT}\bin\startup.bat
script  is there a way to start the Tomcat server using services ???

Thanks,
Keith Crosby

--
-
Keith S. Crosby
Principal Systems Consultant
Xyvision Enterprise Solutions Inc.
30 New Crossing Rd
Reading, MA 01867
781-756-5669
visit:  www.xyenterprise.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]



  1   2   3   4   5   6   7   >