Re: Standalone Tomcat : suppress directory listing in web.xml

2002-11-06 Thread Marc Mendez
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] You can suppress directory indexes in the $CATALINA_HOME/conf/web.xml file. See the listings init parameter for the default servlet. Read my previous post. You have complete control over which requests your filter

RE: [Windows2k] Start tomcat as Service

2002-11-06 Thread François Vallet
Could you explain me or give me an url to tell me how to install tomcat 4.1 as service ! Thanks. -Original Message- From: Kwok Peng Tuck [mailto:pengtuck;makmal.com] Sent: mercredi 6 novembre 2002 08:26 To: Tomcat Users List Subject: Re: [Windows2k] Start tomcat as Service So have

RE: Performance Test

2002-11-06 Thread David Tildesley
4.1.12 appears to be the stable version that most people are using. Can you provide some metrics from your performance test (e.g. average requests/sec, time to first byte, time to last byte). For the linux, what is the hardware spec? What JDK version? using SSL? What is the CPU utilisation? Can

Re: [Windows2k] Start tomcat as Service

2002-11-06 Thread Kwok Peng Tuck
If you use the .exe distribution it will ask you whether you would want to register it as a NT service. François Vallet wrote: Could you explain me or give me an url to tell me how to install tomcat 4.1 as service ! Thanks. -Original Message- From: Kwok Peng Tuck

DrWatson alert with httpd 2.0.43, Tomcat 4.1.12, mod_jk2 on W2k

2002-11-06 Thread Peter Nabbefeld
Hi, when I'm stopping or restarting the httpd service (Apache httpd 2.0.43, running as a service), the Windows 2000 agent called DrWatson alerts a problem and writes the following log: Microsoft (R) Windows 2000 (R) Version 5.00 DrWtsn32 Copyright (C) 1985-1999 Microsoft Corp. Alle Rechte

Xrunhprof

2002-11-06 Thread Günter Kukies
Hello, I tried to get a profiling file from tomcat. I set the JAVA_OPTS in catalina.sh to -server -Xrunhprof:file=/home/test/test.eprof -Xms64 But no file was generated. System: Linux JDK1.4.0 tomcat 4.0.3 Thanks Günter

Balancer and sessions

2002-11-06 Thread Ryszard Lach
Hi! I'm trying to get work apache + tomcat4.0.5 with load balancer worker (mod_jk), but it seems it doesn't forward all requests of one session to the same worker. I've been used balancing with jserv and that wasn't a problem - if servicing of the session was started with jserv1, then the whole

RE: [Windows2k] Start tomcat as Service

2002-11-06 Thread François Vallet
But you cannot install it as service after the installation??? -Original Message- From: Kwok Peng Tuck [mailto:pengtuck;makmal.com] Sent: mercredi 6 novembre 2002 09:23 To: Tomcat Users List Subject: Re: [Windows2k] Start tomcat as Service If you use the .exe distribution it will

Re: MBeans exception and mod_jk

2002-11-06 Thread Martin Jacobson
First off, some encouragement — I have Mac OS X 10.1.5, Apache 2.0.43, mod_jk.so (the latest), and Tomcat 4.1.12, and it works for me! There may be differences with OS X 10.2, plus I installed Tomcat in /usr/local so my workers.properties file looks like this: # BEGIN workers.properties # #

Re: [Windows2k] Start tomcat as Service

2002-11-06 Thread Remy Maucherat
François Vallet wrote: But you cannot install it as service after the installation??? Tomcat is using a third party component (JavaService) to provide that functionality, so you should refer to its documentation. Remy -- To unsubscribe, e-mail:

RE: [Windows2k] Start tomcat as Service

2002-11-06 Thread Zaragoza, Carles
I have install two tomacat 4.1 as a service on a w2000 prof with no problems. run tomcat.exe -help and follow the syntax. Regards,Carles. -Original Message- From: François Vallet [mailto:fvallet;infovista.com] Sent: martes, 05 de noviembre de 2002 18:42 To: 'Tomcat Users List' Subject:

running tomcat using cvm virtual machine

2002-11-06 Thread karthik_s
Hi all, I am using tomcat 4.0. I want to run tomcat using cvm virtual machine that comes with j2me. To run the class org.apache.catalina.startup.Bootstrap, i have found some of the required classes and make them as a jar file and specified the jar file in -Xbootclasspath option of cvm

Re: Standalone Tomcat : suppress directory listing in web.xml

2002-11-06 Thread Rodrigo Ruiz
Marc, in the message title you say you want to suppress directory listings, but in the content, you speak about preventing access to some directories. These are two completely different things. Almost all responses you are receiving are directed to the first issue, that is, preventing Tomcat from

RE: [Windows2k] Start tomcat as Service

2002-11-06 Thread François Vallet
Thanks ... -Original Message- From: Remy Maucherat [mailto:remm;apache.org] Sent: mercredi 6 novembre 2002 10:39 To: Tomcat Users List Subject: Re: [Windows2k] Start tomcat as Service François Vallet wrote: But you cannot install it as service after the installation???

RE: Balancer and sessions

2002-11-06 Thread Juan Fco. Herrera Utande
Hi, Make sure that you have the following in the server.xml files: - server.xml in Localhost: jvmroute=ajp13 - server.xml in 192.168.130.9: jvmroute=ajp13s Regards, Juan -Mensaje original- De: Ryszard Lach [mailto:[EMAIL PROTECTED]] Enviado el: mircoles, 06 de noviembre de

Re: Balancer and sessions

2002-11-06 Thread Ryszard Lach
On Wed, Nov 06, 2002 at 11:44:07AM +0100, Juan Fco. Herrera Utande wrote: Hi, Make sure that you have the following in the server.xml files: - server.xml in Localhost: jvmroute=ajp13 - server.xml in 192.168.130.9: jvmroute=ajp13s In which section should it be? R. -- First they

RE: Balancer and sessions

2002-11-06 Thread Juan Fco. Herrera Utande
In the Engine section. You have more details in the documentation. Regards -Mensaje original- De: Ryszard Lach [mailto:[EMAIL PROTECTED]] Enviado el: mircoles, 06 de noviembre de 2002 11:47 Para: Tomcat Users List; [EMAIL PROTECTED] Asunto: Re: Balancer and sessions On Wed, Nov 06,

under IIS

2002-11-06 Thread Sipos Andras
Hi, I can't install tomcat under iis. The tomcat work perpertly on :8080 port The iis work propertly on :80 port. But when make a virtualweb width isapi_redirect.dll, not work. There is nothing errorlog, or log (c:\jacarta-tomcat\logs\iis_redirect.log). I maked step by step as the install doc

JSP error handling

2002-11-06 Thread Jan Kunzmann
Hi there, I've a problem with JSP error handling. I tried to make custom error pages with the % page errorPage=... % element. If an error occurs during the execution of my jsp page, the error page is called, but the javax.servlet.error.* attributes do not contain any values. I looked into the

RE: under IIS

2002-11-06 Thread Juan Fco. Herrera Utande
If you don't have a c:\jacarta-tomcat\logs\iis_redirect.log maybe the isapi filter didn't load properly. You can check it in the event viewer in the System section. -Mensaje original- De: Sipos Andras [mailto:[EMAIL PROTECTED]] Enviado el: mircoles, 06 de noviembre de 2002 12:09 Para:

Test

2002-11-06 Thread Rodrigo Ruiz
Please, ignore this mail. I'm just testing my messages arrive to this list -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: Tomcat NT Service hogs 90% CPU - intermittent problem

2002-11-06 Thread Christopher Watson
Many thanks Ben I've similarly NOT YET seen the 90% CPU on a jdk1.4 and tomcat 4.1.12 system I set up with much the same webapps as the one that's thrashing I noticed some old mailing list messages related to this problem that talked about garbage collection, and I had begun to wonder whether

Tomcat and php

2002-11-06 Thread ben f
Hi I'm new to tomcat but not php. I'm trying to get tomcat to run php as a servlet on WINNT 4.0. Tomcat version 4.1.12 PHP version 4.2.3 I have amended my server.xml file to include an entry for a php servlet as below: Context path=/phpserver docBase=php-server debug=99 reloadable=true / I

Re: Standalone Tomcat : suppress directory listing in web.xml

2002-11-06 Thread Rodrigo Ruiz
Marc, in the message title you say you want to suppress directory listings, but in the content, you speak about preventing access to some directories. These are two completely different things. Almost all responses you are receiving are directed to the first issue, that is, preventing Tomcat from

RE: under IIS

2002-11-06 Thread Sipos Andras
Sorry, i want to write: the log is empty and exist. 0 byte length. On startup tomcat write to log: ajp started. My server.xml is the default. In the IIS admin show a green arrow alongside. I donw know the iis webszerver fully, please send some screnshot. wery wery thx. ps: sorry, but my engilsh

RE: [Windows2k] Start tomcat as Service

2002-11-06 Thread François Vallet
I don't have any tomcat.exe ... it is not apache :( -Original Message- From: Zaragoza, Carles [mailto:Carles.Zaragoza;es.compuware.com] Sent: mercredi 6 novembre 2002 10:52 To: 'Tomcat Users List' Subject: RE: [Windows2k] Start tomcat as Service I have install two tomacat 4.1 as

Re: Tomcat NT Service hogs 90% CPU - intermittent problem

2002-11-06 Thread Ben Walding
I didn't notice the java processes thrashing. When I checked task manager it was just the tomcat.exe that was at high cpu usage. I also don't know where the tomcat.exe comes from, presumably someone builds it at the same time they build the install wizard etc. You could try -Xloggc:file

Re: Balancer and sessions

2002-11-06 Thread Ryszard Lach
On Wed, Nov 06, 2002 at 11:56:51AM +0100, Juan Fco. Herrera Utande wrote: In the Engine section. You have more details in the documentation. Yes, indeed. Now it works just great. Thanks a lot. Richard. -- First they ignore you. Then they laugh at you. Then they fight you. Then you win.

Re: Logging UserAgent (browser)

2002-11-06 Thread Tim Funk
Yes - use combined for your access log pattern. Ex: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=combined / neal wrote: Is it possible to instruct Tomcat to log the HTTP UserAgent (Aka which

Re: Logging User-Agent

2002-11-06 Thread Tim Funk
Use this instead ... Ex: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=combined / -Tim neal wrote: Does anyone know how to log the User-Agent (browser) in Tomcat access logs? I found this

installation problems with Tomcat 4.1, mod_jk2 connectors

2002-11-06 Thread Marko Asplund
i'm trying to build and install the Tomcat 4.1.12 connectors for use with Apache 2.0.43 and Tomcat 4.1.12. i've been reading through the documentation but unfortunately, the Tomcat JK documentation pages only discuss the configuration part and not the installation process itself so i'm having

RE: Only one user at a time can use Tomcat ?

2002-11-06 Thread Turner, John
Please be more specific. What does log on mean? Users don't log on to Tomcat. Tomcat is a service. John -Original Message- From: [EMAIL PROTECTED] [mailto:achana;saysit.com] Sent: Tuesday, November 05, 2002 5:52 AM To: [EMAIL PROTECTED] Subject: Only one user at a time can

tomcat 4.1.12 connector problems

2002-11-06 Thread Kevin McNamee
Hi, I've been trying to connect tomcat to apache using mod_jk as described in the HOWTO at http://www.johnturner.com/howto/apache2-tomcat4110-jk-howto.html I compile apache 2.0.43 and mod_jk 4.1.12 from source. I start tomcat and 10 seconds later start Apache. I can browse to http://localhost

mapping URLs

2002-11-06 Thread Panos Konstantinidis
Hello, this is the second time I am asking this message and hopefully someone can help me this time. I am migrating from Resin to Tomcat 4.1 for Windows NT with JDK1.3. We have a bunch of include files and images in a shared folder that all web application share using Resin. This folder

RE: Problem running the examples..

2002-11-06 Thread Turner, John
Please post portions of the Tomcat log files that occur when you access those URLs. John -Original Message- From: Pavan Kumar Anumula [mailto:anumu_p;cs.odu.edu] Sent: Tuesday, November 05, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: Problem running the examples.. hi, I

RE: mapping URLs

2002-11-06 Thread Donie Kelly
Hi Panos I have the following line in my server.xml (inside the host tag) to map my images for jsp pages. It might do what u want Context path=/images docBase=C:\images/ hope it helps Donie -Original Message- From: Panos Konstantinidis [mailto:girionis;yahoo.com] Sent: 06 November

RE: installation problems with Tomcat 4.1, mod_jk2 connectors

2002-11-06 Thread Turner, John
That's correct. The Tomcat side of the JK/JK2 connectors is enabled in server.xml by default. Look for a Connector element in server.xml that calls the CoyoteConnector class with a port assignment of 8009. That's your JK2 connector on the Tomcat end. On the Apache end, mod_jk2.so goes in the

RE: MBeans exception and mod_jk

2002-11-06 Thread Turner, John
[Tue Nov 05 21:36:07 2002] [mod_jk.c (1277)]: Into handler r-proxyreq=0 r-handler=jakarta-servlet r-notes=3849720 worker=ajp13 [Tue Nov 05 21:36:07 2002] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 05 21:36:07 2002] [jk_worker.c (136)]: wc_get_worker_for_name, done did

Re: JSP error handling

2002-11-06 Thread Ricardo Moral
There are two valves used to handle errors. The first one is the ErrorDispatcherValve. This is the valve that will forward the request to the error page if there is a uncaught exception. The second valve is the ErrorReportValve wich is the last valve on the list of valves of a Host and is used to

RE: [Windows2k] Start tomcat as Service

2002-11-06 Thread Juan Fco. Herrera Utande
You must have one under tomcat\bin. If not try to install again and make sure during installation you choose Intall Tomcat as a Service. I also have Tomcat 4.1.12 under W2K running as a service with no problems. Regards, Juan -Mensaje original- De: François Vallet

Re: Connection pool question:

2002-11-06 Thread Ricardo Moral
Send us the code of the DBQuery.java. (The shorter the better) --- Michael Nicholson [EMAIL PROTECTED] wrote: I'm building a webapp, and I want to use connection pooling with it. In order to play around some, I made a dummy webapp that does virtually nothing, but uses the connection pool.

RE: Installing and using manager app in 4.1.12

2002-11-06 Thread Turner, John
Now it makes sense. Thanks for the help. John -Original Message- From: Stefan Wimmer [mailto:swimmer;gx.nl] Sent: Tuesday, November 05, 2002 6:34 PM To: '[EMAIL PROTECTED]' Subject: Re: Installing and using manager app in 4.1.12 Hi John, there is a nice HTML interface

RE: Installing and using manager app in 4.1.12

2002-11-06 Thread Turner, John
Got it. I'm so used to accessing Tomcat via Apache on port 80, I didn't even think to try it on port 8080. Thanks for the help. John -Original Message- From: Jon Eaves [mailto:jon;eaves.org] Sent: Tuesday, November 05, 2002 6:31 PM To: Tomcat Users List Subject: Re: Installing

RE: Installing and using manager app in 4.1.12

2002-11-06 Thread Turner, John
Thanks for the help. John -Original Message- From: Kaustuv Sharma [mailto:skaustuva;neline.com] Sent: Tuesday, November 05, 2002 11:10 PM To: Tomcat Users List Subject: Re: Installing and using manager app in 4.1.12 the manager application request url is like this

Re: Connection pool question:

2002-11-06 Thread Michael Nicholson
The Code of DBQuery follows: Remember, in one webapp, it works fine, in another, it gives a class cast exception at the ***'d line begin code snippet /* * DBQuery.java * * Created on November 5, 2002, 10:14 AM */ package DBCPTestClasses; import java.sql.*; import javax.naming.*;

Re: Connection pool question:

2002-11-06 Thread Michael Nicholson
I'm running it through Forte/SunOneStudio, which is built on netbeans (I think). Does that make a difference? - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 8:03 PM Subject: Re: Connection pool

Where to put my servlet classes

2002-11-06 Thread Fredro Harjanto
Hi: I've successfully compiled my servlets using javac servlet-name.java. Now I want to put my servlet-name.class in Tomcat. Where is the location to put my servlet classes? I have tried many locations and still failed. I used Tomcat 5.0

RE: Where to put my servlet classes

2002-11-06 Thread Turner, John
Check the documentation. For example, the Application Developer's Guide, and the ClassLoader HOWTO: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html John -Original Message- From: Fredro Harjanto

Re: Connection pool question:

2002-11-06 Thread Mehdi . Nejad
What are the differences between the jar files that you have in each /WEB-INF/lib folder ? Judging by the class cast exception, i'd advise you to try temporarily removing the jars from your bigger webapps /lib folder, and run the same code again. regards, M

Re: Only one user at a time can use Tomcat ?

2002-11-06 Thread achana
Turner, John wrote: Please be more specific. What does log on mean? Users don't log on to Tomcat. Tomcat is a service. Well, its not easy to explain . I use j2sdk1.4/Apache/Tomcat/Oracle. Typically a user surfs into the site, clicks on a link and starts an Applet. Applet would call a

Re: Error with new install

2002-11-06 Thread Ronald Aronica
Please disregard as I found the problem by reading the thread Installing and using manager app. Ronald Aronica wrote: I just installed Tomcat 4.1.12 with JDK 1.4.1 and am running into a problem when trying to use the manager. I receive a server error 500 with the following:

Re: Where to put my servlet classes

2002-11-06 Thread Mehdi . Nejad
in the webappname/WEB-INF/classes directory - and look up the servlet and servlet-mapping tags which live in your web.xml http://www.google.com/search?sourceid=navclientie=UTF-8oe=UTF-8q=deploying+servlets+in+tomcat regards M

Re: Connection pool question:

2002-11-06 Thread Ricardo Moral
Sorry but I cant't find nothing wrong... Please send the part of the server.xml and web.xml files where you have defined the references. Are you sure there are no diferences between the two web applications? --- Michael Nicholson [EMAIL PROTECTED] wrote: I'm running it through

Java Mail

2002-11-06 Thread Wilhelm Colln
I am using a virtualserver on server A and cannot send emails. Error : No provider for smtp But the same application on a remote server B using the smtp from server A works fine. If I try to use the activation.jar and mail.jar saved on the WEB-INF/lib directory I get the following error :

Re: Connection pool question:

2002-11-06 Thread Michael Nicholson
Thanks... that was kinda my plan for now, but I'm in a rush to get something running, so my temporary solution is to abandon the connection pool and just create a connection to the DB each time... Yay, big performance hit! Oh well. But then I'm gonna start stripping jars Thanks for the

RE: mapping URLs

2002-11-06 Thread Panos Konstantinidis
Thank you Donnie for your time, but unfortunatelly it did not help. I have added the line: Context path=/content docBase=C:\Tomcat4.1\webapps\content/ in my server.xml file, restarted Tomcat but when my JSP page has the following line: SPAN CLASS=Footer%@ include file =

Re: Java Mail

2002-11-06 Thread m batsis
Google is your friend ;-) http://list.cobalt.com/pipermail/cobalt-developers/2001-July/032904.html You can find many related solutions with a simple search... Manos Wilhelm Colln wrote: I am using a virtualserver on server A and cannot send emails. Error : No provider for smtp But the

RE: mapping URLs

2002-11-06 Thread Panos Konstantinidis
Sorry --- Panos Konstantinidis [EMAIL PROTECTED] wrote: Thank you Donnie for your time, but unfortunatelly it did not help. I have added the line: Context path=/content docBase=C:\Tomcat4.1\webapps\content/ in my server.xml file, restarted Tomcat but when my JSP page has the

DB Connection issue

2002-11-06 Thread Richard Johnstone
I have a system running on suse 7.3 and it is all working fine I have since tried to build another box for deployment and I get an error when connecting to the DB java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at

mod_webapp.so binary for Solaris 2.6

2002-11-06 Thread Elena Blanco
Hi Does anyone have a mod_webapp.so binary for Solaris 2.6? Many thanks, Elena -- Elena Blanco Systems Administrator, New DNB Oxford University Press Tel: (01865) 353329 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: mapping URLs

2002-11-06 Thread Williams, Kevin
You shouldn't include the context path in your URI to the included file. The include occurs at translation time, meaning during the creation of the background servlet which represents the JSP page and code. The file path is rooted at the context root and may not extend outside the context root.

RE: mapping URLs

2002-11-06 Thread Donie Kelly
Looks like the include file parameter works differently. Maybe you should make it a URL I have a img tag as follows img src=images/spacer.gif width=1 height=40 and this works with the supplied contect path. That path will be translated to a URL. Try using @include

RE: mapping URLs

2002-11-06 Thread Panos Konstantinidis
Hello Kevin, thank you for your reply. I have already tried what you said as well, but still no luck. I am still getting the same error. Even if my Context tag (within the Host tag) in the server.xml file is set to: Context path=/content docBase=C:\Tomcat4.1\webapps/ and the include

Re: DB Connection issue

2002-11-06 Thread achana
Richard J java.sql.SQLException: Io exception: The Network Adapter could not establish the connection snip I am using identical code from the original server. I can open non-db servlets fine. I can also ping and telnet to the DB from the new server. I am using the same url in my connection

Tomcat Threads never stop growing, why?

2002-11-06 Thread Brandon Cruz
I am using Tomcat 3.2.4. When I start the server, about 300 threads are created, which seems like a lot, but the server runs fine. As time goes on, the amount of threads grows and grows. The threads are all sleeping and don't look like they are taking any resources, but they never close. After

Re: DB Connection issue

2002-11-06 Thread Richard Johnstone
I haven't got oracle installed on either server. my url connection is jdbc:oracle:thin:@192.2.100.9:1521:test for both servers. the classes12 is in the classpath [EMAIL PROTECTED] 11/05/02 11:31pm Richard J java.sql.SQLException: Io exception: The Network Adapter could not establish the

RE: mapping URLs

2002-11-06 Thread Panos Konstantinidis
Thank you, I just tried it with images and it is working fine. The problem is that it does not work with include files. Any thoughts on this? Do include files work differently? --- Donie Kelly [EMAIL PROTECTED] wrote: Looks like the include file parameter works differently. Maybe you should

HELP for novice

2002-11-06 Thread Sam Harris
I installed tomcat 4.1.12 on Solaris 8, the intent here is to integrate the functionality with apache, so far the first thing is that the conf file is not being generated. Then when I do an include httpd.conf complains about the missing .so file. Please help. thanks Sam Harris Internet Services

RE: mapping URLs

2002-11-06 Thread Donie Kelly
Try putting http: in front of the path... Donie -Original Message- From: Panos Konstantinidis [mailto:girionis;yahoo.com] Sent: 06 November 2002 15:44 To: Tomcat Users List Subject: RE: mapping URLs Thank you, I just tried it with images and it is working fine. The problem is that

Re: HELP for novice

2002-11-06 Thread Sriram N
Have you looked at the docs available with tomcat and also at http://www.johnturner.com/howto/apache-tomcat-howto.html Never worked much on Un*x beyond a few shell commands and such, but I do think that the mod_jk.so files might be missing. If you have taken these .so files, are they in the

tomcat 4.1 stdout

2002-11-06 Thread Luigi Tenti
I'm trying to setup tomcat 4.1 to write stdout of different webapp to different log files, but it keeps to write everything to catalina.out. Can you help me ? Thanks a lot Luigi Tenti -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands,

RE: HELP for novice

2002-11-06 Thread Turner, John
Solaris 8 Apache + Tomcat + Connector HOWTO: http://www.johnturner.com/howto John -Original Message- From: Sam Harris [mailto:HarrisS;franklin.edu] Sent: Wednesday, November 06, 2002 10:37 AM To: [EMAIL PROTECTED] Subject: HELP for novice I installed tomcat 4.1.12 on Solaris

DBConnection issue : UPDATE

2002-11-06 Thread Richard Johnstone
I have found out the issue with this but am more puzzled than before. If I re-comment out Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1

Re: JSP error handling

2002-11-06 Thread Kris Schneider
If the errorPage attribute references another JSP, make sure that page has: %@ page isErrorPage=true % Otherwise, attempting to use the implicit exception object *should* result in an error. I'm guessing that the javax.servlet.error.* request attributes will only get populated if you make use

Re: Alias vs VirtualHost - which is better for me ?

2002-11-06 Thread Matt Fury
The date of your emails are all out of wack. I hope this isn't done on purpose to push emails forward! :-D --- [EMAIL PROTECTED] wrote: Hi all. Both options work for me. Which is the better solution in terms of performance ? -- To unsubscribe, e-mail:

Suppress Servlet-Engine Info in HTTP Header

2002-11-06 Thread Chad Cannell
I am trying to tighten up our Apache and Tomcat implementation. I want to suppress server type and version to make fingerprinting harder. We have Apache httpd in front of Tomacat on Win32. I can suppress the Apache info passed in Server: parameter, but do not know how to suppress the

Re: Suppress Servlet-Engine Info in HTTP Header

2002-11-06 Thread Tim Funk
See mod_headers: http://httpd.apache.org/docs/mod/mod_headers.html In particular, you probably want this: ## Header unset Servlet-Engine ## -Tim Chad Cannell wrote: I am trying to tighten up our Apache and Tomcat implementation.

RE: Alias vs VirtualHost - which is better for me ?

2002-11-06 Thread Ralph Einfeldt
What is the problem with that mail ? The mail you are referencing has been sent to the list roughly a week ago. (I received it through the list last wednesday) -Original Message- From: Matt Fury [mailto:mattfury88;yahoo.com] Sent: Wednesday, November 06, 2002 5:11 PM To: Tomcat

Newbie

2002-11-06 Thread Emma Johansson
Hi! I'm trying to add a user in a user register via LDAP. The code below works fine when I am testing it from a terminal. But how do I do if I would like to do the same thing via Tomcat instead? I've managed to create some services by using Java2wsdl2Java that only confirms the connection. Now I

Servlet loading question

2002-11-06 Thread Sriram Chavali
I am trying to use Tomcat 4.0 for deploying a web-application. I got the war file from a colleague who was successfully able to deploy it in Tomcat 4.0 on his machine. However when I deploy the war file on my machine and startup Tomcat, I see the following errors in my console when a servlet in

REPOST - Coyote Connector problem ?

2002-11-06 Thread Fabio Mengue
Hello, I posted this a while ago, and nobody seems to be interested :) I'm trying again, as I updated my server to 4.1.14 and the problem continues. If somebody could at least give me a direction (like install Apache, write to other list, send more info...). I have a Tomcat 4.0.6 server

determining version of mod_jk

2002-11-06 Thread Maureen Barger
how can you tell what version of mod_jk you have installed on your system? Maureen Barger, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL PROTECTED] http://mo.cit.cornell.edu/ Experience is something you don't get until just after you

Re: determining version of mod_jk

2002-11-06 Thread Aryeh Katz
how can you tell what version of mod_jk you have installed on your system? see jk/native/common/jk_version.h -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: UPDATE : Only one user at a time can use Tomcat ?

2002-11-06 Thread achana
Turner, John wrote: Please be more specific. What does log on mean? Users don't log on to Tomcat. Tomcat is a service. John We are checking the output on the JAVA Console. It seems that Tomcat served up the myserlvet.class once and once only to the first person who comes in from www.

Re: tomcat 4.1 stdout

2002-11-06 Thread Craig R. McClanahan
On Wed, 6 Nov 2002, Luigi Tenti wrote: Date: Wed, 6 Nov 2002 17:03:53 +0100 From: Luigi Tenti [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: tomcat 4.1 stdout I'm trying to setup tomcat 4.1 to write stdout of

Re: determining version of mod_jk

2002-11-06 Thread Aryeh Katz
how can you tell what version of mod_jk you have installed on your system? One more way. Unless you've changed the defaults, it will print the mod_jk version in (the apache) error_log on server startup --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe,

Re: determining version of mod_jk

2002-11-06 Thread Maureen Barger
one that is already compied I should have stated how can you tell what version of mod_jk you have installed on your system? see jk/native/common/jk_version.h Maureen Barger, CIT/ID, Cornell University Ithaca, NY 14850 [EMAIL

JkMount only *jsp but include index.jsp?

2002-11-06 Thread Oliver Meyn
Hi all, Running Apache 2 and Tomcat 4.0.4 integrated with Jk on RH 7.3, I would like my virtual hosts to display the index.jsp file instead of the dir listing, but only send *jsp to tomcat, so that other files (most notably a phpBB) are handled normally under apache. In httpd.conf my (snipped)

Digest authentication with JDBCRealm: doesn't seems to work

2002-11-06 Thread Iran Marcius
Hi. I'm trying to do a digest authentication using a JDBCRealm with SHA digest. Here is my context: Context docBase=permission path=/permission reloadable=true privileged=true ResourceLink name=jdbc/global global=jdbc/global type=javax.sql.DataSource/ Realm

RE: Suppress Servlet-Engine Info in HTTP Header

2002-11-06 Thread Chad Cannell
Still not doing the trick, tried adding to the server level directive and the Root directory directive. Have the modules added and loaded. LoadModule headers_module modules/mod_headers.so AddModule mod_headers.c Any other modules needed? Any other thoughts -Original Message- From: Tim

RE: JkMount only *jsp but include index.jsp?

2002-11-06 Thread Turner, John
Check out the welcome-file option in web.xml. Set that to index.jsp and you should be OK. If you need Apache to understand that / = index.jsp you'll need to do something like set DirectoryIndex in your virtual host container in httpd.conf, and if that doesn't work, you'll need to either get the

tomcat configuration for a newbie

2002-11-06 Thread ben f
Hi I am trying to get tomcat to work but unfortunately I am not getting far. Tomcat version is 4.1.12 I have created a directory under webapps called phpserver. This directory is intended to serve php pages using php as a servlet from an NT 4.0 machine. I will go onto that once I have the

Re: Suppress Servlet-Engine Info in HTTP Header

2002-11-06 Thread Tim Funk
I'm out of ideas at this point. In any case I would try the following: - Add another header of the same name and see what happens - Add another header of a diff name and see what happens. If this doesn't work - then I would go to the apache user lists for help. My admin installed (compiled)

RE: tomcat configuration for a newbie

2002-11-06 Thread Arthur Danekyants
try localhost:8080, which is a default for Tomcat -Original Message- From: ben f [mailto:ben_m_f;yahoo.co.uk] Sent: Wednesday, November 06, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: tomcat configuration for a newbie Hi I am trying to get tomcat to work but unfortunately I am not

RE: tomcat configuration for a newbie

2002-11-06 Thread Hari Venkatesan
Try this servlet-mapping servlet-namehelloworld/servlet-name url-pattern/helloworld/url-pattern /servlet-mapping http://localhost:8080/phpserver/helloworld Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: Arthur Danekyants

RE: Logging UserAgent (browser)

2002-11-06 Thread neal
Thanks but this didn't affect my logs at all. I changed the pattern to combined from common per your suggestion and the log is still using common format - no user-agent. Did you mean that I should use this in combination with one of the RequestInterceptor nodes I was referring to (where to

RE: Logging UserAgent (browser)

2002-11-06 Thread Shapira, Yoav
Hi, What version of tomcat are you using? In 4.x, changing the pattern from common to combined is all you need to do. Yoav Shapira Millennium ChemInformatics -Original Message- From: neal [mailto:nealcabage;yahoo.com] Sent: Thursday, November 07, 2002 1:44 AM To: Tomcat Users List

TomCat 3.2.4 servlet is not a url Error and File Not Found'...

2002-11-06 Thread Gary Fix
Hi! I'm new to Tomcat on Windows NT 4.0 Server, SP6, with IIS and Tomcat 3.2.4... I am able to run the example servlets... I installed our first application and it works fine... I installed a second applicatiion and each time I try to access the servlet I get a HTTP 404 - File not found...

RE: Logging UserAgent (browser)

2002-11-06 Thread neal
Really?!?!?! yeah I'm using 4.0.4 so I guess it should have worked. :-\ I restarted my server and looked for the most recent entries in the log. Do I need to delete the existing log? Or something else to restart it? Thanks. Neal -Original Message- From: Shapira, Yoav

older mod_jk version for Apache 2.0.39

2002-11-06 Thread susrosario
I'm looking for the JK mod_jk version for Apache 2.0.39. It looks like the only mod_jk version available at the website is 2.0.42. Susanna Sign Up for Juno Platinum Internet Access Today Only $9.95 per month! Visit

  1   2   >