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 th

RE: Need some Tomcat Configuration help badly

2003-12-17 Thread Oscar Carrillo
ctice, but it's an easy enough mistake to make ;) The above is > an implementation of an example mentioned on this thread: > http://forum.java.sun.com/thread.jsp?forum=4&thread=456545&message=20839 > 57. There are others... > > Yoav Shapira > Millennium ChemInforma

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 o

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 kern

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: 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 fi

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 spi

RE: Linux Kernel 2.6.0 success

2004-01-03 Thread Oscar Carrillo
.html Oscar On Sat, 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 > > > &

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. > > > Wa

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

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, ap

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 prod

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

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: > > http:/

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. Oscar

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: 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 ha

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? ;-) O

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 -lex

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 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 Apache config

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 def

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 t

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 include

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, ca

RE: Calling a JSP from a virtual host

2004-01-15 Thread Oscar Carrillo
> (let's say from www.anyVirtualHost.com) I must use > http://www.defaultVirtualHost.com/anyTomcatApp/myJspPage.jsp instead of > http://www.anyVirtualHost.com/anyTomcatApp/myJspPage.jsp > > Any help would be appreciated. Thanks again, > Dolores > > -Original Message- > F

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 Schultz

RE: Calling a JSP from a virtual host

2004-01-16 Thread Oscar Carrillo
b_services.html 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 vi

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, whic

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 run

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/ I

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

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 2

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
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,

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 k

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 Mavrouka

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
t;, then it will be global and all hosts 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 sc

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
that ppl automatically get moved to https. 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 descript

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 t

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
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 Carrillo: > > I believe you need to setup a VirtualHost section in httpd.conf even if > > you don't

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
ebapp/ 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'

Updated WebApp Tutorial

2004-02-01 Thread Oscar Carrillo
s it will display your database configuration. -- 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: 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
rote: > > From: Oscar Carrillo [mailto:[EMAIL PROTECTED] > > 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? > > Yes. :( And most of my users are on IE. >

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 JRE.

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 j

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-04 Thread Oscar Carrillo
ssume you need to do? 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

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 > &g

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. http

<    1   2