Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Pid
De: Pid p...@pidster.com Para: Tomcat Users List users@tomcat.apache.org Enviado: Miércoles 16 de Mayo de 2012 10:49 Asunto: Re: Multiple tomcat Instances on Same Server and One Apache Instance On 15/05/2012 23:32, Miguel González Castaños wrote: On 15/05/2012 17:22, André Warnier wrote

Re: tomcat slowing down

2012-05-16 Thread Pid
On 16/05/2012 16:50, André Warnier wrote: Christian Kaufhold wrote: Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Pid
On 16/05/2012 14:32, Christopher Schultz wrote: Pid, On 5/15/12 6:07 PM, Pid wrote: On 15/05/2012 16:16, Christopher Schultz wrote: Vickie, (Bringing this back on-list). On 5/15/12 10:21 AM, Vickie Troy-McKoy wrote: Date: Tue, 15 May 2012 10:04:33 -0400 From: ch

Re: [OT] tomcat slowing down

2012-05-16 Thread Pid
On 16/05/2012 18:01, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/16/12 11:43 AM, André Warnier wrote: Oh. I always thought that Ajax was purely a client-side thing (Asynchronous Javascript etc..). Maybe this is only a name

Re: How to start a continuous java application in tomcat

2012-05-15 Thread Pid *
On 14 May 2012, at 20:02, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, May 14, 2012 at 11:48 AM, Pid p...@pidster.com wrote: .oO( another chance to post the smart questions link ) Now that mail clients are smart enough e.g. to prompt the user if the message contains the word

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-15 Thread Pid
On 15/05/2012 16:16, Christopher Schultz wrote: Vickie, (Bringing this back on-list). On 5/15/12 10:21 AM, Vickie Troy-McKoy wrote: Date: Tue, 15 May 2012 10:04:33 -0400 From: ch...@christopherschultz.net Subject: Re: Multiple tomcat Instances on Same Server and One Apache Instance Try

Re: IE caching problem-

2012-05-14 Thread Pid
On 14/05/2012 02:37, Martin Gainty wrote: i plan to run the windows IE code in Solaris thru WINE Eh?! How will that help? /rhetorical p thanks again, Martin From: mgai...@hotmail.com To: users@tomcat.apache.org Subject: RE: IE caching problem- Date: Sun, 13 May 2012 21:21:11

Re: How to start a continuous java application in tomcat

2012-05-14 Thread Pid
On 14/05/2012 15:41, Hassan Schroeder wrote: On Mon, May 14, 2012 at 7:33 AM, Rishad Ali rishad@turnkey-instruments.com wrote: I don't want to run mash them. I just want to run the java application. On the local server it is working fine but when I try it in the dedicated linux server

Re: IE 9 ignoring my custom error pages with 404 codes

2012-05-13 Thread Pid
On 12/05/2012 23:14, Kiran Badi wrote: Hi, I am trying to setup custom error page and has done below modification to web.xml error-page error-code500/error-code location/errorback.jsp/location /error-page error-page error-code404/error-code location/errorback.jsp/location Then in

Re: http status 404 error

2012-05-13 Thread Pid
used it yesterday. I'm not sure if some updates that were applied to the server may have caused this to happen. Thanks. Pid, it's your turn ( smart questions, you know ...) I'm too tardy to join this party. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: http status 404 error

2012-05-13 Thread Pid
. The website appeared with no problems when I used it yesterday. I'm not sure if some updates that were applied to the server may have caused this to happen. Thanks. Pid, it's your turn ( smart questions, you know ...) Actually, this is one for Uri Geller I think. I do Internet Telepathy[tm] too

Re: how can i conect apache toncat 7 to oracle 10 g or oracle 11 g an adobe

2012-05-13 Thread Pid
On 11/05/2012 14:02, reissner wrote: On 10/05/2012 03:56 p.m., Pid wrote: On 10/05/2012 21:33, Reissner Pabón wrote: how can i conect apache toncat 7 to oracle 10 g or oracle 11 g Define an appropriately configured JDBC DataSource in server.xml. p using the ip adress of db server

Re: Slow downloads through mod_jk on Windows XP

2012-05-13 Thread Pid
On 10/05/2012 23:36, Andy Wang wrote: So I cannot reproduce the slow down to 4-5MB/s on the same VM I was able to reproduce it on once I copied the VM to an adequate vmware server. But I do see some neat numbers in case people care. I ran with ab -5 directly against apache, against a url

Re: IE caching problem-

2012-05-13 Thread Pid
On 13/05/2012 15:37, Martin Gainty wrote: Date: Sun, 13 May 2012 18:13:02 +0400 Subject: Re: IE caching problem- From: knst.koli...@gmail.com To: users@tomcat.apache.org 2012/5/13 Martin Gainty mgai...@hotmail.com: 'Morning All I seem to be plagued by a IE caching problem where

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-13 Thread Pid
On 11/05/2012 18:53, Vickie Troy-McKoy wrote: Hi, I am in need of a little help. I have 2 tomcat instances running on the same machine and one apache instance running on a different machine. I configured jk_mod to access the 1st tomcat instance. Now, I have a second tomcat instance

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-13 Thread Pid *
On 13 May 2012, at 20:33, André Warnier a...@ice-sa.com wrote: Pid wrote: On 11/05/2012 18:53, Vickie Troy-McKoy wrote: Hi, I am in need of a little help. I have 2 tomcat instances running on the same machine and one apache instance running on a different machine. I configured jk_mod

Re: Enabling compression in embedded tomcat 7

2012-05-10 Thread Pid
On 10/05/2012 00:07, Adam Gordon wrote: I see XML options for enabling compression but am not seeing how this is done programmatically with an embedded tomcat instance. thanks. http://www.catb.org/~esr/faqs/smart-questions.html p -- [key:62590808] signature.asc Description: OpenPGP

Re: tomcat pausing and process killed

2012-05-10 Thread Pid
On 10/05/2012 13:55, Miguel Gonzalez wrote: I usually prefer to have software packaged because I can get software security updates I'm not sure that this is a good strategy for Tomcat installations. Some distro's are very slow about updating their packages. p -- [key:62590808]

Re: Connection timeout

2012-05-10 Thread Pid
On 10/05/2012 20:06, Jon Drukman wrote: I have a commercial app running Tomcat 6. I don't really know anything about Tomcat, so I need some help with performance tuning. What happens is that a small percentage of connections from our client machines just timeout on the connect. I assume

Re: Connection timeout

2012-05-10 Thread Pid
On 10/05/2012 21:40, Jon Drukman wrote: Caldarale, Charles R Chuck.Caldarale at unisys.com writes: You keep contradicting yourself: is it a massive box, or can it only support a miniscule number of threads? Pick one. Where did I say it could only support a miniscule number of threads?

Re: how can i conect apache toncat 7 to oracle 10 g or oracle 11 g an adobe

2012-05-10 Thread Pid
On 10/05/2012 21:33, Reissner Pabón wrote: how can i conect apache toncat 7 to oracle 10 g or oracle 11 g Define an appropriately configured JDBC DataSource in server.xml. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: tomcat6 ProgrammaticLogin

2012-05-09 Thread Pid *
On 9 May 2012, at 13:47, tomaz tomaz.majerh...@arnes.si wrote: ProgrammaticLogin Is it a library or framework? I've never heard of it. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: tomcat6 lookup for remote EJB on glassfish

2012-05-09 Thread Pid *
On 9 May 2012, at 09:12, tomaz tomaz.majerh...@arnes.si wrote: I'm struggling to get remote EJB from lookup, but with no success, is it posible to this in Apache Tomcat/6.0.18? When I'm using standalone client I get it but inside web application I can't get it work. My web code:

Re: Slow downloads through mod_jk on Windows XP

2012-05-09 Thread Pid
On 08/05/2012 22:13, Caldarale, Charles R wrote: From: Andy Wang [mailto:aw...@ptc.com] Subject: Re: Slow downloads through mod_jk on Windows XP Downloading a large file through mod_jk to tomcat looks like this: 2012-05-08 16:01:22 (15.0 MB/s) - sol-11--text-x86.iso.8 saved

Re: Problem moving application to Tomcat 7.0.27

2012-05-09 Thread Pid
On 08/05/2012 00:26, Mark Eggers wrote: - Original Message - From: Frank Serkland fhserkl...@yahoo.com To: users@tomcat.apache.org Cc: Sent: Monday, May 7, 2012 3:33 PM Subject: Problem moving application to Tomcat 7.0.27 I am having a problem moving an application from Tomcat 6

Re: Adding the manager app to a Standalone tomcat install

2012-05-06 Thread Pid *
On 4 May 2012, at 15:18, Todd Seidenberg todd.seidenb...@gmail.com wrote: On Fri, May 4, 2012 at 7:02 AM, Todd Seidenberg todd.seidenb...@gmail.comwrote: On May 3, 2012 5:47 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd,

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-06 Thread Pid *
the mailing list. It's not like we're all personally including you on every email we send. p Thanks and Regards Ravi Kant Chaturvedi From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, 4 May

Re: Problem Handler

2012-05-06 Thread Pid *
On 5 May 2012, at 15:10, Maria Din maria...@hotmail.fr wrote: Hello,I am a master student.I use juddi on the server side and other tool on the client side. I could do the publication of a service.But, I couldn't do the discovery of a service! I have always a problem in uddiProxy.In

Re: manager 404

2012-05-04 Thread Pid
On 03/05/2012 20:22, Jon Drukman wrote: I know absolutely nothing about tomcat but my company has just purchased a product that uses it, and lucky me, I get to install it! I set up a brand new Amazon Linux box (basically CentOS with some Amazon enhancements). I installed tomcat6 and

Re: How to run Tomcat as Service on windows start up.

2012-05-04 Thread Pid
On 04/05/2012 04:58, Kiran Badi wrote: On 5/4/2012 7:32 AM, Caldarale, Charles R wrote: From: Kiran Badi [mailto:ki...@poonam.org] Subject: Re: How to run Tomcat as Service on windows start up. Please don't top-post. What do you mean by this ? http://lmgtfy.com/?q=top+post - Chuck

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-04 Thread Pid
On 03/05/2012 19:54, David Wall wrote: Chris, Thanks for the 'findbugs' tip. I'm running it now in Eclipse and it has indeed found real bugs and some good stylistic ideas as well. If you like that, try Sonar. http://www.sonarsource.org/ p -- [key:62590808] signature.asc

Re: Tomcat 7 Exception initializing page context; Cannot create a session after the response has been committed

2012-05-04 Thread Pid
On 04/05/2012 11:30, hunters1094 wrote: Hi This is my stack trace May 3, 2012 10:35:43 AM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext SEVERE: Exception initializing page context java.lang.IllegalStateException: Cannot create a session after the response has been

Re: R: Problem J2EE Web Profile support

2012-05-03 Thread Pid
On 03/05/2012 07:40, Vogliotti Massimo wrote: I downloaded and installed TomEE on my computer and connected it to NetBeans as you suggested, but the error is the same. Max Please don't top-post. Either this is a NetBeans or a TomEE problem, or both. Tomcat doesn't support Web Profile, so

Re: Tomcat pausing and no java process

2012-05-03 Thread Pid
On 03/05/2012 11:35, Miguel González Castaños wrote: Dear all, My Tomcat 5.5 server reports in catalina.out under heavy load that Tomcat is pausing. I checked and no java process was running and I had to start Tomcat manually. Can you post an example of the message from catalina.out that

Re: Adding the manager app to a Standalone tomcat install

2012-05-03 Thread Pid
On 03/05/2012 14:28, Todd Seidenberg wrote: I have a script in cacti that graphs data from the XML generated by the manager app. I was using this before, with this same application, in a non-standalone mode. I would love to switch back to the previous setup, but cannot because of reasons

Re: Tomcat 7 Exception initializing page context; Cannot create a session after the response has been committed

2012-05-03 Thread Pid
On 03/05/2012 11:52, hunters1094 wrote: hi I have this problem too. I tried to find the solution, tried to use this http://stackoverflow.com/questions/8072311/illegalstateexception-cannot-create-a-session-after-the-response-has-been-commi Solution state-saving-method But it only

Re: How to run Tomcat as Service on windows start up.

2012-05-03 Thread Pid
On 03/05/2012 15:02, Kiran Badi wrote: No Luck Andre :-( , Removed one of the tomcat users tag,how do i validate xml ? I tried with below tomcat users file, tomcat-users user name=admin password=kiran roles=admin-gui,manager-gui / role rolename=AdminRole/ role rolename=UserRole/ user

Re: Tomcat pausing and no java process

2012-05-03 Thread Pid
On 03/05/2012 15:59, Christopher Schultz wrote: Miguel, On 5/3/12 10:28 AM, Miguel González Castaños wrote: On 03/05/2012 15:29, Pid wrote: On 03/05/2012 11:35, Miguel González Castaños wrote: Dear all, My Tomcat 5.5 server reports in catalina.out under heavy load that Tomcat is pausing

Re: How to config the Tomcat 7.x JNDI datasource by using BoneCP ??

2012-05-02 Thread Pid
On 02/05/2012 02:12, zuxiong lin wrote: Hi, All. Any help ? Thanks? Perhaps you could read the following: http://www.catb.org/~esr/faqs/smart-questions.html and then rephrase your question? p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: WebSocket Help

2012-05-02 Thread Pid
On 02/05/2012 00:53, umar farooq wrote: Hi All, I am trying to use Chat example of WebSocket given in Tomcat version 7.0.27. Problem I faced are here. 1) After opening the web socket it closes the socket automatically after 20 sec. I want connection open until Guest (i.e. user)

Re: Tomcat 7 NIO Socket accept failed - Too many open files

2012-05-02 Thread Pid *
On 2 May 2012, at 20:19, David Wall d.w...@computer.org wrote: I am running Tomcat 7.0.26 on Linux we received a lot of the following exceptions during load testing: May 2, 2012 3:04:03 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run SEVERE: Socket accept failed java.io.IOException:

Re: Multiple Contexts - one classloader

2012-05-01 Thread Pid
On 30/04/2012 20:28, Shanti Suresh wrote: All, Is there a way to specify with Tomcat 7, one webapp-base with multiple contexts? I may regret asking: why do you want do this? p If I create several XML files under tomcat-home/conf/Catalina/localhost/ and point the docbase to

Re: mvn tomcat:deploy fails with HTTP response 401

2012-05-01 Thread Pid
On 30/04/2012 11:26, Martin Gainty wrote: redirecting to maven users ..as this is a maven issue Martin, FYI the Tomcat Maven Plugin community actually lives here. p Thanks, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

Re: Running Swing app under Tomcat 6 on Linux

2012-04-29 Thread Pid
On 29/04/2012 22:08, dgchristen...@comcast.net wrote: Thanks for the response Mark. I've done as you've suggested and moved the env vars to setenv.sh and explicitly set JAVA_HOME. Setting JAVA_HOME means I no longer need to change the -Djava.library.path but I still get the same error (X11

Re: How to run Tomcat as Service on windows start up.

2012-04-28 Thread Pid *
On 28 Apr 2012, at 06:51, Jacques Desodt jdes...@gmail.com wrote: Hi Kiran, On Windows 7, you can't run batch files as services. See : http://stackoverflow.com/questions/8972679/windows-7-bat-file-not-starting-as-a-service Your first step : compile the .bat file into .exe Then create the

Re: parallel deployment activation of new version

2012-04-25 Thread Pid
On 25/04/2012 15:57, Christopher Schultz wrote: Pid, On 4/23/12 9:50 PM, Pid wrote: On 23/04/2012 15:06, Christopher Schultz wrote: Christoph, On 4/22/12 11:55 AM, Christoph Maser wrote: Chris, Am Donnerstag, den 19.04.2012, 18:21 +0200 schrieb Christopher Schultz: Christoph, What

Re: parallel deployment activation of new version

2012-04-23 Thread Pid
On 23/04/2012 15:06, Christopher Schultz wrote: Christoph, On 4/22/12 11:55 AM, Christoph Maser wrote: Chris, Am Donnerstag, den 19.04.2012, 18:21 +0200 schrieb Christopher Schultz: Christoph, What about the webapp itself performing its own health-check as a last step of deployment,

Re: BufferOverflowException in Tomcat 7.0.x at AjpAprProcessor.output()

2012-04-21 Thread Pid *
On 20 Apr 2012, at 23:50, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/4/21 Konstantin Preißer verlag.preis...@t-online.de: Hi all, some time ago, I wrote about a BufferOverflowException which I got sporadically on my Tomcat 7.0.21 [1], when using the AJP-APR-Connector. However,

Re: Classpath issues with Embedded Tomcat 7

2012-04-20 Thread Pid *
web application. That looks like the pid file used for shutting down Tomcat via scripts. I don't think that has anything to do with what Tomcat uses for JSP compilations. Citing from Tomcat.java: [[[ /** * Tomcat needs a directory for temp files. This should be the * first

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Pid
On 20/04/2012 00:43, Dilip Shah wrote: Hi Konstantin, According to http://www.mulesoft.com/tomcat-logging , to make sure my Log4j configuration is complete, I should have tomcat-juli.jar and tomcat-juli-adapters.jar files in $CATALINA_HOME/bin/ whereas, I have just the default

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-19 Thread Pid *
On 19 Apr 2012, at 01:12, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/4/19 Chris Patterson tom...@vittox.com: Dear Konstantin, thanks for asking, I will try to answer your questions My experience level is relative, idea is to spend less time sharing your experience. I have

Re: parallel deployment activation of new version

2012-04-19 Thread Pid *
On 19 Apr 2012, at 08:07, ma...@apache.org ma...@apache.org wrote: Christoph Maser christoph.ma...@1und1.de wrote: Am Donnerstag, den 12.04.2012, 14:02 +0100 schrieb ma...@apache.org: Christoph Maser christoph.ma...@1und1.de wrote: Do you see any chance a request for feature in that

Re: web.xml and schema location

2012-04-19 Thread Pid *
On 18 Apr 2012, at 16:55, Mark Claassen ma...@donnell.com wrote: 1. Do you have validation enabled? E.g. with org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true I don't think so (but that was a long time ago). Anyway, I am glad to know that the default config does not try to contact

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread Pid
: -Dorg.apache.catalina.alwaysPassServlet30CTS=true p Thanks and regards, Maria На 17 април 2012, 22:22, Pid p...@pidster.com написа: On 17/04/2012 13:48, maria petrova wrote: Hi, We’ve embedded Tomcat 7.0.26 in our product and we are currently trying to cover Servlet 3.0 CTS with it. We’ve

Re: Problem starting tomcat

2012-04-18 Thread Pid
On 18/04/2012 02:59, Fairouz Fakhfakh wrote: Hello, I have a problem when I start tomcat by cliking on tomcat5.exe located in Tomcat 5.5\bin. I have the following message: GRAVE: Erreur lors du dÚploiement du rÚpertoire juddi de l'application web java.lang.NoClassDefFoundError:

Re: Generating a Keystore

2012-04-18 Thread Pid
On 17/04/2012 21:16, Victoria Johnson - Kio wrote: Hello, I am having problems generating a keystore, this is my first time configuring a server, let alone Tomcat. What are your problems, exactly? The text on Apache is really confusing me about setting up SSL on Tomcat, what do I do with

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Pid
On 17/04/2012 17:29, Chris Patterson wrote: Hello, pls help with the following issue: My JSP calls a Java Bean and works OK for both versions, Tomcat 5.5 and Tomcat 7.1 Cool! Where did you get v7.1 from? I've been waiting for that release. On the other hand, you could tell us exactly which

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Pid
On 18/04/2012 18:02, Chris Patterson wrote: Is this like a BUG ? Doubt it. Or perhaps something about the Java version ? s/Java/Developer/g p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread Pid
On 18/04/2012 11:27, Konstantin Kolinko wrote: 18 апреля 2012 г. 12:15 пользователь maria petrova mims8...@googlemail.com написал: Hi, Thanks for the clarification. I agree that the specification is not absolutely clear on this matter in the given extract. Anyway, I simply would like to ask

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Pid
On 18/04/2012 21:02, Pid wrote: On 18/04/2012 18:02, Chris Patterson wrote: Is this like a BUG ? Doubt it. Or perhaps something about the Java version ? s/Java/Developer/g That was rude. Retracted, with apologies. p -- [key:62590808] signature.asc Description: OpenPGP

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread Pid
On 17/04/2012 13:25, ron.vandenbranden@home wrote: Hi, I am setting up a reverse proxy configuration where all requests whose path starts with '/apps/' should be proxied by Apache to Tomcat. This IMO has 2 benefits: it makes it possible to reserve proxying to only the '/apps/' part of the

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-17 Thread Pid
On 17/04/2012 13:48, maria petrova wrote: Hi, We’ve embedded Tomcat 7.0.26 in our product and we are currently trying to cover Servlet 3.0 CTS with it. We’ve encountered the following problem with one of the tests. Though the version of the web deployment descriptor of the test

Re: PLZ help: i've issue with SSL TOMCAT

2012-04-17 Thread Pid
On 17/04/2012 13:54, amine20 wrote: i thank i need some file *.jar to add in /tomcat6/webapps/cas/WEB-INF/lib? i m wrong ?? Yes, you're wrong. Read Igor's email again. You've put the keystore in the /root directory which should not be accessible to Tomcat. Move it to tomcat/conf and

Re: Fail to load keystore type JKS with path C:\apache-tomcat-7.0.26-windows-x86\apache-tomcat-7.0.26\${user.home}

2012-04-17 Thread Pid
On 17/04/2012 13:25, Daniel Mikusa wrote: - Original Message - Hello sir, I am using tomcat 7.0.26 on windows. I have read the manual SSL Configuration HOW-TO to configure SSL for my web application. I create the .keystore file which reside on my home directory which is

Re: Query to configure SSL support on Tomcat

2012-04-16 Thread Pid
On 16/04/2012 10:19, Debabratta Jena wrote: Hello sir, I am trying to install and configure SSL support on Tomcat,So I read the steps and followed the instruction that is provided on SSL Configuration HOW-TO,when I am done with all the things. I typed the https://localhost:8443/ in my

Re: Trouble starting TC with jmxremote port set

2012-04-16 Thread Pid *
On 16 Apr 2012, at 14:40, David kerber dcker...@verizon.net wrote: I'm trying to configure things so I can monitor my TC server with jconsole, and whenever I try to set the jmxremote port, the windows service refuses to start. System info (from Version.bat): Using CATALINA_BASE:

Re: Help : Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

2012-04-16 Thread Pid *
On 16 Apr 2012, at 11:28, ayouB __ ayb-2...@hotmail.fr wrote: Hi every body, Does any one know please what's the source of this error and how to fix it : Check you don't already have something running on port 8005, e.g. Another instance of Tomcat that you didn't stop properly. p 16

Re: Cannot connect to tomcat through apache (proxy)

2012-04-14 Thread Pid *
On 14 Apr 2012, at 22:50, Gautam adva...@gmail.com wrote: We have a set up where we use apache web server to respond to secure (https) web pages/services on server 1. For one particular service, we need to forward the request to another server 2 on which we have tomcat running. We have done

Re: determining cause of MaxThreads exhausted

2012-04-13 Thread Pid *
On 13 Apr 2012, at 09:09, Miguel González Castaños miguel_3_gonza...@yahoo.es wrote: Dear all, A server that I manage has a Struts webapp with a Tomcat 5.5.x standalone server. No JMX or whatsoever has been configured. The app sends massive emails to users with some info that requires

Re: 7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-11 Thread Pid
On 11/04/2012 03:47, Peter wrote: hey Christopher, the app I used that uncovered the issue is one I use exclusively to validate tomcat releases;) it is a hello world style app using spring/servlet3.0. it has simple spring aop point cutting via jamon , simple spring jms (active mq) simple

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Pid *
On 11 Apr 2012, at 14:42, Lazar Kirchev lazar.kirc...@gmail.com wrote: ServletContainerInitializer Only exists in Servlet 3.0. Supporting it in lower spec versions would be non-compliant. And silly. p - To unsubscribe,

Re: Bug in Tomcat AJP Connector?

2012-04-10 Thread Pid
you can do this with some vendor specific JVM arguments as SUNs/Oracles -XX:OnOutOfMemoryError: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp- 140102.html Different findings like kill -9 %p let me suspect that you can use %p as a variable for your current pid. With that you

Re: Non page pool issue will not go away, please help.

2012-04-10 Thread Pid
On 10/04/2012 13:11, Doron Tsur wrote: Switching to Blocking IO from Non Blocking IO seems to have solved the issue. I don't know why, does anybody have ideas? Try the latest version of Tomcat. There were patches to the Connector code in versions subsequent to 7.0.23. p -- [key:62590808]

Re: Non page pool issue will not go away, please help.

2012-04-10 Thread Pid
there is no need for so much memory including our system, but this should be checked. You should use a tool like VisualVM or JConsole to inspect the running JVM and try to identify if one of the memory areas of the JVM increases in parallel with the leak you're seeing from the OS view. p PID- thanks

Re: tomcat asynchronous invocation problem

2012-04-09 Thread Pid
On 09/04/2012 13:53, Vyacheslav Trainin wrote: Hi, We encountered a problem during asynchronous operations (tomcat 7 with servlet 3). Exactly which version of Tomcat 7.0? Same for Java version? Same for OS version(s)? p _Description: _ One client continuously sends post

Re: Discrepancy between Tomcat's connection pool and tomcat's report on memory leaks

2012-04-05 Thread Pid
On 04/04/2012 16:53, Hermes Flying wrote: Which is indicating that the application deployed to /GeneralApplication is creating a thread named H2 Log Writer GENERICAPPLICATION and never stopping it. I do not believe that this would be associated with the pool created by Tomcat as that would

Re: SEVERE: Unable to start cluster.

2012-04-05 Thread Pid
On 05/04/2012 15:13, Dhaval Jaiswal wrote: I have tested the below cluster manager; as per the instruction i have changed. However, when we try to deploy the apps on tomcat it was throwing error that WARNING: Unable to send map start message. Apr 5, 2012 1:37:12 PM

Re: SEVERE: Unable to start cluster.

2012-04-05 Thread Pid
On 05/04/2012 18:28, Dhaval Jaiswal wrote: pfa server.xml Sorry, not going to wade through all of those comments until you remove them from the XML. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: SEVERE: Unable to start cluster.

2012-04-05 Thread Pid
server.xml The same i am using for all the 10 tomcats. On Thu, Apr 5, 2012 at 9:55 PM, Pid p...@pidster.com wrote: On 05/04/2012 15:13, Dhaval Jaiswal wrote: I have tested the below cluster manager; as per the instruction i have changed. However, when we try to deploy the apps on tomcat

Re: Bug in Tomcat AJP Connector?

2012-04-05 Thread Pid
On 05/04/2012 22:17, Ofer Israeli wrote: Y On 5 באפר 2012, at 18:58, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/4/5 Ofer Israeli of...@checkpoint.com: Mark Thomas wrote: On 04/04/2012 17:02, Ofer Israeli wrote: Once you have an OOME all bets are off. The JVM needs to be

Re: Discrepancy between Tomcat's connection pool and tomcat's report on memory leaks

2012-04-04 Thread Pid
On 04/04/2012 13:05, Hermes Flying wrote: Hi, I am using Tomcat 7.0.25 in a Linux machine I am using Tomcat's connection pool (org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am using H2 as a file database. All is ok, but I have the following problem. On shutdown of Tomcat

Re: jdbc pool properties

2012-04-04 Thread Pid
On 04/04/2012 12:08, S Ahmed wrote: My db connections seem to be lost after an extended period of inactivity (for a web application). And the only way to get the connections to work again is to restart tomcat. My tomcat.jdbc.pool.Datasource settings have: property name=maxActive

Re: Running Tomcat as a Standalone desktop Application

2012-04-02 Thread Pid
On 02/04/2012 12:37, DaveNoth wrote: Yes, On a company owned windows server we would control the server setup. (What software is installed and how it is configured) We are planning to distribute to individually owned machines in which we can not control what is installed. They may have

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Pid
On 02/04/2012 15:23, Léa Massiot wrote: Thank you for your advice. And how did people do to declare aliases before the aliases attribute of the Context element was introduced in Tomcat7? Either they did not, or they selected an alternative based on their use-case. What is your exact

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Pid
On 02/04/2012 16:14, Léa Massiot wrote: Pid * wrote Either they did not, or they selected an alternative based on their use-case. I'm sure they did. You'll see below, my requirements are basic. Pid * wrote What is your exact requirement? - Users upload files to the server running

Re: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-02 Thread Pid
On 02/04/2012 22:33, Konstantin Kolinko wrote: 2012/4/3 Christopher Schultz ch...@christopherschultz.net: Is there a way to empty this cache, or disable caching all together? Not without implementing your own ClassLoader. You could read the code for WebappClassLoader to see how it's done in

Re: Secure attribute of Catalina SSL Connector(APR)

2012-04-01 Thread Pid
On 01/04/2012 07:37, Teppei Yamada wrote: Hi, I don't want every session cookies to be secure cookies, so I intentionally set secure attribute false in server,xml's SSL connector tag. May I ask why? (Actually tomcat native is compiled with OpenSSL and LD_LIBRARY_PATH is set, so the

Re: Implementing mod_headers for response in Tomcat7

2012-04-01 Thread Pid
On 01/04/2012 10:15, Teppei Yamada wrote: Hi, I wanted to write something similar to apache httpd's mod_headers so I read through Tomcat7.0.26 source code. Then I realized that that could not be achieved without modifying coyote's Abstract(Http11|Ajp)Processor.prepareResponse(). That can

Re: Chasing a SocketTimeoutException with APR

2012-03-30 Thread Pid *
On 29 Mar 2012, at 12:57, Osipov, Michael michael.osi...@siemens.com wrote: Hi folks, I am trying to narrow down an exception which is happening occasionally in certain spots of your code: SCHWERWIEGEND: Servlet.service() for servlet default threw exception Java.net.SocketTimeoutException

Re: Running Tomcat as a Standalone desktop Application

2012-03-30 Thread Pid
On 30/03/2012 16:22, DaveNoth wrote: We have a Web Application running under Tomcat on a Server. We now have a requirement that our users may not be connected to the internet. We are looking at moving our Web Application to a local disconnected desktop install, still running under TomCat.

Re: Setting JVM log location for tomcat 7.0.26

2012-03-29 Thread Pid
On 29/03/2012 00:44, Farrukh Najmi wrote: On 03/28/2012 07:28 PM, Konstantin Kolinko wrote: 2012/3/29 Farrukh Najmifarr...@wellfleetsoftware.com: Can someone please tell me how I can configure the location for the JVM log file for Tomcat 7. Thanks for your help. 1. What is JVM log file I

Re: Shutting down embedded version of Tomcat gracefully

2012-03-29 Thread Pid
On 29/03/2012 06:38, N V Hari Krishna wrote: Hello all, I had a few questions. 1) Is it possible to shutdown embedded Tomcat gracefully? Yes. Register a shutdown hook and use it to stop the embedded Tomcat. p 2) If possible, can anyone suggest me/point me to piece of code that can be

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Pid
On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed: http://localhost:8080/static/index.html Directory for static resource:

Re: Accessing static resource during loading of webapp

2012-03-29 Thread Pid
On 29/03/2012 13:11, Farrukh Najmi wrote: On 03/29/2012 04:13 AM, Pid wrote: On 29/03/2012 00:20, Farrukh Najmi wrote: Hi Filip, Thanks for your help. It is an html file that is not in the same webapp. Root URL for webapp: http://localhost:8080/myapp Static resource URL being accessed

Re: Information regarding 12085 - Apache Tomcat servlet/JSP container default files

2012-03-27 Thread Pid
On 27/03/2012 15:28, Geet Chandra wrote: This is what I read, now in the solution tab, it says to remove the examples folder,but we are shipping the tomcat with our product, can we remove the example folder and ship with our product.If not, any other workaround/solution.Stoplisted

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 10:32, Witoslaw Koczewski wrote: Hello, for our Kunagi Java web application we have a signed kunagi.jar file which contains our classes together with classes from embedded Tomcat 6. This runs perfectly when calling java -jar kunagi.jar. But when starting it with Java

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 11:12, Witoslaw Koczewski wrote: There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you need to add. Since I am using embedded Tomcat, there is

Re: jdbc driver location in TC 7

2012-03-26 Thread Pid
On 26/03/2012 12:30, Terence M. Bandoian wrote: On 1:59 PM, Pid * wrote: On 25 Mar 2012, at 03:10, Terence M. Bandoiantere...@tmbsw.com wrote: On 1:59 PM, Pid * wrote: On 23 Mar 2012, at 21:59, David Kerberdcker...@verizon.net wrote: On 3/23/2012 6:51 PM, Terence M. Bandoian wrote

Re: chunked encoding

2012-03-26 Thread Pid
On 25/03/2012 22:55, Alex Samad - Yieldbroker wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, 26 March 2012 8:47 AM To: Tomcat Users List Subject: Re: chunked encoding On 25/03/2012 08:54, Alex Samad - Yieldbroker wrote: [snip] 1. http

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 12:43, Witoslaw Koczewski wrote: On 26/03/2012 11:12, Witoslaw Koczewski wrote: There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you need to add.

<    1   2   3   4   5   6   7   8   9   10   >