Re: Tomocat 6.0.20 Comet END Event *NOT RAISED* when connection is terminated

2011-07-30 Thread Pid
On 29/07/2011 18:33, Sudeep Pradhan wrote: > Pid, > > I tried Tomcat 6.0.32.. no luck yet. Even ERROR event is not raised. Can you provide a simple example which exhibits this behaviour? > Also, I am seeing something weird (may not be related to this problem, but > think its w

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

2011-07-29 Thread Pid
On 29/07/2011 08:41, André Warnier wrote: > Pid wrote: >> On 28/07/2011 20:07, Alejandro Henao González wrote: >>> I dont believe that have GC running all the time, but the GC is >>> called in the above line to HTMLEncoder.encode. as follows. >>> System.gc()

Re: Tomocat 6.0.20 Comet END Event *NOT RAISED* when connection is terminated

2011-07-29 Thread Pid
On 28/07/2011 20:42, Sudeep Pradhan wrote: > Hi, > > I have a CometProcessor Servlet which is used for streaming system events to > a http client. I have SSL enabled on the server. I use *curl* as the http > client. I get streaming events on the console. But when I do a Ctrl-C on the > console

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

2011-07-29 Thread Pid
On 28/07/2011 20:07, Alejandro Henao González wrote: > I dont believe that have GC running all the time, but the GC is called in the > above line to HTMLEncoder.encode. as follows. > > System.gc(); > > resultado = htmlEncoder.encode(resultado); Is 'htmlEncoder' a static field, an instance fie

Re: Trouble with List Application function of Tomcat Manager

2011-07-29 Thread Pid
On 28/07/2011 20:37, Beohm, Thomas wrote: > Hello! > > I'm running Tomcat 7.0.11 on Windows Server 2008 Enterprise, and recently > installed Windows Updates (to the tune of like 80 of them) on the server. > After doing so, when attempting to view the list of web apps running in > Tomcat, I get

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 o

Re: fail to download large static files in tomcat

2011-07-28 Thread Pid
On 28/07/2011 09:19, Michal Singer wrote: > What works? When using nio connector with this parameter useSendFile=false, > the load of large static files works fine. Before I set it to false it failed. Are you still attempting to resolve this, or just commenting? p -

Re: Wrong Response returned for a Request

2011-07-28 Thread Pid
On 28/07/2011 09:26, Robert Elliot wrote: > - Original Message - >> From: "Pid" >> To: "Tomcat Users List" >> Sent: Thursday, 28 July, 2011 9:07:13 AM >> Subject: Re: Wrong Response returned for a Request >> >>>>>

Re: fail to download large static files in tomcat

2011-07-28 Thread Pid
On 28/07/2011 07:31, Michal Singer wrote: > Regarding the question I asked on downloading large static files a while ago, > I got a reply now: > > > hi, > i got the same issue today, environment: windows xp, tomcat 7 with nio > connector; > it works after i try to add useSendfile="false" in ser

Re: Wrong Response returned for a Request

2011-07-28 Thread Pid
On 28/07/2011 07:34, Robert Elliot wrote: > > > > > On 28 Jul 2011, at 00:24, David Rees wrote: > >> On Wed, Jul 27, 2011 at 10:39 AM, Mark Thomas wrote: >>> On 27/07/2011 17:23, Robert Elliot wrote: We are using Tomcat 6.0.29, and occasionally experiencing concurrency issues

Re: Updating JAR META-INF/resources at runtime

2011-07-28 Thread Pid
On 28/07/2011 08:31, Pid wrote: > On 27/07/2011 17:06, David Wolverton wrote: >> Thanks Ognjen, >> >> Using 'reloadable' does cause the resources to update. However, this is not >> the solution I am looking for because it does this by reloading the webapp

Re: Updating JAR META-INF/resources at runtime

2011-07-28 Thread Pid
On 27/07/2011 17:06, David Wolverton wrote: > Thanks Ognjen, > > Using 'reloadable' does cause the resources to update. However, this is not > the solution I am looking for because it does this by reloading the webapp. The classloader initialises at loadtime, in order to release resources and loa

Re: Class loading order

2011-07-27 Thread Pid
ded by the JVM 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

Re: Class loading order

2011-07-27 Thread Pid
t; So I was checking the possibility of defining a new location for 3rd > party hot fixes. Is there any way to do this..? > > Regards, > Krishna > > > -Original Message- > From: ext Pid [mailto:p...@pidster.com] > Sent: Tuesday, July 26, 2011 2:15 PM > To:

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: 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

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 c

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: users-unsubscr...@tomcat.apa

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-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: 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)

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
mingContextListener(); Perhaps this is an OpenEJB* question rather than a Tomcat one? p * EJB! Really!? > - Romain > > 2011/7/20 Pid > >> On 19/07/2011 23:34, Romain Manni-Bucau wrote: >>> Hi, >>> >>> where can i get more information on the way

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 ha

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 afte

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

2011-07-16 Thread Pid *
On 16 Jul 2011, at 15:46, Dark Before Dawn 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 filesystem getRealPath w

Re: IIS 7.5 2008 Server

2011-07-16 Thread Pid *
On 16 Jul 2011, at 07:51, Ian Porter 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 r

Re: Tomcat 7 generated web.xml

2011-07-15 Thread Pid
e in memory copy to a generated > web.xml file. Indeed. p > On 15 July 2011 22:28, Pid 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

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: 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 I

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: 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

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

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: 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 wor

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 wh

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 o

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. >>>> >>>

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 extern

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 ( !executorService.awaitTe

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 s

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 me

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 rem

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 poi

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

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 w

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 alread

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: t

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 th

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 a

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 wa

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 th

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 wit

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

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=Deploye

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.addServletMa

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

2011-07-01 Thread Pid
etting it, exactly? p > -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 w

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 >> addr

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 publish

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: 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 t

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

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: 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: 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 und

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

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: 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: 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: 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: 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 re

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 wrote: > [...] >> >> An application might report that it's started, even it hasn't finished >> initialising. >> > > That is the application's responsibility

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 l

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 Sec

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, m

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-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

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 cr

Re: user tomcat authentication

2011-06-13 Thread Pid
ication is done so that if in the browser exists relevant >> HTTP COOKIE and validation of that cookie is done then page should be >> shown. >> >> >> 2011/6/12 Mark Thomas : >>> On 12/06/2011 20:29, Pid wrote: >>>> On 12/06/2011 17:12, Pe

Re: user tomcat authentication

2011-06-12 Thread Pid
p > best regards > Petr > Dne 10.6.2011 16:23, 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

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

2011-06-10 Thread Pid
is completely different if you choose to go this > route. > > If you are not going to be using APR, you can disable the APR lifecycle > listener because you aren't using it. > >>>> java.security.NoSuchAlgorithmException: RSA SSLContext not available > > As Pid

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: 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 >> -Xms14

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 > thre

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: 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 T

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 appli

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 an

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 usi

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 > ib\catalina-ha.jar;D:\tomcat\lib\catalina-tribes.jar;D:\tomcat\lib\

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 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,

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 : > On M

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, rat

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 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 resourc

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 s

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 resou

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 /pa

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-

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: 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 application

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