Using JDBC Realms

2004-01-19 Thread hhlow
Hi, How can i group my users to 3 categories? that is : general users administrator registered users general users have no information stored in the car database whereas administrator and registered users have some kind of information stored in the car database general users can do select

Tomcat 5 for production?

2004-01-19 Thread Katz Guy
Hi; I am a bi confused. It the current release of 5.0.16 stable a production ready release? If not, when could we expect a tomcat 5.x which is ready for production. P.S: when I say ready for production I think of non beta and ok with licensing. (never mind the bugs) Thanks in advance.

Re: Tomcat

2004-01-19 Thread OUTTERS Guillaume
Haddad, Bayan M wrote: I would like to learn more about Tomcat for Unix Solaris. Where can I find information on it, documentation, download the software, installation procedure, Tomcat V.S Jrun ?. Who support it?. I installed one on a Solaris 9. Installing Tomcat was no problem (download the

java.net.SocketException: Connection reset

2004-01-19 Thread Salvador Santander Gutierrez
Hello, list. I've installed Tomcat 4.1.24 and MySQL 4.0.16 and tomcat and a aplication that access to the data base with a heavy load. crash sometimes per day and I've seen the next error in the tomcat log: 2004-01-13 08:13:48 StandardHost[localhost]: MAPPING configuration error for request URI

Re: Tomcat 5 for production?

2004-01-19 Thread Thomas Kellerer
Katz Guy schrieb: Hi; I am a bi confused. It the current release of 5.0.16 stable a production ready release? If not, when could we expect a tomcat 5.x which is ready for production. P.S: when I say ready for production I think of non beta and ok with licensing. (never mind the bugs) Thanks in

Re: web.xml config

2004-01-19 Thread Harry Mantheakis
Hi Allan I tried: http://kes:8080/WinGalagaHST?Op=GetScore and http://kes:8080/WinGalagaHST/WinGalagaHST?Op=GetScore I assume 'kes' is a valid IP address - why not start with 'localhost'? Anyway, I cannot see anything (obviously) wrong with your setup, other than (as suggested by others)

TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
I have tried both with the EXE and ZIP versions: Tomcat 5 refuse to start on a Win 2000 server Xeon machine. As a service, returns an error. From the command prompt, as soon as I type startup, the window itself closes! Any experience on this? Kostas Harvatis - National Center for Social

RE: Apache 2.0.48 and Tomcat 5.0.16

2004-01-19 Thread Brian D. Danford
Sorry for the delay on the files.. Here is what I got: Apache 2.0.48 at http://linux02.btcnet.com Tomcat 5.0.16 at http://linux02.btcnet.com:8080 I have a alias setup for http://linux02.btcnet.com/examples that pulls from the @CATALINA_HOME/webapps/jsp-examples. You can see that in the config

RE: Does anyone have a working workers2.properties file?

2004-01-19 Thread Andy Eastham
Rasmus, This simple one works on windows and solaris. By the way, when I changed the shm size to 100, it didn't... Andy [logger.apache2] level=DEBUG [shm] file=c:/Apache2/logs/jk2.shm size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009

mod_jk chroot

2004-01-19 Thread lvaldeon
Hi, I have apache in chroot and I try to install mod_jk to access tomcat. Apache 1.3.x is in chroot and tomcat is not in chroot. I suppose apache can access tomcat througth sockets. So I install mod_jk. When I disable chroot everything is ok. But if I try to startup in chroot apache

Apache 2.048 + Tomcat 5 + Win 2k

2004-01-19 Thread Alvaro Seixas
Hello I'm having some problems with Apache + Tomcat config. When I try to access the 'jsp-examples' and 'servlets-examples' some times I get "Internal Server Error", it is very instable. I configured the workers2.properties just like appears on

RE: TC5 won't start on Xeon

2004-01-19 Thread Sanjeev Kumar
Checkout few env properties CATALINA_HOME JAVA_HOME ... -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 3:25 PM To: [EMAIL PROTECTED] Subject: TC5 won't start on Xeon I have tried both with the EXE and ZIP versions: Tomcat 5 refuse to start

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
Checkout few env properties CATALINA_HOME JAVA_HOME ... Variables are set OK... Btw, when attempting to start as a service, windows reply: Cannot start Tomcat service... The service did NOT return any errors. Could be an internal windows error etc... contans sysadm...

RE: OracleConnection datasource CLOB.createTemporary

2004-01-19 Thread Kahle, Pavel (GE Consumer Finance)
I've figured it out using this code : public void init(ServletConfig config) throws ServletException { .. ds lookup ((BasicDataSource) ds).setAccessToUnderlyingConnectionAllowed(true); ... protected OracleConnection getConnection() throws SQLException ,NamingException {

RE: TC5 won't start on Xeon

2004-01-19 Thread Bruchem, A. van (Alexander)
I have the same problem if I add libraries to the tomcat service configuration. If I don't do that, then everything works ok! I used service.bat to install Tomcat as a service. The startup.bat from Tomcat should work anyway! It might however take some time before you get some text in your DOS

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
I have the same problem if I add libraries to the tomcat service configuration. If I don't do that, then everything works ok! I used service.bat to install Tomcat as a service. The startup.bat from Tomcat should work anyway! It might however take some time before you get some text in

RE: TC5 won't start on Xeon

2004-01-19 Thread Bruchem, A. van (Alexander)
What happens when you open a DOS box and try to run startup.bat? -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: maandag 19 januari 2004 13:01 To: Tomcat Users List Subject: Re: TC5 won't start on Xeon I have the same problem if I add libraries to the tomcat

Re: TC5 won't start on Xeon

2004-01-19 Thread Ben Souther
Instead of using startup.bat, cd to the bin directory and type: catalina start This will cause TC to run in a seperate DOS widow. You may see some more information there. On Monday 19 January 2004 07:01 am, K. Harvatis wrote: I have the same problem if I add libraries to the tomcat

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
catalina start closes the DOS window too! - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, January 19, 2004 2:10 PM Subject: Re: TC5 won't start on Xeon Instead of using startup.bat, cd to the bin directory and type:

Re: TC5 won't start on Xeon

2004-01-19 Thread Ben Souther
And... there's nothing in any of the log files? On Monday 19 January 2004 07:12 am, K. Harvatis wrote: catalina start closes the DOS window too! - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, January 19, 2004 2:10 PM

RE: TC5 won't start on Xeon

2004-01-19 Thread Sanjeev Kumar
In Catalina.bat replace the below line with set _EXECJAVA=start Tomcat %_RUNJAVA% With set _EXECJAVA= %_RUNJAVA% Then cd to the bin directory and type Catalina start --- Check the output now -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19,

survey on e-commerce applications management (please get involved)

2004-01-19 Thread Raquel V. Lopes
Hello! Since November we started a survey on e-commerce applications management, that is part of my PhD work. We intend to make the management of e-commerce applications easier than it is up to now, but to come up with a useful solution, we need to know what really takes to keep an e-commerce

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
No change - window closes as soon as I hit enter... In Catalina.bat replace the below line with set _EXECJAVA=start Tomcat %_RUNJAVA% With set _EXECJAVA= %_RUNJAVA% Then cd to the bin directory and type Catalina start

Re: TC5 won't start on Xeon

2004-01-19 Thread Ben Souther
Just to get the dumb questions out of the way Did you test that JAVA_HOME is set properly? Type: %JAVA_HOME%/bin/javac If you get a file or program not found error then it's not. On Monday 19 January 2004 07:25 am, K. Harvatis wrote: No change - window closes as soon as I hit enter...

RE: TC5 won't start on Xeon

2004-01-19 Thread Bodycombe, Andrew
Try catalina run instead of catalina start -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 12:26 To: Tomcat Users List Subject: Re: TC5 won't start on Xeon No change - window closes as soon as I hit enter... In Catalina.bat replace the below line

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
You mean \java, and not \javac :) Program path, JAVA_HOME and java in general (1.3) are ok. What puzzles me is that the window: - closes anyway - closes at light speed! Kostas Harvatis - National Center for Social Research - Directorate of Research Support www.ekke.gr - Original

Jasper hangs for minutes

2004-01-19 Thread Oliver Braun
We have a problem with the Jasper JSP-engine. We use Jasper within our own Servletcontainer to process calls to JSP-pages. Most of the time the cooperation between our server and Jasper works fine, but sometimes jasper hangs for minutes (!) while processing requests to jsp-pages. Thereby the

RE: TC5 won't start on Xeon

2004-01-19 Thread Sanjeev Kumar
Attach bin/Catalina.bat, bin/startup.bat and conf/server.xml files along with set command output from the dos prompt -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 5:55 PM To: Tomcat Users List Subject: Re: TC5 won't start on Xeon No

Re: TC5 won't start on Xeon

2004-01-19 Thread Ben Souther
No, I meant javac. This checks for two things at once. 1.) that the env variable is set. 2.) that indeed the full j2sdk was installed and not just a jre ;-) On Monday 19 January 2004 07:31 am, K. Harvatis wrote: You mean \java, and not \javac :) Program path, JAVA_HOME and java in general

Re: Problems with jk2 on IIS 5.0 and Tomcat 4.0

2004-01-19 Thread Jeff Trout
On Fri, 16 Jan 2004 15:54:00 EST Rasmus Munk [EMAIL PROTECTED] wrote: HttpFilterProc [/camping_lars/servlet/camping.XMLServer.Server] is a servlet url - should redirect to ajp13:localhost:8009 HttpFilterProc check if [/camping_lars/servlet/camping.XMLServer.Server] is pointing to the

Re: TC5 won't start on Xeon

2004-01-19 Thread Ben Souther
Does TC5 run on 1.3? As far as I know it was compiled on 1.4x. On Monday 19 January 2004 07:36 am, Ben Souther wrote: No, I meant javac. This checks for two things at once. 1.) that the env variable is set. 2.) that indeed the full j2sdk was installed and not just a jre ;-) On Monday 19

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
Try catalina run instead of catalina start Same effect. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TC5 won't start on Xeon

2004-01-19 Thread Ben Souther
Just checked. TC5 does run on 1.3.1 On Monday 19 January 2004 07:39 am, Ben Souther wrote: Does TC5 run on 1.3? As far as I know it was compiled on 1.4x. On Monday 19 January 2004 07:36 am, Ben Souther wrote: No, I meant javac. This checks for two things at once. 1.) that the env

Antwort: [OFF-TOPIC] ObjectOutputStream keeping handles

2004-01-19 Thread Ulrich . Kleeberger
hi yoav, have you tried java.io.ObjectOutputStream.reset()? uli Shapira, Yoav

Re: TC5 won't start on Xeon

2004-01-19 Thread K. Harvatis
As requested. Note that startup.bat is modified as discussed above. Thank you for your time on this... - Original Message - From: Sanjeev Kumar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, January 19, 2004 2:34 PM Subject: RE: TC5 won't start on Xeon

RE: TC5 won't start on Xeon

2004-01-19 Thread Bruchem, A. van (Alexander)
Rename the files to txt, else a lot of people can't see them. -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: maandag 19 januari 2004 14:01 To: Tomcat Users List Subject: Re: TC5 won't start on Xeon As requested. Note that startup.bat is modified as discussed

Re: Hi

2004-01-19 Thread Bruno Vernay
[EMAIL PROTECTED] wrote: Test =) abhpqsntiyyjw -- Test, yep. ??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TC5 won't start on Xeon | some progress

2004-01-19 Thread K. Harvatis
As you hinted, I installed SDK 1.4.0 and things changed. With the modified startup.bat, DOS windows does not close now, and reports that the %tomcathome%\lib directory is missing. With the original startup.bat, no complains about \lib, but the new Tomcat window which normaly opens, closes

[JSP] use of quotes inside expressions inside attributes

2004-01-19 Thread Glanville, Jay
Hello all. I have a question concerning the correct way to use quotes inside of expressions, when those expressions are inside attributes. What is the correct syntax? I've looked in the JSP specification and I can't find a clear answer. Below I've listed three different ways that I can create

RE: Tomcat

2004-01-19 Thread Bruno.Melloni
I assume you found this mailing list in jakarta.apache.org/tomcat. There is extensive documentation in the site to help you get started - not perfect, but very good. Support is through this mailing list (I have seen a few names repeat often, and I would not be surprised if they were part of

RE: DataSource Realm

2004-01-19 Thread Bruno.Melloni
This is probably not the only way to accomplish what you want, but a simple one to code for. 1)Define your DataSource resource in GlobalNamingResources of conf/server.xml. 2)Add a ResourceLink to the DataSource in the application context file in conf/Catalina/yourserver/yourapp.xml This way

RE: Antwort: [OFF-TOPIC] ObjectOutputStream keeping handles

2004-01-19 Thread Bruno.Melloni
I encountered this problem 3-4 years ago. According to Sun this is by design. ObjectOutputStream keeps the handles of all objects until you execute a reset() or close the stream. Unfortunately, if you don't do one of these things you end up with a memory leak because the objects are never

RE: out of memory problem. Help!

2004-01-19 Thread Christian Witucki
We fixed our session timeout to 15 minutes for 100 users and Tomcat hasn't crashed for 36 hours. Does anyone know how we can adjust for the possibilities of 1000's of users??? Christian Witucki Network Analyst 375 Essjay Road Williamsville, NY 14221 716-631-3001 x3812 CONFIDENTIALITY NOTICE.

RE: Using JDBC Realms

2004-01-19 Thread Bruno.Melloni
I would suggest you let the database do the enforcing. If you are using individual user IDs, define database groups with those access rights and place the users on them. If you are using an application ID and doing user authentication in a different way, you can define an application ID for

Re: TC5 won't start on Xeon | severe error

2004-01-19 Thread K. Harvatis
Ok, what was needed was an installation of SDK 1.4 and the creation of an empty \lib directory. Now TC5 starts, but with severe error. Any idea? 19 -ܺ 2004 4:19:19 ¹¹ org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 19 -ܺ 2004 4:19:19 ¹¹

RE: Problems with jk2 on IIS 5.0 and Tomcat 4.0

2004-01-19 Thread Rasmus Munk
Tried it, but it still does not work. Mostly the requests is passed to tomcat correctly. The log then look like this: [Mon Jan 19 14:33:20 2004] (debug ) [jk_isapi_plugin.c (288)] HttpFilterProc started [Mon Jan 19 14:33:20 2004] (debug ) [jk_isapi_plugin.c (346)] In HttpFilterProc Virtual Host

Re: TC5 won't start on Xeon | severe error

2004-01-19 Thread Ben Souther
Just to correct a previous statement made by me. TC5 Does run on j2sdk 1.3.1 (and is in fact the recommended j2sdk in the TC documentation) On Monday 19 January 2004 09:26 am, K. Harvatis wrote: Ok, what was needed was an installation of SDK 1.4 and the creation of an empty \lib directory.

Re: TC5 won't start on Xeon | severe error

2004-01-19 Thread Ben Souther
-ܺ 2004 4:19:21 ¹¹ org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Do you have an app installed already, one with a servlet filter? If so, try removing that app and see if the examples shipped with Tomcat work. On Monday 19 January 2004 09:26 am, K. Harvatis

RE: TC5 won't start on Xeon | severe error

2004-01-19 Thread Yiannis Mavroukakis
I remember Yoav answering something similar to this, it probably has to do with the TC balancer check his post for more details :) http://www.mail-archive.com/[EMAIL PROTECTED]/msg115782.html If it is the same, you can safely ignore it, if you need the balancer fix it, if not remove the balancer

RE: Terminating or suspending an application if a on start up servlet throws an exception?

2004-01-19 Thread Mike Curwen
I think if you throw a RuntimException, then Tomcat will mark the app as unavailable. -Original Message- From: Adrian Beech [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 5:35 AM To: [EMAIL PROTECTED] Subject: Terminating or suspending an application if a on start up

Re: Linking tomcat with apache

2004-01-19 Thread Allan Bruce
Thanks Tim, I am a step closer I think, my configs are detailed below. I have tomcat running with jk2 fine, the log states INFO: JK2: ajp13 listening on /0.0.0.0:8019 but apache has the following error: [Mon Jan 19 14:32:37 2004] [notice] Apache-AdvancedExtranetServer/2.0.44 configured --

Tomcat Cluster and Load Balancer

2004-01-19 Thread Allistair Crossley
Hi Guys, Could anyone recommend a good place to start for setting up a Tomcat cluster on the same server? I also need a good/free load balancer that can integrate with this cluster. I understand Tomcat 5 can be clustered with a load balancer but have never done anything like it and would

RE: Linking tomcat with apache

2004-01-19 Thread Yiannis Mavroukakis
Probably this [Mon Jan 19 14:32:37 2004] [error] shm.init(): No file You need a shm directive in your workers2.properties. [shm] file=/tmp/shm.file size=100 Or whatever path takes your fancy. Yiannis. -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: 19 January

RE: Using CA-issued certificates in Tomcat 5

2004-01-19 Thread Bruno.Melloni
keytool in JDK 1.4.2_03 no longer seems to accept PKCS#7 certificates by default and I have not found a parameter to tell it to use them. When I do as you suggested (or download a Thawte pkcs#7 certificate) I get keytool error: java.lang.Exception: Input not an X.509 certificate. Also,

Re: Terminating or suspending an application if a on start up servlet throws an exception?

2004-01-19 Thread Jon Wingfield
Or does it only mark that Servlet as unavailable? Throwing a RuntimeException from the contextInitialized() method of a ServletContextListener will mark the context as unavailable. Use of a ServletContextListener to do app initialization is probably the way to go instead of load-on-startup

RE: Problems with jk2 on IIS 5.0 and Tomcat 4.0

2004-01-19 Thread Rasmus Munk
Tried it, but it still does not work. Mostly the requests is passed to tomcat correctly. The log then look like this: [Mon Jan 19 14:33:20 2004] (debug ) [jk_isapi_plugin.c (288)] HttpFilterProc started [Mon Jan 19 14:33:20 2004] (debug ) [jk_isapi_plugin.c (346)] In HttpFilterProc Virtual Host

Re: Linking tomcat with apache

2004-01-19 Thread Allan Bruce
Thanks very much, thats it working now. Any ideas how I could navigate to: http://server/servlet/WinGalagaHST?Op=GetHTML instead of http://server/examples/servlet/WinGalagaHST?Op=GetHTML i.e. so I dont have to type 'examples'. I dont want to use HTTP 301 Redirect. Thanks Allan -

Redirection of JSP's to iPlanet Web Server

2004-01-19 Thread Anantharam S
Hi all I managed to configure iPlanet to redirect the requests from JBOSS 321. I would like to thank Rick for his timely and invaluable help :) First, you need to add the below lines into your magnus.conf right on top of the already existing init parameters: Init fn=load-modules

Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
I am having the biggest headache ever with this. When I start Tomcat 1) Why is my controller servlet always initialised twice?? That is, as soon as all my logging has finished for one init, it all comes out again a second time! 2) In the init I get the following error when it tries to look at

RE: Linking tomcat with apache

2004-01-19 Thread Yiannis Mavroukakis
Map the servlet path you want to use in workers2.properties i.e. [uri:/servlet/*] worker=ajp13:localhost:8019 and make sure your webapp is under webapps/servlet in Tomcat. Yiannis -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 15:38 To: Tomcat

RE: Linking tomcat with apache

2004-01-19 Thread David Short
Add shm.file=c:/Apache2/logs/jk2.shm to your $CATALINA_HOME\conf\jk2.properties file. -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 6:52 AM To: Tomcat Users List Subject: Re: Linking tomcat with apache Thanks Tim, I am a step closer I

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Edson Alves Pereira
To solve your problem with JDBC Driver, you must put the JDBC driver inside $TOMCAT_HOME/common/lib, try this first the other errors we will see if happens again. -- De: Allistair Crossley[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 19

RE: Antwort: [OFF-TOPIC] ObjectOutputStream keeping handles

2004-01-19 Thread Shapira, Yoav
Howdy, Reset() is slow as you mentioned. But writeUnshared instead of writeObject solves the problem for us as our serialized objects are independent. Thanks, Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
Hi, Yes I have the jdbc driver in common/lib - like I say ... it does connect but I do not know why it gives this error! I just removed trying to get the JNDI data source in my controller servlet init() and moved it to the classes that need a connection. There are now no errors. Therefore it

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Shapira, Yoav
Howdy, Is the controller servlet declared twice in your web.xml? Yoav Shapira Millennium ChemInformatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 10:57 AM To: TOMCAT USER (E-mail) Subject: Please help, I have a headache ..

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
Hi, No but i do load on startup if that makes a difference? servlet servlet-nameiqController/servlet-name servlet-classcom.comp.newmedia.intranet.iq.IQActionServlet/servlet-class init-param

Re: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread James Neville
Allistair Crossley wrote: Do you know why my servlet initalises twice? That's my remaining issue.. If you are specifying multiple hosts, all running from the same appBase, then each web application will be deployed to each host. If this is the case, run each host from a different appBase so

RE: Running multiple JVMs

2004-01-19 Thread Shapira, Yoav
Howdy, We have a number of webapps that need separate JVMs. The reason is that we need decent isolation: if one app grabs too much memory it can crash the others. What's the best way to do this? Is it at all possible to use multiple instances of standalone Tomcat? (They all have separate domain

virtual hosts (Tomcat vs Jetty)

2004-01-19 Thread Milut
Hello, all! There is jboss-3.2.2RC4_jetty-4.2.11. There is a web app. Jetty lets to create virtual hosts on-the-fly. Ex., in order to create a virtual host for this web app, I have to add the following string to WEB-INF/jboss-web.xml virtual-hostwww.some.host/virtual-host In order to change the

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
no, it's one host, Cheers, ADC -Original Message- From: James Neville [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 16:31 To: Tomcat Users List Subject: Re: Please help, I have a headache .. servlet init troubles Allistair Crossley wrote: Do you know why my servlet initalises

RE: Terminating or suspending an application if a on start up servlet throws an exception?

2004-01-19 Thread Shapira, Yoav
Howdy, Not from one servlet: it'll just mark that servlet as unavailable (which is correct behavior). If you throw the runtime exception from a servlet context listener, the context will be marked as unavailable. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike

RE: Running multiple JVMs

2004-01-19 Thread Ralph Einfeldt
An additional remark: Only one process can listen on port 80 at a time on the !!! same IP !!!. You can define several IP's on one machine and thus can have several services that listen on port 80. (One for each IP) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
If you use tomcat 5.0.x upgrade to 5.0.18. If you use 4.1.x downgrade to 4.1.27. There is a significant memory leak in tomcat in 5.0.16, 4.1.28(29). Hope this helps, David Christian Witucki wrote: We fixed our session timeout to 15 minutes for 100 users and Tomcat hasn't crashed for 36 hours.

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Donie Kelly
I've seen this before but I can't remember the solution. Search the archives. Donie -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 16:45 To: Tomcat Users List Subject: RE: Please help, I have a headache .. servlet init troubles no, it's one

Any success with JDK 1.4.2_03 + Tomcat 5 + CA-issued test certificate?

2004-01-19 Thread Bruno.Melloni
Has anyone had success using a test certificate from Verisign or other Certificate Authority using JDK 1.4.2_03 and Tomcat 5? Sun changed defaults in the JDK in the recent past (like using X.509 certs instead of PKCS#7, and apparently the list of default ciphers) and now Tomcat chokes on

RE: Running multiple JVMs

2004-01-19 Thread Donie Kelly
Or you can have one IP and get multiple tomcat's listening on different ports and get your balancer to route to each of them. Multiple IP's are not necessary if you need to use a balancer. Donie -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: 19 January 2004

RE: out of memory problem. Help!

2004-01-19 Thread Allistair Crossley
This is very interesting to hear. I can believe it too...we lose between 400K and 5MB per request and Tomcat 5.0.16 bombs out at 155. We have invested in JProfiler now to see why but your comment is curious. Are you on the development team? When will 5.0.18 become stable...does not seem to be a

Pushlets and HTTP connectors

2004-01-19 Thread Matt Preston
Hi, I have been doing some work with making pushlet (http://www.pushlets.com) applications deployed in Tomcat. The basic idea of pushlets is to keep open a persistent http connection to allow real-time ui updates, see the link for more details. I'm having some reliability problems in IE

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
I am not on the developer team. But spent quite a lot of hours (days) latelly with figuring out why my copy of tomcat (4.1.29) leaks memory. The information bellow is based on the info from the dev mailing list + a thread on this mailing list with subject Tomcat Tuning Memory leak from last

RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-19 Thread Cox, Charlie
You probably have this bug(different than the other one posted) http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22045 The only solution I have found is to map each virtualhost/dir in your workers2.properties that should go to tomcat. While a PITA(at least for me), it does work. See this link

Tip: Eclipse 3.0, Ant 1.5.4, Tomcat 5.0 Manager Ant tasks

2004-01-19 Thread Derek Mahar
Here's how to install the Tomcat 5.0 Manager Ant tasks into the Eclipse 3.0 Ant plugin: 1. Copy $CATALINA_HOME/server/lib/catalina-ant.jar to $ECLIPSE_HOME/plugins/org.apache.ant_1.5.4/. 2. Insert the following library element into $ECLIPSE_HOME/plugins/org.apache.ant_1.5.4/plugin.xml (see

Re: out of memory problem. Help!

2004-01-19 Thread Remy Maucherat
Allistair Crossley wrote: This is very interesting to hear. I can believe it too...we lose between 400K and 5MB per request and Tomcat 5.0.16 bombs out at 155. We have invested in JProfiler now to see why but your comment is curious. Are you on the development team? When will 5.0.18 become

Displaying busy page while servlet/JSP running

2004-01-19 Thread Chris Ward
Hi all, Does anyone have a recommended way of displaying a busy page while tomcat executes a servlet or JSP? I've done this before using JavaScript to flip the display to busy on the client, but I wondered if there was a more generic way using Filters or something. Many thanks as always,

Where to install Tomcat on Linux?

2004-01-19 Thread Chris
In what directory should I install Tomcat on Linux? There is no indication in the docs of a standard location. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Where to install Tomcat on Linux?

2004-01-19 Thread Dale, Matt
anywhere you want. I usually install in /usr/local/jakarta-tomcat. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:51 To: [EMAIL PROTECTED] Subject: Where to install Tomcat on Linux? In what directory should I install Tomcat on Linux? There is

Re: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread James Neville
Allistair Crossley wrote: no, it's one host, Cheers, ADC And one Connector element? (commonly 8009 for CoyoteConnector and 8080 for standalone are defined in the default server.xml) I'm purely clutching at straws here. Maybe you could post your /WEB-INF/web.xml and the

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
Remy Maucherat wrote: This is not true: there's indeed a memory leak with 5.0.16, but it would occur only with specific traffic patterns. It will not bring a server down in just a few requests. Indeed. The thread pool has to grow and shrink for this to happen. Unfortunatelly quite common e.g. day

Re: Displaying busy page while servlet/JSP running

2004-01-19 Thread Chris
Chris Ward [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Does anyone have a recommended way of displaying a busy page while tomcat executes a servlet or JSP? I've done this before using JavaScript to flip the display to busy on the client, but I wondered if there was a more

Global DataSource

2004-01-19 Thread Julio Cesar Aguilar Cabrera
Hello Everyone: I'm using a global DataSource and everything's working fine and I thank the developers for a great work. I noticed a strange behaviour, though: If I configure the DataSource in an application Context the NamingContextListener prints all the resource parameters in the log. If I

RE: Using CA-issued certificates in Tomcat 5

2004-01-19 Thread Mark Thomas
I am using 1.4.2_03 without any problems and have successfully imported various certs (versign, self-signed and Windows cert server signed). I have never tried to import a CA signed cert on top of a self signed cert. To be honest, I would expect it to fail. This may be the cause of your problem.

RE: Apache 2.048 + Tomcat 5 + Win 2k

2004-01-19 Thread David Short
I, too, am having difficulty getting Apache 2.0.48 to load Tomcat 4.1.29 in-process. Apache installed and runs just fine, Tomcat installed and runs just fine on it's own (I can access the examples JSPs and servlets, etc.) and I'm using the latest mod_jk2.dll (in the Apache2\modules directory). I

RE: out of memory problem. Help!

2004-01-19 Thread Filip Hanik
set maxSpareThreads=minSpareThreads=maxThreads will cause the system to never shrink the pool Filip -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of David Strupl Sent: Monday, January 19, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: out of memory problem. Help! Remy

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
This did not work for me in 4.1.29 since the only way to do this is to set minProcessors==maxProcessors but that did not have any effect in 4.1.29. I am not sure whether I could use xxxThreads there but downgrading to 4.1.27 did help. For those using 5.0.16 this can help - Filip thanks for

HTTP tunneling

2004-01-19 Thread niranjan inamdar
Hello eveybody, I am using tomcat for the first time. Using tomcat , i was able to invoke a simple servlet that shows data acceted by a form but i was unable to invoke a sevlet from an applet. I want to invoke a servlet using Java URL class and OpenConnection method but it doesn't work. The

Re: Problems with jk2 on IIS 5.0 and Tomcat 4.0

2004-01-19 Thread Daniel Schmitt
Rasmus, I didn't manage to get the T4.0 jk2.02 IIS5 combi to work either. It worked for me with an older jk2.01 bin. Another user at this forum suggested to use a jk2.shm file with size power of 2. If you have the possibility to upgrade to Tomcat 4.1.29 you can try our jk2 installer at

serialization (tomcat)

2004-01-19 Thread Sawek Tuleja
Hi A have problem with serialization of objects in tomcat. I wrote something like this: servlet: _package tunelowanie_http; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class DataStreamEcho extends HttpServlet { public void

RE: Using CA-issued certificates in Tomcat 5

2004-01-19 Thread Bruno.Melloni
DOCUMENTATION MAINTAINERS: Please read. Contact me if you have questions. Mark: Thanks, your comments were key to figuring things out the problem. Apparently the docs are out of date and incompatible with current the JDK/Tomcat5 behavior. I still don't know why keytool refuses the .p7b

How to access a Cluster using JMX

2004-01-19 Thread Srini Penchikala
Hi, I am working on setting up a cluster environment using Tomcat 5. I was wondering if there is a way to access the Cluster object using JMX API. If anyone has done this, could you please e-mail me sample code or instructions. Thanks Srini

RE: Need an Idea - appending #tag after someurl.jsp ?

2004-01-19 Thread Hume, John - NA US HQ Delray
Mufaddal, You can set location.hash='myNamedTarget' once the page has finished loading into the browser. See attached. -john. -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 6:07 PM To: Tomcat Users List Subject: Re: Need an Idea -

RE: OracleConnection datasource CLOB.createTemporary

2004-01-19 Thread Hume, John - NA US HQ Delray
Note that you MUST NOT close the Connection returned by DelegatingConnection.getInnermostDelegate, and you MUST close (i.e., return to the pool) the DelegatingConnection from which you got the delegate OracleConnection once you're finished with the OracleConnection. -john. -Original

  1   2   >