Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Steinar Bang
Platform: Intel PIII, RedHat 8, IBMJava2-SDK-1.3.1-3.0, tomcat4-4.1.18-full.1jpp We have found that if we push the server too hard, the Java VM running tomcat crashes. I'm assuming it's running out of memory, or file descriptors, or somesuch. Does anyone have a solution to

tomcat 4.1.18 won't work with IBM Java SDK 1.1.8

2003-03-07 Thread Steinar Bang
Platform: dual Intel PIII, RedHat 8.0, IBM Java SDK 1.1.8 (from RPM), tomcat 4.1.18 (from Henri Gomez' 4.1.18-1jpp RPM) Tomcat 4.1.18 won't work with IBM Java 1.1.8 on this platform. I get tomcat working with both Blackdown Sun JDK 1.3.1 and 1.4.1 on the same

Re: tomcat 4.1.18 won't work with IBM Java SDK 1.1.8

2003-03-07 Thread Steinar Bang
Larry Meadors [EMAIL PROTECTED]: [EMAIL PROTECTED] 03/07/03 05:45 AM Is tomcat 4.1.18 supposed to work with IBM Java 1.1.8? No. It requires 1.2 or later. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt An excerpt: [snip!] * Download a Java Development Kit (JDK) release

Re: tomcat 4.1.18 won't work with IBM Java SDK 1.1.8

2003-03-07 Thread Steinar Bang
Jon Roberts [EMAIL PROTECTED]: Shapira, Yoav wrote: As an aside, don't pigeon-hole yourself into the IBM JDK. Try Sun's and others as well (JRockit etc.) I'm not sure how active development is on the IBM JDK. I know it used to be more active in the past than it is now, that's for sure.

Re: tomcat 4.1.18 won't work with IBM Java SDK 1.1.8

2003-03-07 Thread Steinar Bang
Chong Yu Meng [EMAIL PROTECTED]: I'm using IBM's Java2 SDK 1.3.1 with Tomcat 4.1.18, not JDK 1.1.8. You can download version 1.3.1 from IBM's Developerworks website. If you need help installing the IBM Java2 SDK, I've done a write-up on it. See http://linux-sxs.org/programming/java131.html

Re: automatically redirect http to https in tomcat

2003-02-11 Thread Steinar Bang
[EMAIL PROTECTED]: Yes, I use struts. It used to automatically redirect http request to https with https setup in ssl.conf. After I upgraded to b3, 4.1.18, 2.0.44, http is http and https is https. What I've done in Struts, is to subclass ActionServlet, replace the doGet() and doPost()

Simultanous access to Ajp13 connector by more than one apache?

2003-01-08 Thread Steinar Bang
Platform: Intel PIII, debian testing/unstable (sarge) Blackdown JDK 1.3.1 (j2sdk 1.3.1.0b-2), tomcat4 4.1.16-1, apache 1.3.26-1.1, apache-ssl 1.3.26+1.48-2 Is it possible to access an Ajp13 connector in tomcat 4.1.x at the same time, by more than one apache web

tomcat version numbering (Was: HttpServletRequest.isSecure()fails...)

2002-11-20 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Steinar Bang [EMAIL PROTECTED]: Do the 4.1.13 and 4.1.14 versions you refer to, exist as separate branches in the CVS? Or is 4.1.13 a branch, and 4.1.14-to-be HEAD? Not sure if they are branch tags, but there are tags named TOMCAT_4_1_13 and TOMCAT_4_1_14

Is there a tomcat manager API? (tomcat 4.1.12)

2002-11-12 Thread Steinar Bang
I would like to reload our user webapp from our own manager webapp, when properties have been changed in the manager webapp. Is there a .jar file I could include into our own manager webapp, and an API I can access? Or is the proper way to use the HTTP interface, described here?

Current performance comparisons of PHP vs. JSP anywhere?

2002-11-10 Thread Steinar Bang
I typed the three words php jsp performace to www.google.com, and I got the following relevant matches: URL:http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-13.html URL:http://www.zend.com/zend/art/php-over-java.php Both articles are referring to an eWeek test that showed JSP to be 3,5

Re: HttpServletRequest.isSecure() fails with Coyote AJP 1.3Connector

2002-11-07 Thread Steinar Bang
Bill Barker [EMAIL PROTECTED]: On Fri, 1 Nov 2002, Steinar Bang wrote: If I use the old AJP 1.3 connector, I can use the HttpServletRequest.isSecure() function to determine if the client used an HTTPS connection to the apache server. With the Coyote AJP 1.3 connector this information

Avoiding YYYY-MM-DD in log file names (tomcat 4.1.12)

2002-11-07 Thread Steinar Bang
Is it possible to avoid the -MM-DD in the log file names of tomcat 4.1.12? I would prefer to just let linux logrotate handle the rotation of log files. According to URL:http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html there is no possibility to configure it away, but

Re: HttpServletRequest.isSecure() fails with Coyote AJP 1.3Connector

2002-11-07 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Do the 4.1.13 and 4.1.14 versions you refer to, exist as separate branches in the CVS? Or is 4.1.13 a branch, and 4.1.14-to-be HEAD? Not sure if they are branch tags, but there are tags named TOMCAT_4_1_13 and TOMCAT_4_1_14. -- To unsubscribe, e-mail

HttpServletRequest.isSecure() fails with Coyote AJP 1.3 Connector

2002-10-31 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2 Is there a way to pass the scheme used by the client when talking to the apache server (ie. http or https) through the Coyote AJP 1.3 connector? If I use the old

Re: Profiling with tomcat

2002-10-30 Thread Steinar Bang
Graham King [EMAIL PROTECTED]: I found a combination of -Xrunhprof (see 'java -Xrunhprof:help') and HPjmeter (free tool from HP for visualising the output of hprof. See http://www.hp.com/products1/unix/java/hpjmeter/index.html) Is this program available for free download? I was unable to

Re: Profiling with tomcat

2002-10-30 Thread Steinar Bang
Ralph Einfeldt [EMAIL PROTECTED]: From: Steinar Bang [mailto:sb;dod.no] Is this program available for free download? I was unable to determine from the web pages whether it was a freely downloadable program, or whether it was a commercial product. Have a look at http://www.hp.com

Coyote AJP 1.3 connector: apache HTTPS info blocked

2002-10-30 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2 Is there a way to pass the scheme used by the client when talking to the apache server (ie. http or https) through the Coyote AJP 1.3 connector? If I use the old

Re: VerifyError when creating Struts action bean

2002-10-29 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2, xerces-j 1.4.4 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError

Re: VerifyError when creating Struts action bean

2002-10-29 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2, xerces-j 1.4.4 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError

VerifyError when creating Struts action bean

2002-10-27 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1b2 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError when creating one of the webapp's Action beans. The error output

VerifyError when creating action

2002-10-25 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError when creating one of the webapp's Action beans. The error output is attached

tomcat4, which ajp1.3 connector to use? (Coyote? plain?)

2002-10-25 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1 The tomcat4 server.xml file came with the Coyote/JK2 Ajp 1.3 Connector enabled and the normal(?) Ajp 1.3 connector disabled (the class is org.apache.ajp.tomcat4.Ajp13Connector). I had to

Re: Connect Java Profiler to Tomcat

2002-08-19 Thread Steinar Bang
Zhenxin wang [EMAIL PROTECTED]: I used OptimizeIt, which has special script for Tomcat 4. Follow the instructions from OptimizeIt to modify the script to suit your environment, it should be easy to gt it working. I've aquired a test license from Borland, but haven't been able to get it

Re: Connect Java Profiler to Tomcat

2002-07-30 Thread Steinar Bang
Zhenxin Wang [EMAIL PROTECTED]: I wonder anyone has done hooking up a Java Profiler such as OptimizeIt or JProbe. I've asked the same question on different newsgroups, but got no responses. The Tomcat startup script is a bit hard to digest. How to start Tomcat (4.0.4) by running java .

Re: ajp14.service() error sending, retry on a new endpoint ajp13

2002-05-30 Thread Steinar Bang
Adrian [EMAIL PROTECTED]: What does your httpd.conf look like ? Attached. Modified by me, based on my apache 1.3/tomcat 3.x config. Actually it's called httpd2.conf. What about your server.xml? Attached. As installed by the tomcat 4.0.3 RPM, ie. unchanged by me. Did you do any

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-28 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Steinar Bang [EMAIL PROTECTED]: Perhaps my JkMount statements aren't included into httpd2.conf. Hmm... I don't think that's it, either... I get the following message, when I'm starting apache: # /etc/init.d/httpd2 start Starting httpd2: XXX Create dir

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-28 Thread Steinar Bang
for tomcat 3.3, with tomcat 4.0.3] Steinar Bang [EMAIL PROTECTED]: [snip!] root cause java.lang.NoClassDefFoundError: org/w3c/dom/range/Range at org.apache.xerces.validators.dtd.DTDGrammar.callStartDTD(DTDGrammar.java:190) [snip!] It looks like Xerces is missing some stuff when creating a DOM

Re: undefined symbol apt_pool_create when loading mod_jk2.so

2002-05-27 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, mod_jk2 from the RPM in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ When I try

Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, tomcat 4.0.3, and mod_jk2 from RPMs in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ I am trying to use a .war created

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, tomcat 4.0.3, and mod_jk2 from RPMs in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ I

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Peter Davison [EMAIL PROTECTED]: Sounds like your web.xml file has a problem in it somewhere. Yep, it did. Sometimes the messages you get from the parser don't necessarily point you to the actual problem (much like compilers I guess). Can you post the contents of your web.xml so that we

Re: Problems using a tomcat 3.3 .war file with tomcat 4.0.3

2002-05-27 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: But this was masking the real problem, which is that I get 404 not found on the webapp URLs. Perhaps my JkMount statements aren't included into httpd2.conf. Hmm... I don't think that's it, either... I get the following message, when I'm starting apache

undefined symbol apt_pool_create when loading mod_jk2.so

2002-05-24 Thread Steinar Bang
Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL http://ftp.falsehope.com/home/gomez/apache2/, mod_jk2 from the RPM in http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/rpms/ When I try starting apache, I get the following