Tomcat SSL question (Emergency)

2003-03-11 Thread Kevin Hu
Hi, I am currently implementing Verisign Server Certificate (128 bit) on Tomcat 4.0.3 at Windows 2000 Server platform with JDK 1.4.0 and do the following steps: 1. Create a local Certificate Signing Request (CSR) 2. Submit the CSR to Verisign and receive the certificate back 3. Import the

how to connect Tomcat with Postgres through JNDI

2003-03-11 Thread apratim sharma
hi !!! Has anybody used JNDI driver to connect the databse with jsp's or servlets. Please tell me the proper steps to do it. i'm using MAC os X Tomcat 4.1.18 Postgres 7.3.1 an example will help me a lot. Apratim __ Do you Yahoo!?

RE: Tomcat SSL question (Emergency)

2003-03-11 Thread dave . prout
Kevin, You might like to help Tomcat out by telling it the password. Try modifying the factory bit in server.xml to add the path to the keystore, and the password, something like this Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory clientAuth=true

how to access files in WEB-INF/classes

2003-03-11 Thread Sylvain.Thevoz
Hello, I have put some INI files in WEB_INF/classes because I want an unique path for all deployment. How can I access to these files (path)? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

SingleSignOn with the Same Role Names

2003-03-11 Thread Joseph Benjie C. Fabula
a quick thanks to the ASF and community in helping us build web apps using open-source technology. Encountered a minor problem with regards to deployment of webapp contexts using SingleSignOn

Re: using shared classes

2003-03-11 Thread gilad . buzi
Normally with tomcat you put all shared classes in the c: \tomcat\common\classes directory. Or if they're .jars you put them in c:\tomcat\common\lib you can also put them in the web application's WEB-INF\classes or WEB-INF\lib directories. One good document to read is

How to redirect the response to same requesting page

2003-03-11 Thread zafar Ahsan
Hello Could u pls let me know what is the best way to redirect the response to same request page using servlet if some contd. doesn't full fill. I would be thankful to yr kind help. zafar ahsan _ Get 25MB, POP3, Spam Filtering with

Re: SingleSignOn with the Same Role Names [Correction]

2003-03-11 Thread Joseph Benjie C. Fabula
correction on last sentence. Joseph Benjie C. Fabula

How to redirect the response to same requesting page

2003-03-11 Thread zafar Ahsan
Hello Could u pls let me know what is the best way to redirect the response to same request page using servlet if some contd. doesn't full fill. I would be thankful to yr kind help. zafar ahsan _ Get 25MB, POP3, Spam Filtering with

How to redirect the response to same requesting page

2003-03-11 Thread zafar Ahsan
Hello Could u pls let me know what is the best way to redirect the response to same request page using servlet if some contd. doesn't full fill. I would be thankful to yr kind help. zafar ahsan _ Get 25MB, POP3, Spam Filtering with

How to redirect the response to same requesting page

2003-03-11 Thread zafar Ahsan
Hello Could u pls let me know what is the best way to redirect the response to same request page using servlet if some contd. doesn't full fill. I would be thankful to yr kind help. zafar ahsan _ Get 25MB, POP3, Spam Filtering with

Re: How to redirect the response to same requesting page

2003-03-11 Thread Tomcat-RND
Hi, In the Servlet Use this.getServletContext().RequsetDispactcher(/sameservlet); rd.forward(req,resp); Regards, Pratt. - Original Message - From: zafar Ahsan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 3:12 PM Subject: How to redirect the response to same

Re: Would U Pls help me. Its urgent!! starting tomcat through windows2000 s services

2003-03-11 Thread Tomcat-RND
Hi, You need to install the Tomcat as NT Service option. If not already installed, please reinstall and check the services. To access with the detault context, find if any context that has context path as . Now add your files into that location, That's it. You will get what you want. Regards,

Tomcat able to set session

2003-03-11 Thread Reynir Hübner
Hi all, I have an Internet Explorer 6, and tomcat (4.1.x) win32. I have two hosts, first one has the url: 1. http://website.host.domain.com And the other has : 2. http://admin.website.host.domain.com If I first enter host 1 one a session is created and held for this client. If I then enter

How to redirect the response to same requesting page

2003-03-11 Thread zafar Ahsan
Hello Could u pls let me know what is the best way to redirect the response to same request page using servlet if some contd. doesn't full fill. I would be thankful to yr kind help. zafar ahsan _ Get 25MB, POP3, Spam Filtering with

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Reynir Hübner
Hi, I've just installed tomcat4.1.18 with IIS and jk2 and it works fine. I was having problems with the getRemoteUser(), and it works fine when using jk2. I posted the steps to install onto my website http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html There may be some bugs in these

Send parameters to the JNDIRealm

2003-03-11 Thread mgp2
Hi. I have an application that it connects to a servlet and send it a set of parameters through OutputStream. I have a JNDIRealm installed and when the application connects to the servlet, my Realm can't to map these parameters (with the client certificate) a none authenticate() method. What

SSL client authentication + LDAP realm / Tomcat 4.1.18

2003-03-11 Thread Philippe Maseres
Hello. I try to set up the following features : - Client authentication using client SSL certificates - Client authorization using the JNDI realm, against an iPlanet LDAP directory I first tested a simpler configuration using the LDAP realm with BASIC authentication, and it works fine. The realm

Problem with charset in Content-type header

2003-03-11 Thread Laurent Genier at Dalkia
Hi All, I've got a problem using the charset encoding with Tomcat 4.0.4, up to (at least) 4.0.6. I've made the same modifications to the configuration files on tomcat 4.0.3 and tomcat 4.0.4. With Tomcat 4.0.3, the Content-type is : Content-Type: text/html; charset=ISO-8859-1 With Tomcat 4.0.4

Configuration Problem with Apache 2.0.44 and Tomcat 4.1.18 on Windows 2000 Server SP3

2003-03-11 Thread Thomas Trepper
Hi all, i have a problem with the folowing configuration: Windows 2000 Server SP3 Apache 2.0.44 Tomcat 4.1.18 mod_jk-2.0.43.dll renamed to mod_jk.dll the two servers are running on the same machine. The apache works well and the tomcat also. the two server are linked with the mod_jk.dll if i

Re: Tomcat able to set session

2003-03-11 Thread Tim Funk
Yes, bug in IE. http://marc.theaimsgroup.com/?l=tomcat-devm=104247780113629w= -Tim Reynir Hübner wrote: Hi all, I have an Internet Explorer 6, and tomcat (4.1.x) win32. I have two hosts, first one has the url: 1. http://website.host.domain.com And the other has : 2.

RE: Tomcat able to set session

2003-03-11 Thread Reynir Hübner
Thanx -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 11. mars 2003 12:07 To: Tomcat Users List Subject: Re: Tomcat able to set session Yes, bug in IE. http://marc.theaimsgroup.com/?l=tomcat-devm=104247780113629w= -Tim Reynir Hübner wrote: Hi

RE: Exception on Tomcat

2003-03-11 Thread Marcelo
Now I understand. I create a connection every time I send an email. But the file activation.jar solved the problem, thanks. By the way, I didn't understand how. Is this file a bug fix of Tom cat? Thanks again. Marcelo --- Gustavo Cebrian [EMAIL PROTECTED] escreveu: Sorry for the

Starting Tomcat

2003-03-11 Thread Allan Campos de Moraes
Hi, I´m trying to make tomcat work, but after the installation procedure, I run the startup.sh and receive no error, but the ps -ef | grep tomcat prints nothing... the http://server:8080 http://server:8080/ URL brings nothing also... I checked the /logs/Catalina.out and found this error:

RE: Exception on Tomcat

2003-03-11 Thread Gustavo Cebrian
No, that file have classes you need. That is. Gustavo. *** Gustavo Cebrian Analyst/Programmer Want to improve the ROI on your EAI project? Download RV Tester and reduce your development and testing timescales by as much as 50%.

MIME type

2003-03-11 Thread Bányai András Gábor
Hello, Everybody could help me? I use Tomcat 4.0. I want to download some simple file from server. When I click in simple.dot file the system downloads and starts MS Word. Then I click simple2.dot and I see a binary file in the screen. What's error? Please HELP! --

Re: Starting Tomcat

2003-03-11 Thread Rob
I haven't used tomcat for a while but if I recall this is due to a bad CLASSPATH wherein (it used to be tomcat.jar) had to be. Also, depending on your ps options and tomcat path grepping for tomcat may not be useful checking for java may be more useful. - Original Message - From: Allan

Global DataSource

2003-03-11 Thread Fredrik Larsson
Hi all. I'm trying to set up a global DataSource on my Tomcat 4.1.18 standalone to be available to all of my applications installed on the server. But... I just can't get this to work. I've been following the instructions in the tomcat documentation but it doesn't help. I can start the server

RES: Starting Tomcat

2003-03-11 Thread Allan Campos de Moraes
Hi !! thanks for the reply... I´ve found some references in catalina.sh about /bin/jcert.jar, jnet.jar, jsse.jar and /bin/booststrap.jar, but couldn´t find them with find / -name filename.jar... should them be there ? It´s a fresh installation but in /usr/local/tomcat/conf , I couldn´t find any

Re: Would U Pls help me. Its urgent!! starting tomcat through windows2000 s services

2003-03-11 Thread Jacob Kjome
http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake At 11:54 PM 3/10/2003 -0800, you wrote: Hello Pls, could any one let me know how to start tomcat through windows server2000 services instead of through command prompt. And also how to make my own application as default site instead of

Microsoft ISA Proxie

2003-03-11 Thread Edson Alves Pereira
Hello folks, i having some problems with Microsoft Proxies in our network, it´s use Microsoft specific User Authentication protocol (NTLM), someone known how i could fix it? With best wishes, Edson Alves Pereira

RE: Microsoft ISA Proxie

2003-03-11 Thread Bodycombe, Andrew
You can use the solution offered by nogoop http://www.nogoop.com You can download an evaluation copy of the software for free, but you need to purchase it if its going to be used commercially... I've been evaluating this solution with good results - it gets round the NTLM authentication problem

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Ignacio J. Ortega
Peter, a) Dont send HTML messages to this list, Read http://jakarta.apache.org/site/mail.html. b) jk2.properties it's used for the coyote connector jk configuration ( aka jk2 java part), not matter which native connector (jk,jk2) you use.. c) The recipe of i gave to you has been proved to death,

Re: Please sign emergency petition to the U.N.

2003-03-11 Thread James Chuang
If you want to sign this petition. Please deposit $5 million dollar US in an escrow accout. If US or Israel ever gets attacked by a Bio/Chemical weapon originating from Iraq, that money will be automatically sent for relief effort. Thank you - Original Message - From: Wilhelm Colln

HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Hi, I'm trying to setup database access with a simple test application using tomcat 4.0.6. When my servlet gets executed I get the 500 browser error, Wrapper cannot find servlet class com.op.test.LoginServlet or a class it depends on 1. Does anyone know why? 2. Is there any way to get more useful

FW: Delivery Status Notification (Failure)

2003-03-11 Thread apachep2
I don't want my post receiving this kind crap. Please either unsubscribe from the list or turn off your auto-reply. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: March 10, 2003 5:01 PM To: [EMAIL PROTECTED] Subject: Delivery Status Notification (Failure)

Re: Please sign emergency petition to the U.N.

2003-03-11 Thread Felipe Schnack
I think is enough of this discussion... this isn`t a political mailing list and the pro-war can continue with this argument while the anti-war can continue saying that there aren`t any proof that theses weapons exist. No one is right or wrong, as in any war... is just a matter of point of

RE: Starting Tomcat on Linux as a Service??

2003-03-11 Thread Jeremy Whitlock
John, Here is a script that will let you use Tomcat as a service. Here it is: #!/bin/bash # # Startup script for Jakarta Tomcat # # chkconfig: 345 84 16 # description: Jakarta Tomcat Java Servlet/JSP Container TOMCAT_HOME=/usr/local/tomcat/tomcat-4.1.18

Bad Cookie Handling in Tomcat mod_Jk

2003-03-11 Thread Dennis Cartier
Hi Guys, I have run across a situation a couple of times now that results in the operation of my cluster being severely impacted. When a bad cookie comes into 1 of the nodes, it crashes the coyote connector like so: java.lang.IllegalArgumentException: Cookie name 7~?at1 is a reserved token at

Re: Global DataSource

2003-03-11 Thread Klaasjan Brand
On Tue, 2003-03-11 at 14:39, Fredrik Larsson wrote: Hi all. I can start the server without any problems and view the global datasource in the Administration Tool but as soon as I'm trying to access the datasource from a servlet i get the following exception: java.sql.SQLException: Cannot load

Strange Tomcat Admin Tool behavior

2003-03-11 Thread Doug Selph
I have installed Tomcat 4.1.18, configured a user with the administrator role in tomcat-users.xml, and tried to use the Administration Tool. When logging in to the admin tool, I get this error: -- HTTP Status 400 - Invalid direct reference to form login page type

Re: Please sign emergency petition to the U.N.

2003-03-11 Thread Georges Roux
To disarm SadamHussein, spamming my mailbox is not necessary. Thank you -- Original Message --- From: James Chuang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tue, 11 Mar 2003 06:56:55 -0800 Subject: Re: Please sign emergency petition to the U.N. If you

Re: The requested resource (/index-orig.jsp) is not available.

2003-03-11 Thread Michael D. Risser
OK I have it figured out now, in case anyone else runs into this problem: The group ownership for the webapps directory should be set to whatever the tomcat group is, by default, on RH at least, this group is tomcat4. So issuing an ls -l should result in something similar to: drwxrwx--- 6

http://myserver/ = http://myserver/index.jsp

2003-03-11 Thread Niklas Saers Mailinglistaccount
Hi all, I'm running Apache 2.0.44, Tomcat 4.1.18 and mod_jk 1.2.1-b1 in httpd.conf I have: DirectoryIndex index.php index.jsp index.html in web.xml I have: welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list However, when I try to access

Please, does anybody confirm that this mail arrived to the correct Tomcat users list ?

2003-03-11 Thread Philippe Maseres
Has i can't see my last own mails in the Tomcat users list archives, could you confirm they hav a good destination ? Thanks. Philippe Maseres - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Please sign emergency petition to the U.N.

2003-03-11 Thread Steven Shand
Can we please drop this. It's gone from one annoying message in my mailbox, to 14, complete with smartass replies. And now it's 15. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Please, does anybody confirm that this mail arrived to the correct Tomcat users list ?

2003-03-11 Thread Shapira, Yoav
Hi, Yeah, they're fine. Yoav Shapira Millennium ChemInformatics -Original Message- From: Philippe Maseres [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:03 AM To: Tomcat Users List Subject: Please, does anybody confirm that this mail arrived to the correct Tomcat users list

Re: HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Hi, I found some more information about my problem, the root cause is ClassNotFoundException: com.op.test.LoginServlet but I have the web.xml entry shown below, and also the following context entry in server.xml !-- Test Context -- Context path=/Test docBase=Test debug=100 privileged=true/ I

SV: Global DataSource

2003-03-11 Thread Fredrik Larsson
I just tried to install the 4.1.21 beta but it didn't help. Thanks anyway. /Fredrik -Ursprungligt meddelande- Från: Klaasjan Brand [mailto:[EMAIL PROTECTED] Skickat: den 11 mars 2003 16:26 Till: Tomcat Users List Ämne: Re: Global DataSource On Tue, 2003-03-11 at 14:39, Fredrik Larsson

SSL Problem

2003-03-11 Thread Greg Strobl
Hi, I'm in the process of moving our standalone Tomcat server from windows to Linux. I am running 4.1.18 on both. On windows everything is working as expected. However, I am having trouble getting the SSL to work on Linux. When I initially install tomcat and setup SSL, it works. Then after some

Creating a Pool connections for my web app.

2003-03-11 Thread Gustavo Cebrian
Should I store my pool connection class in the servlet context? Where should I create it? I do not know a common place to execute for all the servlets so they can share resources. Is the context the only place. Thanks. Gustavo. *** Gustavo Cebrian

Re: HTTP 500-Internal Server Error

2003-03-11 Thread Matthew Oatham
Is LoginServlet.class in WEB-INF/classes ? Does LoginServlet.class import any helper classes from third party aplications? If so are these JAR files in WEB-INF/lib ? If you are using the specified context is your application under the dir webapps/Test ? Are you accessing the servlet on

Re: Global DataSource

2003-03-11 Thread Jon Archer
I have got this working recently with an Oracle database. Here's what I have in server.xml: ... GlobalNamingResources Resource name=my-database scope=Shareable type=javax.sql.DataSource/ ResourceParams name=my-database parameter namevalidationQuery/name

importing jdom.jar into Tomcat

2003-03-11 Thread Jacques Capesius
I have a real basic question, stemming from the problem I'm having getting the org.jdom packages to work on my Tomcat server. The problem is, I don't know where to put jdom.jar so that a JSP with the line %@ page import=org.jdom.*% will work. I tried putting the jar in...

RE: importing jdom.jar into Tomcat

2003-03-11 Thread Shapira, Yoav
Howdy, Put it in the WEB-INF/lib directory of the webapp where the JSP is. And make sure that's the only copy of jdom in your server: take it out of common/classes and server/lib. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jacques Capesius [mailto:[EMAIL

RE: importing jdom.jar into Tomcat

2003-03-11 Thread Jacques Capesius
Shapira, Yoav wrote: Howdy, Put it in the WEB-INF/lib directory of the webapp where the JSP is. And make sure that's the only copy of jdom in your server: take it out of common/classes and server/lib. Yoav Shapira Millennium ChemInformatics awesome! that did the trick! thanks a million!

Re: Error while trying to stop and start the tomcat

2003-03-11 Thread Aparna Narla
Hi, have recently updated the jdk 1.2 with jdk 1.4 which comes with installing j2se. I am trying to stop and start the tomcat service at $TOMCAT_HOME/bin/startup.sh i am getting the following error The JAVA_HOME environment variable is not defined correctly This environment variable is

Re: Global DataSource

2003-03-11 Thread Tomcat-RND
Hi, Are looking up the data source in a load-on-startup servlet? Regards, Pratt. - Original Message - From: Fredrik Larsson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:46 PM Subject: SV: Global DataSource I just tried to install the

RE: Error while trying to stop and start the tomcat

2003-03-11 Thread Jeremy Whitlock
You can add Environment Variables such as JAVA_HOME to your .bash_profile in Linux or by right clicking the My Computer icon on your desktop and going to Properties. ---Linux--- 1) Open your .bash_profile with your favorite text editor. 2) Add export JAVA_HOME=/install/path/ (Replace

RE: Tomcat SSL question (Emergency)

2003-03-11 Thread Kevin Hu
Dave, Thank you for the quick response. I already put keystorePass attribute in factory node (shown below). Should I add keypass attribute in the node as well? Tomcat version that I currently running is 4.0.3 and Factory (server.xml) node which has explained at SSL Configuration HOW-TO

Hi taglibs .. is this a tomcat or JSP problem or feature ?

2003-03-11 Thread Mufaddal Khumri
Hi, I have a custom tag. Inside the tag i am accessing a database and populating a vector. The contents of the vector are then rendered as HTML by using the tag on a JSP page. Problem is that when i add new data to the database and refresh the page being rendered. It does not show me the new

RE: Error while trying to stop and start the tomcat

2003-03-11 Thread Aparna Narla
Hi Jeremy, Thanks for the prompt reply . unfortunately i tried doing all that you mentioned but did'nt help. I have downloaded the j2sdk-1_4_1_02-solaris-sparcv9.tar.Z executable and unpacked it and added the packages SUNWj3dmx SUNWj3dvx SUNWj3rtx . Then Automatically it has created the folder

RE: Error while trying to stop and start the tomcat

2003-03-11 Thread Jeremy Whitlock
Aparna, I'm not well versed with Sun Solaris. The only thing I can think of is did you add it to the .profile of the user you are trying to start Tomcat with? If not, that is your problem. Here is an example of my .bash_profile for my user to user Tomcat: PS=: for i in

Tomcat HTTPS/Pulling hair out

2003-03-11 Thread Jubal Skaggs
I'm running sparc solaris, tomcat-le-4.1.18, jdk14. When running https for a while (or loading it with jmeter for a short time) https quits responding and I get this message in catalina.out: All threads are busy,waiting. Please increase maxThreads or check the servlet status75 75 Forcing me

SV: Global DataSource

2003-03-11 Thread Fredrik Larsson
Hi Pratt. No, I'm doing the look-up from a utility class used by my Action class (org.apache.struts.action.Action) /Fredrik -Ursprungligt meddelande- Från: Tomcat-RND [mailto:[EMAIL PROTECTED] Skickat: den 11 mars 2003 17:55 Till: Tomcat Users List Ämne: Re: Global DataSource Hi, Are

Re: HTTP 500-Internal Server Error

2003-03-11 Thread Erik Price
pcampaigne wrote: Thanks Matt. I had my servlets in the src directory under WEB-INF so I creates a classes directory under WEB-INF and moved them there. However, I still get a 500 error but the root cause is different: NoClassDefinitionFoundError: com/op/test/LoginServlet (wrong name:

Re: FW: Delivery Status Notification (Failure)

2003-03-11 Thread Jens Skripczynski
apachep2: I don't want my post receiving this kind crap. Please either unsubscribe from the list or turn off your auto-reply. This autoreply is sent by a MTA. To notify you, that the person does not exist (Please read the message). So as the mail account does not exist, you will not reach the

URGENT: Tomcat crash

2003-03-11 Thread updates
We are running Tomcat 4.1.18 on windows 2000 sp3. Our backend database is D3NT (Pick variant). We are running JDK 1.4.1_02 and using the JDBC-ODBC bridge to connect to our database (no JDBC driver is available). Frequently throughout the day, we get the following error trace (always under

Tomcat with Apache VirtualHost - Please

2003-03-11 Thread Shannon Scott
Hello, I have two domain names that I want to serve from one webserver. I have set up DNS and now the apache is working fine. The webserver serves up the html from the DocumentRoot for both domains, but Tomcat serves pages from the DocumentRoot of the first domains for both the domains. How do

Very urgend --- Configuration Problem with Apache 2.0.44 and Tomcat 4.1.18 on Windows 2000 Server SP3

2003-03-11 Thread Thomas Trepper
Hi all, i have a very urgend problem with the folowing configuration: Windows 2000 Server SP3 Apache 2.0.44 Tomcat 4.1.18 mod_jk-2.0.43.dll renamed to mod_jk.dll the two servers are running on the same machine. The apache works well and the tomcat also. the two server are linked with the

RE: Very urgend --- Configuration Problem with Apache 2.0.44 and Tomcat 4.1.18 on Windows 2000 Server SP3

2003-03-11 Thread Filip Hanik
have you looked at: 1. john turner how to www.johnturner.com/howto/ http://www.johnturner.com/howto/winxp-howto.html 2. Did you look at your mod_jk logs? Filip -Original Message- From: Thomas Trepper [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:54 AM To: [EMAIL PROTECTED]

[OT]RE: FW: Delivery Status Notification (Failure)

2003-03-11 Thread apachep2
This notification was received after I replied to tomcat user list. There must be some one subscribed to the list while for some reason his email address was invalid. This guy shall unsubscribe his email address from the listing so as not to annoy other people on the list. -Original

RE: How to listen for shutdown

2003-03-11 Thread Frank Lawlor
Let me try to explain this better, The problem seems to be that Tomcat is shutting down the asynchronous threads BEFORE I can cleanly tell them to shutdown (from my servlet contextDestroyed() method). I tried getting control with finalize() in the thread instance, but this didn't seem to get

Tomcat security concerns during start-up

2003-03-11 Thread krip pane
All, I'm running 4.1.18 on solaris 2.8 - currently without any problems as id tomcat. But my issue is I've to give write permission to tomcat on the conf directory inorder for tomcat to start successfully. Is there any other way of starting tomcat without giving this permission, is this a bug?,

RE: How to listen for shutdown

2003-03-11 Thread Filip Hanik
at this point, you can go in and mess with the source code. If you look at the class StandardServer, it sends out an event before shutting down you would get the server by ServerFactory.getServer().addListener (check the names of the methods) Filip -Original Message- From: Frank Lawlor

Tomcat with Apache VirtualHost - with attach

2003-03-11 Thread Shannon Scott
Sorry I forgot to attach the file. I have two domain names that I want to serve from one webserver.I have set up DNS and now the apache is working fine. The webserver serves up the html from the DocumentRoot for both domains, but Tomcat serves pages from the DocumentRoot of the first

Re: Tomcat security concerns during start-up

2003-03-11 Thread Ben Ricker
I do not see this as a problem. You can lock the Tomcat account (do have to give it a shell, though) and no one should be able to get into the account. I use 'sudo' to allow others the ability to start and stop Tomcat which 'su's to the Tomcat user before executing. I myself use the Tomcat group,

Re: Tomcat security concerns during start-up

2003-03-11 Thread krip pane
I'm not sure if I making a correct assumption, but isn't it possible that someone can exploit the running tomcat process and gain access as tomcat into the system (if so, having write permission on the conf dir is dangerous) --- Ben Ricker [EMAIL PROTECTED] wrote: I do not see this as a

RE: How to listen for shutdown

2003-03-11 Thread Shapira, Yoav
Howdy, Of course there's a way, and it has nothing to do with tomcat ;) When launching threads, keep a reference to them somewhere. That somewhere should have a close() method with closes all the threads. That close() method can be called in the somewhere finalizer or from the

Unable to compile class for JSP

2003-03-11 Thread alan r
I am suddenly unable to serve any JSP at all. The error is attached. I can see the source expansion in C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\myApp\mysubfolder\test_jsp.java but I dont know where to look for a listing showing any compile errors. The environment is

problem with hyphen in hostname

2003-03-11 Thread Cindy Ballreich
I've recently noticed a problem that occurs when I access my site using a domain name with a hyphen in it. It seems that when I navigate using dispatcher.forward everything works fine. But when I use response.sendRedirect the hyphen is lost. Since we also own the same domain name without the

java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-03-11 Thread KKolle
Tomcat version - 4.1.12 MySQL version - 3.23.55-nt OS - WinNT JDK - 1.4.1_01 I have researched this problem on the internet and in the documentation for Tomcat, and I still haven't resolved this issue. So, I'm looking for help from someone from this list. Here is my URL that I invoke:

Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
Hi all,Just a brief question, for a Tomcat newbie. I have successfully installed Tomcat on our companies Linux web server. Problem is the huge number of java processes running as a consequent (see below). Our network administrator doesn't like it. Tomcat won't be doing too much work in

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null I've reverted to Tomcat 4.0.6, I'm using mod_jk that I've built myself against Apache 2.0.44, and I'm using Ajp13Connector, but getRemoteUser() still doesn't work, and I'm tearing my hair out. Server.xml contains (in

jsp compile error with embedded tomcat

2003-03-11 Thread trellis01
Hi. I am trying to use an embedded tomcat servlet container (version 4.1.10) and experience some problems when I try to load JSPs. In my class TomcatService I create an instance of org.apache.catalina.startup.Embedded. On that I create an engine, a root context, a host and a connector and then

mod_webapp connector apache 1.3.27 and tomcat 4.0.5

2003-03-11 Thread David . Vann
I'm using the mod_webapp to connect apache and tomcat. The problem I'm having is a software provider is forcing me to use http://host/servlet/servletsetup--However I cannot get /servlet to work. I can get the following to work http://host/lawsonweb/servlet/servletsetup Why can't I get

Re: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Jens Skripczynski
Chris Dodunski: Just a brief question, for a Tomcat newbie. I have successfully installed Tomcat on our companies Linux web server. Problem is the huge number of java processes running as a consequent (see below). Our network administrator doesn't like it. Tomcat won't be doing too much work

Re: Starting Tomcat on Linux as a Service??

2003-03-11 Thread John B. Moore
Jon, Ok, making progress.. here is some info that might help others at my level...G .. but I still have a loose end...sigh What I did: Tomcat was not starting so I attempted to run the same start command from the commandline.. .. and got a pile of permission denied .. I then

Re: Starting Tomcat results in multiple Java processes

2003-03-11 Thread p niemandt
Yip: I wouldn't worry about that: It has something to do with how linux maps the Java VM to linux processes. If you have pstree installed on your linux box, run that: You should see one Java VM with (in your case, 15) threads under that. As a side note: I successfully run Tomcat with about 29

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
Thank you very much for the reply! Should I, say, reduce minProcessors=1 and maxProcessors=2 to each of the following then? Would this low value have undesirable consequences should more than two Servlets get called (or same Servlet 3+ times)? Lastly, why the need for all the following

Re: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Jake Robb
All but two of those are commented out, you know. -Jake Chris Dodunski wrote: Thank you very much for the reply! Should I, say, reduce minProcessors=1 and maxProcessors=2 to each of the following then? Would this low value have undesirable consequences should more than two Servlets get

Re: HTTP 500-Internal Server Error

2003-03-11 Thread pcampaigne
Eric, Thanks for your help! Phil - Original Message - From: Erik Price [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:20 AM Subject: Re: HTTP 500-Internal Server Error pcampaigne wrote: Thanks Matt. I had my servlets in the src directory

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Mayne, Peter
Title: RE: JK + client authentication: getRemoteUser() returns null a) My apologies. I certainly try to send plain text, but Outlook has a mind of its own, however tiny it may be. I think I've now beaten it into submission. b) I'll give it a try. From what I've seen mentioned of jk2, it's

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
Hi, Sorry, only just noticed that myself. Of the two that aren't, I reduced minProcessors to 1, and maxProcessors to 2 (server.xml). But alas, upon restarting Tomcat, I still have 26 Java processes running! Please, what must I do to reduce these? Chris. -Original Message- From: Jake

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Simon Kitching
On Wed, 2003-03-12 at 13:43, Chris Dodunski wrote: Hi, Sorry, only just noticed that myself. Of the two that aren't, I reduced minProcessors to 1, and maxProcessors to 2 (server.xml). But alas, upon restarting Tomcat, I still have 26 Java processes running! Please, what must I do to

Re: jsp compile error with embedded tomcat

2003-03-11 Thread Lee Peik Feng
Did u include tools.jar in ur classpath? - Original Message - From: trellis01 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:17 AM Subject: jsp compile error with embedded tomcat Hi. I am trying to use an embedded tomcat servlet container (version 4.1.10)

3.3.X USE (JAXP) v1.1 OR 1.0

2003-03-11 Thread Shawn
Does anyone know if Tomcat 3.3.x uses JAXP 1.1 or 1.0? Our open source project needs 1.1 and I need to figure out what I should be telling people in terms of what works. 3.2.x has 1.0 I believe. TIA, -- Shawn [EMAIL PROTECTED]

TryCatchFianlly requires servlet 2.3?

2003-03-11 Thread Shawn
Someone told me that since our tags impliment a tryCatchFinally clause, we need to use servlet2.3. Is that right? I though tryCatchFinally was just basic syntax. -- Shawn [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
Hi Simon, Sorry, I mistook 'minProcessors' as meaning 'minProcesses'. The concern was from our network administrator, and your response has settled the matter - no significant drain on server resources due to (the large number of) these threads. Thanks again. Chris. -Original

Play the key ctr + c in any directions, the server(Tomcat 4.x) will be shutdow

2003-03-11 Thread deep blue
I'm using Tomcat 4.x for soloris sparc. When tomcat is running(using command:nohup catalina.sh run ), if I play the key ctr + c in any directions or close the telnet terminal, the server will be shut down. I don't know what causes it? Please help me.

  1   2   >