Re: Help! Need connection pooling for tc4.
I use poolman successfully with tomcat. Get the source and compile it there is an important bug corrected that is not included in the last distribution! Regards, David. On Friday 24 May 2002 3:50 pm, you wrote: Hi, we are about to deploy an application to production and just learned that tomcat 4.0.3 doesn't seem to pool connections. Is there any connection pool (datasource style) available? As it is an intrantet application we are about to deploy and we already know that we will have 700 concurrent users this topic is quite pressing for us. Any insights will be appreciated. Btw. I tried tc4.1, but besides printing a message to stdout I get no sign that it is pooling connections. Cheers, Mariano -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: INSTALLING TOMCAT - PART II
Hi, Had the same problem. Does not seem to effect everyone though... It is strange that no one appears to know why. But the solution which always apparently works is to go for j2sdk1.4 - it did for me and others. I wish you every luck. On Monday 28 January 2002 2:10 pm, you wrote: Okey.. Lets start now the second part of this issue. I've installed TOMCAT (downloaded from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/ and I saw on the documentation that I'm supposed to run the CATALINA_HOME/bin/./startup.sh Well I did it. and look what I got back: root@omega:~/jakarta-tomcat-4.0/bin# ./startup.sh Using CATALINA_BASE: /root/jakarta-tomcat-4.0 Using CATALINA_HOME: /root/jakarta-tomcat-4.0 Using CATALINA_TMPDIR: /root/jakarta-tomcat-4.0/temp Using JAVA_HOME: /etc/jdk1.3.1_02 root@omega:~/jakarta-tomcat-4.0/bin# Is it running?? How can I know?? grep tomcat doesnt show anything.. I'm still needing help, thank you all for helping me! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: canno startup Tomcat 4.0.1 - how to nobble JSP?
Yes, of course a serious typo! it was of course 4.0.2-b2! I could have used 4.0.1 but decided it made sense to look ahead while i could. We may conclude then that something, unknown, didnt gel between jdk 1.3.1 and Tomcat and we will never know. I However i remain very curious as i know of happily working configuration with just 1.3.1 that worked and continue to work just fine!! And judging by the reports this failure has been see on more than one version of unix too. Ah, i see that nobody has risen to my comment on JSP. Seriously i would like to avoid initiating JSP not because i would prefer to work under the runtime (but of course i would) but because GENUINELY i won't use it. If anybody, with an open mind that is, would like to look at the competing templating technology (see for example: webmacro.org. ) It makes a true separation of the art of web design and the server side java developer: who no longer need to be one subserviated to the other, nor a need to use up valuable development time by needing to sit down together anything like as much! Regards, Dave. On Sunday 27 January 2002 5:17 pm, you wrote: j2sdk1.4.0 was all that I needed to get Tomcat 4.0.1 or 4.0.2-b2 to work. Tomcat 4.0.2-b2 didn't work on the old JVM either, BTW. I'm going to stick wtih Tomcat 4.0.1. (BTW: Not sure what you mean by Tomcat 1.4, I'm assuming that it was a typo.) Thanks. -John Kalucki At 09:33 PM 1/26/2002 +, you wrote: Micael, After dowloading j2sdk1.4 and Tomcat 1.4 it worked straightaway! I can only conclude that a particular version pair was the cause and like i always join the slowest supermarket queue Admittedly these versions are all beta however this does not hurt me right now and i will proceed from here. Ah, there is one question you might no the answer to. Apparentely the only reason the jdk rather than the jre is used by Tomcat is in the support of jsp. Since i do not intend to use jsp at all(there is much better technology e.g. webmacro) ...Q How to disable the initilisation of JSP? Thanks. for your support... Regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: canno startup Tomcat 4.0.1 - how to nobble JSP?
Micael, After dowloading j2sdk1.4 and Tomcat 1.4 it worked straightaway! I can only conclude that a particular version pair was the cause and like i always join the slowest supermarket queue Admittedly these versions are all beta however this does not hurt me right now and i will proceed from here. Ah, there is one question you might no the answer to. Apparentely the only reason the jdk rather than the jre is used by Tomcat is in the support of jsp. Since i do not intend to use jsp at all(there is much better technology e.g. webmacro) ...Q How to disable the initilisation of JSP? Thanks. for your support... Regards, David. On Friday 25 January 2002 7:57 am, you wrote: I downloaded a new copy of Tomcat and the problems disappeared. At 11:40 AM 1/22/02 +, you wrote: Despite the good advice to carefully go through the documentation again the 'problem' still persists : It appears neither to start nor to fail? glibc version is 2.2.4-21 jdk is 1.3.1 i have set: ulimit -s 2048 and: export LD_ASSUME_KERNEL=2.2.5 I see i am not alone as two others report similar problem. Yet a colleague of mine on, i am quite sure, the same level of suse 7.3 jdk etc has succeeded immediately. The only known difference is that my colleague has made a clean install while mine was an upgrade from 7.2 Q. Can there be a remnant from an older installation of tomcat that could be the cause? The log for the startup gives just a one line comment as follows: 2002-01-22 09:55:43 HttpConnector Opening server socket on all host IP addresses but their is no reported failure! Indeed an active process is created. but despite the implication tht it is listening on the specified port an http request cannot connect to the port. (Other ports are working fine. e.g apache/jserv) I have also tried setting another unused port other than 8080 to no avail... The problem appears to be something more basic? Regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: canno startup Tomcat 4.0.1
On Friday 25 January 2002 7:57 am, you wrote: I downloaded a new copy of Tomcat and the problems disappeared. Thanks, I will try the same. At 11:40 AM 1/22/02 +, you wrote: Despite the good advice to carefully go through the documentation again the 'problem' still persists : It appears neither to start nor to fail? glibc version is 2.2.4-21 jdk is 1.3.1 i have set: ulimit -s 2048 and: export LD_ASSUME_KERNEL=2.2.5 I see i am not alone as two others report similar problem. Yet a colleague of mine on, i am quite sure, the same level of suse 7.3 jdk etc has succeeded immediately. The only known difference is that my colleague has made a clean install while mine was an upgrade from 7.2 Q. Can there be a remnant from an older installation of tomcat that could be the cause? The log for the startup gives just a one line comment as follows: 2002-01-22 09:55:43 HttpConnector Opening server socket on all host IP addresses but their is no reported failure! Indeed an active process is created. but despite the implication tht it is listening on the specified port an http request cannot connect to the port. (Other ports are working fine. e.g apache/jserv) I have also tried setting another unused port other than 8080 to no avail... The problem appears to be something more basic? Regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: failure of Tomcat standalone to start
Bruce, Perhaps a clue to the problem. I attempted to start tomcat standalone under a debugger. i.e. ./bin/catalina debug Then issue the command: run I then obtained the following error message: Exception occurred: java.lang.NoSuchMethodError (uncaught) thread=main, org.apache.catalina.core.StandardServer.start(), line=502, bci=95 java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:3919) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3328) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:612) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307) at org.apache.catalina.core.StandardService.start(StandardService.java:388) at org.apache.catalina.core.StandardServer.start(StandardServer.java:505) at org.apache.catalina.startup.Catalina.start(Catalina.java:776) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) I do not have the source but this may well be the reason why it fails to start with no message in the log. Have you the means to guess at the reason behind this? Regards, David. On Tuesday 22 January 2002 1:59 pm, you wrote: I don't think that there is a permissions issue as I tested this as root and the problem still occurred for me. The one point that you raised does need investigation. A clean install. I have previous versions of Tomcat installations on my machine (3.2, 3.1). Although you are supposed to be able to run them without interference controlled by JAVA_HOME, TOMCAT_HOME, CATALINA_HOME, maybe there is an issue here? Let's stay on the case, Bruce --- David Hewlett [EMAIL PROTECTED] wrote: Thanks, Good information indeed. But this makes me very curious. For a colleague did succeed with JDK1.3.1! There is a mystery here. Maybe related to permissions? Regards, David. On Tuesday 22 January 2002 2:36 am, you wrote: Hello David, Michael. I downloaded the j2sdk 1.4 beta 3 (actually the one with forte bundled with it) and changed my JAVA_HOME environment variable to point to this installation and it worked. Of course, this sdk is beta. If you could live with that then you can explore tomcat 4. Let me know if you find anything new. Thanks, Bruce __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
re: canno startup Tomcat 4.0.1
Despite the good advice to carefully go through the documentation again the 'problem' still persists : It appears neither to start nor to fail? glibc version is 2.2.4-21 jdk is 1.3.1 i have set: ulimit -s 2048 and: export LD_ASSUME_KERNEL=2.2.5 I see i am not alone as two others report similar problem. Yet a colleague of mine on, i am quite sure, the same level of suse 7.3 jdk etc has succeeded immediately. The only known difference is that my colleague has made a clean install while mine was an upgrade from 7.2 Q. Can there be a remnant from an older installation of tomcat that could be the cause? The log for the startup gives just a one line comment as follows: 2002-01-22 09:55:43 HttpConnector Opening server socket on all host IP addresses but their is no reported failure! Indeed an active process is created. but despite the implication tht it is listening on the specified port an http request cannot connect to the port. (Other ports are working fine. e.g apache/jserv) I have also tried setting another unused port other than 8080 to no avail... The problem appears to be something more basic? Regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Asynchronous messages from servlets
On Tuesday 22 January 2002 8:50 am, you wrote: Hi, I have the following problem. A simple form submits data to a servlet. The servlet sends a message via JMS to another application (in another JVM). Once the message has been sent, the 'service' method of the servlet ends. After a while, say five seconds, the other application would like to send back a response. How do I show this response to the user? Since the 'service' method has finished after sending the message, I have lost control over the output from the other application. What I need is a way to push the response to the browser. I would like the server to take the initiative in updating the browser window, not the user. Is this possible in any way? Thanks in advance, Ronald Wildenberg You could do the following. If the client has JVM and permissions can be arranged to listen on a specific port (and any firewalls are going to allow the traffic etc) then: When sending your small form include a java applet that creates a task that simply listens on a specific port. Your asynchronous process can then return a message to that port. This has been done. (with IBM MQSeries java API) Good Luck regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
canno startup Tomat 4.0.1
This is my first attempt at Tomcat. I know other people succeeded directly with with the standalone version - however it doesn't seem to fire up on suse 7.3 kernel 2 4 13 Up to now i have used apache jserv with no problems. (which currently must continue to reside on the system) I started tomcat up with ?startup.sh. Just the following occurs: linux:/opt/jakarta-tomcat-4.0.1 # ./bin/startup.sh Using CLASSPATH: /opt/jakarta-tomcat-4.0.1/bin/bootstrap.jar:/usr/lib/jdk1.3.1/lib/tools.jar Using CATALINA_BASE: /opt/jakarta-tomcat-4.0.1 Using CATALINA_HOME: /opt/jakarta-tomcat-4.0.1 Using JAVA_HOME: ? ? /usr/lib/jdk1.3.1 When attempting: http://localhost:8080/ The message: Could not connect to localhost (port 8080) is received. Can anyone shed light on what can be wrong? This is standalone if i understand well and not using apache web server (which is up and running with jserv.) The three reasons given for failure to start appear not to be the case. What else is there please? Regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]