how to over come toomanyconnection error when communicatingMYSQL

2006-08-11 Thread prakash shanmugam
hai all, i have one major issue in my project.. My project is developed using jsp,servlets in Tomcat5 with MySql as database.. i am using type1 driver My project is now used by end users in intranet.. When multiple users are accessing at the same time ,its throwing too many connections exception

how to over come toomanyconnection error when communicatingMYSQL

2006-08-11 Thread prakash shanmugam
hai all, i have one major issue in my project.. My project is developed using jsp,servlets in Tomcat5 with MySql as database.. i am using type1 driver My project is now used by end users in intranet.. When multiple users are accessing at the same time ,its throwing too many connections exception

Re: how to over come toomanyconnection error when communicatingMYSQL

2006-08-11 Thread David Delbecq
prakash shanmugam wrote: hai all, i have one major issue in my project.. My project is developed using jsp,servlets in Tomcat5 with MySql as database.. i am using type1 driver My project is now used by end users in intranet.. When multiple users are accessing at the same time ,its throwing too

Re: [OT] how to over come toomanyconnection error when communicatingMYSQL

2006-08-11 Thread Bob Hall
--- prakash shanmugam [EMAIL PROTECTED] wrote: hai all, i have one major issue in my project.. My project is developed using jsp,servlets in Tomcat5 with MySql as database.. i am using type1 driver My project is now used by end users in intranet.. When multiple users are accessing at the

Re: Problem with redeploying webapp in tomcat

2006-08-11 Thread Mikolaj Rydzewski
Venkatesh Babu wrote: My problem is that - This process went fine for a few days, but now I'm getting OutOfMemoryException when performing this process on tomcat server. I've pasted the stack trace of the exception below: It's a well known problem. In some situations Tomcat is unable to free

Tomcat 5.5 Cannot create PoolableConnectionFactory

2006-08-11 Thread jcbf
Dear guys, I apologize for the false alarm. It was my mistake for not providing the correct database name. Everything works ok ! Nevertheless, the configuration example could be used by those who Have some trouble into getting these things to work. Thanks again. João Brägger

AW: Iis 6.0 Tomcat 5.5 without isolation mode

2006-08-11 Thread Florian Nahnsen
Hi Christian, we're running an IIS 6.0 with TomCat 5.0.28 and connected them with: http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2 .15/isapi_redirect.msi Regards, Florian -Ursprüngliche Nachricht- Von: christian75 [mailto:[EMAIL PROTECTED] Gesendet:

Unknown attribute type (String) for attribute folder.

2006-08-11 Thread Edoardo Panfili
hi, I have a custom tag that seems not work as I need. I need th use the tag with a parameter that I know only at run time. For this reason I put rtexprvaluetrue/rtexprvalue in the tag description. When I use the tag Tomcat (5.5.17) raises that exception: 11-ago-2006 10.55.47

Running web application on Tomcat on a Windows Server - License question

2006-08-11 Thread Ravindran Rabindran
Hello all, I am interested in deploying some JSP web applications on Tomcat. Data for these application will reside in a MySQL database. My preference is that the server computer hosting these web applications run on a Windows 2003 Server. The server computer has 4 GB of memory. The

RE: Running web application on Tomcat on a Windows Server - License question

2006-08-11 Thread Peter Crowther
From: Ravindran Rabindran [mailto:[EMAIL PROTECTED] My preference is that the server computer hosting these web applications run on a Windows 2003 Server. The server computer has 4 GB of memory. The application authentication will be based on userid/passwords residing in the MySQL

Re: Unknown attribute type (String) for attribute folder.

2006-08-11 Thread Pid
java.lang.String, not String Edoardo Panfili wrote: hi, I have a custom tag that seems not work as I need. I need th use the tag with a parameter that I know only at run time. For this reason I put rtexprvaluetrue/rtexprvalue in the tag description. When I use the tag Tomcat (5.5.17)

Can you see in the Tomcat 5.5 logs that Security manager is active ( Windows is active) ?

2006-08-11 Thread Alain . Vandermeersch
I started Tomcat 5.5 as a Windows service using command Tomcat5 //RS//Tomcat5 -security I have an application that writes to the file system and the default policy does not seem to prevent it I saw some parms must be prefixed by a double minus sign - should I specify --security or is

Character encoding, once again....

2006-08-11 Thread dizzi
Im not sure if this is problem of tomcat, but i think that its most probable. Problem: Data received from form are not encoded corectly. (tomcat 5.5, utf-8, win xp/RHEL4, struts) Symptoms: Data in request are completly screwed. (no matter if im displaying it in utf-8 console, or sending

Re: Unknown attribute type (String) for attribute folder.

2006-08-11 Thread Edoardo Panfili
Pid ha scritto: java.lang.String, not String it works (obviously) thanks a lot. Edoardo Edoardo Panfili wrote: hi, I have a custom tag that seems not work as I need. I need th use the tag with a parameter that I know only at run time. For this reason I put rtexprvaluetrue/rtexprvalue in

Problem with java_opts in catalina.sh

2006-08-11 Thread Jim Mensinger
Hi everyone, I am trying to install open xchange on a fresh install of fedora core 4. To make life easier I followed the instructions from: http://www.open-xchange.org/attachments/fedora-4_apache2.php.htm I am having problems with the java_opts =

getting authentication information from apache

2006-08-11 Thread Jason Nesbitt
I'm using apache as a front end to my tomcat 5.5 server and they are connected through the AJP 1.3 Connector. The problem I am having is that the authentication info doesn't seem like its getting propagated from apache to tomcat. When I call request.getRemoteUser() it returns null though I was

Re: Problem with java_opts in catalina.sh

2006-08-11 Thread Pid
You probably want the Open Exchange mailing list, rather than the Tomcat one... Jim Mensinger wrote: Hi everyone, I am trying to install open xchange on a fresh install of fedora core 4. To make life easier I followed the instructions from:

Re: getting authentication information from apache

2006-08-11 Thread Pid
http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html set Connector ... tomcatAuthentication=false ... Jason Nesbitt wrote: I'm using apache as a front end to my tomcat 5.5 server and they are connected through the AJP 1.3 Connector. The problem I am having is that the authentication info

performance question

2006-08-11 Thread Propes, Barry L
I'm having some problems this morning with performance. How can I easily determine if it's servlets, or Tomcat, as opposed to possibly the database (Oracle) I'm using? I've not had this problem before. Barry

Re: getting authentication information from apache

2006-08-11 Thread Pid
I don't know of a way to make that happen, sorry. I don't think Apache's authentication mechanism permits (what are effectively) proxy sources access to the request in that way. Marc Farrow wrote: Thanks for the tip Pid. How do you go the other way? What if I have an Apache installation

Re: Problem with java_opts in catalina.sh

2006-08-11 Thread Jim Mensinger
Well seeing as how its the tomcat start that is causing the problems I think this is the right place...The only way I can see it being an OX problem is if the file they provided is more or less formatted incorrectly but I doubt that would cause Tomcat to issue a file not found error. Catalina.sh

Re: Mod_jk balancing, session problem

2006-08-11 Thread Artur
Choose the suggested access log methods to improve observability (URLs and Cookie and Set-Cookie Headers. We make some tests with error log set to debug, but it is so many informations in the log (even the decrypted password !!, should it be so ??) that it may take some time to analyse

Run Tomcat in Eclipse

2006-08-11 Thread Zach Calvert
I am trying to configure Eclipse 3.2 with Tomcat 5.5.17 and Java jdk1.5.0_08. In Tomcat 4.x days, I could set up a run configuration and have it run using Eclipse's run interface. I am trying to duplicate the process for 5.5.17, but am having difficulty. First off, I have tried searching

Re: Run Tomcat in Eclipse

2006-08-11 Thread dizzi
Iam using Eclipse 3.2 with tcat 5.5.17 and jdk 1.5.0_07 In old version i used that sysdeo plugin, but now im using eclipse with WTP, it has nice support for deploying applications and manage servers. d. On Fri, 11 Aug 2006 19:08:58 +0200, Zach Calvert [EMAIL PROTECTED] wrote: I am

RE: Session cookie location?

2006-08-11 Thread Propes, Barry L
can't you go to IE and view all the cookies there? -Original Message- From: Warren [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 8:55 PM To: users@tomcat.apache.org Subject: Session cookie location? I need to find out where the session cookie is located on a Windows client

RE: Run Tomcat in Eclipse

2006-08-11 Thread Zach Calvert
I'm trying to avoid additional plugins for setting up this server run. There really shouldn't be a good reason why I can't run this using an eclipse run configuration. -Original Message- From: dizzi [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 12:22 PM To: Tomcat Users List

RE: Session cookie location?

2006-08-11 Thread Marc Richards
By default, session cookies don't get stored on disk. If the max age attribute of a cookie is 0 or less, the cookie resides only in a browser's memory and disappears entirely once the browser session is ended. In order to make it get stored to disk, you have to modify the cookie to have a longer

RE: getRealPath and war file

2006-08-11 Thread Propes, Barry L
can you not put the images in an image dir, and always source them to that directory? i.e. img src=../../images/** ? -Original Message- From: Romain Quilici [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 1:05 AM To: Tomcat Users List Subject: Re: getRealPath and war file

てst

2006-08-11 Thread win_mail2007
てst - Let's start Yahoo! Auction - Free Campaign Now!

RE: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-11 Thread Propes, Barry L
what about getRemoteHost()? -Original Message- From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 5:30 PM To: Tomcat Users List Subject: Re: Session hijacking with Tomcat/Myfaces - unable to fix it Hello David, Tomas: About two months ago, I tried using the

Re: Problem with java_opts in catalina.sh

2006-08-11 Thread Markus Schönhaber
Jim Mensinger wrote: Well seeing as how its the tomcat start that is causing the problems I think this is the right place...The only way I can see it being an OX problem is if the file they provided is more or less formatted incorrectly but I doubt that would cause Tomcat to issue a file not

error-page problem with tomcat 5.5.17

2006-08-11 Thread Veit Guna
Hi. I've got a strange problem with the error-page directive and tomcat 5.5.17 + myfaces 1.1 + facelets 1.1. I have the following in my web.xml: ... !-- error handling -- error-page exception-typejava.lang.Throwable/exception-type

tomcat fails to startup certain context

2006-08-11 Thread D. Salemink Klikstudio
I'm trying to run a webapp situated in the webapps directory (opencms) Somehow it fails to start. The log gives me a Error listener start other apps including the examples work. Does anybody know what the problem is? INFO: XML validation disabled Aug 11, 2006 9:12:59 PM

Exception at Tomcat 4.3.1 startup

2006-08-11 Thread Deshmukh, JAYDEEP \(IT\)
Hi All, I get the following exception when I try to startup tomcat 4.3.1. I checked out some forums and apparently, its because I am using version 2.3 of web-app instead of 2.4 and it is suggest that I use Tomcat 5.x to resolve this. Thing is I am not in a position to switch over Tomcat 5.x due to

Re: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-11 Thread David Rees
On 8/11/06, Propes, Barry L [EMAIL PROTECTED] wrote: what about getRemoteHost()? getRemoteHost is simply a getRemoteAddr with a reverse DNS lookup thrown on top. No additional security there, in fact one could argue that there is less. -Dave

RE: Exception at Tomcat 4.3.1 startup

2006-08-11 Thread Propes, Barry L
I'm using 4.1.3 and my web.xml has the following: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//ENhttp://java.sun.com/j2ee/dtds/web-app_2_2.dtd; Perhaps you can change it to that and give it a try? -Original Message- From: Deshmukh, JAYDEEP (IT)

RE: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-11 Thread Propes, Barry L
mmm, ok. -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 2:51 PM To: Tomcat Users List Subject: Re: Session hijacking with Tomcat/Myfaces - unable to fix it On 8/11/06, Propes, Barry L [EMAIL PROTECTED] wrote: what about getRemoteHost()?

Tomcat 5.5.17 rejects PUT request

2006-08-11 Thread YuanGao Zhang
Hello, I'm new to tomcat and have problems to have tomcat 5.5.17 accepting a PUT request. I tried GET, POST, and PUT. Both GET and POST work fine, but PUT is rejected with 403 - Access to the specified resource () has been forbidden. HTTP/1.1 403 Forbidden Server: Apache-Coyote/1.1 Content-Type:

RE: Tomcat 5.5.17 rejects PUT request

2006-08-11 Thread Propes, Barry L
maybe the FTP port is blocked? Isn't that what PUT essentially does? -Original Message- From: YuanGao Zhang [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 5:27 PM To: users@tomcat.apache.org Subject: Tomcat 5.5.17 rejects PUT request Hello, I'm new to tomcat and have problems

RE: Tomcat 5.5.17 rejects PUT request

2006-08-11 Thread YuanGao Zhang
I don't think so. I can ftp to the host where tomcat runs. Does Tomcat rely on FTP for processing put requests? -Original Message- From: Propes, Barry L [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 3:30 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.17 rejects PUT request

RE: Tomcat 5.5.17 rejects PUT request

2006-08-11 Thread Propes, Barry L
I'll have to double check...maybe not, but I was thinking it did. -Original Message- From: YuanGao Zhang [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 5:43 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.17 rejects PUT request I don't think so. I can ftp to the host where

RE: Tomcat 5.5.17 rejects PUT request

2006-08-11 Thread YuanGao Zhang
By I can ftp to ... I meant I was able to ftp to the host where tomcat runs as a regular user, say, yzhang. But ftp access as user root is disabled, if Tomcat uses FTP to do put, which user does it use by default, tomcat or root or something else? Thanks. -Original Message- From: Propes,

Re: where can I find the rule about how to translate JSP to servlet jave?

2006-08-11 Thread Peng Li
HI Thank you very much for your reply, yep, i know that, but i just wonder how the jasper do this translation? cheers Peng 2006/8/1, Propes, Barry L [EMAIL PROTECTED]: the JSPs (at runtime) automatically create a servlet in the work directory. Is that what you're asking? -Original

Re: where can I find the rule about how to translate JSP to servlet jave?

2006-08-11 Thread Lung Chan
usually every line that's not scriplet is translated into a println and the scriptlet, which is % % is the java code Now for the EL(expression languages) that I don't know, you have to download the jsp 2.0 spec, it's on the Sun's site On 8/11/06, Peng Li [EMAIL PROTECTED] wrote: HI Thank