HELP: socket write error connection abort

2003-08-27 Thread W. Gao
Hi, all, I am using Tomcat 4.1.24 and I got the error below sporadically. It happens when I use IE to GET a HTML page which contains references to some GIF and htc files. There are about 30 GET requests sent to the Tomcat server when loading the HTML page. Sometimes, IE can't load the page, but

Re: socket write error connection abort

2003-08-27 Thread W. Gao
Oh, forgot to say that each of the 30 GET requests will invoke the same Servlet class which does authentication. Is this error caused by calling the same Servlet again and again too fast? If so, is there any solutions? Thanks. Wei - Original Message - From: W. Gao [EMAIL PROTECTED]

Re: how to make a scheduled event on tomcat

2003-08-27 Thread Christopher Williams
Use a java.util.Timer. Store the next scheduled event time in a Preferences object. If Tomcat isn't running when your event is due, run it on next startup. Then update the event time in Preferences. Chris Williams. - Original Message - From: Vladimer Shioshvili [EMAIL PROTECTED] To:

javac problems with Tomcat as NT Service

2003-08-27 Thread Turansky, Mark
I have installed the J2SE and J2EE SDKs to c:\java. I installed Tomcat to c:\Tomcat. I have X_HOME variables for both installations in my computers Environment Variables. The problem is that the SDKs also install a JRE to c:\program files\java\. When I run Tomcat in a console window, everything

[NON DELIVERY NOTIFICATION

2003-08-27 Thread postmaster
This message was verified by the filtering system of our mail server. Original message was replaced by this one by the following reason : *** A suspicious file (executable code) was found in the message ! Original message had the following attached files : (X-FILE ??? ) :

RE: mod_jk and Tomcat Lose Touch

2003-08-27 Thread Fred Whipple
Looks like there is a mismatch between the workers.properties and the server.xml (Tomcat's config file). The server.xml sets up Tomcat. More importantly, it sets up a Connector which opens a socket connection on a defined port (Look for the Connector' section in the Service section of the

RE: newbie - finding class files

2003-08-27 Thread Stuart MacPherson
What's wrong with putting them in CATALINA_HOME/common/lib? -Original Message- From: P.van Kemenade [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 16:49 To: Tomcat List Subject: RE: newbie - finding class files Hi I found this old thread about extending WebdavServlet, in which Andreas

RE: how to make a scheduled event on tomcat

2003-08-27 Thread Kevin Williams
Or if you're on a linux environment, just use crontab by itself. I've heard there's something similar in the windows environment as well. On Tue, 2003-08-26 at 13:25, Shapira, Yoav wrote: Howdy, Like JCrontab? http://jcrontab.sourceforge.net/index.shtml ;) Yoav Shapira Millennium

Re: newbie - finding class files

2003-08-27 Thread Pike
Hi thanks for your response (sorry about the repeated post - my mistake) What's wrong with putting them in CATALINA_HOME/common/lib? well, nothing. it just sounds very ugly, having the same jar files running twice in one tomcat, once in server/lib and once in common/lib. is this how its

Re: TOMCAT User

2003-08-27 Thread Filip Hanik
Mensagemyes, look it up in the HttpServletRequest API, I think it is something like getUserPrincipal() Filip - Original Message - From: Oscar (Eccox) To: Tomcat Users List Sent: Tuesday, August 26, 2003 2:38 PM Subject: TOMCAT User Hi, Is there any attribute on the

Re: Webdav and security

2003-08-27 Thread Pike
Hi Duncan check this http://www.mail-archive.com/[EMAIL PROTECTED]/ msg101208.html see the http-method tags specified there ? if i get it right, you dont want to open the methods GET and POST for everyone, and after that, you want to restrict all methods (PUT,DELETE,PROPFIND,etc) to a certain

RE : Dynamically update server.xml httpd.conf

2003-08-27 Thread Sylvain Barrette
Graceful restart for Apache 2.0 http://httpd.apache.org/docs-2.0/stopping.html#graceful Or 1.3 http://httpd.apache.org/docs/stopping.html Jonh Turner wrote: Yep, its a restart. If you use restart then all open connections will be dropped. If you use graceful, Apache will block new

RE: Tomcat 3.2.4 behind a proxy

2003-08-27 Thread Brian Peterson
Hello, You may want to upgrade to a 4.1.x or 5.0.x version of Tomcat. I'm having issues with certain keep-alives in 4.1.27, but other than that the reverse proxy setup I have seems to work well. Good Luck! Brian Peterson -Original Message- From: Armenio Pinto [mailto:[EMAIL

jsp:include

2003-08-27 Thread Luke Vanderfluit
Hi, I want to include the output of a sevlet in my html page. I have the following: BlockOfHTMLCODE jsp:include page=/servlet/foo flush=true/ BlockOfHTMLCODE in my html file, The first block of HTML is output, then the server output is output but the last block of html is not output, can

Reverse Proxy with 4.1.27

2003-08-27 Thread Brian Peterson
Many thanks to Henrik and Bill for helping me to get enough info to debug. Replying to my own, and changing subject to reflect changes in environment. Anybody have any idea why Tomcat would not honor 1.0 keep-alives? In general or specifically from a Squid proxy. I've included the request

Re: request.getRemoteUser() only non-null on protected pages

2003-08-27 Thread Christopher Williams
Which type of authentication are you using. I find that SSL-Slient authentication causes getUserPrincipal() (or getRemoteUser()) to return null. I don't know why this is. BASIC or DIGEST authentication should work OK, though. If you describe your problem to me again, I may have some insights

Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Neil Aggarwal
Hello: I am getting a failure in my code when using a request dispatcher to forward the request to an encoded url from a post operation. To see it in action, do the following: 1. Turn off cookies on your browser 2. Visit http://dev.jammconsulting.com/gen?_template=/index.jsp 3. Hit the Test

RE: Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Filip Hanik
that is a funky url, it has a space in it, and the last / should be encoded Filip -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 5:45 PM To: 'Tomcat-User' Cc: Jeff Patterson Subject: Request dispatcher fails on encoded url when used

Re: ContextConfig.tldScanJar error on Linux but not Solaris

2003-08-27 Thread Jean-Francois Arcand
Hi, are you sure you have all the patches to run java? Be sure you have everything...if that still doesn't work, go the a java.sun.com forum and ask the question there (this is a jdk/vm problem) -- Jeanfrancois [EMAIL PROTECTED] wrote: Hi, I am getting the following error with Tomcat

RE: javac problems with Tomcat as NT Service

2003-08-27 Thread Shatzer, Larry
-Original Message- From: Turansky, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 1:57 PM To: [EMAIL PROTECTED] Subject: javac problems with Tomcat as NT Service Is there a way to set the Tomcat service to use my JAVA_HOME installation instead of the Program Files

Re: mysql connection pooling problem

2003-08-27 Thread Eugene Lee
On Tue, Aug 26, 2003 at 08:25:31AM -0600, Steve Wilkinson wrote: : : I followed the example at : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/jndi-datasource-examples-howto.html#MySQL%20DBCP%20Example. : : The only thing I see wrong is the following line of code: : : DataSource ds

RE: javac problems with Tomcat as NT Service

2003-08-27 Thread John Corrigan
Far simpler to just edit the registry. -Original Message- From: Shatzer, Larry [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 2:31 PM To: 'Tomcat Users List' Subject: RE: javac problems with Tomcat as NT Service -Original Message- From: Turansky, Mark [mailto:[EMAIL

RE: Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Neil Aggarwal
Filip: There is no space in the url, it is an underscore. As far as the last slash, why would it work correctly with cookies on and not with cookies off? It should work the same with and without cookies. If it did not work in both cases, that would make sense to me. Thanks, Neil

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. From [EMAIL PROTECTED] Tue Aug 26 22:14:42 2003 Return-Path: [EMAIL PROTECTED] Received: from apache.org (daedalus.apache.org [208.185.179.12])

How reference of MBeanServer

2003-08-27 Thread s p
I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other application servers like weblogic and webshere. But I did not find suitable APIs for Tomcat. Any

How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other application servers like weblogic and webshere. But I did not find suitable APIs for Tomcat. Any

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. From [EMAIL PROTECTED] Tue Aug 26 22:58:11 2003 Return-Path: [EMAIL PROTECTED] Received: from apache.org (daedalus.apache.org [208.185.179.12])

Re: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread Kwok Peng Tuck
Have a look a the source code for the Admin Webapp for tomcat. It uses JMX. s p wrote: I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other

Re: [ANN] Apache Tomcat 5.0.9 Beta released

2003-08-27 Thread Bill Barker
This part of Tomcat didn't really change all that much from 4.1.x. There are no changes on the Apache side (i.e. you can use the same binaries for mod_jk(2) that you use for 4.1.x). Warp (aka mod_webapp) is not supported. On the Tomcat side, only the CoyoteConnector is supported. Other than

Re: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread Bill Barker
For (now somewhat outdated) security reasons, Tomcat ships the jmx jar in server/lib so that it is only accessable to Tomcat internals (and trusted webapps like 'admin'). It should be enough to move the jar to common/lib to get access to the JMX server. You may also have to move the

Re: Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Bill Barker
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22734. You can also search bugzilla, since this one has come up several times (this is just the latest incarnation :). Neil Aggarwal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello: I am getting a failure in my code when

Manager Application and catalina.policy?

2003-08-27 Thread achana
H Does HttpConnector have to be enabled on some port e.g. 8080 to use Manager Application ? I am happy with just Ajp at the moment. I am on TC4.0.x and it is not possible to upgrade to TC4.1.x at the moment. Cheers :-) Shapira, Yoav wrote: Howdy, No, you're not right. The two provide

Re: Debug tomcat session serialization

2003-08-27 Thread Bill Barker
It looks like you have to explictly configure the Manager to get this info: Context path=/myapp docBase=myapp Manager debug=1 / /Context Note: I haven't tested this, and only spent about a minute looking at the code, so this may not work. Sasha Borodin [EMAIL PROTECTED] wrote in message

vhosts and workers

2003-08-27 Thread Christopher Garrett
I'm in the process of configuration Tomcat 4.1.27 to communicate with Apache 1.3.28 through mod_jk on a single machine. I have several virtual hosts set up on my server in the following way: /home/vhost1, /home/vhost2, etc.. I would like to configure Apache/Tomcat to allow users of these vhosts to

Re: tomcat - request thread pool question

2003-08-27 Thread Bill Barker
Pretty much what Yoav said ;). If the servlet throws an exception out of the service method, Tomcat can't be sure that the input stream was fully read, so it doesn't know what the next data it's going to read is. In the case of an Exception, it is (usually) a clean shutdown (Tomcat sends a

Re: No need for catalina.policy?

2003-08-27 Thread achana
 How does a malicious foreign applet come to be on my linux/apache2 web-server where only two ports are listening and most services disabled ? The only way the applets can communicate with the servlets is through an a2s http-tunnel! Does this relate a threat mode where the threat comes from

Re: request.getRemoteUser() only non-null on protected pages

2003-08-27 Thread Bill Barker
Yup. That pretty much sums it up. Tomcat provides authentication information if it needs to, and otherwise doesn't. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any comments, PLEASE... Could this be relavant ? http://marc.theaimsgroup.com/?l=jboss-userm=103680567313168w=2

Re: Dynamically update server.xml httpd.conf

2003-08-27 Thread Fred Kreek
At 21:22 26/08/03, you wrote: Tomcat 4 = no Tomcat 5 = I believe so Apache = yes ($APACHE_HOME/bin/apachectl graceful OR $APACHE_HOME/bin/apachectl restart) John Lars Nielsen Lind wrote: Hi. Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is

Opposite of Persistent manager

2003-08-27 Thread achana
Hi all. Currently I am using session timeout on web.xml Ideally if a user walks away from the terminal, even for a short while, the session dies and the display is cleared. I guess that has to be handled programmaticaly rather than through TC4. ??? TIA :-)

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. From [EMAIL PROTECTED] Wed Aug 27 01:02:20 2003 Return-Path: [EMAIL PROTECTED] Received: from apache.org (daedalus.apache.org [208.185.179.12])

RE: mod_jk load balancing with multiple apache servers

2003-08-27 Thread Ralph Einfeldt
To me it's not quite clear what you are doing exacly. I see three option to use an externl loadbalancer. Which one is the one you use ? - use mod_jk with sticky sessions. - Setup two apaches with a mod_jk. - Setup loadbalancing for mod_jk. - Setup two tomcats with a unique jvmRoute.

Re: javac problems with Tomcat as NT Service

2003-08-27 Thread Fred Kreek
At 22:56 26/08/03, you wrote: I have installed the J2SE and J2EE SDKs to c:\java. I installed Tomcat to c:\Tomcat. I have X_HOME variables for both installations in my computers Environment Variables. The problem is that the SDKs also install a JRE to c:\program files\java\. When I run Tomcat

Re: vhosts and workers

2003-08-27 Thread Fred Kreek
At 07:03 27/08/03, you wrote: I'm in the process of configuration Tomcat 4.1.27 to communicate with Apache 1.3.28 through mod_jk on a single machine. I have several virtual hosts set up on my server in the following way: /home/vhost1, /home/vhost2, etc.. I would like to configure Apache/Tomcat to

Re: Opposite of Persistent manager

2003-08-27 Thread Bill Barker
It's a pretty simple application of meta-refresh. I've seen sites (mostly subscription, so I can't give you a working URL) that do this. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. Currently I am using session timeout on web.xml Ideally if a user walks away from the

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Bill Barker
I'm afraid that you are clueless ;-). Apache+mod_jk only needs read, which it's got. You could try posting your conf files, to see if anyone can spot the error.. - Original Message - From: Denise Mangano [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Tuesday,

Re: Vedr.: RE: request.getRemoteUser() only non-null on protected pages

2003-08-27 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, it an answer to someone that had the same problem as me. But the answer suggest only dump solutions - either making all pages protected, or storing the principal yourself in session. I was thinking if any of you had more

Re: Any contractors from HK, S.E.Asia or India in this forum ?

2003-08-27 Thread achana
C'mon There are 7+ million people in HK, x-number of multi-nationals from y-number of industry sectors. I can't believe no HK person is contributing to or listening in on this forum. Don't be shy. [EMAIL PROTECTED] wrote: Hiya, all. Any contractors in this forum specializing in java

Vedr.: Re: Vedr.: RE: request.getRemoteUser() only non-null on protectedpages

2003-08-27 Thread pste
We can agree that the behavior is spec-compliant, but we cannot agree that the spec is particuarly smart on that point. I would like to be able to make a patch, but Im not involved as a developer. Thanx

Run tomcat without showing window

2003-08-27 Thread Mario Moroni
I'd like to run tomcat without showing the window server. In win NT 2K I could run this as a service, but in WIN98? How can I do This? Thanks _Mario_ -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Le migliori offerte per desktop e notebook le trovi solo

RE: newbie - finding class files

2003-08-27 Thread Stuart MacPherson
Well actually if you have them in 2 places it can cause terminal errors, and at the very least will waste time and memory on startup. Common/lib is not an ideal solution, but you might want to try it at least to see if it works. In any case, if you install things like Slide (a Jakarta DMS/CMS

Re: Run tomcat without showing window

2003-08-27 Thread Venkata Srinivasa Rao, Yerra
As I know you can use javaw to start tomcat What you need to do is, change the tomcat startup script from java to javaw. After you run the script you can safely close the window but tomcat keeps running. Srinivas. At 09:54 AM 8/27/2003 +0200, you wrote: I'd like to run tomcat without showing the

RE: javac problems with Tomcat as NT Service

2003-08-27 Thread John Corrigan
Edit the registry. Off the top of my head it is something like: HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Apache Tomcat 4.1 Parameters You need to change the value for the JVM library to point to the jvm.dll in the server directory of your jre. Should

Re: Run tomcat without showing window

2003-08-27 Thread Mario Moroni
Thanks! I've tryed this! It runs!!! Mario - Original Message - From: Venkata Srinivasa Rao, Yerra [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:15 AM Subject: Re: Run tomcat without showing window As I know you can use javaw to start

Authentication without authorisation

2003-08-27 Thread Krause Karin
Hi all, I've got a question regarding authentication. I wish to do authentication without authorisation. So this means everybody should be free to access my web-resource but I wish to know who it is. Therefore the accessing user must login. As probably everybody knows here I can configure that by

RE: Webdav and security

2003-08-27 Thread Duncan Strang
Hi Thanks for that. I actually tried this and it works in a way. However it still lets anyone get a listing of all editable files by virtue of the fact that GET and POST methods have no constraints applied to them. Still, it solves the immediate problem which is what I needed. Cheers Duncan

Re: Tomcat 5.0.4 + Apache 2.0.46 with mod_jk 2.0.43

2003-08-27 Thread Venkata Srinivasa Rao, Yerra
uri:/intranet* may helps you At 04:15 PM 8/27/2003 +0800, you wrote: I am currenty try to install Tomcat 5.0.4 + Apache 2.0.46 using mod_jk 2.0.43 this is my worker2.properties : [shm:] file=C:\Program Files\Apache Group\Apache2\logs\jk2.shm size=100 [channel.socket:localhost:8009]

RE: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread Purvis Robert
I've done this just recently in fact! I was looking for a means of monitoring objects within our Tomcat and dicovered JMX. To get to Tomcats Mbean Server you use the following (I've got it in a GeneralJMX class in a static method for easy of reuse): public class GeneralJMX { /** Creates a

RE: mod_jk forwarding scheme problems - https requests

2003-08-27 Thread Purvis Robert
Did you try: scheme=https as an attribute in the https Connector in server.xml ? -Original Message- From: Rudolf Schamberger [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 16:50 To: [EMAIL PROTECTED] Subject: mod_jk forwarding scheme problems - https requests Hello, did anyone

Re: Tomcat 5.0.4 + Apache 2.0.46 with mod_jk 2.0.43

2003-08-27 Thread Robin
uri:/intranet* , it cant work for now im still using: [uri:/intranet/*] My tomcat is also listening at port 8080 port 80 is for apache httpd http://localhost:8080/intranet -- work http://localhost:80/intranet -- cannot work http://localhost:80/intranet/--- work Venkata Srinivasa Rao, Yerra

RE: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
Hi Purvis, Thanks for the reply. This code will give me the MBeanServers on the same JVM But in our case we want to get the MBeanServer of a remote Tomcat. The Tomat server may be running on any other machine. I would have the port number and the address of the machine where the Tomcat is

RE: mod_jk load balancing with multiple apache servers

2003-08-27 Thread Peter Anning
Here are a few points of clarification: - External hardware Http load balancing is setup using sticky sessions - mod_jk is setup using sticky sessions - there is no session state replication (a lost Tomcat/Jboss instance requires a user to log back on) - the tomcat/Jboss instances are on

RE: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread Purvis Robert
I forgot to mention - you must also copy the mx4j-jmx.jar from server/lib to common/lib so your web apps can use the Tomcat JMX classes. Rob -Original Message- From: s p [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 03:59 To: [EMAIL PROTECTED] Subject: How to get reference of

Re: Is this the correct place to ask questions about WebDAV

2003-08-27 Thread P . van Kemenade
Hi It's the right place. I don't know if you'll get many responses, as WebDAV seems to be one of the least used features. :-) apparently. I haven't had any answer to any webdav questions yet, but I'll be glad to answer yours if I can. I'm afraid everyone seriously into webdav tries his luck with

RE: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
I want to monitor Tomcat server using JMX from another machine. I am not accessing the MBeanServer from an webapplication deployed on the Tomcat. So I need have mx4-jmx.jar in common/lib. Santosh --- Purvis Robert [EMAIL PROTECTED] wrote: I forgot to mention - you must also copy the

Re: Webdav and security

2003-08-27 Thread P . van Kemenade
Hi However it still lets anyone get a listing of all editable files by virtue of the fact that GET and POST methods have no constraints applied to them. hm .. you can turn of the listings in your web.xml servlet servlet-namebla/servlet-name servlet-classbla/servlet-class init-param

Re: apache2, mod_jk2, tomcat4.1.27: server has been restarted or reset this connection

2003-08-27 Thread Chris Joelly
Hello! i have this problem on a windows 2000 box ... thx, Chris Am Tue, Aug 26, 2003 at 01:34:47PM -0400, Eric J. Pinnell meinte: I get this too. You can add a connectionTimeout to the Connector (I use 12) and you will no longer get a reset INFO message but a connection timed out

Re: Authentication without authorisation

2003-08-27 Thread John Holman
Krause auth-constraint role-name*/role-name /auth-constraint Will require authentication but not authorisation. John. Krause Karin wrote: Hi all, I've got a question regarding authentication. I wish to do authentication without authorisation. So this means everybody should

error while running application

2003-08-27 Thread Billy Kantartzis
i am trying to run the registry server of jwsdp1.2 and i get the following error --error --- Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating

Tomcat logging loads of rubbish

2003-08-27 Thread Allistair Crossley
Tomcat seems to be churning out loads of logging into my web application's log file (configured with Log4J) I have included a sample here...where can I turn this all off .. I am not sure why it is all coming through into my application log. 12:50:12,680 - DEBUG

Re: mod_jk and Tomcat Lose Touch

2003-08-27 Thread John Turner
Sounds to me like an OS resource issue. Total number of allowed open connections, etc. Since it worked on 7.x and not on 9, I would consider that a default changed somewhere, somehow. John Also, the same Apache 1.3.X and Tomcat 3.X and 4.X configurations worked perfectly on Red Hat 7.3, it

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
Hi - Things I would check: - apache's access and error log - is Apache trying to handle the request instead of Tomcat? - Tomcat's log - is Tomcat even getting the request? - move mod_jk.conf to APACHE_HOME/conf, change your Include to match. Then change JkLogLevel to debug or info (I forget

Re: vhosts and workers

2003-08-27 Thread John Turner
Christopher Garrett wrote: Home appBase=/home/vhost1/public_html/webapps/... ... Home appBase=/home/vhost2/public_html/webapps/... - setting the docBase/path attributes in the child Context tag to some directory within the appBase path: Home

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. From [EMAIL PROTECTED] Wed Aug 27 08:30:28 2003 Return-Path: [EMAIL PROTECTED] Received: from apache.org (daedalus.apache.org [208.185.179.12])

Urgent !!! Problem to get TOMCAT/4.1.24 cluster running with sticky sessionsupport.

2003-08-27 Thread Yefym . Dmukh
Hi guys here is detail description: I have Apache/2.0.45 running on the server A And two tomcat workers are running on B and C The problem is that I cannot get Tomcat cluster load balanced , playing around with workers.properties on Apache gave me two different situations. 1.if I have

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. From [EMAIL PROTECTED] Wed Aug 27 09:01:35 2003 Return-Path: [EMAIL PROTECTED] Received: from apache.org (daedalus.apache.org [208.185.179.12])

RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
John - I just realized that I explained it slightly wrong. When I comment the Include statement, apache starts ok. When I uncomment apache will not start. I checked what you suggested. As Bill suggested, I am including my conf files as well. 1. Apache's error logs are completely empty ...

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
What's the output of APACHE_HOME/bin/apachectl configtest? John Denise Mangano wrote: John - I just realized that I explained it slightly wrong. When I comment the Include statement, apache starts ok. When I uncomment apache will not start. I checked what you suggested. As Bill suggested, I

RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
The same thing happens... It just hangs Also, the same situation. If I comment out the Include statement in httpd.conf I can run the configtest ok. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:20 AM To: Tomcat Users List

Message de l'administrateur réseau de la Régie du Rhône S.A.

2003-08-27 Thread Mail Security Administrator
Madame, Mademoiselle, Monsieur, Votre e-mail n'a pas atteint son destinataire. Pour des raisons de sécurité, le type de fichier attaché n'est pas autorisé. Nous vous prions de contacter le destinataire pour de plus amples renseignements. Administrateur Informatique Régie du Rhône S.A. Place du

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
configtest doesn't return an error? It just hangs? That is very funky. Can you post your mod_jk.conf? John Denise Mangano wrote: The same thing happens... It just hangs Also, the same situation. If I comment out the Include statement in httpd.conf I can run the configtest ok.

RE: TOMCAT User

2003-08-27 Thread Shapira, Yoav
Howdy, You mean like getUserPrincipal() in HttpServletRequest? Yoav Shapira Millennium ChemInformatics -Original Message- From: Oscar (Eccox) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 5:39 PM To: Tomcat Users List Subject: TOMCAT User Hi,   Is there any attribute on the

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Shapira, Yoav
Howdy, Make sure log4j.jar is in your webapp's WEB-INF/lib directory (not shared/lib or common/lib). Make sure your log4j configuration file is under your webapp somewhere, not in common/lib, common/classes, shared/lib, or shared/classes. Yoav Shapira Millennium ChemInformatics -Original

Context

2003-08-27 Thread Robert Charbonneau
I was trying to setup Tomcat to allow Apache to serve *.jsp files from the DocumentRoot of Apache. I had setup the following: !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A

Badly stuck... Need help Can't read /...$jsp.java???

2003-08-27 Thread Andoni
Hello, I am getting this error in my log files followed by a stack trace through Tomcat code. Can anyone shed any light? org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't read: /apache/jakarta/tomcat/work/Standalone/my.domain.net/_/jsp/savemsg$jsp.java 1 error

Re: Context

2003-08-27 Thread John Turner
Sure, as soon as you give us insight such as: - what's wrong, exactly - what error messages you're getting - what version of Tomcat - what version of Apache, what connector - whether its working in Tomcat standalone, without Apache - what URL you are trying to use Specific information is best.

RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
Yes it is very strange. I also tried it with Tomcat stopped, and still that Include statement seems to be the offending line. I sent my files with the previous emails, including the httpd.conf. I am wondering, if I try to put all the relevant JK 'stuff' directly into the httpd.conf file will it

RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
OK, I tried adding the Jk directives directly into the httpd.conf file, and apache at least starts. So the problem is the include statement. Is it possible that I don't have whatever module is needed to support the Include statement? So now the problem is that although apache starts, it does

Re: [ANN] Apache Tomcat 5.0.9 Beta released

2003-08-27 Thread Dominique Batard
Did anything changed in the docBase Context attribute within virtual Hosts ? I can't have an absolute path in the docBase attribute, either within server.xml or within a context file I'm getting : INFO: Processing Context configuration file URL

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Allistair Crossley
My logging is working OK. My Log4j is in web-inf/lib and the log4j properties is is web-inf/classes. The problem is that for some reason the log output includes my stuff AND loads of other stuff that I do not want. I have no idea where it is coming from. -Original Message- From:

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Shapira, Yoav
Howdy, It's coming from tomcat, which is picking up your log4j or commons-logging configuration. Are you using commons-logging in your webapp? Yoav Shapira Millennium ChemInformatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
Hate to say it, but it sounds like your Apache is munged up. If you delete the mod_jk.conf Include, and you delete all other JK stuff from httpd.conf, your Apache starts up properly, with no errors? What is the output of httpd -l? John Denise Mangano wrote: OK, I tried adding the Jk

Urgent !!! Problem to get TOMCAT/4.1.24 cluster running with sticky sessionsupport.

2003-08-27 Thread Yefym . Dmukh
Hi guys , I'm newbei here , can be that I duplicate this message. Sorry for that , but would be nice if anybody reply me :))) just to be sure that I have my chance to solve this problem I have Apache/2.0.45 running on the server A And two tomcat workers are running on B and C The problem is

Re: Context

2003-08-27 Thread Andoni
1. Back up the file. 2. Delete all the comments. 3. Put all single-line XML tags on a single line (even if this means you can't see the end of some of them) 4. Delete any contexts you don't need (e.g. examples) 5. Then try to work with the file. Or post it to this list and ask your questions. As

RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
Yeah, it appears to be my apache. I still get that SSLMutex error. I have to work on getting that resolved. This is the output of httpd -l: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c

RE: Badly stuck... Need help Can't read /...$jsp.java???

2003-08-27 Thread Shapira, Yoav
Howdy, Make sure tomcat has read permissions on the work directory ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:09 AM To: Tomcat Users List Subject: Badly stuck... Need help Can't read

[OFF-TOPIC] Re: First mod_jk problem - can't start apache with Includestatement

2003-08-27 Thread John Turner
Are you loading mod_ssl? I'm marking this as off-topic because we haven't determined that this is a JK/Tomcat problem yet. John Denise Mangano wrote: Yeah, it appears to be my apache. I still get that SSLMutex error. I have to work on getting that resolved. This is the output of httpd -l:

Re: Urgent !!! Problem to get TOMCAT/4.1.24 cluster running withsticky session support.

2003-08-27 Thread Vladyslav Kosulin
[EMAIL PROTECTED] wrote: Hi guys here is detail description: I have Apache/2.0.45 running on the server A If your Apache is running on UNIX/Linux/BSD/MacOS X, load balancing with sticky sessions will work only if you use worker MPM. At least this is correct for mod_jk2, and may be the same is

RE: [OFF-TOPIC] Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
Yes I am. The problem (right now) definitely appears to be some issues with Apache. Unfortunately, the Apache list isn't as heavily trafficked, or as quick to response, so I'm still waiting on some replies while I search the archives. I think I have to recompile Apache. I added in a few extra

Limit local connections

2003-08-27 Thread Mario Moroni
In order to develop in peace i'd like to limit my tomcat only to local connections. is it possible? How? ..or should I make a control for every page requested? _Mario_ -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Consigli su piante, fiori e bonsai?

Re: [OFF-TOPIC] Re: First mod_jk problem - can't start apache withInclude statement

2003-08-27 Thread John Turner
Cool. My typical Apache build is: ./configure --enable-so --enable-ssl make make install John Denise Mangano wrote: Yes I am. The problem (right now) definitely appears to be some issues with Apache. Unfortunately, the Apache list isn't as heavily trafficked, or as quick to response, so I'm

  1   2   >