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
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 ?
>
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
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
> -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
>Look in the web.xml for the Manager application.
>
>Mark
Doh! Thanks for that...
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
--
> -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:
> >> -
-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
-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
-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
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
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
--
-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
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"
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
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
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
> -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
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
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
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
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
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
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
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
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.
>
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
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
-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
-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
-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
-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
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
-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
>> 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 /jsps/t
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
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
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
-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
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
> 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?
> -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...@
> 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
> -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
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.
> 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
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 :
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
67 matches
Mail list logo