RE: cache control problem in tomact 3.2.1

2001-06-11 Thread Pernica, Jan
We use only tomcat and we set following: response.setHeader(Cache-Control, no-cache); response.setHeader(Pragma, no-cache); response.setDateHeader(max-age, 0); response.setDateHeader(Expires, 0); and we combine it with:

cache control problem in tomact 3.2.1

2001-06-11 Thread niraj
hi All i have a global include file . i have put to header in the file as given below. response.addHeader(Cache-Control,no-cache); response.addHeader(expires,0); when i work with tomact + IISboth header works fine. but when only tomact is running the these headers doesn't work. is

Re: tomcat 3.2.2 class in servlet.jar not found when usingxsl-taglib under linux, works under windows

2001-06-11 Thread Stefan Kost
hi again, answering my own question ... Using Tomcat with Taglibs requires jdk-1.3. Stefan hi, as I've tried to summarise in the subject already, I run tomcat 3.2.2 both under linux (suse 7.0) and under windows (2000). The linux-box uses java 1.2.2, the windows-box java 1.3. I have

TOMCAT+APACHE and SCO

2001-06-11 Thread [EMAIL PROTECTED]
Hi, i work on a SCO Unix Openserver 5 without perl installed. (and I can't installed perl on it :( ). Does anyone can send me a mod_jk.so it will work if I take an mod_jk.so from another server Thanks for your help. Uzeb __ Voila vous propose

stress test

2001-06-11 Thread altuga
Hi all i am testing tomcat with using ap which comes with apache what is ideal test case , ? for example 1000 user , 7 concurrent is ideal ? and while i am testing tomcat sometimes it uses %98 cpu and never gives it back .. i configured my server.xml like that Parameter

I need to build mod_jk.so, can't find it however

2001-06-11 Thread Martin van Dijken
Hello, I've got a SUSE-linux 7.0 machine running and installed Tomcat on it. I configured it and can now start/stop Tomcat without errors. Now I want to configure tomcat to work under apache and started reading the how-to on this. Problem however is that the doc's refer to

Re:I need to build mod_jk.so, can't find it however

2001-06-11 Thread [EMAIL PROTECTED]
You have to download the sources here : http://jakarta.apache.org/site/sourceindex.html and unzip the file in /path/to/tomcat/jakarta/src/ I hope it will help U. Uzeb Hello, I've got a SUSE-linux 7.0 machine running and installed Tomcat on it. I configured it and can now start/stop Tomcat

Corrupt isapi_redirect.dll and ISS5

2001-06-11 Thread Lawrence Kemdirim
Dear Fellow Tocaters: Could someone tell me how to obtain a non corrupt version of the isapi_redirect.dll. I have spent my entire weekend trying to get the dll to load successfully (i.e. obtaining the upward green arrow). I am running windows 2000 professional, and using IIS5.0. I have

where do i put servlets?

2001-06-11 Thread Kotsari Aspasia
HI Can someone tell me where exactly I must put my servlets in Tomcat? Thanx. S.

RE: jsps and servlets in same context?

2001-06-11 Thread Amos Shapira
You should map url's to your servlets. See the servlet and servlet-mapping tags in web.xml, e.g.: servlet servlet-name login /servlet-name servlet-class com.yourcompany.LoginServlet /servlet-class /servlet servlet-mapping servlet-name login

RE: I need to build mod_jk.so, can't find it however

2001-06-11 Thread Martin van Dijken
Hmm, should I get the servlet-API sources or the jakarta-tomcat sources? :--Original Message- :-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] :-Sent: Monday, June 11, 2001 11:53 AM :-To: [EMAIL PROTECTED] :-Subject: Re:I need to build mod_jk.so, can't find it however :- :- :-You

Re: SCO Unix: Apache and Tomcat do not cooperate

2001-06-11 Thread Dan Hansen
Egidijus, I have the same problem you have (had?) That is when going through apache (port 80 via mod_webapp to Tomcat 4b5) I get the following behavior: /examples/jsp/num/numguess.jsp returns a blank screen. /examples/jsp/dates/dates.jsp works correctly. When going directly to tomcat

RE: Corrupt isapi_redirect.dll and ISS5

2001-06-11 Thread Andrew Chitty
I spent most of last week struggling to get the green arrow! (same configuration). Finally got it to work by deleting reg key and re-entering all details (although I spend a couple of hours checking settings were correct!) - the isapi_redirect.dll will not register with regsvr32, although this

AW: jsps and servlets in same context?

2001-06-11 Thread Burkard Endres
i have followed your instructions but it doesn't work the Webbrowser tells me that he could not find the page -Ursprüngliche Nachricht- Von: Amos Shapira [mailto:[EMAIL PROTECTED]] Bereitgestellt: Montag, 11. Juni 2001 12:14 Bereitgestellt in: tomcat-user Unterhaltung: jsps and

RE: where do i put servlets?

2001-06-11 Thread istvan bereti
I'm not sure but I put them under WEB-INF/classes BR, Istvan -Original Message- From: Kotsari Aspasia [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 3:14 AM To: '[EMAIL PROTECTED]' Subject: where do i put servlets? HI Can someone tell me where exactly I must put my servlets in

Servlet to get client's certificate

2001-06-11 Thread J. Chong
Hi, I have installed Apache, mod_ssl and OpenSSL. The thing I want to do is create a servlet to get the client's certificate. I have successfully installed Jakarta Tomcat 3.2.1 and tested with HelloWorld servlet by HTTPS and it works. That means the servlet works ok with SSL. However

RE: jsps and servlets in same context?

2001-06-11 Thread Amos Shapira
Look at tomcat's logs, for a start -Original Message- From: Burkard Endres [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 1:40 PM To: [EMAIL PROTECTED] Subject: AW: jsps and servlets in same context? i have followed your instructions but it doesn't work the Webbrowser tells me

RE: Servlet to get client's certificate

2001-06-11 Thread Pernica, Jan
you have to configure your tomcat to require client certificate. see attribute clientAuth in the SSL configuration On Monday, June 11, 2001 12:56 PM, J. Chong [SMTP:[EMAIL PROTECTED]] wrote: Hi, I have installed Apache, mod_ssl and OpenSSL. The thing I want to do is create a servlet

help isapi_redirect.dll problem

2001-06-11 Thread Lawrence Kemdirim
Hello: Could someone tell me how to obtain a non corrupt version of the isapi_redirect.dll. I have spent several hours trying to get the dll to load successfully (i.e. obtaining the upward green arrow). I am running windows 2000 professional, and using IIS5.0, along with Jakarta-Tomcat

RE: where do i put servlets?

2001-06-11 Thread Michael Wentzel
This is correct. Servlets are simply another class and should be placed in webapps/name here/WEB-INF/classes/package name/. Then add the appropriate servlet mapping(s). --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com I'm not sure but I put them under

j_security_check

2001-06-11 Thread Mark Muffett
I've read everything I can find on the list, and in the documentation and I still can't get "FORM" authentication to work. I'm using tomcat 3.2.2. I'm accessing Tomcat directly (via port 8080) - I've turned Apache off to make sure that itdoesn't get in the way. Tomcat correctly redirects

RE: tomcat start fails

2001-06-11 Thread Randy Layman
Are you getting any error messages? Do you see a widnow appear and disappear really quickly? I would suggest trying tomcat run instead, which will launch to the same DOS window and probably give you more information about your problem. Randy -Original

Strange problem with Catalina, Apache and mod_webapp

2001-06-11 Thread Dan Hansen
All, I have a Tomcat / Apache / mod_webapp that mostly works. I'm running the following: Suse Linux 2.4 kernel IBM JDK 1.3 Jakarta-Tomcat 4b5 Apache 1.13.19 (as default installed by Suse Yast2) http://localhost:8080 returns the tomcat homepage http://localhost returns the apache homepage All

RE: I need to build mod_jk.so, can't find it however

2001-06-11 Thread [EMAIL PROTECTED]
Hmm, should I get the servlet-API sources or the jakarta-tomcat sources? jakarta-tomcat sources Hmm, should I get the servlet-API sources or the jakarta-tomcat sources? :--Original Message- :- :-You have to download the sources here :

RE: help isapi_redirect.dll problem

2001-06-11 Thread Randy Layman
First, I would suggest posting only in plain text messages to this list - a number of readers don't support HTML email and, therefore, have a hard time reading your message (probably not what you want). Second, in the same directory as the .dll file, there is a .zip file named

RE: jsps and servlets in same context?

2001-06-11 Thread Randy Layman
Did you try restarting Tomcat after changing the web.xml file? -Original Message- From: Burkard Endres [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 6:40 AM To: [EMAIL PROTECTED] Subject: AW: jsps and servlets in same context? i have followed your instructions

stress test

2001-06-11 Thread altuga
Hi all i am testing tomcat with using ap which comes with apache what is ideal test case , ? for example 1000 user , 7 concurrent is ideal ? and while i am testing tomcat sometimes it uses %98 cpu and never gives it back .. i configured my server.xml like that Parameter

Re: jsps and servlets in same context?

2001-06-11 Thread Stephane Boffin
Remove me from this group^..

Re: j_security_check

2001-06-11 Thread Pae Choi
Try action="/VP/j_security_check" while assuming that the rest of the setup is correct. Pae I've read everything I can find on the list, and in the documentation and I still can't get "FORM" authentication to work. I'm using tomcat 3.2.2. I'm accessing Tomcat

Problems with Tomcat/IIS5

2001-06-11 Thread Hamish Barney
Just wondering if anyone else has had the same experience and if they were able to resolve it. Trying to get Tomcat 3.2.1 working with IIS5 but I seem to have issues with the ISAPI redirector. I've used exactly the same configuration with IIS4 on a different machine and it works perfectly.

RE: Problems with Tomcat/IIS5

2001-06-11 Thread Randy Layman
The problem is with your Tomcat configuration - AJP12 is reading a 404 from the connector (about 1/2 way through your log entry). Check out your Tomcat configuration, specifically look that /conference is either a webapp or a directory from the ROOT context, but the Tomcat logs should

Re: j_security_check

2001-06-11 Thread Mark Muffett
Thanks, but it makes no difference. Is there any easy way to be sure that my mod_jk.conf is being used? Mark - Original Message - From: Pae Choi To: [EMAIL PROTECTED] Sent: Monday, June 11, 2001 1:11 PM Subject: Re: j_security_check Try

Making over Half Million Dollars every 4 to 5 Months from your Home!!!

2001-06-11 Thread Sarah
AS SEEN ON NATIONAL TV:Making over Half Million Dollars every 4 to 5 Months from your Home for an investment of only$25 U.S. Dollars expense one timeTHANK'S TO THE COMPUTER AGE AND THE INTERNET!==BE A MILLIONAIRE LIKE OTHERS WITHIN A

Where do you deploy JSPs used in Servlet forward()?

2001-06-11 Thread Edilmar Alves
Hi, I have an application with a Servlet command processor and business logic, and many JSPs for user interface. When I'm using JBuilder 4 Ent + Tomcat 3.2.1 to run the app, all works fine. The Web Server is NT4 + Apache 1.3.12 and Tomcat is running on port 8080. However, when I try to deploy

Re: j_security_check

2001-06-11 Thread P.Miller
Hi Mark, I send you attached the parts of mod_jk.conf , web.xml which works for me; belonging to directory structure c:\tomcat\webapps\tute6\form\protected.jsp c:\tomcat\webapps\tute6\secure\login.jsp error.html c:\tomcat\webapps\tute6\WEB-INF\web.xml set Logger name=tc_log

RES: stress test

2001-06-11 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- First of all, what does spare-treads mean? Secondly, there are 2 very important parameters that should be configurated: delay and threads - and 1 important concept: each new group will begin after the prior one ends. So, you should have enough CPU and memory to

Tomcat and IIS revisited!

2001-06-11 Thread Winer, Matthew
Ok well I have made some progress this morning. I now how the green up arrow for the ISAPI filter. I am so excited. Now I just have a couple more questions. Does it matter what the home directory is for my IIS web server? I did put in a virtual directory for jakarta. Now when I go to

Tomcat and IIS revisited! (update)

2001-06-11 Thread Winer, Matthew
I changed in the registry the logging to debug and this is what my log file looked like for one request to http://localhost/examples/jsp/index.html [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /examples/jsp/index.html

RE: Tomcat and IIS revisited!

2001-06-11 Thread Randy Layman
-Original Message- From: Winer, Matthew [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 9:54 AM To: 'Tomcat-User (E-mail) Subject: Tomcat and IIS revisited! Ok well I have made some progress this morning. I now how the green up arrow for the ISAPI filter. I am so

Re: multiple domain names on same IP

2001-06-11 Thread Luke P. Immes
Members, Hello. Does anyone know or has tried to have multiple domain names on the same IP. servlet.xml mentions virtual hosts (commented out): !-- Virtual host example - In "127.0.0.1" virtual host we'll reverse "/" and "/examples" (XXX need a better example ) (use

class not found error on include

2001-06-11 Thread Luba Powell
Keep getting: A Servlet Exception Has Occurred org.apache.jasper.JasperException: Unable to compile class for JSPc:\tomcat4\work\localhost\myapp\javabean\counter_jsp.java:3: Class javabean.Counter not found in import. import javabean.Counter; ^ 1 error What folder do I need to put my

Re: jspc and deployment

2001-06-11 Thread FRED
Hi Randy, Thank you for your reaction. I got it working. This will save me a lot of time and will make my application more scalable. Sophie Randy Layman schreef: The answer is you can't. Even if you could get it to generate the file names correctly, Tomcat still wouldn't use them.

RE: stress test

2001-06-11 Thread altuga
hi ? what kind of testing tool or tools are you suggesting ? -Original Message- From: Jose Euclides da Silva Junior - DIGR.O [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 4:24 PM To: [EMAIL PROTECTED] Subject: RES: stress test -BEGIN PGP SIGNED MESSAGE- First of

Re: j_security_check

2001-06-11 Thread Mark Muffett
Peter Can I check what version of Tomcat you're using? Mine still doesn't work. Thanks Mark - Original Message - From: P.Miller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 11, 2001 1:58 PM Subject: Re: j_security_check Hi Mark, I send you attached the parts of

Re: RES: stress test

2001-06-11 Thread Charles Baker
Spare-threads are idle threads. We want a few idle threads to quickly answer incoming requests. We don't want too many idle threads, or else we can negatively impact performance. So, we can represent the config below with this pseudo-code in an attempt to make it more clear: // Max spare threads

Re: j_security_check

2001-06-11 Thread P.Miller
Mark I'm working with Apache 1.3.19 and TTomcat 3.2.1 My configuration requires Apache Tomcat (Tomcat standalone doesn'T neewd mod_jk at all!) regards Peter Mark Muffett wrote: Peter Can I check what version of Tomcat you're using? Mine still doesn't work. Thanks Mark -

RE: Problems with Tomcat/IIS5

2001-06-11 Thread Hamish Barney
Thanks for your advice but I'm afraid all the tomcat logs seem to be in order to me. Does anyone have any idea what might be causing this problem? Thanks again, Hamish --console--- 2001-06-11 01:53:01 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null --jasper.log--- 2001-06-11

Request.getAttribute() Request.remove Attribute()

2001-06-11 Thread Florin Pop
Hi there, 1. can somebody tell me what does the getAttribute removeAttribute methods of the request object? How can I use them? 2. how can I remove a parameter from a request before forwarding it to another jsp or servlet? 10x Florin

Problem with access control of resources

2001-06-11 Thread Pankaj Chhaparwal
Hi All, I am using Apache and Tomcat to build my website. The adapter is JServ.I have certain word documents which have to be displayed on the browser on demand from the end user. I dont want to end users to view these documents unless they have logged into the system. What happens right now is

Tomcat on IIS registry entries

2001-06-11 Thread Rex Cooper
HI There. We have created two .reg files for NT 4 and Windows 2000. They work for tomcat installations on c:\jakarta-tomcat-3.2.1 but should be editable for other file paths. I found the process to be very error prone, manually making the keys every time. Win 2k Windows Registry Editor Version

another problem with Apache and Tomcat

2001-06-11 Thread francesco.casalena
Hi, I'm running Tomcat 4.0 m5 with Cocoon2 on Apache 3.1.19 and mod_webapp. Scenario: 1)lynx http://localhost:8080/examples/servlets/ shows Tomcat's examples (servlets and JSP) file correctly. 2)lynx http://localhost:8080/examples/cocoon/ shows Coccon's xml files correctly 3)lynx

Re: jsps and servlets in same context?

2001-06-11 Thread Milt Epstein
On Mon, 11 Jun 2001, Burkard Endres wrote: Hi i want my servlets and my jsps be served out of the same directory. this means: the servlet shoud be mapped to a folder so that they are accessible via: /myfolder/myservlet the jsps should also be accessible via /myfolder/myjsp.jsp if i

RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew
When I check the IIS log files I see a GET /jakarta/isapi_redirect.dll 401 It is a 401 error. I still have the jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters in my isapi.log file and

Setting CORBA Settings for Web COntainer

2001-06-11 Thread Adam Bell
Hi, Can anyone tell me how to set the parameters for JNDI etc within the TOMCAT server configuration. Details that need to be entered appear as follows for the Java WebStart jnlp file to give you an idea property name=java.vm.name value=Classic VM/ property name=ORBInitRef

RE: Tomcat and IIS revisited

2001-06-11 Thread Randy Layman
Your workers file is not correct - from your previous messages, isapi_redirect is finding that the resource should be a redirect to Tomcat. The problem is it can't find the worker for the redirect - the right side of the mapping in uriworkermap.properties is not defined (or not correctly

Re: setting up Tomcat on win98

2001-06-11 Thread Hemant Singh
HI : place following line at top of your startup.bat set TOMCAT_HOME=d:\Tomcat\jakarta-tomcat-3.2.2 set JAVA_HOME=d:\jdk1.3.1 It should work Regards, Hemant - Original Message - From: gek hua [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 7:22 PM Subject: setting up

Re: Problem connecting to the database

2001-06-11 Thread Hemant Singh
HI Ann: no doubt your problem is offcourse configuration related. Try giving all permission in your java.policy file(Make sure it is java.policy or .java.policy) eg. grant { permission java.security.AllPermission; } Let me know if this also don't work Regards, Hemant - Original Message

Re: Error in Startup Tomcat at Win2000

2001-06-11 Thread Hemant Singh
HI Peter: you are getting the BindException, the most possible reason for this is that box you are trying to run tomcat already running some application which is using port 8080, so you try changing the port from 8080 to someother (In server.xml) and try running it again, Regards Hemant

Sticky Session Bug

2001-06-11 Thread nospam
I'm having problems with Tomcat's sticky session implementation while in a cluster of Tomcat 3.2.2 worker instances running Ajp13. From what I understand from the documentation, when a session exists, mod_jk is suppose to forward all requests for that session to the original Tomcat instance that

Re: j_security_check

2001-06-11 Thread Michael Jennings
Mark, The mod_jk stuff doesn't matter if you are talking to tomcat directly. Have you checked out the security example that comes with tomcat 3.2.2? Does that work? (You might need to modify your server.xml file) -Mike Jennings - Original Message - From: Mark Muffett [EMAIL PROTECTED]

RES: stress test

2001-06-11 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- Up now, none. José Euclides Júnior __ E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] http://euclides.8m.com - -Mensagem original- De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Enviada em:

advice on setting up server for student projects?

2001-06-11 Thread Daphne Tregear
Hello. Does anyone have any advice to offer on setting up an Apache/Tomcat server for student projects? Currently our students can just ask for CGI permission if they need it for their project and we enable their ~/public_html/cgi-bin directory. Is there a way I can just enable

RE: MVB

2001-06-11 Thread Swart, James (Jim) ** CTR **
Am I the only one who just got this in.. is it.. Russian? -Original Message-From: MVB [mailto:[EMAIL PROTECTED]]Sent: Friday, June 08, 2001 11:58 PMTo: [EMAIL PROTECTED]Subject: MVB ÂÛ ÇÍÀÅÒÅ ×ÒÎ ÒÀÊÎÅ ÃÐÈÍÌÅÉË ?ÝÒÎ ÀÊÖÈÎÍÅÐÍÛÉ ØÀÍÒÀÆ, ÀÃÐÅÑÑÈÂÍÎÅ ÏÎÃËÎÙÅÍÈÅ

Re: advice on setting up server for student projects?

2001-06-11 Thread Michael Jennings
Hi, I have done this before on my Linux server, but only by manually modifying server.xml to explicitly add contexts that point to something off of each user's home directory. For example, in my server.xml file (tomcat 3.2.2) I've got the following: Context path=/~craig

Re: Tomcat on IIS registry entries

2001-06-11 Thread Lawrence Kemdirim
Hello: I would like to send a special thanks to Rex...I finally got the isapi_redirect.dll working. I would appear that using regedit does not entirely do the job. As Rex had suggested, it would be best (but time consuming) to manually create the .reg file and that's it. Personally, I don't

RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew
Here is a copy of my workers.properties and uriworkermap.properties files. I was told that this is where my problem lies. If somebody could take a quick look, maybe see if anything is wrong. Thanks # # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16

RES: RES: stress test

2001-06-11 Thread Jose Euclides da Silva Junior - DIGR.O
-BEGIN PGP SIGNED MESSAGE- So, spare-threads seems to be waiting listenners, doesnt it? Its always very very important that you have an ideia about the amount of users which are using your application at the same time... Thats the reason for using threads. Some questions: does your app

question on affinity for cookies

2001-06-11 Thread Mike Spreitzer
I have a web application served by Tomcat (currently 3.2.2b3). I've configured Tomcat to offer both a secured connector at HTTPS://host:8086/ and an unsecured version available at HTTP://host:8085/. My question is, should I expect my servlets to see the same session attributes when a client

Re: Corrupt isapi_redirect.dll and ISS5

2001-06-11 Thread Lawrence Kemdirim
Hello:I finally got it to work. I just wanted to include this post to clarify anymisconceptions about the isapi_redirect.dll being corrupt. They are notcorrupt!!!I got things working by following Rex's advice. I would appear that usingregedit does notentirely do the job. As Rex had

FW: From Vaskar

2001-06-11 Thread Swart, James (Jim) ** CTR **
Forwarding -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 11:53 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: From Vaskar please refer this to the tomcat-user list thanks and have a great week Filip ~

RE: Corrupt isapi_redirect.dll and ISS5

2001-06-11 Thread Winer, Matthew
If I have the green up arrow in IIS can I assume that my registry setting are 100% correct? -Matt Winer -Original Message-From: Lawrence Kemdirim [mailto:[EMAIL PROTECTED]]Sent: Monday, June 11, 2001 1:56 PMTo: [EMAIL PROTECTED]Subject: Re: Corrupt isapi_redirect.dll and

Classpath for javax.swing

2001-06-11 Thread Swart, James (Jim) ** CTR **
I just created an applet using javax.swing components. I got it to run but I had to add the jar file to my classpath so that the import statements would find javax.swing.*. Obviously, users are not going to know how to add a jar file to their classpath. Can someone point me to some docs for

RE: Tomcat and IIS revisited

2001-06-11 Thread Randy Layman
-Original Message- From: Winer, Matthew [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 1:38 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat and IIS revisited Here is a copy of my workers.properties and uriworkermap.properties files. I was told that this is where my

Re: Corrupt isapi_redirect.dll and ISS5

2001-06-11 Thread Lawrence Kemdirim
My guess is that your settings are correct as far as finding the dll file. However, I don't believe that this means that this is a carte blanche for all your other settings (i.e. worker.properties, logs, and workeruri, etc.). Lawrence - Original Message - From: Winer,

Tomcat as a service.

2001-06-11 Thread Winer, Matthew
I have Tomcat running as a service successfully however I have one issue. When I run it as a service I am able to access: http://localhost/examples/jsp and everything in there. However when I try to access http://localhost/uwi/com.ups.uoi.servlets.LoginServlet I get: Error 500: Location:

RE: Corrupt isapi_redirect.dll and ISS5

2001-06-11 Thread Randy Layman
You can assume that they are acceptable, and if you're asking the question then they are probably correct. The only time they would be acceptable but not correct involves two sets of files and you not wanting to use one of them Randy -Original Message- From:

stress test

2001-06-11 Thread altuga
Hi all i am testing tomcat with using "ap" which comes with apache what is ideal test case , ? for example 1000 user , 7 concurrent is ideal ? and while i am testing tomcat sometimes it uses %98 cpu and never gives it back .. i configured my server.xml like that Parameter

RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew
I appoligize here is the correct file # # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/workers.properties,v 1.3.2.2 2000/10/16 01:59:22 larryi Exp $ # $Revision: 1.3.2.2 $ # $Date: 2000/10/16 01:59:22 $ # # # workers.properties - # # This file provides jk derived plugins with with the needed

Re: jspc and deployment

2001-06-11 Thread Oskar Zinger
What option did you use with jspc? I am encountering the same problem. Thanks Oskar FRED wrote: Hi Randy, Thank you for your reaction. I got it working. This will save me a lot of time and will make my application more scalable. Sophie Randy Layman schreef: The answer is you

RE: Tomcat NT service mode

2001-06-11 Thread Ratnakar Palle
I've a similar requirement... If anyone has done this before, please let me know.. Thanks, -Ratnakar From: Swart, James (Jim) ** CTR ** Subject: RE: Tomcat NT service mode Date: Tue, 5 Jun 2001 13:00:07 -0400 can't you just change it's properties to startup up automatically in the

RE: Tomcat and IIS revisited

2001-06-11 Thread Randy Layman
Now, my question is, have you modified Tomcat's server.xml file? This file indicates that it will try and use ajp12 to connect to localhost:8007 to find Tomcat. From your uriworkermap.properties file we know that this one should be used, and from the log files posted earlier we know

RE: Tomcat NT service mode

2001-06-11 Thread Winer, Matthew
Ratnakar, After you run the jk_nt_service -i service config-file if you go into the Services Control Panel you will see the service Sitting there set to manual and stoped. For example if I create a service by the following: jk_nk_service -i Tomcat wrapper.properties In the Service I will

RE: Tomcat NT service mode

2001-06-11 Thread Randy Layman
To do this from a program/non-interactive environment, for an already installed service, edit the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[ServiceName]\Start. The value 2 is definitely for Automatic. I believe that 0 is disabled, 1 is manual, but I'm not

RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew
Randy, Here is a clip from my server.xml file: !-- Apache AJP12 support. This is also used to shut down tomcat. -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

RE: Tomcat NT service mode

2001-06-11 Thread Ratnakar Palle
Thanks Randy... I think, this one helps... -Ratnakar -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 11:00 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat NT service mode To do this from a program/non-interactive environment, for an

Problem starting TOMCAT on Win 2000

2001-06-11 Thread Priya Gupta
Hello I dowloaded the Tomcat 3.2.2 and unzipped all the files in a folder: foo\jakarta-tomcat-3.2.2 I set the TOMCAT_HOME variable set TOMCAT_HOME=foo\jakarta-tomcat-3.2.2 and JAVA_HOME=C:\jdk1.2.2 But still when I try startiing Tomcat from command it says The system cannot find the

RE: Problem starting TOMCAT on Win 2000

2001-06-11 Thread Jann VanOver
Your TOMCAT_HOME path must be a FULL path like D:\foo\jakarta-tomcat-3.2.2 -Original Message- From: Priya Gupta [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 12:01 PM To: [EMAIL PROTECTED] Subject: Problem starting TOMCAT on Win 2000 Hello I dowloaded the Tomcat 3.2.2 and

RE: Problem starting TOMCAT on Win 2000

2001-06-11 Thread Randy Layman
TOMCAT_HOME should be C:\some\dir\foo\jakarta-tomcat-3.2.2 (i.e. absolute path). -Original Message- From: Priya Gupta [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 3:01 PM To: [EMAIL PROTECTED] Subject: Problem starting TOMCAT on Win 2000 Hello I

Re: Problem connecting to the database

2001-06-11 Thread Ann Tomcat
Hi!Hemant, Inspite of including the all permission grant in .java.policy file I have problem connecting to the database. The .java.policy file looks like: grant codeBase http://localhost:8080/log/; { permission java.lang.RuntimePermission usePolicy; permission java.net.SocketPermission *,

Overide encodeURL()

2001-06-11 Thread David M. Rosner
Hi All, My application has already been coded to use the encodeURL() method for all URL references within all of the JSP pages. I now have a need to take the output of encodeURL() and add additional text to it. Is it possible to write my own version of encodeURL() that will call the

Re: Problem starting TOMCAT on Win 2000

2001-06-11 Thread Shravan Shashikant
Priya, I think you need to set the path of java in your environment variables. The error system cannot... is generally associated with dos not finding the executable to run the program.so,include the jave home and tomcat home in your PATH variable of your comp.also,i think its mentioned in the

Re: jspc ???

2001-06-11 Thread Tim O'Neil
At 03:18 PM 6/9/2002 +0530, you wrote: hi all can somebody tell me how to precompile the jsp's of my webapp. i have tried using jspc with options . it just creates the related java files but not the compiled servlets. Hit your jsp content once before you go into production, they'll be compiled

RE: Overide encodeURL()

2001-06-11 Thread Filip Hanik
it is possible if you change the source code yourself. you can read a little bit about the architecture at http://www.filip.net/tomcatbook/TomcatInterceptors.html this is focused on the interceptors though Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL

Session timeout during long file upload

2001-06-11 Thread Tal Dayan
Hello, When we try to upload a long file to a servlet we encounters a problem with the session timeout because of the long time it takes to upload the file over a slow connection (sometimes several hours). It seems that the problem is in the way the session timeout is specified in the servlet

How can I tell if Tomcat Server is running

2001-06-11 Thread DPante
I recently installed Tomcat 3.2.2. When I start the server, it appears to start correctly (no error messages). However, when I try to execute the example SnoopServlet from the browser by typing: http:localhost:8080/examples/servlet/SnoopServlet I get an error message indicating that the page

error-page€error-code Tomcat 3.2.1

2001-06-11 Thread Xavier Renaut
Hi ! I'm using Tomcat 3.2.1 and Struts 1.0-b1. I'm trying to set up an error page to catch all the 500 errors. So, following web.dtd (and the order between tags), inside of web.xml, I added those 4 lines : error-page error-code500/error-code

RE: Session timeout during long file upload

2001-06-11 Thread Michael Wentzel
When we try to upload a long file to a servlet we encounters a problem with the session timeout because of the long time it takes to upload the file over a slow connection (sometimes several hours). It seems that the problem is in the way the session timeout is specified in the

RE: How can I tell if Tomcat Server is running

2001-06-11 Thread Michael Wentzel
I recently installed Tomcat 3.2.2. When I start the server, it appears to start correctly (no error messages). However, when I try to execute the example SnoopServlet from the browser by typing: http:localhost:8080/examples/servlet/SnoopServlet I get an error message indicating that the

force reload of servlets

2001-06-11 Thread Boyle, William (CAP, TIP)
Tomcat doesnt seem to reload servlets when they are called in a chain. Is there any way to manually force a reload of servlets and even regular classes with java code (like an admin servlet or something)?

RE: Overide encodeURL()

2001-06-11 Thread David M. Rosner
Hello, Yes, I was hoping I could do this just like i've modified the SessionInterceptor, but the problem is I need to modify the response - not the request. Am I assuming correctly that interceptors can only modify requests and not responses? The actual implementation of encodeURL is done

  1   2   >