Re: Problem with threads in stage Service (Tomcat 7.0.14)

2011-07-28 Thread Pid
On 28/07/2011 16:09, Alejandro Henao González wrote: Good day. I have the following problem with my tomcat. Sometimes, some threads are keep in service stage for a long time (really never exit from this stage), this causes that tomcat uses a hight percentage of the CPU (100 % of 2 or 3

Re: Class loading order

2011-07-27 Thread Pid
, Krishna -Original Message- From: ext Pid [mailto:p...@pidster.com] Sent: Tuesday, July 26, 2011 2:15 PM To: Tomcat Users List Subject: Re: Class loading order On 26/07/2011 09:38, Anne, Radhakrishna (NSN - IN/Bangalore) wrote: Hello, I would like to changes the default

Re: Class loading order

2011-07-27 Thread Pid
then the OP will definitely need to build a custom classloader. It won't break Java security per se, but it is likely to be error prone. OSGI has some answers for this kind of thing AFAIK, but unaugmented Java + Tomcat won't like it at all. p 2011/7/27 Pid p...@pidster.com On 27/07/2011 06:19

Re: Class loading order

2011-07-26 Thread Pid
On 26/07/2011 09:38, Anne, Radhakrishna (NSN - IN/Bangalore) wrote: Hello, I would like to changes the default order look up for class loading, as I understood from the doc, the order of look up is 1)WEB-INF/classes 2)WEB_INF/lib. Now I wanted to change this order and have my

Re: High availability of tomcat 6

2011-07-26 Thread Pid
On 26/07/2011 11:08, Sri Lalitha wrote: Hi I am using Tomcat 6. I would like to know if instances of tomcat servers be made highly available? Yes. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: JSP compile limitation 7.0.16 - 7.0.19

2011-07-24 Thread Pid
On 24/07/2011 15:48, Dan Checkoway wrote: In case this helps, here are some generated source specs for comparison: file sizes: -rw-r--r-- 1 dan staff 298619 Jul 24 10:46 7.0.16-generated-source.java -rw-r--r-- 1 dan staff 300421 Jul 24 10:46 7.0.19-generated-source.java line counts:

Re: URL/ URI/ TC(?) puzzle -- wrong non-error?

2011-07-23 Thread Pid
On 22/07/2011 23:22, Dennis de Champeaux wrote: BTW I did do plenty of research on this topic Clearly not. The erudite Mr Eggers has elucidated a full explanation, referring therein to the primary source of information about Tomcat - the official documentation. p

Re: URL/ URI/ TC(?) puzzle -- wrong non-error?

2011-07-23 Thread Pid
On 22/07/2011 23:22, Dennis de Champeaux wrote: Your SNOTTYness is not appreciated ... By me either, but sadly there's no known cure for the common cold, but time. p - To unsubscribe, e-mail:

Re: Upgrading from Tomcat 7.0.8 to 7.0.10 and higher causes Old Generation memory problems

2011-07-22 Thread Pid
On 22/07/2011 20:17, Mark Thomas wrote: On 22/07/2011 17:26, Ian Marsh wrote: Hi, I am in charge of running a Apache-2, Tomcat-7, Ubuntu-10.04 set up for which we have to be PCI Compliant. We recently upgraded to Apache-2.2.17 and Tomcat-7.0.8 (from Apache-2.0.x and Tomcat 5.0.28) in order

Re: URL/ URI/ TC(?) puzzle -- wrong non-error?

2011-07-22 Thread Pid
On 22/07/2011 22:03, Dennis de Champeaux wrote: Can someone else explain what is going on ? You have a broken configuration and you are getting double deployment. p

Re: AccessLogValve %D and acceptCount tuning

2011-07-21 Thread Pid
On 21/07/2011 17:16, Dan Checkoway wrote: Also forgot to ask...is there an MBean attribute that I can check via JMX to see how many established connections are waiting to be serviced? i.e. if there's a backlog in the accept queue? Yes. There is an attribute. Have a nose around Tomcat using

Re: tomcat and comp jndi context

2011-07-20 Thread Pid
On 19/07/2011 23:34, Romain Manni-Bucau wrote: Hi, where can i get more information on the way tomcat manage its jndi tree? Pratically i need the get java:comp context but i don't know when/where to look up it. I didn't find it in ContextBindings.getClassLoader() in start or after_start

Re: Redeployment of war File stopps suddenly

2011-07-20 Thread Pid
On 20/07/2011 07:58, Alexander Diedler wrote: Hello, We have a big problem with deployment over war in a Tomcat 6.0.32. If there is no application yet, the initial upload through the manger works. If we redeploy the running application again, the undeploy process fails and we have a half

Re: tomcat and comp jndi context

2011-07-20 Thread Pid
* question rather than a Tomcat one? p * EJB! Really!? - Romain 2011/7/20 Pid p...@pidster.com On 19/07/2011 23:34, Romain Manni-Bucau wrote: Hi, where can i get more information on the way tomcat manage its jndi tree? Pratically i need the get java:comp context but i don't know when

Re: IIS 7.5 2008 Server

2011-07-17 Thread Pid *
On 16 Jul 2011, at 07:51, Ian Porter i...@codingfriends.com wrote: Hi pid I am using tomcat version 7.0, I have read the documentation below thanks, but it does not say that it is working with iis 7.5? I shall reinstall it again, and redo the files etc ? Is there any version you recommend

Re: [JSP] List directory content within a war-file

2011-07-17 Thread Pid *
On 16 Jul 2011, at 15:46, Dark Before Dawn dark.before.d...@gmail.com wrote: Hi there, I am trying to list files and directories within an war-file i.e images/summer2010 images/winter2010. The war-file is deployed on a tomcat 7 instance with unpackWARs=false. Since I have no exposed

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Pid
On 15/07/2011 22:25, Stephen Munro wrote: Yeah, you may be right out it's usefulness, but on the video I watched, it was being pitched as a performance boost if you had a massive web app (with annotations and web-fragments). So the use case would be, develop the app with annotations enabled

Re: How can i change JSESSIONIDSSO cookie name?

2011-07-15 Thread Pid
On 15/07/2011 13:08, Mathan Karthik wrote: Currently I'm running two web applications in the same machine, but using two different tomcat servers. Both the applications has the same context path, but port numbers are different. Wouldn't it be easier just to run the apps on two different IP

Re: IIS 7.5 2008 Server

2011-07-15 Thread Pid
On 15/07/2011 22:21, Ian Porter wrote: Hi All I am trying to get the tomcat server to work on IIS 7.5 with 2008 Server, I have tried many different ways and websites that say that they work, but when I go through there examples I am just not able to get it to work :( Which version of

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Pid
. Indeed. p On 15 July 2011 22:28, Pid p...@pidster.com wrote: On 15/07/2011 22:25, Stephen Munro wrote: Yeah, you may be right out it's usefulness, but on the video I watched, it was being pitched as a performance boost if you had a massive web app (with annotations and web-fragments). So

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-14 Thread Pid
On 13/07/2011 20:17, Christopher Schultz wrote: Mark, On 7/13/2011 3:12 PM, Mark Thomas wrote: On 13/07/2011 19:39, Lataxes, Karl wrote: We're not using cookies. Our application is not web based, but accepts HTTP PUTS via client requests that enter our network from external sources. We

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-14 Thread Pid
On 14/07/2011 10:25, Pid wrote: On 13/07/2011 20:17, Christopher Schultz wrote: Mark, On 7/13/2011 3:12 PM, Mark Thomas wrote: On 13/07/2011 19:39, Lataxes, Karl wrote: We're not using cookies. Our application is not web based, but accepts HTTP PUTS via client requests that enter our

Re: Terminating Timer Thread Gracefully

2011-07-14 Thread Pid
On 14/07/2011 06:05, Terence M. Bandoian wrote: On 1:59 PM, Pid wrote: ATimerTask is a private instance in AServletContextListener, is this necessary and if so, why? What logic is contained in ATimerTask? Are you overriding TimerTask.cancel() and do you catch InterruptedException? p

Re: response headers missing ?

2011-07-14 Thread Pid
On 14/07/2011 11:29, André Warnier wrote: Hi. This is a bit of a side question, or let's say a question-by-proxy. I happen to be also subscribed to a support list for mod_perl, and someone there made the following comment as part of a post : quote We have 100+ web servers where

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread Pid
On 14/07/2011 15:04, David kerber wrote: On 7/14/2011 9:50 AM, André Warnier wrote: David kerber wrote: I have a situation where my users will be logging into their pages on an IIS 5 web server, which authenticates them with their user ID and password as configured in IIS. This works fine.

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-14 Thread Pid
On 14/07/2011 15:11, Christopher Schultz wrote: Pid, On 7/14/2011 5:45 AM, Pid wrote: http://www.cafepress.com/cp/customize/product2.aspx?number=556022568 $21? boo... I couldn't change the price... s signature.asc Description: OpenPGP digital signature

Re: Session cookie max age

2011-07-14 Thread Pid
On 14/07/2011 15:27, Christopher Schultz wrote: Konstantin, On 7/13/2011 8:54 PM, Konstantin Kolinko wrote: AFAIK, 1) Tomcat won't send Set-Cookie when session id is already known (either from this webapp or from webapp on its parent path such as ROOT). That would sound like a bug. If

Re: Session cookie max age

2011-07-14 Thread Pid
On 14/07/2011 15:54, André Warnier wrote: Konstantin Kolinko wrote: ... 1) Updating it with every response sounds lame. 2) max-age value should be consistent between all web applications that might share the session cookie. Otherwise there will be inconsistencies and breakages. Are you

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-13 Thread Pid
On 13/07/2011 14:37, Lataxes, Karl wrote: We are attempting to run identical servlets under several Tomcat 7.0.8 nodes behind a load balancer (Apache 2.0.54 using mod_jk), but we have been unable to get sticky sessions to work. Initial requests are forwarded to a node as expected, but

Re: Terminating Timer Thread Gracefully

2011-07-13 Thread Pid
On 12/07/2011 20:47, Terence M. Bandoian wrote: Hi, Kris- I tried using ScheduledExecutorService but ran into the same problem. After awaiting termination: executorService.shutdown(); try { while (

Re: Terminating Timer Thread Gracefully

2011-07-12 Thread Pid
On 12/07/2011 02:06, Terence M. Bandoian wrote: Hi- I've been testing a web application on: Tomcat 6.0.32 (32-bit) Sun/Oracle JRE 1.6.0_25 (32-bit) Windows Server 2008 R2 The web application includes a ServletContextListener which creates a Timer in the contextInitialized method to

Re: HANDLER THREAD PROBLEM: java.io.IOException: Stream broken

2011-07-11 Thread Pid
On 11/07/2011 09:06, André Warnier wrote: Platform ? Tomcat version (x.y.z) ? Java version ? mod_jk/isapi version ? What are you/your component doing when the error happens ? I mean, does the error happen when a tau neutrino strikes the CPU, or when you pull the network cable, or when ?

Re: JNA class path with tomcat

2011-07-11 Thread Pid
On 09/07/2011 00:40, charithsoori wrote: Hi, I am trying to run a web application which is which using JNA . My application work fins as standalone and when it configured as a web app tomcat it giving error java.lang.NoClassDefFoundError: com/stibocatalog/hunspell/HunspellLibrary . It

Re: HANDLER THREAD PROBLEM: java.io.IOException: Stream broken

2011-07-11 Thread Pid
On 11/07/2011 14:30, Petr Hracek wrote: It seems that after upgrading to tomcat5.5 all is working. But some times ps -ef or top shown me that java process is consuming 100% CPU usage Before that there was used tomcat 3.2.1 version JRE which was used was 1.4.2. Right... So again I'll point

Re: Tomcat 6.0.32 stops responding

2011-07-11 Thread Pid
On 11/07/2011 15:10, PJ Delsh wrote: Konstantin, 1- We couldn't find anything useful in the Apache logs. Log data is useful. Even if it doesn't /appear/ to show an error. 2- I don't know where in the Tomcat logs or Apache config to look for the connector we are using. Carefully remove

Re: Tomcat appears to be sending duplicate requests

2011-07-08 Thread Pid
On 08/07/2011 11:07, peterjca wrote: Yes, I do mean duplicate requests. I know they are duplicates because the header contains the unique (thread-safe) counter that my test harness increments. Each request should contain its unique request count, but some requests contain counts already seen

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Pid
Linux OOM killer? http://lwn.net/Articles/317814/ p On 07/07/2011 09:35, mar...@alt-v.co.uk wrote: Yeh, I've worked out what was happening, seems that tomcat was being killed by the system running out of memory, which was happening without any log messages on the system at all, which was

Re: URI served from cache

2011-07-07 Thread Pid
On 07/07/2011 14:54, Langer Arnaud wrote: Hi there, My question is simple : is it possible to disable the cache of Tomcat ? I think I've browsed the entire web about that without finding my answer. As I'm developping a website under Eclipse, I would like to see modifications as they are

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Pid
On 07/07/2011 01:31, eurotrans-Verlag wrote: Hi all, I’m using Tomcat 7.0.16 on a system with Java 1.6.0_26 on Windows Serer 2008 and wondered about a strange NPE I got shortly after deploying a webapp to Tomcat: SCHWERWIEGEND: An exception or error occurred in the container during the

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Pid
On 07/07/2011 20:59, eurotrans-Verlag wrote: Hi Christopher, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, July 07, 2011 9:13 PM Looks like it. I would be very interested to know which of those objects is null: the container,

Re: Need help debugging JSP compilation failure

2011-07-06 Thread Pid
On 06/07/2011 21:54, Mike Spreitzer wrote: I install a fresh copy of the latest Tomcat (7.0.16), and deploy my WAR by copying it into Tomcat's webapps/. Then I startup Tomcat and direct my browser to my web app's welcome page --- which is a JSP. The compilation of the JSP fails but with

Re: Tomcat 7 applet session problem

2011-07-06 Thread Pid
On 06/07/2011 21:54, S Arvind wrote: Hi All, Web application presently running in the tomcat 6 which has applet in it. In that applet we make a connection to server using URL class and get some data from the server after it loads. In this process we got error after updating to the

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-04 Thread Pid
On 04/07/2011 05:23, Rohan Kadam wrote: I am not getting what I am supposed to do? After that Iwent to Java Tab, and added the below line in Java Option Section. Please let me know if I am missing something. The line. Chris was asking you to specify the line you refer to as being

Re: Tomcat 7 Embedded: Manager

2011-07-03 Thread Pid
On 01/07/2011 20:49, Dark Before Dawn wrote: Hi Pid, hi Cuck! thanks for your help. Your suggestions fixed the naming issues :) thanks! But the error still occurs. FAIL - Encountered exception javax.management.InstanceNotFoundException: Tomcat:type=Deployer,host=localhost The Deployer

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread Pid
On 01/07/2011 04:45, Tim Judd wrote: Hi Christopher, all 'machine' was meant to indicate one of two choices, the computer that is running the tomcat server, or the computer who is the client in a client-server relationship. So you meant the client or the server. I don't know the

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 10:40, Dark Before Dawn wrote: this is realy driving me nuts for weeks so *does* the arbit*rary* use of *bold* for me. p signature.asc Description: OpenPGP digital signature

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 10:40, Dark Before Dawn wrote: Hi again, this is realy driving me nuts for weeks :) FAIL - Encountered exception javax.management.InstanceNotFoundException: Tomcat:type=Deployer,host=localhost 1. Connect to your running instance with JConsole*. 2. Examine the MBeans published

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Pid
On 30/06/2011 21:57, Christopher Schultz wrote: Rohan, On 6/30/2011 8:01 AM, Rohan Kadam wrote: We had recently upgraded tomcat from 5.5.30 to 7.0.14. We were earlier facing problem that tomcat was not able to connect using Static IP address. The fix that we found was adding address =

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Pid
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, July 01, 2011 4:18 PM To: Tomcat Users List Subject: Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14) On 30/06/2011 21:57, Christopher Schultz wrote: Rohan, On 6/30/2011 8:01 AM, Rohan Kadam

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 12:44, Dark Before Dawn wrote: Hi Pid, i guess the problem is that the manager-servlet's context is mounted at root and the ServletMapping points to /manager. server.addContext(, baseDirectory); ctx.addServletMapping(/manager/*, manager-servlet); So all relative paths

Re: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-30 Thread Pid
On 30/06/2011 02:10, Bob DeRemer wrote: Chris, Thanks for the feedback. I haven't come across squid yet, so I will take a look. With regard to HTTP proxying, no, I don't want to do HTTP proxying. I would like to insert a TCP-based NIO request router in place of Tomcat's Connector.

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-06-30 Thread Pid
On 30/06/2011 13:01, Rohan Kadam wrote: Hi All, We had recently upgraded tomcat from 5.5.30 to 7.0.14. We were earlier facing problem that tomcat was not able to connect using Static IP address. The fix that we found was adding address = 0.0.0.0 in the Connector tag of server.xml in the

Re: tomcat application manager

2011-06-29 Thread Pid
On 29/06/2011 10:21, gautam wrote: Hi Friends, I had deployed a war file(generated through eclipse) on tomcat5.5 running on windows server2008. It gives me error 404 and it's running status in tomcat application manager shows 'false'. While same war file is running smooth on tomcat5.5

Re: DNS Netwrork address Cache

2011-06-29 Thread Pid
On 29/06/2011 08:02, Venky Vasant wrote: I have a configuration setting of 10 minutes (networkaddress.cache.ttl=600) o n java security file Will just a tomcat service restart help in clearing the cache or do i also need to run ipconfig/flushdns. The DNS cache in Java is independent of

Re: tomcat recovery after hang

2011-06-29 Thread Pid
In addition I found a webpage that tells how to check when tomcat falls, (checking PID or Service status) the problem is that when my tomcat hangs it still working, Can't use that methods Instead of trying to work around the problem, why not try to understand why Tomcat (or more likely

Re: HOW TO: create custom Tomcat 6 connector to do port sharing

2011-06-29 Thread Pid
On 29/06/2011 19:51, Christopher Schultz wrote: Honestly, I'd look for a non-Tomcat-centric solution because it's probably already been built elsewhere. -chris Why is opening another port a problem? p signature.asc Description: OpenPGP digital signature

Re: fail to download large static files in tomcat

2011-06-27 Thread Pid
On 27/06/2011 11:42, Michal Singer wrote: Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download static files. Please post a new message to the list, rather than editing replying to an existing thread. p signature.asc Description: OpenPGP digital signature

Re: Allow Servlet to Control 100-continue response

2011-06-19 Thread Pid
On 18/06/2011 06:53, Rehtron wrote: Hi Currently if a client supplies the Expect: 100-continue header on a POST or PUT, Tomcat appears to send the response header (100-continue) before passing control to the servlet. Out of interest, are you asking to control specifically the 100 response,

Re: Allow Servlet to Control 100-continue response

2011-06-19 Thread Pid
On 19/06/2011 11:59, Rehtron wrote: I will investigate the Tomcat Valve mechanism, but one thing is for sure, the Valve based implementation depend on the Tomcat private implementation, that means I cannot use Jetty to do unit test. Why not test with Tomcat instead? Can Servlet 3.0 Comet

Re: FW: How to configure Tomcate 7 to remove OutOfMemory permgen error

2011-06-19 Thread Pid
On 19/06/2011 20:57, Thomas Adler wrote: Hi! I am trying to use MyEclipse - I have simple database with 5 tables and I am trying to use MyEclipse Spring 3 CURD application scaffolding to generate Spring CRUD application, that uses Spring 3, Hibernat, Java Servlets 3, JSF 2 and

Re: Deploy Problem [SEC=UNCLASSIFIED]

2011-06-16 Thread Pid
On 16/06/2011 08:46, Reinhard Hnat wrote: Is it this what you mean with 'stacktrace'? Yes. The AccessControlException indicates that you have the Java Security Manager enabled, at a guess you're probably running a repackaged version of Tomcat on Linux - where the packager has configured the

Re: Feature request: fullstart command

2011-06-16 Thread Pid
On 15/06/2011 21:00, Francis GALIEGUE wrote: Tomcat has many abilities to deploy applications at run time (war, tree, context, you name it). However, when used in production, these abilities are used cautiously, if they are used at all. In many scenarios, Tomcat just starts, spends its life,

Re: Feature request: fullstart command

2011-06-16 Thread Pid
On 16/06/2011 12:15, Francis GALIEGUE wrote: On Thu, Jun 16, 2011 at 12:29, Pid p...@pidster.com wrote: [...] An application might report that it's started, even it hasn't finished initialising. That is the application's responsibility, so not the problem at hand. What is the value

Re: Static content not displaying

2011-06-15 Thread Pid
On 15/06/2011 13:41, Flaherty, Brennen F wrote: we have an application that works as expected on tomcat version 6.0.29 on a windows server . If I try to copy the war to a machine running version 6.0.32 none of the static content will display. If I copy the war file to a different machine

Re: One process per webapp

2011-06-15 Thread Pid
On 15/06/2011 14:20, cowwoc wrote: If this functionality was built into Tomcat It wouldn't be built into Tomcat, you're asking for a management application and/or proxy. The first might run inside Tomcat and the second sits in front of it - frequently implemented with Apache HTTPD (mod_proxy,

Re: Need help deploying web-service to EC2 with Tomcat7

2011-06-14 Thread Pid
On 14/06/2011 08:03, Lisa and Terence Davis wrote: Hi Everyone, I have a web-service that I've developed using Tomcat7/MySQL5 using NetBeans 7. In the IDE it all works fine. For testing however, I need to get it onto an EC2 instance so users other than me can access it. I have created

Re: One process per webapp

2011-06-14 Thread Pid
On 13/06/2011 22:53, Christopher Schultz wrote: Gili, On 6/13/2011 1:07 PM, cowwoc wrote: I posted a RFE at https://issues.apache.org/bugzilla/show_bug.cgi?id=51366 asking for the ability to seamlessly deploy webapps into separate JVMs. So you want Tomcat to have an option to run as a

Re: user tomcat authentication

2011-06-13 Thread Pid
HTTP COOKIE and validation of that cookie is done then page should be shown. 2011/6/12 Mark Thomas ma...@apache.org: On 12/06/2011 20:29, Pid wrote: On 12/06/2011 17:12, Petr Hracek wrote: And what about in case that I have my own program for accessing to the specific databases where

Re: user tomcat authentication

2011-06-12 Thread Pid
, Pid napsal(a): On 10/06/2011 11:26, Petr Hracek wrote: Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file I'm not sure I'd give Tomcat access to the local user authentication. or users which

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Pid
On 10/06/2011 09:38, Patrick Guillot - Genigraph wrote: Jvm Option[8] -Djava.class.path=D:\tomcat\bin\tomcat-juli.jar;D:\tomcat\bin\bootstrap.jar; D:\tomcat\lib\annotations-api.jar;D:\tomcat\lib\catalina-ant.jar;D:\tomcat\l

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Pid
On 10/06/2011 09:38, Patrick Guillot - Genigraph wrote: Hi everybody, I’m driving mad with a classpath issue : My environment : - Tomcat 6.0.29 - Windows Server 2008 R2 Standard 64 bits - JDK 1.5.0_22 My webapp is using Waffle (Windows

Re: user tomcat authentication

2011-06-10 Thread Pid
On 10/06/2011 11:26, Petr Hracek wrote: Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file I'm not sure I'd give Tomcat access to the local user authentication. or users which are stored in

Re: Problem regarding Hosting

2011-06-10 Thread Pid
On 10/06/2011 13:33, adityagoel123 wrote: I have succesfully deployed a application through .war file on apache server. apache server usually refers to Apache HTTPD, http://httpd.apache.org. This is the mailing list for Apache Tomcat, a Java Application server, which does publish web

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread Pid
On 10/06/2011 10:16, Patrick Guillot - Genigraph wrote: Right. I have used a script I made because I had several tomcat instances to set-up (2x8). Attached is the script I used. I'm using multiple catalina_base (one for each application). Please uninstall all Tomcat services. Now install

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Pid
On 10/06/2011 14:25, Charles Van Damme wrote: java.security.NoSuchAlgorithmException: RSA SSLContext not available It seems pretty clear that RSA isn't accepted by Java as a valid algorithm. p signature.asc Description: OpenPGP digital signature

Re: Tomcat shutdown issues

2011-06-10 Thread Pid
On 10/06/2011 15:36, April Easton wrote: Good day, I've been working on closing all my threads in my applications that run on Tomcat. I recently upgraded to 7.0.14 to get better messages concerning why Tomcat wasn't shutting down properly. I have stopped all my servlets and threads,

Re: Concurrent Low Pause GC - Eden Space Size (Apache Tomcat/5.5.27)

2011-06-10 Thread Pid
On 10/06/2011 17:10, Martin Grotzke wrote: Hi, On 06/10/2011 05:05 PM, Smith, Mitchell wrote: Hi, Tomcat Version 5.5.27 OS: Linux Red Hat Linux 5.3 Enterprise 64bit I have a tomcat server setup, with the following configuration added: -XX:+UseLargePages -Xms14336m

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Pid
On 10/06/2011 21:23, Rüdiger Herrmann wrote: In case someone is interested, the code to programmatically set up a clustered Tomcat instance is attached.p The list strips attachments unfortunately. Try Pastebin/GitHub etc p signature.asc Description: OpenPGP digital signature

Re: My web application to use SSL (JSSE - RSA)

2011-06-10 Thread Pid
aren't using it. java.security.NoSuchAlgorithmException: RSA SSLContext not available As Pid points out, it's pretty obvious that RSA is not a valid algorithm in this situation: at sun.security.jca.GetInstance.getInstance(GetInstance.java:142) at javax.net.ssl.SSLContext.getInstance

Re: how to correct stop a thread and avoid leaks

2011-06-09 Thread Pid
On 07/06/2011 16:33, Bill Miller wrote: If you want to work with threads in tomcat you need to know about the Tomcat org.apache.catalina.LifecycleListener interface. Eh? Why would you need to put Tomcat specific dependencies in a spec compliant Servlet container? The above is simply not true.

Re: Tomcat 7.0.14 / 6.0.32 session gets obviously invalid after request / JSESSIONID changes

2011-06-09 Thread Pid
On 08/06/2011 10:18, Sascha Hesse wrote: Hello all, I'm hosting our spring mvc 3.0.5 application in tomcat 7.0.14 and also tried 6.0.32 The server is hosting two webapps. The frontend: http://localhost:50012/frontend The backend: http://localhost:50012/backend The Request-Flow looks

Re: serving pre-compressed files

2011-06-09 Thread Pid
On 08/06/2011 16:03, Jesse Farinacci wrote: Greetings, I'm using Tomcat 7.0.14 and IBM Java 6. As part of my web application's bundling mechanism (via Maven) I have the ability to pre-gzip compress static resources. I'd like Tomcat to detect that a request for /path/to/resource has

Re: Static resource mapping in web.xml

2011-06-09 Thread Pid
On 08/06/2011 17:48, falva...@geocom.com.uy wrote: Currently we do not have this kind of attacks because the app runs in an intranet. But I know that in this closed scenario we should beware of the users. But if your network is penetrated, your server will be vulnerable and therefore a

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-09 Thread Pid
On 09/06/2011 06:52, Caldarale, Charles R wrote: From: Jocelyn Ireson-Paine [mailto:p...@j-paine.org] Subject: Null-pointer exception from response.encodeUrl under Windows Tomcat 7 I'm getting sporadic null-pointer exceptions from 'response.encodeUrl'. First off, let me say that it's

Re: serving pre-compressed files

2011-06-09 Thread Pid
On 09/06/2011 13:34, Jesse Farinacci wrote: Hello, On Thu, Jun 9, 2011 at 4:27 AM, Pid p...@pidster.com wrote: Not quite the same, but similar, is the following: If you're using Tomcat 7, you have Servlet 3 compatibility, which means you can serve resources out of a specially* constructed

Re: Tomcat 5.5 Clustering

2011-06-09 Thread Pid
On 09/06/2011 15:02, Tauqir Akhtar wrote: Hi I am running two Tomcat (5.5.27) Instances on two different machines deploying the same Java Application. If this is a new request for help, rather than a reply to Tomcat 6 Clustering vs. Tomcat 5.5 clustering please start a new thread, rather

Re: Tomact 5.5 Clustering

2011-06-09 Thread Pid
On 09/06/2011 15:30, Tauqir Akhtar wrote: Hi I am running two Tomcat (5.5.27) Instances on two different machines deploying the same Java Application. I have made changes in server.xml to specify the Port on which Tomcat should run on the two machines. On Machine 1 : Connector

Re: how to correct stop a thread and avoid leaks

2011-06-09 Thread Pid
On 09/06/2011 18:44, Calum wrote: On 9 June 2011 09:11, Pid p...@pidster.com wrote: Eh? Why would you need to put Tomcat specific dependencies in a spec compliant Servlet container? The above is simply not true. The OP use of a ServletContextListener is perfectly valid, (even if the rest

Re: specifying the content-type

2011-06-03 Thread Pid
On 01/06/2011 13:13, Lentes, Bernd wrote: Andre Warnier wrote: Your configuration of mod_jk below looks correct (except a small detail, see JkMount). But I must say that it is difficult to believe that the request is actually forwarded to Tomcat, and that Tomcat then fails to recognise

Re: error-page for http 500 error code does not work

2011-06-03 Thread Pid
On 02/06/2011 21:45, Kevin Claver wrote: Two things I would like to note: 1. When I invoke the Java HMAExceptionHandlerServlet configured to be used in the error-page block in the application specific web.xml directly from the URL in the browser, it works. 2. Tomcat 5.5.33 does

Re: Inconsistency in user documentation

2011-06-03 Thread Pid
On 03/06/2011 14:50, Ivo Kammerath wrote: Is this something I can do myself, If yes how can I do this? Is there some kind of content management behind the general web pages or is this simply static content? Am I even allowed to make this change myself? The docs are stored in xml, in the

Re: specifying the content-type

2011-06-03 Thread Pid
On 03/06/2011 10:22, André Warnier wrote: Pid wrote: On 01/06/2011 13:13, Lentes, Bernd wrote: Andre Warnier wrote: Your configuration of mod_jk below looks correct (except a small detail, see JkMount). But I must say that it is difficult to believe that the request is actually forwarded

Re: Two instances of Tomcat 5.5.17

2011-06-03 Thread Pid
On 03/06/2011 16:49, telebabbo wrote: Hi. I have this problem: I use a web-application running on a tomcat servlet through the 8108 port. To clarify: a servlet runs inside an application, which runs inside Tomcat, which runs inside a Java virtual machine (JVM). How is this

Re: specifying the content-type

2011-06-01 Thread Pid
On 01/06/2011 11:04, André Warnier wrote: JkMount /mouseidgenes/* appl01 This will forward a request like /mouseidgenes/index.jsp, but will not forward the URL /mouseidgenes. You may want to add JkMount /mouseidgenes appl01 There is a syntax method to address this situation:

Re: specifying the content-type

2011-06-01 Thread Pid
On 01/06/2011 10:55, Lentes, Bernd wrote: lrwxrwxrwx 1 root root 20 Apr 18 16:33 webapps - /srv/tomcat6/webapps/ What is in the webapps dir? A directory called 'mouseidgenes'? If so, what is the file tree in that directory? What is /mouseidgenes/InputData? Is it a servlet or a JSP? p

Re: Tomcat with Cisco ACE Load Balancer

2011-06-01 Thread Pid
On 31/05/2011 21:10, Tauqir Akhtar wrote: Hi We have been using Weblogic Clusters with Cisco ACE Load Balancer We have 8 managed servers in the weblogic Cluster distributed evenly over two Machines. Load Balancer distributes the load in Robin Round fashion across these 8 managed servers

Re: Switching native Tomcat logging system

2011-05-31 Thread Pid
On 31/05/2011 19:49, Francis GALIEGUE wrote: Hello, For some obscure reasons, Tomcat insists on having its own native implementation of a logging system, namely juli. This is beyond my understanding. Log4j has existed for years, is much better than even the native Sun's JDK logging API of

Re: Tomcat reset connection before completing the request

2011-05-31 Thread Pid
On 31/05/2011 15:03, Chaminda Divitotawela wrote: I am using two tomcat 6.0.13 servers loadblanced by a apache httpd-2.2.4 You really, really need to upgrade Tomcat. That version is old many problems have been fixed since then. p signature.asc Description: OpenPGP digital signature

Re: Issues with getRemoteAddress

2011-05-26 Thread Pid
On 26/05/2011 15:43, Filippo Machi wrote: Ciao Christopher, we don't trust 85.18.x.x., it doesn't belong to us, that's why I posted my question. We're not able to explain how is possible that a request from localhost to localhost appear to be issued from a different ip. If it's not one of

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump for example some information each time a GC happens, Try -verbose:gc and

<    5   6   7   8   9   10   11   12   13   14   >