Re: Maximum Number of processes Exceeded

2009-09-17 Thread Jason Brittain
Hi Sharath. Can you tell us more about your environment? For example: - Your operating system brand and version. - Your Tomcat version, where you initially got it, how you installed it. - Your Java VM brand and version, and whether it is a JRE or JDK. - Your Oracle version. - Your Oracle JDBC dri

Re: what does j_security_check do in clustering?

2009-09-17 Thread Rex Wang
2009/9/17 Mark Thomas > Rex Wang wrote: > > Dear Tomcat, > > > > I meet a problem when config a web project which using the form based > > security in clustering. > > Clustering or load-balancing? Whether or not session replication is > configured between your Tomcat instance's is key. > I guess

Re: tomcat & url rewrite

2009-09-17 Thread WILLIAMer
Hi, Christopher Schultz-2 If you always start your URLs with a '/', then you shouldn't have a problem. Could you explain this Sentence to me? In my jsp, i write a href="./item_.html" . Now, i need to change this link path to absolute path, right? Thanks for your help. -- View this message in

Maximum Number of processes Exceeded

2009-09-17 Thread Sharath Babu S S S
Hi, We are using Tomcat Server and oracle database. After running for a while we are getting this error in the log files. Its taking both inactive and active processess. how to remove the inactive processess so that we dont have this error. Debug: makeConnection(Database) java.sql.S

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
> From: Pid [mailto:p...@pidster.com] > Perhaps you weren't aware that some mail readers track additional > headers in the email, (as previously mentioned), to determine which > replies refer to which other emails in the thread. > > It is a tree structure so one needs to monitor the branching t

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-17 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvie, On 9/17/2009 9:12 AM, Sylvie Perrin wrote: I have a shared directory on a windows system named SHAREDDIR and containing one file named "fichié.txt" Sylvie, why do you not name your file "fichier.txt", like it sh

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Pid
On 17/09/2009 17:39, Nagulapalli, Srinivas wrote: From: Mark Thomas [mailto:ma...@apache.org] http://markmail.org/message/rz3rii2w4bdtines http://www.google.co.uk/#q=How+to+view+email+headers Thanks for the links. Beats me why changing subject is linked to original mail, when user intent

Re: access log and Apache server

2009-09-17 Thread Jason Brittain
Hi Angelo. I'm assuming you're using mod_proxy_http (you said port 80). If so, then there is indeed a way to make this work. In your Apache HTTPD config, where you're configuring proxying the request, make sure you add: ProxyVia On That will make HTTPD set the "x-forwarded-for" HTTP request he

RE: Object.Wait() in thread dumps...

2009-09-17 Thread Caldarale, Charles R
> From: keeplearning [mailto:p_sodh...@yahoo.com] > Subject: Object.Wait() in thread dumps... > > I took the thread dumps and I see most threads are waiting on > "Object.Wait" as follows: > > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:474) at > org.apache.tomca

Object.Wait() in thread dumps...

2009-09-17 Thread keeplearning
I am running a test and after 500 users or so, I start to see performance degradation. I have Apache as webserver and Tomcat to serve dynamic content. I took the thread dumps and I see most threads are waiting on "Object.Wait" as follows: at java.lang.Object.wait(Native Method) at java.lang.Obj

Re: Problem with Tomcat 6 cluster

2009-09-17 Thread Jason Brittain
Sumedh: We don't see any attachments on your emails. You might want to try attaching it again, but if it didn't come through on the first or second try then the size of the attachment might have been too large. Thanks. -- Jason Brittain On Wed, Sep 16, 2009 at 10:40 AM, Sumedh Sakdeo wrote: >

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Michael Ludwig
li...@up-south.com schrieb: before yo go lambasting about the inner workings of email, read the RFC. Now we've all made the mistake of changing subject lines. So can we please move on now Thanx Sent via BlackBerry from T-Mobile Incidentally, *your* mailer doesn't set the In-Reply-To header;

Re: decouple authentication and authorization of TOMCAT

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 9/16/2009 5:33 PM, John Chen wrote: > I think we will add the roles to AD and use AD to do the > authorization as well. Because of the naming convention applied in > the agency, we need to map the role defined in AD to the > security-role def

Re: tomcat & url rewrite

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/16/2009 10:04 PM, WILLIAMer wrote: > Let me say sorry for i didnt description the error. > The error like the path is mapping incorrectly. So, what error message do you get? > So the image or css are not display because of the path not

Re: How do I get hold of Tomcat JDBC pool lib

2009-09-17 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/jdbc-pool/ On 09/16/2009 09:18 AM, Gaurav Lohiya wrote: Hi, I recently heard about the new Tomcat JDBC library, an alternative for the DBCP lib. We see concurrency issues with the DBCP lib and are desperately looking for a lib which can work in a highly concurre

Re: Configuring second tomcat instance on same box

2009-09-17 Thread lists
before yo go lambasting about the inner workings of email, read the RFC. Now we've all made the mistake of changing subject lines. So can we please move on now Thanx Sent via BlackBerry from T-Mobile - To unsubscribe, e-mail:

Re: Create FileInputStream in servlet from remote file with accentuated character name

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvie, On 9/17/2009 9:12 AM, Sylvie Perrin wrote: > I have a shared directory on a windows system named SHAREDDIR and > containing one file named "fichié.txt" > I mount this shared directory on my Linux system with the following > command: >> mount -

Re: Horizontal Cluster Session Persistence during Failover

2009-09-17 Thread Filip Hanik - Dev Lists
serverB is not receiving multicast packets from serverA solutions: 1. fix multicasting 2. use static memberships Filip On 09/14/2009 09:06 AM, Alexander Bacon wrote: Even though my servers are configured identically (except for jvmRoutes), they're behaving differently. If the session begins on

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
> From: Mark Thomas [mailto:ma...@apache.org] > http://markmail.org/message/rz3rii2w4bdtines > http://www.google.co.uk/#q=How+to+view+email+headers Thanks for the links. Beats me why changing subject is linked to original mail, when user intent is so clear! Clicking "Reply" is to same target,

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/17/2009 4:56 AM, Mark Thomas wrote: > atroiano wrote: >> >> Is it possible? > > The way you describe? No. +1 > If you want this then you have a couple of options: > a) Do what Chris said and pass state back and forth in the request/respo

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Mark Thomas
Nagulapalli, Srinivas wrote: > >> From: Ken Bowen [mailto:kbo...@als.com] > >> It sounds like to took an existing message your received, changed the > >> subject line, and sent it. >> That re-use of an existing message is hijacking. >> When you start a new subject, you must start a fresh email

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
> From: Ken Bowen [mailto:kbo...@als.com] > It sounds like to took an existing message your received, changed the > subject line, and sent it. > That re-use of an existing message is hijacking. > When you start a new subject, you must start a fresh email to > users@tomcat.apache.org Re-use w

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Ken Bowen
On Sep 17, 2009, at 11:53 AM, Nagulapalli, Srinivas wrote: From: Mark Thomas [mailto:ma...@apache.org] Look at the headers. Specifically: In-Reply-To: <4ab2421c.1070...@kippdata.de> Please - how to see that in MS outlook, and what to do to prevent it? I used MS Outlook to post, had specifi

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
> From: David kerber [mailto:dcker...@verizon.net] > It looks like you may have missed the shutdown port. Thanks David. I changed this line from server.xml where initially port was 8005 and I bumped it to 8006. I hope I am looking at the right thing. ___

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
> From: Mark Thomas [mailto:ma...@apache.org] > Look at the headers. Specifically: > In-Reply-To: <4ab2421c.1070...@kippdata.de> Please - how to see that in MS outlook, and what to do to prevent it? I used MS Outlook to post, had specifically new subject line, not a word from any other post. No

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Mark Thomas
David kerber wrote: > Mark Thomas wrote: >> Please don't hijack threads. >> >> Mark > > I don't see a thread hijack here; it came through as a new post on my > installation of Thunderbird. Look at the headers. Specifically: In-Reply-To: <4ab2421c.1070...@kippdata.de> Mark ---

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Mike Baranski
http://www.urbandictionary.com/define.php?term=thread+hijacking >-Original Message- >From: Nagulapalli, Srinivas [mailto:srinivas.nagulapa...@starwoodvo.com] >Sent: Thursday, September 17, 2009 11:30 AM >To: Tomcat Users List >Subject: RE: Configuring second tomcat instance on same box > >

Re: Configuring second tomcat instance on same box

2009-09-17 Thread David kerber
Mark Thomas wrote: Please don't hijack threads. Mark I don't see a thread hijack here; it came through as a new post on my installation of Thunderbird. D Nagulapalli, Srinivas wrote: I am trying to create second Tomcat instance on same machine. Installed Tomcat into separate folder say

Re: Configuring second tomcat instance on same box

2009-09-17 Thread David kerber
It looks like you may have missed the shutdown port. Nagulapalli, Srinivas wrote: I am trying to create second Tomcat instance on same machine. Installed Tomcat into separate folder say c:\tomcat2 and changed the conf/server.xml port numbers to different values. Basically I bumped the Server po

RE: Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
This is my first post after joining the list yesterday. Please clue me in as to what the error is. Best Srini -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Please don't hijack threads. Mark This electronic message transmission contains information from the Company t

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Mark Thomas
Please don't hijack threads. Mark Nagulapalli, Srinivas wrote: > I am trying to create second Tomcat instance on same machine. > Installed Tomcat into separate folder say c:\tomcat2 and changed > the conf/server.xml port numbers to different values. > Basically I bumped the Server port from 8005

Configuring second tomcat instance on same box

2009-09-17 Thread Nagulapalli, Srinivas
I am trying to create second Tomcat instance on same machine. Installed Tomcat into separate folder say c:\tomcat2 and changed the conf/server.xml port numbers to different values. Basically I bumped the Server port from 8005 to 8006, connector port to 8081 from 8080 and redirectPort to 8444 (from

Re: access log and Apache server

2009-09-17 Thread Rainer Jung
On 17.09.2009 15:26, Tim Funk wrote: > There is no way. > > But you can alter the format property to log the Via header which does > have the ip address. (But it will also have more text in it too) The X-Forwarded-For request header should do it. mod_proxy sets it. If you use mod_proxy_ajp, then

Re: Re : Connection Closed Issue

2009-09-17 Thread Juha Laiho
Could there be a firewall dropping inactive connections between the production app.server and database? (and, naturally, no such firewall between test env. app.server and database) -- ..Juha Sharath Babu S S S wrote: Yes i have validation query specified. In developement we are having the same

Re: access log and Apache server

2009-09-17 Thread Tim Funk
There is no way. But you can alter the format property to log the Via header which does have the ip address. (But it will also have more text in it too) The javadocs for AccessLogValve have all the variables you can use. -Tim Angelo Chen wrote: Hi, I run tomcat behind an Apache server, Apac

Create FileInputStream in servlet from remote file with accentuated character name

2009-09-17 Thread Sylvie Perrin
I have a problem with Tomcat 6.0 on Linux and I haven't been able to determine the cause or solution. I have a shared directory on a windows system named SHAREDDIR and containing one file named "fichié.txt" I mount this shared directory on my Linux system with the following command: > mount -t

access log and Apache server

2009-09-17 Thread Angelo Chen
Hi, I run tomcat behind an Apache server, Apache will proxy to tomcat from port 80, this works quite well, but the access log in tomcat shows only 127.0.0.1, not the real IP: 127.0.0.1 - - [17/Sep/2009:08:51:21 -0400] "POST /sendmsg HTTP/1.1" 302 - any idea how to have real IP in the log? Thank

Re: Number of threads

2009-09-17 Thread Rajwinder-office Singh
On apache side i assume we are talking about worker MPM. I usually do it with ps -eLf | grep apache ( or what ever user apache is running on ) or enable "server-status" in the apache config and hit https://yourserver/server-status. this will even give u the state of thread. On Wed, Sep 16, 2009

Re: Problem sending PDF from Tomcat thru IIS (mod_jk)

2009-09-17 Thread Mark Thomas
ronnie.furus...@knowit.se wrote: > I have a java servlet the sends the PDF-file. > > Works fine when I browsing directly to Tomcat but not when trying to get the > PDF thru IIS. > > IIS 6.0 > Tomcat 6.0 > isapi_redirect-1.2.28 > MS Windows Server 2003 http://catb.org/~esr/faqs/smart-questions.h

Re: java.lang.UnsupportedClassVersionError

2009-09-17 Thread Phani Raj Kumar
Thanks peter, Actually JDK was pointing to 1.4 so was not working. After it is changed to 1.6 it is now working fine. On Thu, Sep 17, 2009 at 12:35 PM, Peter Crowther < peter.crowt...@melandra.com> wrote: > 2009/9/17 Phani Raj Kumar > > > Exception in thread "main" java.lang.UnsupportedClassVers

Problem sending PDF from Tomcat thru IIS (mod_jk)

2009-09-17 Thread ronnie.furuskog
I have a java servlet the sends the PDF-file. Works fine when I browsing directly to Tomcat but not when trying to get the PDF thru IIS. IIS 6.0 Tomcat 6.0 isapi_redirect-1.2.28 MS Windows Server 2003 - To unsubscribe, e-mail:

Re: what does j_security_check do in clustering?

2009-09-17 Thread Mark Thomas
Rex Wang wrote: > Dear Tomcat, > > I meet a problem when config a web project which using the form based > security in clustering. Clustering or load-balancing? Whether or not session replication is configured between your Tomcat instance's is key. > When I set session affinity = true in my fron

Re: Internal Server Error debug

2009-09-17 Thread Mark Thomas
aditya darbha wrote: > HelloI am using an application which is using Tomcat. My application > takes sometime to perform an operation ( more than a hour), in the mean time > I just display a progress message in the browser. However after sometime ( > after about 50-55 minutes), the server throws

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread Mark Thomas
atroiano wrote: > > Christopher Schultz-2 wrote: >> >> This is a question that you will have to answer: what information is >> absolutely necessary for you to resume a user interaction in-progress? >> Whatever that is, you'll need to include that information in every >> single link that a user can

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread atroiano
Christopher Schultz-2 wrote: > > > This is a question that you will have to answer: what information is > absolutely necessary for you to resume a user interaction in-progress? > Whatever that is, you'll need to include that information in every > single link that a user can click on (or in eve

Re: java.lang.UnsupportedClassVersionError

2009-09-17 Thread Peter Crowther
2009/9/17 Phani Raj Kumar > Exception in thread "main" java.lang.UnsupportedClassVersionError: > org/apache/catalina/startup/Bootstrap (Unsupported major.minor version > 49.0) > > JDK version: 1.6.0 > For some reason, Tomcat isn't using that JDK - it's using some other one somewhere on the syste