Tomcat 5.0.2 and IIS

2003-08-09 Thread vikas jain
Hello, had anyone tested tomcat servlets working with IIS server using the redirectory as explained at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html if you know how to make tomcat servlets with IIS server, please tell me. Thanks for your help. Vikas

Re: external parameters to tomcat (how?)

2003-08-09 Thread Jon Wingfield
erm. can't you just use init parameters in the web.xml: section SRV.2.3.2 in the servlet 2.3 spec. If the location is for one servlet use a servlet init param otherwise use a servlet context init param. In the latter case you can access it in your servlet by doing (for example): String value =

Again, Problem: Tomcat server went down ...

2003-08-09 Thread Bing Zhang
Can someone out there help on this ? I have posted my problem for 2 days, didn't really get any response. Our Tomcat server just shut down by itself. It caused an application error(0xc05 ) in Java.exe and shut down. Did this type of things happen to anybody before ? Any ideas or

RE: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-09 Thread Pat Pomatto
Hi, I have done everything you mentioned. I also reconfigured the connector without jni. Tomcat does not throw any errors but apache does. Apache errors: [Thu Aug 07 12:39:45 2003] [error] mod_jk child init 1 0 [Thu Aug 07 12:39:45 2003] [error] jk2_init() Can't find child 9981 in

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread John Turner
I'm pretty sure your .properties file should use port 8009. Do you have the CoyoteConnector listening on port 8009 for JK? Its enabled by default. John vikas jain wrote: I changed the IIS port back to 80 and tomcat to 8080, also in the worker.properties file i have changed to port to 8080.

RE: Servlet Dispatcher is currently unavailable

2003-08-09 Thread Shapira, Yoav
Howdy, Oh, very interesting. It's been a long time since I've seen this one. Are there any errors in the tomcat logs during startup? Yoav Shapira Millennium ChemInformatics -Original Message- From: Oscar (Eccox) [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:46 PM To:

Re: Front Controller Servlet

2003-08-09 Thread Dionisio Ruiz de Zarate
and whoy don't use one filter? i am usin one filter; in my web.xml i have mapped all my jsp pages (*.jsp) to this filter, an the filter actions are made first and in the second fase the systems shows me the jsp page - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

when building tomcat 4.0 : cannot resolve symbol

2003-08-09 Thread Prestation3 . EXPLOITATION
Hi, Trying to build Tomcat 4.1 I get the following error what I missed ? Can You help ? [EMAIL PROTECTED]:/opt/jakarta-tomcat-4.1.24-src# ant dist Buildfile: build.xml deploy-prepare: deploy-static: deploy: [echo] Target: Catalina - Deploy ... flags: flags.display: [echo] ---

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread vikas jain
seems something is working but still something is wrong. Now in the isapi.log file I am getting following, looks like it's trying to get the file but not getting [Thu Aug 07 15:47:22 2003] [jk_isapi_plugin.c (1018)]: Using registry. [Thu Aug 07 15:47:22 2003] [jk_isapi_plugin.c (1020)]: Using

Re: Automatic switch from http to https doesn't work for IE, does for Netscape

2003-08-09 Thread
ÔÚ 2003-08-09 16:30:00 ÄúдµÀ£º Tomcat 4.0.6of you ? Could you tell me ? Thanks~~ Windows 2000 IE 5, SP3 Netscape 7.02 I have a website which is part public, part secure. There are html entries such as lt a href=members/index.jsp gt in the public area which will jump to the secure area. The

Tomcat startup error

2003-08-09 Thread krishnakumar kumaraswamypillai
hi all i have installed JAVA 2 SDK 1.3.1_08 Apache HTTP server 2.0.47 Apache Tomcat 4.1 on starting tomcat i get the error: Created catalinaLoader in: C:\Program Files\Apache Group\Tomcat 4.1\server\lib java.lang.NoClassDefFoundError: org/xml/sax/InputSource

Re: Automatic switch from http to https doesn't work for IE, does for Netscape

2003-08-09 Thread
ÔÚ 2003-08-09 16:30:00 ÄúдµÀ£º Tomcat 4.0.6of you ? Could you tell me ? Thanks~~ Windows 2000 IE 5, SP3 Netscape 7.02 I have a website which is part public, part secure. There are html entries such as lt a href=members/index.jsp gt in the public area which will jump to the secure area. The

moving from tomcat3 to tomcat4

2003-08-09 Thread Frank Cooley
I'm a little late with this. I have an app running under tomcat3 and am trying to move it to tomcat4.1.18. I moved the directory structure to WEB-INF, added a context to server.xml and a mapping to my web.xml file, but I get a file not found error when I run the app and it tries the first

Re: Re: Oracle connection pooling

2003-08-09 Thread
ÔÚ 2003-08-09 00:07:00 ÄúдµÀ£º Hi,of you ? Could you tell me ? Thanks~~ Firewalls, and I'm not speaking for all of them, as a rule of thumb close _idle_ connections after an hour. Your connections should be done well before that. -e On Fri, 8 Aug 2003, Cristopher Daniluk wrote: We are

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread vikas jain
I was searching all the time yesterday for this topic. All I found is two things: First, You are everywhere when there is some question about tomcat and IIS. and you are the person who resolves problems. :) second, I found the problem i am having, ie incorrect redirecting of the DLL. but the

Binary data POSTed to Tomcat 4.1+JK2+IIS 5+Win2KSvr corrupted

2003-08-09 Thread Jim JXR
Hi, list: I'm running a web application hosted in Tomcat 4.1, with IIS redirector enabled. There has been no problem with jsp browsing so far, but I have a serious problem when posting binary data to a servlet in this environment. Basically, a random 36byte sequence is inserted near 56k in the

Re: Re: Exception report

2003-08-09 Thread
hi ,all: how can I send my questions to all of you ? Could you tell me ? Thanks~~ mqg - SOUVENIR --- . | Souvenir of China | | A Good Place for You | `-- http://www.souvenirchina.com -' mailto:[EMAIL PROTECTED]

Re: Automatic switch from http to https doesn't work for IE, does for Netscape

2003-08-09 Thread
ÔÚ 2003-08-09 16:30:00 ÄúдµÀ£º Tomcat 4.0.6of you ? Could you tell me ? Thanks~~ Windows 2000 IE 5, SP3 Netscape 7.02 I have a website which is part public, part secure. There are html entries such as lt a href=members/index.jsp gt in the public area which will jump to the secure area. The

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread John Turner
It's attempting to map the DLL, which is incorrect. I'm pretty sure this has come up before, I would search the archives or start a new thread with a different, more descriptive subject line and see if anyone has the answer. John vikas jain wrote: seems something is working but still

Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-09 Thread Pat Pomatto
Hi, Im running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2 connector 2.0.2 which I built successfully. I configured the connector with jni. I cannot seem to get the connector to work. In my apache/logs/error_log the error generated is: [Tue Aug 05 10:31:53 2003]

Servlet Dispatcher is currently unavailable

2003-08-09 Thread Oscar \(Eccox\)
Title: Mensagem I'm using TOMCAT 4.1.24 on Linux RedHat 8... When I try to reach http://localhost:8080/qc/main, I have the message: HTTP Status 503 - Servlet dispatcher is currently unavailable Any help ??? Thanks, ===José Oscar de Souza

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread vikas jain
woww, it finally worked. What I did is rebooted the system. Thanks John for all the notes you gave me. thanks to the messages that was really helpful From: vikas jain [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Tomcat 5.0.2 and

Re: is there a way to download a jsp file from server withoutexecuting it?

2003-08-09 Thread Eric J. Pinnell
Or stealing :) -e On Fri, 8 Aug 2003, Tim Funk wrote: I hope not, we tend to call that a security flaw. -Tim Prince wrote: hi is there a way to download a .jsp file without executing it? ie i need the content od jsp file, not the result of that jsp file. same question goes with

Tape Drive - Red Hat - Power PC (OFF TOPIC)

2003-08-09 Thread Hari Om
I have IBM 3580 Ultrium LTO Tape Drive and want to use it on IBM pSeries PowerPC which has Red Hat Linux installed on it. From where can I find DRIVERS for this Tape Drive on Red Hat Linux on Power PC? Are they available. I checked IBM Site but it supported Linux on Intel platforms. Any

Re: Tomcat server shutsdown very often

2003-08-09 Thread
ÔÚ 2003-08-08 22:29:00 ÄúдµÀ£º Hello,of you ? Could you tell me ? Thanks~~ We are running Apache/Tomcat/Mysql on linux. The site was working fine till a few days back. When we introduced a few services, the tomcat server hangs very often. Then we have to restart it using startup.sh.

RE: window close session invalidate

2003-08-09 Thread Jeremy Crosbie
Have you tried running this in Mozilla/Netscape? That would rule-out/in it being a browser issue. Something to do with cookies, perhaps? -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:55 PM To: [EMAIL PROTECTED] Subject: window

Re: jsps xhtml and Internet Explorer

2003-08-09 Thread Bill Barker
MSIE has a bad habit of ignoring Content-Type, so I don't know that this will work. However, what you want is: jsp:directive.page contentType=text/html; charset=iso-8859-1 / (of course, change the charset if you aren't using iso-latin-1). [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: unexpected java.lang.NoClassDefFoundError:javax/management/MBeanRegistration

2003-08-09 Thread Jean-Francois Arcand
Try adding the mx4j jar file to the classpath command line to see if it work. Or start using Netbeans or Eclipse (just kidding :-) ) -- Jeanfrancois Dmitry Beransky wrote: At 10:07 AM 8/8/2003, Jean-Francois Arcand wrote: This plug-in is for which version? The plugin itself is from Sean

RE: Can I get an answer please -- Re: Why integrate Tomcat with a web server?

2003-08-09 Thread Shawn Zernik
It actually makes since. Most web servers are in native code which is uasually faster, and tomcat is in java. -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 10:38 AM To: Tomcat Users List Subject: Re: Can I get an answer please -- Re: Why

Apache's SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt:460

2003-08-09 Thread achana
A bit off topic again. I have apache 2.0.40 + mod_ssl talking with OpenSSL. Things seem to be working, client browsers present certificate and log-on, tells me its high grade encryption etc. But when I do [ssl]# openssl s_client localhost:443 -state -debug I still get this error message :

configuration of thread pool used by Tomcat

2003-08-09 Thread Agarwal, Naresh
Hi How does thread creation/destruction works in Tomcat? Is the total no. of threads in thread pool maintained by Tomcat variesas load varies? Does Tomcat destroys threads in the pool, if they are idle for the long time? If yes, is there way to ensure that Tomcat didn't kill the idle

RE: Multiple Tomcat instances

2003-08-09 Thread Angus Mezick
Can the developers have a tomcat instance running inside of eclipse on their desktops? This will allow them do use the debugger. --Angus -Original Message- From: Christian Hauser [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:57 AM To: Tomcat Users List Subject:

RE: how to suppor 30000 concurrent users

2003-08-09 Thread Angus Mezick
Ahh, the is the beauty of the cookie! All my servers respond to www.guidestar.org. I start a session, save that session id in the cookie, save the sessionid and data to the DB table that all the servers share. The next request goes to a different server but it can still see the id in the

RE: Help! heavy traffic is crapping out our site every 5 min! DBCPexceptions

2003-08-09 Thread Eric J. Pinnell
Hi, Do a ps -ef (or ps -aux) and find out the PID of the java process (your sys-admin can help here). Then do a 'kill -QUIT PID' where PID is the PID of the java process. It will send the thread dump to the catalina.out file. Deciphering the thread dump is a little difficult if you have never

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-09 Thread Barclay A. Dunn
your logic seems on target to me. my sysadmin (who's just as stymied as i am) says that according to his sources, sockets on linux are open files so if the open file limit is exceeded, it would affect sockets as well. any thoughts on this? barclay -Original Message- From: Eric J.

Re: Freeing processors

2003-08-09 Thread Jon Wingfield
Yep. Since RH 8 the ps command only shows the main java process. In previous versions ps showed the parent process and a child process for each thread the java app spawned. The previous behaviour often lead to confusion relating to memory assignment so i guess that's why RH changed it.

RE: is there a way to download a jsp file from server without executing it?

2003-08-09 Thread Angus Mezick
Write a servlet/jsp that goes and gets the jsp you want and displays it to you. -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:02 PM To: Tomcat Users List Subject: Re: is there a way to download a jsp file from server without

Re: Stable tomcat + apache + mod_j2 + ssl

2003-08-09 Thread John Turner
Mod_ssl is an Apache module that allows SSL encryption between the webserver and the client. It is not involved in any way with the communications between Apache and Tomcat. There is no such thing as an Apache connector that encrypts transmissions to Tomcat, SSL or otherwise. As far as I

Freeing processors

2003-08-09 Thread Daniel Carlsson
Hi My problem is that tomcat runs out of processors and I see No processor available, rejecting this connection in the log file. By reading earlier posts a I understand that each processor is a thread and is not freed until it is returned by my code, my code is hanging somewhere. The

Re: Can I get an answer please -- Re: Why integrate Tomcat with a web server?

2003-08-09 Thread Nathan Ward
Sorry about that John. I must have missed your reply. I'm still figuring out how to effectively use the mailing lists. I wanted to direct the message to you, but I thought it would be useful to others so I wanted to post it here rather than sending it only to you. Nathan - Original

Re: is there a way to download a jsp file from server without executingit?

2003-08-09 Thread Tim Funk
I hope not, we tend to call that a security flaw. -Tim Prince wrote: hi is there a way to download a .jsp file without executing it? ie i need the content od jsp file, not the result of that jsp file. same question goes with .cgi, .asp, .pl etc regds Prince

Re: Tomcat 5.0.2 and IIS

2003-08-09 Thread John Turner
Gotta love Windows. :) Glad you got it working. John vikas jain wrote: woww, it finally worked. What I did is rebooted the system. Thanks John for all the notes you gave me. thanks to the messages that was really helpful From: vikas jain [EMAIL PROTECTED] Reply-To: Tomcat Users

Re: Tomcat 4.1.24 behind a proxy

2003-08-09 Thread Ken Rachynski
On Wed, Aug 06, 2003 at 09:24:03AM +0200, [EMAIL PROTECTED] wrote: Hello, My Tomcat server runs behind a proxy. I set on my Windows 2000 server this environment variable to be able to access to external locations: CATALINA_OPTS = -DproxySet=true -DproxyHost=myproxy.blabla.com

integration of apache2.0.40 tomcat4.1.27

2003-08-09 Thread unplug
Hi all, I have installed RH9 and it contains apache2.0.40. Then I installed tomcat4.1.27 by binary. After that I want to integrate them to work together by using jk2. What is the easy way to integrate them? Any document that shows step by step integration? I found jakarta site have a

Starting tomcat from init scripts (HP/UX)

2003-08-09 Thread Lott, Carey
Hi, The above subject is based on the exact same topic I found in the archives from back in January, but no solution was ever posted. We are having the exact same problem that Pascal was having. We are trying to start tomcat from an init script at boot time. I have the needed variables in the

Re: Oracle connection pooling

2003-08-09 Thread Mark
For what it's worth... in a webapp I wrote for my company we had flaky connection problems when using oracle.jdbc.pool.OracleConnectionPoolDataSource against 8i. I switched to oracle.jdbc.pool.OracleConnectionCacheImpl and all the problems magically disappeared (much to the delight of our

Problem with tomcat

2003-08-09 Thread batristain
Greetings, I'm hosting a ssl site with mod_ssl on the apache server and I need to have it to connect to tomcat can't I change one of the connector lines in server.xml to redirect the port? You see my website works fine going through 8080 but when I try to get the https site to go

Re: Automatic switch from http to https doesn't work for IE, does for Netscape

2003-08-09 Thread Bill Barker
This is a known problem with MSIE. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13861 for more details. Murray [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tomcat 4.0.6 Windows 2000 IE 5, SP3 Netscape 7.02 I have a website which is part public, part secure. There

RE: error-code 401

2003-08-09 Thread Mike Curwen
There appears to be a bug report on this, with a workaround. Let us know if it works for you Georges... http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18040 -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 9:23 AM To: Tomcat Users

Apache + Tomcat + mod_jk

2003-08-09 Thread Marcia de Oliveira Cardoso
Versions: Tomcat 4.1.24 Apache 1.3.28 using mod_jk OS : FreeBSD 4.8 1 - Tomcat seems to work. http://localhost:8180 works - the Tomcat page appears. http://localhost:8180/examples/jsp/index.html works too I tested the examples and everything works fine. 2 - I have some users that

Mod_jk/tomcat errors

2003-08-09 Thread Cristopher Daniluk
After a lot of pain, I found that the real root of the problem is that JK is having trouble communicating with Tomcat: [Sun Aug 10 07:02:14 2003] [jk_ajp13_worker.c (635)]: Error connecting to the Tomcat process. [Sun Aug 10 07:02:14 2003] [jk_ajp13_worker.c (848)]: In jk_endpoint_t::service,

Re: Bare Minimum server.xml

2003-08-09 Thread John Turner
The answer to your question is: does Tomcat startup and work as you desire with the server.xml file you have posted? You can answer your own question in about 30 seconds. John Satish Talim wrote: Okay. Then would the following, constitute a bare minimum optimised server.xml file? Server

Re: Automatic switch from http to https doesn't work for IE, does for Netscape

2003-08-09 Thread
ÔÚ 2003-08-09 16:30:00 ÄúдµÀ£º Tomcat 4.0.6of you ? Could you tell me ? Thanks~~ Windows 2000 IE 5, SP3 Netscape 7.02 I have a website which is part public, part secure. There are html entries such as lt a href=members/index.jsp gt in the public area which will jump to the secure area. The

RE: Https not working

2003-08-09 Thread Steven Garrett
sorry, you should be able to grep through your server.xml file and find port 8443. If its not there, try and find a server.xml file that comes default with the install, its there. -Original Message- From: Steven Garrett [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:58 PM To:

Tuning KeepAlive Connections?

2003-08-09 Thread Mike Cherichetti \(Renegade Internet\)
RedHat Linux 7.3 IBM JDK 1.4.1 Tomcat 4.1.24 Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1 connector? If it's not possible to turn them off, is it possible to lower the request limit and timeout period for them? Have a nice day ... Sincerely, Mike Cherichetti

Strange NullPointerException using IIS, tomcat 5.0.6 servlets

2003-08-09 Thread Vikas Jain
Hello there, I setup the IIS to work with tomcat (using the help from this forum only). I have various form. users submit the forms and then they are processed by servlets. but using iis they give error NullPointerException. but if i use the tomcat, it works perfectly. I was using POST

RE: configuration of thread pool used by Tomcat

2003-08-09 Thread Shapira, Yoav
Howdy, How does thread creation/destruction works in Tomcat? Read the source code. Is the total no. of threads in thread pool maintained by Tomcat varies as load varies?  Yes. Does Tomcat destroys threads in the pool, if they are idle for the long time? If yes, is there way to ensure that