Re: tomcat connection pooling problem

2008-06-09 Thread Youssef Mohammed
this class what i was talking about http://download-uk.oracle.com/docs/cd/B10501_01/java.920/a96654/oci_func.htm#1014118 On Mon, Jun 9, 2008 at 8:53 PM, Youssef Mohammed <[EMAIL PROTECTED]> wrote: > for oracle database, you can just use their native driver (oci driver), > they have a Pooled Dat

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-09 Thread Bill Davidson
Christopher Schultz wrote: Unfortunately, this is expected behavior. If the JSESSIONID cookie is created for the first time during an HTTPS transaction, then the cookie will me marked as "secure", and the browser will not send it when switching back to non-SSL HTTP. You have two options, here:

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Johnny Kewl
- Original Message - From: "Bill Davidson" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 10, 2008 3:43 AM Subject: Re: Session lost when switching from https to http after upgrade to Tomcat 6 Johnny Kewl wrote: maybe moving from HTTPs to HTTP is just a bad idea.

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 10, 2008 3:19 AM Subject: Re: Session lost when switching from https to http after upgrade to Tomcat 6 - Original Message - From: "Bill Davidson" <[EMAIL PROTECTED]>

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Bill Davidson
Johnny Kewl wrote: maybe moving from HTTPs to HTTP is just a bad idea. No doubt. However, I didn't design this app and it's not up to me. BTW, it's an old app. It's running on Tomcat 3.2.4 in production to give you an idea of its age. We want to move to a newer server first and then work on m

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Johnny Kewl
- Original Message - From: "Bill Davidson" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, June 09, 2008 7:17 PM Subject: Re: Session lost when switching from https to http after upgrade to Tomcat 6 Johnny Kewl wrote: Bill... Just lose the FORM authentication, replace it

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Bill Davidson
Martin wrote: If you're in a secure location that disallows cookies..you can always try url-rewrite Sorry if I seem a bit dim but I don't understand how url-rewriting helps me with cookie problems. - To start a new topic, e-

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Martin
If you're in a secure location that disallows cookies..you can always try url-rewrite Tomcat http://tuckey.org/urlrewrite/ Caucho http://www.caucho.com/resin/doc/rewrite-tags.xtp Apache mod_rewrite http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html HTH Martin - Original Message -

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Bill Davidson
BTW, I forgot to thank everyone for helping me to understand what this problem better. Understanding that the cookie was being created by Tomcat with the secure flag and that the flag was causing the problem was the key. Thanks everyone. --Bill Davidson ---

OutOfMemoryError while deploying

2008-06-09 Thread Reid Swanson
Hi, I have a web app that includes a large amount of data and I am having trouble deploying it. Nearly every time I try it fails with the following error. SEVERE: HTMLManager: FAIL - Deploy Upload Failed, Exception: Error invoking method check javax.management.RuntimeErrorException: Error invokin

Re: tomcat connection pooling problem

2008-06-09 Thread Htin Kyaw Nyo
yes, i believe my oracle db reboot once in a while, but I have no control over rebooting db server since its for weekly maintenance. I will try to use validationQuery as Thomas mentioned. Thanks On Mon, Jun 9, 2008 at 1:43 PM, Propes, Barry L <[EMAIL PROTECTED]> wrote: > is this possibly Oracle r

Re: tomcat connection pooling problem

2008-06-09 Thread Htin Kyaw Nyo
Thanks Thomas, validationQuery method seems promising. I will configure and see if the issue is still there when the db server reboot. Thanks a lot. On Mon, Jun 9, 2008 at 1:21 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Htin Kyaw Nyo wrote: > >> Hi >> >> I am using tomcat55 and ojdbc14_g an

Re: Tomcat-5.5 run error on red hat

2008-06-09 Thread kohanm
here they are: [EMAIL PROTECTED] usr]# cd java [EMAIL PROTECTED] java]# ls [EMAIL PROTECTED] java]# ls -ls total 19328 8 drwxr-xr-x 9 root root 4096 Mar 6 10:57 jdk1.6.0_02 8 drwxr-xr-x 8 root root 4096 Mar 6 12:58 jre1.6.0_05 19312 -rwxr-xr-x 1 root root 19745768 Mar 6 12:51

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Bill Davidson
Bill Davidson wrote: I'm confused so I'm not sure what I say below makes sense. If I'm reading these posts correctly, the cookie is issued by the front end (which is Apache web server). Since it is created on an https session, it is being marked as "secure". When browser switches to a non-s

RE: Tomcat-5.5 run error on red hat

2008-06-09 Thread Caldarale, Charles R
> From: kohanm [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat-5.5 run error on red hat > > I changed all files owner and grp to the root Not a particularly good idea. > this is what i have: But you didn't show us what's in /usr/java/jdk1.6.0_02/bin - which appears to be where the problem lies.

Re: Tomcat-5.5 run error on red hat

2008-06-09 Thread kohanm
Thanks Charles, I am new to linux. I changed all files owner and grp to the root but still I get the same error. this is what i have: [EMAIL PROTECTED] usr]# cd java [EMAIL PROTECTED] java]# ls -l total 19328 drwxr-xr-x 9 root root 4096 Mar 6 10:57 jdk1.6.0_02 drwxr-xr-x 8 root root 40

RE: Tomcat-5.5 run error on red hat

2008-06-09 Thread Caldarale, Charles R
> From: kohanm [mailto:[EMAIL PROTECTED] > Subject: Tomcat-5.5 run error on red hat > > And I set up PATH and JAVA_HOME on* .bash_profile*: > In *catalina.ou*t get error: > line 275: /usr/java/jdk1.6.0_02/bin*/java*: *No such file or > directory* Why does your e-mail have so many apparently spuri

Tomcat-5.5 run error on red hat

2008-06-09 Thread kohanm
Hi, I downloaded and installed apache-tomcat-5.5.26.tar.gz on /usr/local/apache-tomcat-5.5.26 And I set up PATH and JAVA_HOME on* .bash_profile*: PATH=$PATH:$HOME/bin export PATH=$PATH:/usr/java/jdk1.6.0_02/bin export JAVA_HOME=/usr/java/jdk1.6.0_02 -- when i run startup.sh get: Usin

Re: multiple tomcat process scenario

2008-06-09 Thread Yu, Ming
Hi! Guys, I have experience the following scenario in several instances without any clue: 1) I have tomcat 5.5 configured on Solaris 10 machine and started automatically using jsvc. 2) After the service is initiated, there are two processes staying resident in memo

Re: request for simplistic Tomcat 5.5 log config

2008-06-09 Thread Mark H. Wood
On Fri, Jun 06, 2008 at 12:54:26AM +0200, André Warnier wrote: > Mark Thomas wrote: >> André Warnier wrote: >>> (This is Linux Debian Etch, with Tomcat5.5 out of the box, standard >>> apt-get install.) >> Without knowing if/how 5.5.x has been mangled by the packaging process it >> is going to be

Re: Problem with FarmWarDeployer

2008-06-09 Thread Filip Hanik - Dev Lists
no work has been done on the farm deployer, and I can't say it has been working reliably in 5.5 and 6.0 work and patches are welcome Filip Vicente Tarín Font wrote: Hi guys! I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16 (win32), and I have 2 instances on the same ma

Re: tomcat connection pooling problem

2008-06-09 Thread Youssef Mohammed
for oracle database, you can just use their native driver (oci driver), they have a Pooled DataSource that will manage the pooling natively ... you don't need dbcp then. On Mon, Jun 9, 2008 at 5:26 PM, Htin Kyaw Nyo <[EMAIL PROTECTED]> wrote: > Hi > > I am using tomcat55 and ojdbc14_g and tomca

RE: tomcat connection pooling problem

2008-06-09 Thread Propes, Barry L
is this possibly Oracle rebooting by its own settings? -Original Message- From: Htin Kyaw Nyo [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2008 9:27 AM To: Tomcat Users List Subject: tomcat connection pooling problem Hi I am using tomcat55 and ojdbc14_g and tomcat connection pooling

Re: SSL Help Tomcat 6

2008-06-09 Thread Mark Thomas
Alexander Diedler wrote: Hello @ll, I don't find any solution for my problem. I have a Webserver with three Applications and need 3 SSL Certificates. How I have to generate the CSRs? keytool It is correct to generate one KEystore and generate 3 CSRs out of this Keystore? That should work

Re: tomcat connection pooling problem

2008-06-09 Thread Mark Thomas
Htin Kyaw Nyo wrote: Hi I am using tomcat55 and ojdbc14_g and tomcat connection pooling. I am getting this error when i leave tomcat run for a couple of days. I searched around the internet and people blaming firewall and connection issues by db server. here is a brief error: java.sql.SQLExcept

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Bill Davidson
Johnny Kewl wrote: Bill... Just lose the FORM authentication, replace it with DIGEST, or even BASIC I think all your problems will go away. I'm not exactly sure what you're saying. Are you saying that I shouldn't be authenticating through a form?

Re: ArrayIndexOutOfBoundsException at InternalOutputBuffer.write

2008-06-09 Thread Mark Thomas
Jörg Fröber wrote: Hello, using Tomcat 6.0.12 on one jsp page sometimes the following error occurs: java.lang.ArrayIndexOutOfBoundsException: 8192 That looks like a Tomcat bug. Do you see the same problem with the latest 6.0.x source from subversion? Mark --

Re: Unable to Start Tomcat 6 with Catalina Base Set

2008-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Wick wrote: |> I installed Tomcat 6.0.16 to /usr/local/apache-tomcat-6.0.16 (this is |> my CATALINA_HOME). Then I made an instance of tomcat at |> /var/www/tomcat-instances/default-tomcat6 (this is my CATALINA_BASE). |> |> My CATALI

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Davidson wrote: | One other thing I just noticed. The login servlet runs | under https. After successful login, including creating a valid | session, it calls | HttpServletResponse.sendRedirect("http://myHost.myDomain.com/context/servlet

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Davidson wrote: | Martin wrote: |> if your client doesnt want to write cookies |> URL-rewrite is the answer |> http://tuckey.org/urlrewrite/ |> |> Apache analog is mod_rewrite | | I don't understand. That's because Martin's comment is nei

SSL Help Tomcat 6

2008-06-09 Thread Alexander Diedler
Hello @ll, I don't find any solution for my problem. I have a Webserver with three Applications and need 3 SSL Certificates. How I have to generate the CSRs? It is correct to generate one KEystore and generate 3 CSRs out of this Keystore?

Re: Application versioning

2008-06-09 Thread tecnic5
Hi all, hi Rainer, Thanks for your quick reply. I checked your suggestion, they are indeed POST requests, but its size never exceeds 0,5KB, far below the 8KB threshold. On the other hand, the request is done over a JSP file, that file compiles properly (also checked); the thing is this

Re: Junk Mail problem on intranet application

2008-06-09 Thread Len Popp
Both the Exchange server and the email client (Outlook) can filter messages. You'll have to check the filtering settings on both client & server to find out exactly why your emails are marked as spam. -- Len On Mon, Jun 9, 2008 at 08:36, Arun <[EMAIL PROTECTED]> wrote: > Hi, > > I have struts2/s

Re: Application versioning

2008-06-09 Thread tecnic5
Hi Denis, I think you just need to properly config your Context node in server.xml. You can specify on one hand the context (that is, the text after "localhost/" in the URL) and the location (that is, where your app actually is). Changing location while keeping context will make you ser

tomcat connection pooling problem

2008-06-09 Thread Htin Kyaw Nyo
Hi I am using tomcat55 and ojdbc14_g and tomcat connection pooling. I am getting this error when i leave tomcat run for a couple of days. I searched around the internet and people blaming firewall and connection issues by db server. here is a brief error: java.sql.SQLException: Io exception: Conne

Application versioning

2008-06-09 Thread Denis Cossutta
I have multiple version of an application and i would like to switch from one to the other in a transparent way. This means that i would like to access it always through the same url ( localhost/myapp ), but pointing to myapp-1.1, or myapp-1.2 etc. etc. Thanks

Re: Problem in starting tomcat

2008-06-09 Thread Steve Ochani
Date sent: Mon, 09 Jun 2008 06:23:08 -0700 (PDT) From: Raghavan_sat <[EMAIL PROTECTED]> Subject:Problem in starting tomcat To: users@tomcat.apache.org Send reply to: Tomcat Users List > > Hi, >I downloaded apache-tom

Re: Problem in starting tomcat

2008-06-09 Thread Martin
Do you have Native POSIX Thread Library installed? Identification of this subsystem features as well as which package you should download are available at http://linux-sxs.org/internet_serving/c140.html also be aware of the environmental parameters that tomcat uses an example is located at # y

Re: Junk Mail problem on intranet application

2008-06-09 Thread Steve Ochani
Date sent: Mon, 09 Jun 2008 18:06:38 +0530 From: Arun <[EMAIL PROTECTED]> Subject:Junk Mail problem on intranet application To: Tomcat Users List Send reply to: Tomcat Users List > Hi, > > I have struts2/spring/JPA/hibernate HR application. > I am sending mails using Spring'

Problem in starting tomcat

2008-06-09 Thread Raghavan_sat
Hi, I downloaded apache-tomcat-5.5.23.tar.gz and extracted it. Am using jdk 1.6.0_05. When i start tomcat it starts fine and no error is been shown in the catalina.out. But when i open the browser and load http://localhost:8080/ its showing a blank page. The OS is Fedora 8. What should i do to

Re: jkmanager node limitation

2008-06-09 Thread Mohan2005
Thank you. Mladen Turk-4 wrote: > > Mohan2005 wrote: >> Hello All; >> >> Can you please tell me the maximum number of nodes a JkManager can handle >> without any issues ? >> > > Theoretically unlimited, but number of workers is defined by int, > thus 2^31 - 1, for 32-bit integer systems. >

RE: Slight confusion about httpd with Tomcat.

2008-06-09 Thread Caldarale, Charles R
> From: Philip Wigg [mailto:[EMAIL PROTECTED] > Subject: Slight confusion about httpd with Tomcat. > > Does it say "when using a single server" because it assumes you'd > need httpd to do load-balancing if you had multiple servers? Yes. > I don't need httpd for load-balancing, so does the above s

Junk Mail problem on intranet application

2008-06-09 Thread Arun
Hi, I have struts2/spring/JPA/hibernate HR application. I am sending mails using Spring's helper. My app is sending out an email which contans a url which points to my app http://10.201.0.18:8080/myapp. And which ever mail this contains the url is getting into junk mail folder of outlook. Is there

Run several applications on different ports, isolated from each other

2008-06-09 Thread Yves Glodt
Hello, I use tomcat 5.5 on debian etch, for running OpemCms, which is set up to run in the ROOT webapp. I need to run now another application on tomcat, and what I think to do is to have another "instance" of tomcat running on another port, isolated from my OpenCms, with a different webapps fo

Slight confusion about httpd with Tomcat.

2008-06-09 Thread Philip Wigg
Hi, On this page:- http://tomcat.apache.org/tomcat-6.0-doc/connectors.html it says, "When using a single server, the performance when using a native webserver in front of the Tomcat instance is most of the time significantly worse than a standalone Tomcat with its default HTTP connector, even if

Re: webapp not working any more since Tomcat 5.5.26

2008-06-09 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Hi all: I've been strugling with this weird problem with no luck, so I finally decided to post it to the list hoping someone has any clue on how to go on. I have a beatiful webapp (well, a webapp) that has been working flawlessly with different Tomcat versions

Re: Authenticate with X509 certification

2008-06-09 Thread Andreas Huelsing
Hi Luis, sorry, at this point I can't help you. Never done sth. similar. andreas Luis Pascual Forner schrieb: Hi, Andreas I think that I did'nt explained correctly. What I would is to have some pages that requires authentication, and others not (as in Apache server, where is possible to set S

Re: Authenticate with X509 certification

2008-06-09 Thread Luis Pascual Forner
Hi, Andreas I think that I did'nt explained correctly. What I would is to have some pages that requires authentication, and others not (as in Apache server, where is possible to set SSLVerifyClient at directory level). Because the "clientAuth" attribute is at the "Connector" level, I do'nt want t

webapp not working any more since Tomcat 5.5.26

2008-06-09 Thread tecnic5
Hi all: I've been strugling with this weird problem with no luck, so I finally decided to post it to the list hoping someone has any clue on how to go on. I have a beatiful webapp (well, a webapp) that has been working flawlessly with different Tomcat versions from 5.5.9 to 5.5.25. Exac

Re: Access static content ("logs" folder) ?

2008-06-09 Thread karthikn
Hi Thnx ... This really works with regards Karthik Johnny Kewl wrote: - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, June 08, 2008 2:54 AM Subject: RE: Access static content ("logs" folder) ? From: Johnny Kewl [mail

Re: Authenticate with X509 certification

2008-06-09 Thread Andreas Huelsing
Ok, you know, that you have to use ssl/tsl or some challenge-response protocol to ensure that the owner of the certificate also owns the corresponding private key? So the best way might be to use ssl with client auth and an all trusting trustmanager which accepts every certificate but checks

ArrayIndexOutOfBoundsException at InternalOutputBuffer.write

2008-06-09 Thread Jörg Fröber
Hello, using Tomcat 6.0.12 on one jsp page sometimes the following error occurs: java.lang.ArrayIndexOutOfBoundsException: 8192 at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:720) at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.

Re: Session lost when switching from https to http after upgrade to Tomcat 6

2008-06-09 Thread Rainer Jung
krusek schrieb: We use tomcat forms authentication and it is cookies being used. There are 3 cookies, JSESSONIDSSO, test and JSESSONID. Not sure how you tell if its marked secure? The test cookie is for testing to assure cookies are enabled. As explained below, my Firefox tells me, for whi

Problem with FarmWarDeployer

2008-06-09 Thread Vicente Tarín Font
Hi guys! I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16 (win32), and I have 2 instances on the same machine. All is working ok except when I try to deploy a war file.=20 I have this cluster config(this is for node 2, node 1 only changes ports = and dirs):

Re: Jk connector stops working

2008-06-09 Thread Rainer Jung
Andrea Di Muro schrieb: Is your OOME coming from heap? What's the exact message, JVM version and TC version? Tomcat version is 5.5.20 running on JVM 1.5.0_10-b03 This is the error I get in the log file: Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOf

Re: Configuring Apache with Tomcat using mod_jk connector

2008-06-09 Thread Rainer Jung
Caldarale, Charles R schrieb: From: Thanuja Danda [mailto:[EMAIL PROTECTED] Subject: Re: Configuring Apache with Tomcat using mod_jk connector I removed the workers.java_home and workers.tomcat_home from workers.properties. I was just following the instructions from http://tomcat.apache.org/conn