Comparing Tomcat VS other (was is Tomcat Crap???)

2002-06-18 Thread Mike Niemaz
Yep no worries, I totally agree with you. I was just (still?) a bit anxious. If anybody can provide any technical comparison, please do ;-) Thanx, --mike Richard Plukker wrote: Tomcat is no Crap, Maybe other web containers are better, but that doesn't mean that it's crap. Try writing your

Re: Tomcat4.1.2 shutdown error

2002-06-18 Thread Mike Niemaz
Remy Maucherat wrote: Shapira, Yoav wrote: Howdy, I actually disagree with the interpretation of the error: if you try to shutdown tomcat when it's not running, you'll get a ConnectionRefused exception from when it tries to connect to the shutdown port. But I don't have an answer to

Re: Tomcat4.1.2 shutdown error

2002-06-18 Thread Mike Niemaz
Hi and thank you for answering. I got the impression that I was the only one that could read my mails ;-) Tomcat is up and running as well as my webapp, although I do have unexpected jsp error message since I've upgraded from T3.2 to T4.1.2. This shutdown error happens when I run the catalina

JSP Runtime error : Any idea?

2002-06-12 Thread Mike Niemaz
I'm getting such errors since i've upgraded to tomcat 4.1.2 ;-( Any idea of what is causing this? Thanx, --mike 2002-06-12 11:22:16 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: (class: org/apache/jsp/Logins$jsp, method:

Tomcat4.1.2 shutdown error

2002-06-12 Thread Mike Niemaz
I'm getting this error when I try to stop Tomcat. Any idea? Thanx, -mike java.lang.NullPointerException at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:343) at

HELP : WebappLoader and URL.setURLStreamHandlerFactory

2002-06-06 Thread Mike Niemaz
Hi, Is there a way not to set the stream handler factory in Tomcat4.x? I'm using the ibm webdav package which does it as well and, as you probably know, only one factory handler is allowed (true?) per JVM so I thought of recompiling Tomcat but first I'm having

Cant launch Tomcat4.1 : ClassCastException: sun.net.www.protocol.http.HttpURLConnection

2002-06-05 Thread Mike Niemaz
Hi all, I'm trying to upgrade from Tomcat3.3 to Tomcat 4.1. When launching catalina, I get the following error: java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection at com.ibm.webdav.protocol.http.ResourceHTTPStub.setupRequest(ResourceHTTPStub.java:833)

Re: How to disable sessions timeout?

2001-02-19 Thread mike niemaz
Filip Hanik wrote: really, that doesn't sound right. You have to be able to disable the session timeout. This is taken from the servlet specification, you can set the timeout to -1 in web.xml for your web application or do it programatically. So is -1 doing the trick or the spec are not

How to disable sessions timeout?

2001-02-16 Thread mike niemaz
Does removing the appropriate lines in server.xml would make my sessions lifetime? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

one session per user?

2001-02-15 Thread mike niemaz
Hi, I'm having troubles to understand how really sessions are working. I'm using a servlet to handle every client requests and I'm using jsp session to display various objects between frames, such as: HttpSession session = req.getSession(false); Toto toto =

Re: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread mike niemaz
Emil Genov wrote: Hey 10x I think everything is OK. Once again 10x very much I appreciate your help best regards Emil Genov Any chance to have it work on TomCat3.2? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: one session per user?

2001-02-15 Thread mike niemaz
fumitada wrote: Hi there, First, Do u know how to code Java ? (No offence) I give u some tips... ;-) been coding java for ages ... Although you're right my examples are full of mistakes but I wrote it quick the main goal was to give the idea of the process. --mike nb: '==' is quicker to

Re: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread mike niemaz
shlomi sarfati wrote: Sure it is working fine on mine 3.2.1 tomcat it is even easier to config Thanx. I'll immediatly try it ;-) I've downloaded this file http://rue.nolimits.ro/downloads/rue-tomcat-0.52.tgz. Is it also working with 3.2.1 tomcat? In the readme file, it says: a). In

Re: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread mike niemaz
Hi, I'm almost done with RUE but the RMI part is not clear at all. Is it RUE which needs a RMI server or is it for tomcat ('d be weird...). Id it for RUE, why the 2 command lines (rmiregistry java ...) are not added in the start scripts? Do we need to specify a port?

Re: How to set apache so it starts from index.jsp?

2001-02-01 Thread mike niemaz
Hi, Could you please tell us how you solved it? I'm having the same pb here ;-( Thanx, --mike Wojciech Wasowicz wrote: Dave Newton wrote: Question like in Subject. I've tried to replace index.html with index.jsp _at_the_end_ of httpd.conf and it doesn't work. (I use

Re: Out of memory error

2001-02-01 Thread mike niemaz
Passing -mx256m to your java command would certainly solve your pb, although it is not a solution ;-( --mike "Jurrius, Mark" wrote: Using Apache and Tomcat 3.2 I'm getting an out of memory error. Tomcat was installed on a HP Unix box, version 10.2 and using 128 MB memory. Below is the

SOLVED: open_socket, connect() failed errno = 146 (WAS upgrading to mod_jk ajp13 won't work)

2001-01-17 Thread mike niemaz
I solved my problem by removing the work/* directories before launching tomcat apache. --mike mike niemaz wrote: Just to add I kepp getting this error in tail mod_jk.log: [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service

unable to use ajp13 ...

2001-01-17 Thread mike niemaz
I can't figure out how to make tomcat use ajp13. The mod_jk-auto file keeps assigning ajp12 to each of my contexts ;-( Any ideas? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL

Re: unable to use ajp13 ...

2001-01-17 Thread mike niemaz
CPC Livelink Admin wrote: You need to make a copy of mod_jk-auto because it will alwys be generated with ajp12 connections. So make a copy, mod it to use ajp13, and refer apache to your copy instead of the auto file. -Original Message- From: Barclay, Tom [mailto:[EMAIL PROTECTED]]

Re: unable to use ajp13 ...

2001-01-17 Thread mike niemaz
Regis Muller wrote: There should be something like 2001-01-17 10:27:14 - PoolTcpConnector: Starting Ajp13ConnectionHandler on 8009 in your tomcat window There is. But it does not mean that this handler is used to my X context, does it? How can I be real sure that my X context (and

HELP: upgrading to mod_jk ajp13 won't work ;-((((

2001-01-16 Thread mike niemaz
Hi, I'm getting crazy ;- I'm trying to upgrade my lousy ajp12 mod_jserv config but I'm struggling like hell. Although I can feel slight improvements in my quest, I finally end up with my server not finding my servlets classes ;- Here's what I did: - compiled mod_jk.so, put it in

Re: HELP: upgrading to mod_jk ajp13 won't work ;-((((

2001-01-16 Thread mike niemaz
Just to add I kepp getting this error in tail mod_jk.log: [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 Maybe I should recompile my mod_jk.so --mike mike niemaz wrote: Hi, I'm getting crazy

off topic: jsp for xemacs?

2000-11-22 Thread mike niemaz
Any idea of where I could find this mode? Thanx, --mike

redirection

2000-11-17 Thread mike niemaz
Hi, What's the best way to redirect a web page content (String) into a jsp file? I suppose I could use the getAttribute way include the result in a jsp squeleton but isn't there any better way to do that? Thanx, --mike nb: sorry for the off-topic ;-(

Re: [ANNOUNCE] Tomcat 4.0 Milestone 4

2000-11-02 Thread mike niemaz
"Craig R. McClanahan" wrote: We're pleased to announce the availabililty of milestone 4 of the Tomcat 4.0 servlet container and JSP engine. Compared to milestone 3, this release reflects the following changes: [...] Is this release only working in standalone mode? --mike

Re: destroy() method invocation

2000-10-30 Thread mike niemaz
Hi, "Craig R. McClanahan" wrote: You don't ... and you should NOT ... call destroy() on your servlet instance. Yes I understand that. I just meant to invoke the detroy method indirectly when launcing the shutdown tomcat script. Tomcat calls it for you when it is shut down normally. Failure

catalina.sh IS tomcat.sh ?

2000-10-30 Thread mike niemaz
I'm updating jakarta to 4.0 and i noticed that some scripts (and more?) has disapeared, which can be quiet crtitical since I had modified some ... So is catalina sh script the old tomcat.sh? Any more noticeable diffs? Thanx, --mike

Re: catalina.sh IS tomcat.sh ?

2000-10-30 Thread mike niemaz
"Craig R. McClanahan" wrote: For the purposes of starting up Tomcat 4.0, this is correct -- use catalina.sh or catalina.bat instead of tomcat.sh / tomcat.bat. Any more noticeable diffs? Quite a few. One of the primary reasons that Tomcat 4.0 is still "pre-alpha" is (incomplete or

destroy() method invocation

2000-10-27 Thread mike niemaz
Could I dare to repost my question, for which I'd appreciate any kind oh help ;-) --mike Hi all, I would like to invoke the servlet detroy() method when I stop the tomcat server, to make some clean up. How do I do that? Thanx, --mike

Re: AW: AW: destroy() method invocation

2000-10-27 Thread mike niemaz
"Merdes, Matthias" wrote: hi mike, Hi Matthias do you call super.destroy() within your own destroy()? No but this is not the pb. It is not invoked. also, are you sure you have the exact signature? Well, it's a pretty simple signature but I shall double check ;-) i cannot imagine that