RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
* I see that the requests processors increase but it does not stop the stuck * The data base is slow on get connection but i checked the connections and i still have many left that can be used * i see that the active threads count get to the limit before the stuck (according to jconsole) but afte

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Caldarale, Charles R
> From: Michal Singer [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat gets stuck after a load for streams writing > > i configured the maxThreads on the executor and didn't help. It should have let you get to 400 request processors, rather than the default of 200 that you were seeing. > i also c

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
Hi. I did all that. i configured the maxThreads on the executor and didn't help. i also checked the thread dumps. the work on the server is heavy but i still don't understand why it would cause a completey unrecovable tomcat stuck. even if the work is heavy on our server, the tomcat should not get

RE: default application versus secondary application

2008-12-07 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: default application versus secondary application > > My directory structure is like this: > c:\webapps\ > c:\webapps\ROOT\ > c:\webapps\ROOT\index.html > c:\webapps\secondApp\ > c:\webapps\secondApp\index.html The above is appropriate

RE: Tomcat vs. Samba

2008-12-07 Thread Martin Gainty
A few questions Do you know what the service is actually doing? Do you see any events in application or system queue that deliver any useful information? If you're willing to a)listen to endless rants by supposed windoze gurus b)be willing to debug service binaries get a copy of dumpbin /read

default application versus secondary application

2008-12-07 Thread removeps-groups
Sorry, I could not find info on this topic on the internet, though I'm sure it's there. My directory structure is like this: c:\webapps\ c:\webapps\ROOT\ c:\webapps\ROOT\index.html c:\webapps\secondApp\ c:\webapps\secondApp\index.html To use the second application I type http://localhost/secon

Re: Tomcat vs. Samba

2008-12-07 Thread Mitch Gitman
Charles, you nailed it. Major thanks. I owe you a bottle of wine or something. Yes, I was running Tomcat as a Windows service, and it should have dawned on me that somehow that was part of the equation. If I go ahead and run the Tomcat executable directly, the Samba access does work *without *spe

Re: configure JNDI to avoid error "Last packet sent to the server was xxxxx ms ago"

2008-12-07 Thread removeps-groups
Thanks for the links. But in answer to the issues below: chmod 600 is not sufficient because the admin of my website should not be able to see the passwords either. And if you're using a web hosting service, all the more reason. The decryption algorithm may need a license key which is install

RE: Tomcat vs. Samba

2008-12-07 Thread Martin Gainty
and ignore comments from people who dont understand how to use sudo feel free to ping me offline to get away from any more idiotic responses Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relate

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Caldarale, Charles R
> From: Michal Singer [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat gets stuck after a load for streams writing > > why? was there a bug regarding this issue which was fixed there? Possibly, notably this one: https://issues.apache.org/bugzilla/show_bug.cgi?id=44620 However, if you're not burnin

RE: Tomcat - MySQL Error: Invalid DataSource

2008-12-07 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat - MySQL Error: Invalid DataSource > > Move WEB-INF/context.xml to META-INF/context.xml and restart > you webapp. > > > > /WEB-INF/context.xml: > > element is in META-INF/context.xml. - Chuck THIS COMMUNICATION MAY CONTAIN CONF

RE: Tomcat vs. Samba

2008-12-07 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > Subject: Tomcat vs. Samba > So basically, the credentials I input when mapping the > network drive get picked up when invoking Ant by hand > (scenario #2), but they don't get picked up when it is > Hudson running on Tomcat that is invoking Ant (scenario #3). Windows is

Re: [OT] JK Connector problem

2008-12-07 Thread Len Popp
On Sun, Dec 7, 2008 at 14:27, André Warnier <[EMAIL PROTECTED]> wrote: > I believe the point some people (me) are trying to make is that it is not > because MS does stupid things, that all software developers have to follow > suit. And specially not open source software developers. > "Apache Group

Re: [OT] JK Connector problem

2008-12-07 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: Christopher Schultz schrieb: If you've got "Program Files" already in the path, why not have "Apache Group" in there as well? ... Germans would love "Apache" Group without spaces ... And so w

Re: Problems with JK connector and IIS5 and tomcat 6

2008-12-07 Thread user080701
Dear Bill Barker, Do you mean both errors in IIS log and tomcat log are normal? Thanks -- From: "Bill Barker" <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2008 9:02 AM To: Subject: Re: Problems with JK connector and IIS5 and tomcat 6 The erro

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
why? was there a bug regarding this issue which was fixed there? thanks, Michal markt-2 wrote: > > Michal Singer wrote: >> Tomcat version? 6.0.14 > > Try 6.0.18 > > Mark > >> JDK version? 1.5.0_12 >> OS? Microsoft Windows Server 2003 >> Connector configuration settings? >> > protocol="org.a

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Mark Thomas
Michal Singer wrote: > Tomcat version? 6.0.14 Try 6.0.18 Mark > JDK version? 1.5.0_12 > OS? Microsoft Windows Server 2003 > Connector configuration settings? > protocol="org.apache.coyote.http11.Http11NioProtocol" > maxKeepAliveRequests="1" maxThreads="400" processCache="400" > connectionTimeou

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
Tomcat version? 6.0.14 JDK version? 1.5.0_12 OS? Microsoft Windows Server 2003 Connector configuration settings? markt-2 wrote: > > Michal Singer wrote: >> I use tomcat 6 with nio connectors. i run a heavy load of data and after >> a >> while the tomcat gets stuck >> and stops processing requ

Re: session de-serialization issue

2008-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, Tom Mader wrote: > It appears that if I try to store a class in the session that contains > anything other than native JDK types, I get a de-serialization error when > the session is loaded after tomcat restarts. There are several reasons this c

Re: Tomcat vs. Samba

2008-12-07 Thread Mitch Gitman
Martin, thanks for your input. Nothing in the Tomcat logs, not really that I would expect there to be. I also tried running Ant in verbose mode. No information there either. This credentials exchange is happening below the radar of these Java tools. You are on the right track, though, when it comes

Re: configure JNDI to avoid error "Last packet sent to the server was xxxxx ms ago"

2008-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob (why not?), [EMAIL PROTECTED] wrote: > The second message -- connection has already been closed -- most likely > arises from my code structure, which is: > > Connection connection = null; > PreparedStatement prepStmt = null; > try > { >Conne

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Mark Thomas
Michal Singer wrote: > I use tomcat 6 with nio connectors. i run a heavy load of data and after a > while the tomcat gets stuck > and stops processing requests from client. > I posted before regarding this and was asnwered that the problem may be in > my server > (http://www.nabble.com/Tomcat-reque

Re: [OT] JK Connector problem

2008-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: > Christopher Schultz schrieb: >> If you've got "Program Files" already in the path, why not have "Apache >> Group" in there as well? > > ... Germans would love "Apache" Group without spaces ... > > MS localization transla

Re: Tomcat - MySQL Error: Invalid DataSource

2008-12-07 Thread gstclair
I am an idiot. You are awesome! Thank you!!! David Smith-2 wrote: > > Move WEB-INF/context.xml to META-INF/context.xml and restart you webapp. > > -- David > > > On Dec 6, 2008, at 8:00 PM, gstclair <[EMAIL PROTECTED]> wrote: > >> >> I am attempting to configure Tomcat to work with MySQL

Re: configure JNDI to avoid error "Last packet sent to the server was xxxxx ms ago"

2008-12-07 Thread Kees Jan Koster
Dear removeps-groups, How to configure JNDI in order to avoid the error "Last packet sent to the server was x ms ago."? I've seen two other errors which seem to be from the same cause: "Communications link failure" and "Connection.close90 has already been called". This is what I've c