HTTP Status 404 - /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet

2011-01-19 Thread Amol Puglia
Hello Team, I am having one application deployed on tomcat. The entire application is working fine. But one of the functionality in the application ie. file upload is not working. We are getting following error while uploading file. Also logs are having any error messages when file upload gets

Re: Geo-Server shows running state false when deployed on tomcat

2011-01-19 Thread Konstantin Kolinko
2011/1/20 Deepak Pal : > /srv/apache-tomcat-5.5.31/ I'd better consider running it on 6.0. 5.5.31 includes commons-logging-1.1.1.jar and it will conflict with the one in your war. 6.0 does not have this issue. > Logs in catalina.2011-01-20.log are: And what is in localhost.2011-01-20.log ? >

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Konstantin Kolinko
2011/1/19 Michael Ludwig : > Petr Hracek schrieb am 19.01.2011 um 12:37 (+0100): >> The programs like 'jps' and 'jstack' are directorly in tomcat5 >> distribution or it has to be compiled on the system? > > They come with the JDK and are located in the JDK's bin/ directory. > >  C:\Programme\Java\j

Geo-Server shows running state false when deployed on tomcat

2011-01-19 Thread Deepak Pal
Hello All, I have created an image of ubuntu 10.04 and installed tomcat on it using source . I have also deployed Geo-Server on it . Then I have created some Virtual Machines from that image and then started tomcat from /bin/startup . But when I access the Manager page of tomcat then it shows

RE: Request Line Truncated and Caused 501

2011-01-19 Thread Jason Pyeron
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, January 19, 2011 17:59 > To: Tomcat Users List > Subject: Re: Request Line Truncated and Caused 501 > > On 19/01/2011 19:54, Yuesong Wang wrote: > > Hi, > > > > I have tomcat 6.0.29 configured using the

Re: Can't upload large war to Tomcat 7, worked in Tomcat 6

2011-01-19 Thread The Geek ...
>Look in the web.xml for the Manager application. > >Mark Doh! Thanks for that...

Re: Request Line Truncated and Caused 501

2011-01-19 Thread Mark Thomas
On 19/01/2011 19:54, Yuesong Wang wrote: > Hi, > > I have tomcat 6.0.29 configured using the NIO connector running on linux. My > access log shows strange 501 errors like this: Known issue. Fixed in 6.0.30. http://issues.apache.org/bugzilla/show_bug.cgi?id=50072 Mark --

RE: Request Line Truncated and Caused 501

2011-01-19 Thread Jason Pyeron
> -Original Message- > From: Christopher Schultz > Sent: Wednesday, January 19, 2011 17:50 > To: Tomcat Users List > Subject: Re: Request Line Truncated and Caused 501 > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jason, > > On 1/19/2011 3:05 PM, Jason Pyeron wrote: > >> -

Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/19/2011 2:27 PM, Reinwald Warapen wrote: > On 1/20/2011 12:47 AM, Mark Thomas wrote: >> On 19/01/2011 19:17, Reinwald Warapen wrote: >>> I am writing a serializer/deserializer functionality (used in my custom >>> session manager that extend

Re: Request Line Truncated and Caused 501

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 1/19/2011 3:05 PM, Jason Pyeron wrote: >> -Original Message- >> From: Yuesong Wang > Sent: Wednesday, January 19, 2011 14:55 >> To: users@tomcat.apache.org >> Subject: Request Line Truncated and Caused 501 >> >> Hi, >> >> I have tomc

Re: how to configue tomcat ldap 2008

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 1/19/2011 4:56 PM, Jill Han wrote: > Here is the snippet of server.xml > >debug="99" debug isn't a valid attribute on any supported version of Tomcat. What version are you using? > connectionName="usern...@so

Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Pid
On 1/19/11 7:27 PM, Reinwald Warapen wrote: > On 1/20/2011 12:47 AM, Mark Thomas wrote: >> On 19/01/2011 19:17, Reinwald Warapen wrote: >>> I am writing a serializer/deserializer functionality (used in my custom >>> session manager that extends ManagerBase). When deserializing I get >>> loads of ja

Re: Can't upload large war to Tomcat 7, worked in Tomcat 6

2011-01-19 Thread Mark Thomas
On 19/01/2011 20:45, André Warnier wrote: > But, don't despair, I see this somewhere : > $Id: FileUploadBase.java 1001939 2010-09-27 22:29:30Z markt $ > > so if he is around, the real answer may be coming soon. :) Look in the web.xml for the Manager application. Mark --

Re: cookies and webservice

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego, On 1/19/2011 12:08 PM, Diego Monni wrote: > MessageContext inMsgCtx1 = > stub1._getServiceClient().getLastOperationContext().getMessageContexts().get("Out"); > String incomingCookie1 = > (String)inMsgCtx.getServiceContext().getProperty(HTTPCons

how to configue tomcat ldap 2008

2011-01-19 Thread Jill Han
Hi, Here is the snippet of server.xml ldap://some.college.edu:389"; referrals="follow" userBase="dc=some,dc=college,dc=edu" userSearch="(sAMAccountName={0})" userRoleName="memberof" roleBase="dc=some,dc=college,dc=edu"

Re: Can't upload large war to Tomcat 7, worked in Tomcat 6

2011-01-19 Thread André Warnier
The Geek ... wrote: I recently upgraded to Tomcat 7.0.6 and tried uploading a large war file (~350MB) through the manager gui webapp. It failed with the following exception, but I used to do this just fine under Tomcat 6. The exception itself seems clear, but I've googled until my fingers bleed

Re: Question about redirecting in tomcat

2011-01-19 Thread André Warnier
Ayman_AU wrote: Hi Gurus, I have a question which will be a great help if you can answer it for me. Thanks in advance. I created a DNS on a LAN called peterbay.ae This DNS is forwarding to IP address 10.10.8.14 I have an application running on Tomcat which can be accessed via this address: htt

Can't upload large war to Tomcat 7, worked in Tomcat 6

2011-01-19 Thread The Geek ...
I recently upgraded to Tomcat 7.0.6 and tried uploading a large war file (~350MB) through the manager gui webapp. It failed with the following exception, but I used to do this just fine under Tomcat 6. The exception itself seems clear, but I've googled until my fingers bleed and can't find any se

RE: Request Line Truncated and Caused 501

2011-01-19 Thread Jason Pyeron
> -Original Message- > From: Yuesong Wang > Sent: Wednesday, January 19, 2011 14:55 > To: users@tomcat.apache.org > Subject: Request Line Truncated and Caused 501 > > Hi, > > I have tomcat 6.0.29 configured using the NIO connector > running on linux. My access log shows strange 501 error

Request Line Truncated and Caused 501

2011-01-19 Thread Yuesong Wang
Hi, I have tomcat 6.0.29 configured using the NIO connector running on linux. My access log shows strange 501 errors like this: 86.24.156.114 - - [19/Jan/2011:14:41:28 -0500] "eferer: /static/r07/sh30.html " 501 1235 "-" "-" 41.203.64.251 - - [19/Jan/2011:14:39:18 -0500] "ET HTTP/1.1" 501 122

Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Mark Thomas
On 19/01/2011 19:27, Reinwald Warapen wrote: > On 1/20/2011 12:47 AM, Mark Thomas wrote: >> On 19/01/2011 19:17, Reinwald Warapen wrote: >>> I am writing a serializer/deserializer functionality (used in my custom >>> session manager that extends ManagerBase). When deserializing I get >>> loads of j

Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Reinwald Warapen
On 1/20/2011 12:47 AM, Mark Thomas wrote: On 19/01/2011 19:17, Reinwald Warapen wrote: I am writing a serializer/deserializer functionality (used in my custom session manager that extends ManagerBase). When deserializing I get loads of java.lang.ClassNotFoundException: exceptions. All the classe

Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Mark Thomas
On 19/01/2011 19:17, Reinwald Warapen wrote: > I am writing a serializer/deserializer functionality (used in my custom > session manager that extends ManagerBase). When deserializing I get > loads of java.lang.ClassNotFoundException: exceptions. All the classes > for which the exceptions are thrown

Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Reinwald Warapen
I am writing a serializer/deserializer functionality (used in my custom session manager that extends ManagerBase). When deserializing I get loads of java.lang.ClassNotFoundException: exceptions. All the classes for which the exceptions are thrown can be found in my webapp/WEB-INF/classes. How d

Re: How to configure Tomcat/Coyote to deliver a P3P Header on Every Request

2011-01-19 Thread James Ng
Konstantin Kolinko gmail.com> writes: . > > Do you observe any pattern in which responses have the headers and which do not? > > For me a caveat was that the URI must match not only the urirewrite > rules, but also the filter mapping in web.xml, where this filter is > defined. > > > I used

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-19 Thread Mark Thomas
On 13/01/2011 15:47, Christopher Schultz wrote: > 1. WAR file starts copying, whether a huge, local file or a > moderately-sized remote file via the manager interface the point is > that this takes some time If done via the Manager interface this will never be an issue. The Manager does a few e

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-19 Thread Mark Thomas
On 19/01/2011 16:04, KwonNam Son wrote: > I'm developing an web application on Eclipse Helios, WTP, Tomcat > 6.0.29(and just upgraded to 6.0.30). > > I suffer from ClassNotFoundException a lot of times on both 6.0.29/30. > It's not about usual classes or jar. It's about JSP generated java class. >

Re: cookies and webservice

2011-01-19 Thread Diego Monni
I use whireshark in order to snif the transaction because de the proxy class return null MessageContext inMsgCtx1 = stub1._getServiceClient().getLastOperationContext().getMessageContexts().get("Out"); String incomingCookie1 = (String)inMsgCtx.getServiceContext().getProperty(HTTPConstants.COOKIE_ST

Question about redirecting in tomcat

2011-01-19 Thread Ayman_AU
Hi Gurus, I have a question which will be a great help if you can answer it for me. Thanks in advance. I created a DNS on a LAN called peterbay.ae This DNS is forwarding to IP address 10.10.8.14 I have an application running on Tomcat which can be accessed via this address: http://10.10.8.14:19

Re: cookies and webservice

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego, On 1/19/2011 9:48 AM, Diego Monni wrote: > Thanks for the response. > I mean that my application contains jsp pages and webservices. When I call a > jsp page the jsessionid is present. When I invoke a service method in the > response header jse

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam, On 1/19/2011 11:12 AM, Sam Zilverberg wrote: > We changed cp to mv and there are no problems now :) I thought of another strategy: ln If you use a hard link, you get to keep the file in the old location and in the new location. You also don't h

Re: problem with dynamic code in jsp

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Milko, On 1/19/2011 11:31 AM, m.h.g.emme...@dnb.nl wrote: > We have a jsp with code inside that dynamically fetches data from a > database. Ok. > When we put a changed jsp in place it gets compiled and shows the fetched > data from the database. Gr

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/19/2011 6:52 AM, André Warnier wrote: > #include > > int main(int argc, char *argv[]) { > > int thousand = 1000; > int sixty = 60; > int twentyfour = 24; > int hundred = 100; > int three = 3; > > int cacheTime1 = (1000 * 60 * 60 * 24

problem with dynamic code in jsp

2011-01-19 Thread M . H . G . Emmerig
Hello We are running tomcat 6.0.29 with tridion broker We have a jsp with code inside that dynamically fetches data from a database. When we put a changed jsp in place it gets compiled and shows the fetched data from the database. When we change the data in the database and refresh the page, th

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 1/19/2011 6:09 AM, Peter Crowther wrote: > On 19 January 2011 03:10, Christopher Schultz > wrote: > >> Yup: float is the default decimal type. Double-precision takes longer, >> so you have to ask for it. > > Chris, that's the only comment i

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-19 Thread David Fisher
>> I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and >> just upgraded to 6.0.30). >> >> I suffer from ClassNotFoundException a lot of times on both 6.0.29/30. >> It's not about usual classes or jar. It's about JSP generated java class. >> >> For example, when I request

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-19 Thread David Fisher
> I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and > just upgraded to 6.0.30). > > I suffer from ClassNotFoundException a lot of times on both 6.0.29/30. > It's not about usual classes or jar. It's about JSP generated java class. > > For example, when I request /jsps/t

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-19 Thread Sam Zilverberg
We changed cp to mv and there are no problems now :) Thanks for the help On Thu, Jan 13, 2011 at 8:16 PM, Sam Zilverberg wrote: > We copy using cp... > I'll try some of the ideas you guys mentioned and reply sometime next week > after I have some results. > Thanks for the great ideas ! > > -Sam

JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-19 Thread KwonNam Son
I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and just upgraded to 6.0.30). I suffer from ClassNotFoundException a lot of times on both 6.0.29/30. It's not about usual classes or jar. It's about JSP generated java class. For example, when I request /jsps/test.jsp, the

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Peter Crowther
On 19 January 2011 15:53, Caldarale, Charles R wrote: > No, most hardware (e.g., all flavors of x86) just sets a flag indicating that > an overflow has occurred; it's up to the executing program to check the flag. And on some machines (again, x86 springs to mind) it's easier to check some flags

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/18/2011 9:47 PM, Caldarale, Charles R wrote: > However, I suspect that Objective-C still follows the C standards for > expressions. Objective-C /must/ follow the C standards: it is a strict superset of C. Early Objective-C compilers were

RE: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Jeffrey Janner
Thanks for the clarification on the hardware Chuck. Like I said, my detailed hardware kb hasn't been updated in quite a while. I did mean either a flag or interrupt. It has been decades since I did "serious" coding, at least serious enough to go into that level of detail. Jeff > -Original Mes

RE: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: [OT] Setting HTTP response headers caching for 1 year doesn't > work > My hardware internals knowledge is just as rusty as my coding > skills, but doesn't the hardware catch the overflow and raise > the exception anyway?

RE: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Wednesday, January 19, 2011 9:13 AM > To: Tomcat Users List > Subject: RE: [OT] Setting HTTP response headers caching for 1 year > doesn't work > > > From: Jeffrey Janner [mailto:jeffrey.jan...@

RE: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: [OT] Setting HTTP response headers caching for 1 year doesn't > work > Does the Java compiler do this? One would think so, but judging > from the results you guys are displaying, it seems not. javac does do the constan

RE: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Jeffrey Janner
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Wednesday, January 19, 2011 5:52 AM > To: Tomcat Users List > Subject: Re: [OT] Setting HTTP response headers caching for 1 year > doesn't work > > Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE

Re: cookies and webservice

2011-01-19 Thread Diego Monni
Thanks for the response. I mean that my application contains jsp pages and webservices. When I call a jsp page the jsessionid is present. When I invoke a service method in the response header jsessionid is not present. diego 2011/1/19 Caldarale, Charles R > > From: Diego Monni [mailto:diego.mo.

RE: cookies and webservice

2011-01-19 Thread Caldarale, Charles R
> From: Diego Monni [mailto:diego.mo...@gmail.com] > Subject: cookies and webservice > I have to use a webservice (tomcat 7.0.0. + axis2 1.5 + jdk 6.0.21) Try it again on a stable version of Tomcat (7.0.6). > but in the response there isn't the jsessionid. In the application context > the flag

Re: RMI reaper thread prevents JVM from exiting

2011-01-19 Thread Pierre-Yves Saumont
Thomas Chabaud-3 wrote: > > I've tried to call the setDaemon(true), but I get the following exception > : > > java.lang.IllegalThreadStateException > Hi, What you can do is to interrupt the RMI Reaper thread : Set threads = Thread.getAllStackTraces().keySet(); for (Thread thread :

cookies and webservice

2011-01-19 Thread Diego Monni
Hi, I have to use a webservice (tomcat 7.0.0. + axis2 1.5 + jdk 6.0.21) installed in load balancing configuration. I need implement session affinity but in the response there isn't the jsessionid. In the application context the flag cookies is set to true and when I browse the application page the

Re: Can't load APR on Tomcat 6.0.24, RedHat Enterprise Linux 6.0 x86_64 with Sun Java 1.6.0_22

2011-01-19 Thread Michael Ludwig
Tore Wilhelm Hermansen schrieb am 19.01.2011 um 14:51 (+0100): > I can't get Tomcat (6.0.24) to load APR. I've tried installing the > apr, apr-devel, apr-util, apr-util-devel and apr-util-mysql package > from RedHat. Apr and apr-devel are needed, the rest is probably not. But you need one more co

Re: tomcat shows intermittent error page and good page for jsp

2011-01-19 Thread M . H . G . Emmerig
But if it is caching why does it first show the error page as it should? And then the previous version of the jsp again. Could it be that the original jsp is still in memory and gets replaced only when the new version is compiled correctly? Milko

Re: tomcat shows intermittent error page and good page for jsp

2011-01-19 Thread Mark Thomas
On 19/01/2011 13:56, m.h.g.emme...@dnb.nl wrote: > > > Hello > > We have the following situation on tomcat 6.0.29 > > First we deploy a good jsp and tomcat shows it correctly. > Then we introduce an intentional error in the jsp to test the error page we > want to display. > What happens is the

tomcat shows intermittent error page and good page for jsp

2011-01-19 Thread M . H . G . Emmerig
Hello We have the following situation on tomcat 6.0.29 First we deploy a good jsp and tomcat shows it correctly. Then we introduce an intentional error in the jsp to test the error page we want to display. What happens is the application shows the error page, but when we refresh the page it sh

Re: Can't load APR on Tomcat 6.0.24, RedHat Enterprise Linux 6.0 x86_64 with Sun Java 1.6.0_22

2011-01-19 Thread Mark Thomas
On 19/01/2011 13:51, Tore Wilhelm Hermansen wrote: > Hi. > I can't get Tomcat (6.0.24) to load APR. > INFO: The APR based Apache Tomcat Native library > What am I doing wrong? Please bear in mind I'm pretty new to Tomcat, so > I've probably overlooked something basic. Key words above: "APR based

Can't load APR on Tomcat 6.0.24, RedHat Enterprise Linux 6.0 x86_64 with Sun Java 1.6.0_22

2011-01-19 Thread Tore Wilhelm Hermansen
Hi. I can't get Tomcat (6.0.24) to load APR. I've tried installing the apr, apr-devel, apr-util, apr-util-devel and apr-util-mysql package from RedHat. I've also tried compiling/installing APR downloaded from http://apr.apache.org/ (apr-1.4.2). libapr-1.so from the RedHat package is present in /us

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Michael Ludwig
Petr Hracek schrieb am 19.01.2011 um 12:37 (+0100): > The programs like 'jps' and 'jstack' are directorly in tomcat5 > distribution or it has to be compiled on the system? They come with the JDK and are located in the JDK's bin/ directory. C:\Programme\Java\jdk1.6.0_23\bin -- Michael Ludwig

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread André Warnier
Peter Crowther wrote: On 19 January 2011 08:34, André Warnier wrote: Well, they haven't made a language yet which can divide acres by feet and coerce the result into furlongs. Google "20 acres / 22 feet in furlongs" and prepare for a surprise ;-). I /am/ impressed. On the other hand, it

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (You always make me write so much code!) I don't /make/ you write code, I just provide the inspiration. I'm quite good at that, when I don't have to do the work myself. Thanks for writing the code in question thou

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Super thank you. The programs like 'jps' and 'jstack' are directorly in tomcat5 distribution or it has to be compiled on the system? 2011/1/19 Ronald Klop : > Su to the user running tomcat. > Run 'jps'. Find the pid of the process running 'Bootstrap'. > Run 'jstack '. This gives you the thread dum

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Peter Crowther
On 19 January 2011 08:34, André Warnier wrote: > Well, they haven't made a language yet which can divide acres by feet and > coerce the result into furlongs. > Google "20 acres / 22 feet in furlongs" and prepare for a surprise ;-). - Peter

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Peter Crowther
On 19 January 2011 03:10, Christopher Schultz wrote: > Yup: float is the default decimal type. Double-precision takes longer, > so you have to ask for it. > Chris, that's the only comment in your post I'd take issue with. To my knowledge, a constant with a fractional part is assumed to be double

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Ronald Klop
Su to the user running tomcat. Run 'jps'. Find the pid of the process running 'Bootstrap'. Run 'jstack '. This gives you the thread dump. The id's of the threads (in hex) correspond to the pid's (in decimal) of the threads in ps -H or top with threads on. You can also find the pid with ps like

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Dear users, I do not understand correctly. I am linux administrator but the command like 'thread dump' is not existing. Do you have any example? Thank you in advance Petr 2011/1/19 Mark Thomas : > On 19/01/2011 08:29, Petr Hracek wrote: >> Dear tomcat users, >> >> I would like to ask you on the

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Mark Thomas
On 19/01/2011 08:29, Petr Hracek wrote: > Dear tomcat users, > > I would like to ask you on the some thing regarding servlets running > under tomcat 5 linux OS. > How could I detect if servlet is running or not? > Output of command ps -ef | grep java does not help me enought. I could > not catch w

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread André Warnier
Caldarale, Charles R wrote: (No wonder after that, that lunar probes go CFIT.) Nah, it's that damn metric system (think Gimli Glider). Well, they haven't made a language yet which can divide acres by feet and coerce the result into furlongs. And thanks for the Gimli Glider story, I did no

servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Dear tomcat users, I would like to ask you on the some thing regarding servlets running under tomcat 5 linux OS. How could I detect if servlet is running or not? Output of command ps -ef | grep java does not help me enought. I could not catch what java process is used by servlets Are there any spe