Re: thread dump analysis

2004-02-26 Thread Oscar Carrillo
Hi, Saw your message on the boards. Did you make sure you have this environment variable set? On systems that I need it, I put it in my tomcat startup file. LD_KERNEL_ASSUME=2.2.5 Check out my howto page for my brief notes on threading and it's potential problems with JVMs and threads.

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
? Alternatively, if you've gotten it work in both HTTP and HTTPS, you can redirect HTTP to HTTPS. Then it works, but you don't have the option of having a separate webapp for HTTP. Good luck, Oscar On Wed, 4 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 22:40 schrieb Oscar Carrillo

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
You should try it in the VirtualHost declaration. That's where I would put it. Oscar On Wed, 4 Feb 2004, Ralf Schneider wrote: Am Mittwoch, 4. Februar 2004 20:21 schrieb Oscar Carrillo: Alternatively, if you've gotten it work in both HTTP and HTTPS, you can redirect HTTP to HTTPS

Re: Back to the nonsecure items problem

2004-02-03 Thread Oscar Carrillo
Hi, I've noticed this too when including a Flash application. I noticed that only IE complains. Mozilla doesn't. Is this the same case for you? Oscar On Tue, 3 Feb 2004, Wendy Smoak wrote: I'm trying to serve a PDF from a Servlet and I'm getting the This page contains both secure and

RE: Back to the nonsecure items problem

2004-02-03 Thread Oscar Carrillo
else. To make sure, you could disallow http access to the site completely, and/or block port 80 at your firewall. Otherwise, I'm sure there's a security hole in IE that you could make it think that anything from anywhere is secure. :) Oscar On Tue, 3 Feb 2004, Wendy Smoak wrote: From: Oscar

Re: Tomcat 4 and Linux SMP

2004-02-03 Thread Oscar Carrillo
Don't expect Hyperthreading to work without compiling a new kernel. BTW, I would update all your other packages, and maybe even updating to RedHat 9. In fact, I was not aware that there was that late of a kernel RPM version for RedHat 8. In addition, I don't think you can run Tomcat with a

Re: Tomcat 4 and Linux SMP

2004-02-03 Thread Oscar Carrillo
On Tue, 3 Feb 2004, arvind singh wrote: Hyperthreading is working fine. Tomcat is working very well with non SMP kernel and only with JRE. RedHat has nothing new other than a better dektop. But later glibc, gcc, and nptl libraries. I can see virtual processor and other apps. work just

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
I describe this in my HOWTO. http://www.linuxjava.net/howto/webapp/ You either redirect traffic from http to https for that virtual host, or you only mount the webapp in the http virtual host and not for the https. Oscar Carrillo On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
BTW, there's sample http.conf, ssl.conf, and server.xml files there. In the config files, I denote your host that resolves to an IP as myhost.mydomain, and your virtual host as host1.domain. http://www.linuxjava.net/howto/webapp/install_files/ Oscar On Mon, 2 Feb 2004, Oscar Carrillo wrote

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
/ You either redirect traffic from http to https for that virtual host, or you only mount the webapp in the http virtual host and not for the https. Oscar Carrillo On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 13:55 schrieb Yiannis Mavroukakis: Best remove

Re: [OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Oscar Carrillo
Do you mean to say that it doesn't happen when NOT using Ant? Just wondering. Not too much to add. I'm assuming this is the JDBC driver's inability to handle the streaming for Blobs. What database and driver are you using? I could try it with Postgres 7.4.1 in the near future. I don't really

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Please try what I describe in my earlier post, and check my web page for a better description: http://www.linuxjava.net/howto/webapp/ Oscar On Mon, 2 Feb 2004, Ralf Schneider wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 17:30 schrieb Yiannis

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
will get access. This is likely your problem especially if you haven't put mod_jk mount commands in ssl.conf. Oscar http://www.linuxjava.net/howto/webapp/ On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 21:01 schrieb Oscar Carrillo: I think what the user is looking

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
. Oscar http://www.linuxjava.net/howto/webapp/ On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 21:21 schrieb Oscar Carrillo: Please try what I describe in my earlier post, and check my web page for a better description: http://www.linuxjava.net/howto/webapp/ I took

Re: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Oscar Carrillo
Absotively! Long-live the Source. Oscar On Mon, 2 Feb 2004, Rich Baldwin wrote: Ok. I'm ready to partially retract all of the mean things that I said about tomcat. If anyone thinks that they will be saving themselves time by installing an rpm of mod_jk2.so, think again; re-build from the

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
/* ajp13 --- Does that help? BTW, this is all on my site but there's quite a bit of stuff there that you can miss it. Oscar http://www.linuxjava.net/howto/webapp/ On Mon, 2 Feb 2004, Ralf Schneider wrote: Am Montag, 2. Februar 2004 21:26 schrieb Oscar

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
/ On Mon, 2 Feb 2004, Oscar Carrillo wrote: Hi, The JkMount directives tell Apache to pass these request thru the Connector to Tomcat. I do this very same thing for jWebMail, cause I don't want it accessible thru http, only https. Here's my ssl.conf config section

Updated WebApp Tutorial

2004-02-01 Thread Oscar Carrillo
. -- Please visit the site and any feedback is appreciated. Regards, Oscar Carrillo http://www.linuxjava.net/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HOST - DNS setup

2004-01-30 Thread Oscar Carrillo
I'm not sure what you are after. But... You could put Apache in front of Tomcat. Have Apache mount the appropriate Tomcat apps so that you would be able to type in. http://mycompany.com/firstapp Or you could setup a Virtual Host for each time you wanted to do: http://firstapp.mycompany.com/

Re: Conflict openssl versus keytool

2004-01-23 Thread Oscar Carrillo
Why do you need to import the key into Tomcat? You are using Apache for a front-end w/connector I assume, which means Apache would do the SSL stuff. Oscar On Fri, 23 Jan 2004, Ignacio Barrancos Martinez wrote: Hi all, I am running two web servers on the same Linux machine. 1) is

Re: AW: long startup time with JDK1.4

2004-01-21 Thread Oscar Carrillo
What Linux distribution are you running? And are you running the Sun 1.4 JVM? Oscar On Wed, 21 Jan 2004, Roland Knor wrote: FYI... This didn't work either. In the meantime I figured out, that the time is spent in the PlainSocket.initProt function just before binding to the port, which

RE: Calling a JSP from a virtual host

2004-01-16 Thread Oscar Carrillo
On Thu, 15 Jan 2004, Oscar Carrillo wrote: I've only setup one Virtual Host. Tomorrow I'm setting up multiple, so I'll let you know how it goes and provide the configuration. I understand that you're wanting a different webapp for each virtual host. Oscar On Thu, 15 Jan 2004, Dolores

Re: Trying to write my own startup script, but seems to missed something....

2004-01-15 Thread Oscar Carrillo
You can take a look at my daemon script if it helps. http://daydream.stanford.edu/tomcat/install_web_services.html#daemons Oscar On Thu, 15 Jan 2004, Johan Bång wrote: Hi! I am trying to write my own init script to tomcat 5 for Fedora Core 1 I have tryed to decode what the startup.sh,

RE: Calling a JSP from a virtual host

2004-01-15 Thread Oscar Carrillo
/anyTomcatApp/myJspPage.jsp instead of http://www.anyVirtualHost.com/anyTomcatApp/myJspPage.jsp Any help would be appreciated. Thanks again, Dolores -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 January, 2004 22:50 To: Tomcat Users List

Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Oscar Carrillo
I thought later about mentioning this, and that's exactly right. I always use the free memtest86 http://memtest86.com to test the memory sub-system before deploying. Sometimes I turn down the FSB and the memory bus speed, makes the crashes go away. Oscar On Thu, 15 Jan 2004, Christopher

Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-14 Thread Oscar Carrillo
With RH8, I assume that at the very least you'll need to set LD_KERNEL_ASSUME. I would consider that the first course of action, and likely would not need to do anything else. I could see hyperthreading a problem if the kernel didn't support it very well. You could try the latest 2.4.x kernel.

Redhat9 / mod_jk2 builds from source

2004-01-14 Thread Oscar Carrillo
Hi, The info I've seen on this list about building mod_jk2 has been for rpm installation. Here's the info I gathered so far trying to do Apache and the connector all from source. Building Apache2.0.48 and mod_jk2 (2.0.2) works seamlessly the following way: If you built Apache from source, such

Re: Redhat9 / mod_jk2 builds from source

2004-01-14 Thread Oscar Carrillo
My apologies, I did find some good info on the list just awhile back, particularly by Mark Eggers. This just mostly shows it indeed is repeatable :-) Oscar On Wed, 14 Jan 2004, Oscar Carrillo wrote: Hi, The info I've seen on this list about building mod_jk2 has been for rpm installation

Re: RTFM

2004-01-14 Thread Oscar Carrillo
That should've been RTFP. P=Post Doesn't that just require a hyperlink? If you wanted to from your web page to google, you'd just have a hyperlink that goes http://www.google.com/; Unless you mean something different, that question begs the question: Have you used a web browser before? ;-)

Re: Redhat9 / mod_jk2 builds from source

2004-01-14 Thread Oscar Carrillo
Cool. Questions inside. On Wed, 14 Jan 2004, Mark Eggers wrote: Oscar, Not a problem :-) I do have some additions to my original post. The changes get UNIX sockets working as well as IP sockets. Set the following environment variables: export LDFLAGS=-lgdbm -lldap -lexpat -ldb

Re: Calling a JSP from a virtual host

2004-01-14 Thread Oscar Carrillo
Hi, I believe you need to do the jkmounts in each VirtualHost config in httpd.conf. And, I think, you must not use the auto-generated mod_jk.conf. It should work as explained in my HOWTO: http://daydream.stanford.edu/tomcat/install_web_services.html Eventhough, I reference Linux, Tomcat and

Re: Calling a JSP from a virtual host

2004-01-14 Thread Oscar Carrillo
I assumed he meant he wanted to access the same webapp in Tomcat in each virtual host in Apache. In that case, he only wants and only needs 1 webapp in Tomcat. Oscar On Wed, 14 Jan 2004, Howard Watson wrote: I not 100% sure but I think the problem might be here: And I have 1 webapp

Re: Calling a JSP from a virtual host

2004-01-14 Thread Oscar Carrillo
Sorry, don't have any experiences with those. I'm no expert in Tomcat, I just get lucky once in awhile and see a question I can answer :) Oscar On Wed, 14 Jan 2004, Howard Watson wrote: I stand corrected. I don't know about the auto-generated mod_jk.conf, but your right about needing to

Re: Redhat9 / mod_jk2 builds from source

2004-01-14 Thread Oscar Carrillo
Interesting... I only get this with apache 2.0.48 from ldd /usr/local/apache2/lib/libapr-0.so.9.5: libc.so.6 = /lib/tls/libc.so.6(0x4200) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000) I guess that means I didn't build with the LD_FLAGS that you mentioned. The

RE: Tomcat / Apache / SSl

2004-01-13 Thread Oscar Carrillo
You will use the same connector over port 8009. No additional connector needed over any other port. In your ssl.conf for apache, you will create a VirtualHost entry very much like the one that's in your httpd.conf file. In there you will do your JkMount declaratives, etc. BTW, I use 0.9.7c

Re: port info

2004-01-12 Thread Oscar Carrillo
The other quick and dirty solution someone posted a little while back, is to re-route traffic on port 80 (in this case) to port 8081 with your firewall. In Linux, using iptables you can easily do this. Oscar On Mon, 12 Jan 2004, Ro, Jean S wrote: Hi, I use the following url:

Re: Tomcat 4.1.29 versus Tomcat 5

2004-01-12 Thread Oscar Carrillo
I'm going ahead and trying it out. But I have a different question. Are all the config files the same between Tomcat4 and Tomcat5? If they are the same, then it sounds trivial to at least try it out. If not, then it would be painful to have to upgrade, and move back to tomcat4, if need be.

Re: Tomcat 5 standalone on Linux 2.6

2004-01-08 Thread Oscar Carrillo
I've also been running a development machine with RH9/kernel 2.6.0 using Tomcat 4.1.29/Apache 2.0.48/mod_jk/JDK-1.4.2_03/struts/jdbc-common pool/Postgresql-7.4.1. No real load test yet, but haven't needed to set the LD_KERNEL_ASSUME yet. I'm going to start working with JMeter and see if I can

RE: Enabling SSL on specific URLs using IIS and Tomcat

2004-01-08 Thread Oscar Carrillo
This is one of the reasons why I like to use Apache in front of Tomcat. It's pretty easy to do with Apache. Not to mention IIS is a bear to get to work under Linux ;) I would imagine there is a similar config for IIS though. Oscar On Thu, 8 Jan 2004, cprs-develop wrote: Hi: That's what I

RE: tomcat-connectors

2004-01-05 Thread Oscar Carrillo
Everything I'm sure will work great if you compile apache from source. Oscar http://daydream.stanford.edu/tomcat/install_web_services.html On Mon, 5 Jan 2004, Shannon Scott wrote: Camron, Thank you for your quick response. I appreciate your effort. When I tried your mod_jk.so file, apache

Re: Apache2 + Tomcat4 + mod_jk2 success

2004-01-04 Thread Oscar Carrillo
Thanks. Some of the steps surprised me in missing files, etc. Can anyone else comment on why this would be the case? BTW, you have a reference to /usr/local/apache2/bin/apes, which should probably be /usr/local/apache2/bin/apxs. I'm also surprised that some of your directories say jk, not jk2.

RE: Linux Kernel 2.6.0 success

2004-01-03 Thread Oscar Carrillo
, 3 Jan 2004, Michael Coughlan wrote: -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 8:19 PM To: Tomcat Users List Subject: Linux Kernel 2.6.0 success I am successfully running the latest Apache/Tomcat4/mod_jk/openssl/jdk

RE: Have some questions, also possible contract work up for grabs

2004-01-03 Thread Oscar Carrillo
Do any hosting companies offer reasonably priced colocation or flexible accounts with tomcat, php, and mysql installed? The IT company I work for has developed a great piece of software using JSP and Java technology but we need to get it onto a good box for production use. Waste of

Re: MOD_JK2 also Fails aaaggggg@###!!!

2004-01-02 Thread Oscar Carrillo
I've done mod_jk many times on RH9, but not mod_jk2. My first suggestion would be to apply all updates before trying to compile anything, in particular: glibc and all other related glibc packages nptl-devel I don't know why you would have gone with mod_webapp before going to mod_jk. Check my

RE: tomcat4.1.24 + apache_2.0.47 + connectors-jk2.0.2

2004-01-02 Thread Oscar Carrillo
Hi, Ok, I just did it for about the 5th time (mod_jk) on a completely new installation. I even have it running with the new and improved kernel 2.6.0! I'd say the common mistakes are: 1. Not removing the RPMS that will conflict, such as httpd and tomcat. 2. Not updating the critical updates

Linux Kernel 2.6.0 success

2004-01-02 Thread Oscar Carrillo
Hi, I am successfully running the latest Apache/Tomcat4/mod_jk/openssl/jdk with the new kernel 2.6.0 with RedHat9. So far I am NOT using the LD_KERNEL_ASSUME=2.2.5, and Tomcat4 starts up really fast. Apache seems to start in anticipation of me hitting the enter button :) The kernel is pretty

Re: Tomcat for RedHat Enterprise Linux

2003-12-20 Thread Oscar Carrillo
Any version that works on RH 7.3 should work on RH 7.3 Enterprise. You should install the latest 4.1.29 or the most recent tomcat5 version, if you wanted tomcat5. Now, if you are asking what version is supported, then whatever RH supports is what is supported. That all depends on who you buy

Re: Apache-tomcat via mod_jk configuration

2003-12-18 Thread Oscar Carrillo
Are you sure you meant httpd1? The daemon script on my site is httpd. The website explains a setup for Tomcat 4, not Tomcat 5. I don't know if there's any difference, but there may be. I'm also confused as you apparently didn't copy your configuration into this post, you just copied most of

Fedora (RedHat) Linux and gcj

2003-12-18 Thread Oscar Carrillo
I saw this in Fedora 2 release schedule. We have set a very aggressive schedule for Fedora Core 2. Red Hat considers two items absolutely stop-ship -- that is, we will slip the release if necessary to include them. These two items are the 2.6 Linux

RE: Need some Tomcat Configuration help badly

2003-12-17 Thread Oscar Carrillo
Hi, If I understand this correctly, there are references lying around that point to objects that no longer are needed. Is this something the developer does or something tomcat does in compiling the servlets? In other words, is there something the developer or administrator can do to avoid this?

RE: Need some Tomcat Configuration help badly

2003-12-17 Thread Oscar Carrillo
Thanks. I'm still not sure what kind of code would produce a memory leak. Any chance you could give a brief description or example of this? Thanks, Oscar http://daydream.stanford.edu/tomcat/install_web_services.html On Wed, 17 Dec 2003, Shapira, Yoav wrote: Howdy, If I understand this

RE: Need some Tomcat Configuration help badly

2003-12-17 Thread Oscar Carrillo
: http://forum.java.sun.com/thread.jsp?forum=4thread=456545message=20839 57. There are others... Yoav Shapira Millennium ChemInformatics -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 2:38 PM To: Tomcat Users List Subject

Re: Tomcat performance on Windows versus Linux

2003-12-16 Thread Oscar Carrillo
I am about to setup Tomcat under a new Linux 2.6 kernel with 2 Athlon MP processors. Since scheduling, threading, and SMP have been much improved in the new kernel I wonder if it will add to performance. I don't have anything to test the new setup with, but if anyone has good ideas (and by good,

RE: google yourself

2003-12-11 Thread Oscar Carrillo
LOL. I know that's happened to me too. That's when I know I'm in trouble :) Oscar On Thu, 11 Dec 2003, Januski, Ken wrote: The sad part of googling yourself is when you google for answers to a certain problem and end up getting an earlier post of your own on same topic as the first result.

Re: Uninstalling Tomcat

2003-12-10 Thread Oscar Carrillo
Additionally, after you find the package, you can see what files a package has installed, by doing something like this: rpm -qlp tomcat On Wed, 10 Dec 2003, Ben Souther wrote: Try querying the rpm database to see if it's in there. I think you need to be root. rpm -qa | grep tomcat If it

Re: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Oscar Carrillo
http://www.servepath.com On Mon, 8 Dec 2003, Pitre, Russell wrote: Hello All- Sorry to bother you with another one of my questions.. Can anyone suggest a good and inexpensive web hosting service that provides tomcat and mySQL support?? Russ

Re: Not even close to on topic: smake n cdrecord for linux

2003-12-07 Thread Oscar Carrillo
You are waay off topic here. A google search is the way to go here. Regards, Oscar On Mon, 8 Dec 2003 [EMAIL PROTECTED] wrote: Hi, apologies for being out of topic. I've installed a new scsi cd-rw, a cursory cdrecord -scanbus shows that it is recognised as a scsi device (which is fine)

Re: Shell script to check if Tomcat is running?

2003-12-03 Thread Oscar Carrillo
This is for unix/linux. Oscar On Tue, 2 Dec 2003 [EMAIL PROTECTED] wrote: Does anybody has script also for unix systems like REDHAT linux? This looks likes for windows! 2 really simple ways - # Assume tomcat is the only java process COWBELL=`ps -ef

RE: Best JVM for Tomcat

2003-12-03 Thread Oscar Carrillo
Does -server work now? What version of Linux distro did -server cause problems, if any? Thanks, Oscar On Wed, 3 Dec 2003, Shapira, Yoav wrote: Howdy, I use Sun's latest on various platforms (Solaris 8, 9, SuSe, Intel) without a problem for both tomcat 4 and 5. The only caveat is the

RE: Best JVM for Tomcat

2003-12-03 Thread Oscar Carrillo
shed more light... Yoav Shapira Millennium ChemInformatics -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:33 AM To: Tomcat Users List Subject: RE: Best JVM for Tomcat Does -server work now? What version of Linux distro

Re: Shell script to check if Tomcat is running?

2003-12-01 Thread Oscar Carrillo
On Mon, 1 Dec 2003, Tim Funk wrote: 2 really simple ways - # Assume tomcat is the only java process COWBELL=`ps -ef | grep java| grep -v grep | wc -l` if [ $COWBELL 0 ]; then echo Woohoo - the process is there; fi - This

Re: Slow on Linux

2003-11-25 Thread Oscar Carrillo
I imagine that you could compile an AMD64 kernel, and compile Postgresql for AMD64. But you still might have a poor performer with a 32-bit jdk. You could put Postgresql on a separate AMD64 server and Tomcat on a 32-bit X86 server, but that may or may not be what you want. Compiling a kernel

Re: Slow on Linux

2003-11-25 Thread Oscar Carrillo
schedule for their 64-bit version of the jdk/jre. IMHO, they know Linux a lot better than the Sun group does and are less combative with Linux. IBM jdk/jre is one to watch too. Oscar On Tue, 25 Nov 2003, Oscar Carrillo wrote: I imagine that you could compile an AMD64 kernel, and compile

Re: Slow on Linux

2003-11-25 Thread Oscar Carrillo
I assume Firebird is just doing connection pooling internally. To be fair though, it is supposed to have very good performance but without all the features of PostgreSQL. Oscar On Tue, 25 Nov 2003, Yonatan Goraly wrote: Isn't this what connection pooling is all about? Wade Chandler wrote:

Re: tomcat start and stopping

2003-11-24 Thread Oscar Carrillo
I have some daemon scripts on my tutorial site. I wrote them for Linux but you should be able to change things if need be. I use chkconfig to make the sym links for the different runlevels, but you can just read the chkconfig line comment at the start of the script and do it yourself. I'm not sure

Re: Slow on Linux

2003-11-24 Thread Oscar Carrillo
I'm no expert on Servlets so I'm not sure what's involved with all those calls, but it doesn't seem like it could be anything that takes 500ms. Have you tried running top while this is going on? You can set it to update quickly so that you can see what's taking up the processor, if anything.

Re: Slow on Linux

2003-11-24 Thread Oscar Carrillo
Hi, You could buy an Enterprise edition of a distribution that supports AMD 64-bit. It does not seem to be quite ready in the main distributions. If you aren't willing to compile a new kernel, then I would not recommend going to native 64-bit AMD. Even if you are willing to, you might encounter

Apache Tomcat connector FAQ admin?

2003-11-23 Thread Oscar Carrillo
, but will shortly. Just wanted to get a contact so it doesn't have down time. An email or web page that has the contact info would be great. Thanks so much, Oscar Carrillo http://daydream.stanford.edu/tomcat/install_web_services.html

Re: mod_jk + apache 2.0.40 + redhat 9.0

2003-11-20 Thread Oscar Carrillo
I would suggest using more than one as a reference in case something is misunderstood or vague. My tutorial is below: http://daydream.stanford.edu/tomcat/install_web_services.html I link to many other sites that are useful, and I believe John Turner's site (which I link to) links to an RPM

Re: Worrying problem

2003-11-20 Thread Oscar Carrillo
You didn't state what Linux distribution or tomcat, or java version. Do you use apache in front of tomcat? Do you have the latest packages for your Linux distribution? In particular, nptl, gcc, kernel packages. Have you tried the old threading model by setting it in your startup script?:

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Oscar Carrillo
What's your hardware? Are you running multiple processors? Do you compile your own Apache2 and mod_jk/mod_jk2? Have you tried compiling your own kernel from the more recent sources. Kernel 2.4 had some shaky releases and RedHat8 fell in the middle of it. Kernel 2.4.22 is the latest. Have

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Oscar Carrillo
To follow up a little. A great free memory tester is here: http://www.memtest86.com/ Oscar On Tue, 18 Nov 2003, Oscar Carrillo wrote: What's your hardware? Are you running multiple processors? Do you compile your own Apache2 and mod_jk/mod_jk2? Have you tried compiling your own kernel

Re: Installing jakarta on linux RH9

2003-11-04 Thread Oscar Carrillo
Interesting. I wonder if that's all it is. Any wish to elaborate if you are not using a connector to Apache? I was assuming everyone who was using tomcat on such heavy loads would be using Apache in front. BTW, if by any chance you're using the daemon scripts off my site, you would be using the

Re: OT: db pool problems - jdbc connection count?

2003-10-30 Thread Oscar Carrillo
How about just watching the processes for postgresql while you access the site?: ps auxw | grep postgres Oscar On Thu, 30 Oct 2003, john-paul delaney wrote: Hello List... Sorry if this is off-topic. Although I think I'm following the jndi-resources-howto fairly well, I find I'm running

Re: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk

2003-10-30 Thread Oscar Carrillo
httpd.conf, server.xml and workers.properties. Thank you for your help. Joaquin Talego - Original Message - From: Oscar Carrillo [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:15 PM Subject: Re: Help needed with Apache

RE: OT: db pool problems - jdbc connection count?

2003-10-30 Thread Oscar Carrillo
Thanks for a more complete solution Yoav! I'm still using a homebrew connection pool, so I'm lacking in some features. I'm planning on moving to one of the standard connection pools since they exist now and look quite good. Can I put your example up on my site when I finally get to doing a HOWTO

Re: Mapping Apache virtual hosts to Tomcat web applications

2003-10-29 Thread Oscar Carrillo
Yes you can. I don't explicitly go into this, but I have some explanation on virtual hosting with mapping to tomcat apps on my site with Apache 2.0/Tomcat/Mod_JK. http://daydream.stanford.edu/tomcat/install_web_services.html I'm sure you can find info in the archive here too. Oscar On Wed, 29

Re: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk

2003-10-29 Thread Oscar Carrillo
Does Apache launches and serves up plain html files? If so, most likely it's the mapping done in httpd.conf and/or the auto-generated modjk.conf file. I have examples on how to do it in httpd.conf for virtual hosting here: http://daydream.stanford.edu/tomcat/install_web_services.html It may

Re: Tomcat 5 to start automatically on linux at bootup

2003-10-28 Thread Oscar Carrillo
Also my page: http://daydream.stanford.edu/tomcat/install_web_services.html You can download one for apache, tomcat, and postgresql. It will probably be the same as the one Tim noted, except mine has a status command for tomcat that tells you how many threads/processes are running for tomcat.

RePost: Linux Kernel 2.6

2003-10-27 Thread Oscar Carrillo
. Don't mind being the first to try it out, but I'm thinking there's others who already have. If so, what's your experience? Oscar On Thu, 23 Oct 2003, Oscar Carrillo wrote: Has anyone tried running Apache/Tomcat with the new 2.6-pre kernel? Or for that matter, has anyone ran it under the mm

Re: Unable to find servlet class after reload

2003-10-25 Thread Oscar Carrillo
Your load on startup is in your applications web.xml file? Are you saying it works fine the first time you start Tomcat? If so, then maybe it doesn't get shutdown propertly, when you restart. Or do you mean just reloading the application? There's supposed to be a patch to Tomcat for fixing

Re: Unable to find servlet class after reload

2003-10-25 Thread Oscar Carrillo
Agreed. If you only look in the directory that apache.org links to, you'll see the main download but you won't see the hotfix. Only if you click on the binaries folder will you see it. I now mention it on my HOWTO page: http://daydream.stanford.edu/tomcat/install_web_services.html Maybe others

Re: mod_jk 1.2 binary for Linux?

2003-10-25 Thread Oscar Carrillo
I would recommend compiling it, and it doesn't seem that there's a linux binary available for download. I will be adding JK2 tutorial (only JK1.2 for now) shortly on my site, but looking at it now and John Turner's site, you should be able to figure it out. I find that it's always a gamble using

Re: mod_jk 1.2 binary for Linux?

2003-10-25 Thread Oscar Carrillo
Silly me. I thought you were looking for ModJK2.0. You should have no problem. And full instructions are on my site as well. http://daydream.stanford.edu/tomcat/install_web_services.html Oscar On Sat, 25 Oct 2003, Manolo Ramirez T. wrote: Hi, I sugest that you compile the src, it's not

RE: tomcat jitters, then hangs - please help

2003-10-24 Thread Oscar Carrillo
Have you updated the nptl-devel and glibc package for RedHat9? And are you running the stock kernel or have you built a new kernel? Are you using Apache in front of Tomcat? I have a suspicion that the stock redhat kernel does something strange with threading that a built kernel wouldn't do. I

Re: Embedding Tomcat Continued...

2003-10-24 Thread Oscar Carrillo
Have you tried setting in your tomcat startup script? On Fri, 24 Oct 2003, Robert Charbonneau wrote: Ok, I think I have the application where it needs to be to *server* JSPs and Servlets, except it can't seem to find the java compiler. The following is a stacktrace left by the application

Re: Embedding Tomcat Continued...

2003-10-24 Thread Oscar Carrillo
Oh right. How about including /opt/java/bin/ in your path? I'm a little unclear on the embedded Tomcat scenario, but maybe you can compile things beforehand with javac and jspc directly. Oscar On Fri, 24 Oct 2003, Robert Charbonneau wrote: On October 24, 2003 12:19 pm, Oscar Carrillo wrote

Re: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Oscar Carrillo
Port 8009 should be the port that Apache tries to talk to modjk, or is it mod_jk talks to Tomcat on that port. I don't recall but you get the idea. Is your class in this location?: $TOMCAT_HOME/webapps/yourapp/WEB-INF/classes/ Oscar On Fri, 24 Oct 2003, Kengott, Dan wrote: Hi, I'm having

RE: Removing extra white spaces in source

2003-10-24 Thread Oscar Carrillo
Whatdoyoumean? On Fri, 24 Oct 2003, Shapira, Yoav wrote: Howdy, That depends on the definition of extra ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Luiz Ricardo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:51 PM To: Tomcat-Users List

RE: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris

2003-10-24 Thread Oscar Carrillo
corresponding to the package names within classes! -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:46 AM To: Tomcat Users List Subject: Re: Apache1.3.27/Tomcat4.1.24/mod_jk-1.3-eapi.so/Solaris Port 8009 should be the port that Apache

RE: Removing extra white spaces in source

2003-10-24 Thread Oscar Carrillo
such a text processors can be trivial or highly complex. Yoav Shapira Millennium ChemInformatics -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 12:52 PM To: Tomcat Users List Subject: RE: Removing extra white spaces in source

Re: Removing extra white spaces in source

2003-10-24 Thread Oscar Carrillo
. Depending on the requirements, writing such a text processors can be trivial or highly complex. Yoav Shapira Millennium ChemInformatics -Original Message- From: Oscar Carrillo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 12:52 PM To: Tomcat Users List Subject

Oscar Carrillo's HOWTO

2003-10-23 Thread Oscar Carrillo
I've recently updated my HOWTO page for installing web services in Linux. Like John Turner's the crucial packages are built from source. The following installs and configuration are described in detail and been tested in RedHat 7.3 and RedHat 9. Tomcat 4.1.27 Apache 2.0.47 Mod_JK 1.2.5

Linux Kernel 2.6 and other info

2003-10-23 Thread Oscar Carrillo
Has anyone tried running Apache/Tomcat with the new 2.6-pre kernel? Or for that matter, has anyone ran it under the mm, or O1 scheduler patches? I'm also planning on running it with a dual AthlonMP system. Has anyone had any experiences with that, good or bad. I assume it should be no problem

Re: Linux Kernel 2.6 and other info

2003-10-23 Thread Oscar Carrillo
are better off, and helping the community, if they compile certain packages from source. I guess this turned into my 2 cents :) Oscar On Thu, 23 Oct 2003, Oscar Carrillo wrote: Has anyone tried running Apache/Tomcat with the new 2.6-pre kernel? Or for that matter, has anyone ran it under the mm

Re: IBM JRE 1.4.1 dumping core on login with http/1.0 browsers

2003-10-23 Thread Oscar Carrillo
Hmmm, I was under the impression this wasn't a problem anymore. Daniel, what RH and kernel are you running? Oscar On Thu, 23 Oct 2003, Daniel Gibby wrote: Search for Java IBM LD_ASSUME_KERNEL in google. That may be your problem. Then set an environment variable in your apache and tomcat

Re: Off-topic: File size check before upload

2003-10-23 Thread Oscar Carrillo
I don't think there's a very good way to do this. Here's a potential work around at this thread: http://www.jguru.com/faq/view.jsp?EID=1074628 On Thu, 23 Oct 2003, Jose Euclides da Silva Junior - DATAPREVRJ wrote: Hi guys, i know that here isnot the best place to ask something like that?

Re: Oscar Carrillo's HOWTO

2003-10-23 Thread Oscar Carrillo
Sorry for the bad URL. Correction below: http://daydream.stanford.edu/tomcat/install_web_services.html Oscar On Thu, 23 Oct 2003, Oscar Carrillo wrote: I've recently updated my HOWTO page for installing web services in Linux. Like John Turner's the crucial packages are built from source

Re: Tomcat Crashing on Linux

2003-07-29 Thread Oscar Carrillo
You might want to look at how many processes/threads are listed for tomcat and your database. You might see that one of them or both is creating and keeping too many threads around. At least that would be a start. For tomcat, I have a daemon script that has a status command that tells you all

Re: Tomcat Crashing on Linux

2003-07-29 Thread Oscar Carrillo
on both computers. Thanks for the advice I will follow it and let you know what I discover. Thanks, Rick Oscar Carrillo wrote: You might want to look at how many processes/threads are listed for tomcat and your database. You might see that one of them or both is creating

  1   2   >