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
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
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 what
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 ma...@apache.org:
On 19/01/2011 08:29, Petr Hracek wrote:
Dear tomcat users,
I would like to ask
Su to the user running tomcat.
Run 'jps'. Find the pid of the process running 'Bootstrap'.
Run 'jstack pid'. 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
On 19 January 2011 03:10, Christopher Schultz
ch...@christopherschultz.netwrote:
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
On 19 January 2011 08:34, André Warnier a...@ice-sa.com 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
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 ronald-mailingl...@base.nl:
Su to the user running tomcat.
Run 'jps'. Find the pid of the process running 'Bootstrap'.
Run 'jstack pid'.
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
Peter Crowther wrote:
On 19 January 2011 08:34, André Warnier a...@ice-sa.com 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
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
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
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.
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
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
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
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
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
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 :
SetThread threads = Thread.getAllStackTraces().keySet();
for (Thread thread :
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
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 chuck.caldar...@unisys.com
From:
-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-
Hash:
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 constant
-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
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?
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
-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
On 19 January 2011 15:53, Caldarale, Charles R
chuck.caldar...@unisys.com 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
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
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 samzilverb...@gmail.comwrote:
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
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
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
-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
ch...@christopherschultz.netwrote:
Yup: float is the default decimal type. Double-precision takes longer,
so you have to ask for it.
Chris,
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,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 1/19/2011 6:52 AM, André Warnier wrote:
#include stdio.h
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 *
-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.
-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
-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
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:
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 =
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.
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
Konstantin Kolinko knst.kolinko at 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
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
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
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
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
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 actual url HTTP/1.1 501
-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 errors like
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
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:
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
Hi,
Here is the snippet of server.xml
Realm className=org.apache.catalina.realm.JNDIRealm
debug=99
connectionName=usern...@some.college.edu
connectionPassword=userPass
connectionURL=ldap://some.college.edu:389;
-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 =
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
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jill,
On 1/19/2011 4:56 PM, Jill Han wrote:
Here is the snippet of server.xml
Realm className=org.apache.catalina.realm.JNDIRealm
debug=99
debug isn't a valid attribute on any supported version of Tomcat. What
version are you
-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 tomcat 6.0.29
-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 extends
-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:
-Original
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
Look in the web.xml for the Manager application.
Mark
Doh! Thanks for that...
-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 NIO
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
2011/1/19 Michael Ludwig mil...@gmx.de:
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.
2011/1/20 Deepak Pal deepak@orkash.com:
/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
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
67 matches
Mail list logo