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

2011-01-20 Thread André Warnier
Hello Amol. Amol Puglia wrote: 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. ^

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

2011-01-20 Thread Mikolaj Rydzewski
On Wed, 19 Jan 2011 23:56:27 -0800 (PST), Amol Puglia amolcpug...@yahoo.com wrote: 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. You should rather contact your

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

2011-01-20 Thread Amol Puglia
Hello Mikolaj, Thanks a lot for your quick response. I have uncommented the servlet mapping in web.xml in conf directory of tomcat and it has resolved our issue. Now we are successfully able to upload the file. Thanks once again. --- On Thu, 1/20/11, Mikolaj Rydzewski m...@ceti.pl 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-20 Thread Martin Grotzke
Hi, I just got pinged by Reinwald (we're already on contact via email) regarding this issue. I created the memcached-session-manager ( http://code.google.com/p/memcached-session-manager/ ) for which Reinwald is trying to create a custom serializer/transcoder (memcached-session-manager, msm,

Tomcat 6 sessino timeout problem

2011-01-20 Thread Rhonny David
Dear All, We are facing session termination problem in Tomcat 6.0.29. In web.xml of our application, we have configured session timeout as 60 minutes, but tomcat is giving no respect to it, rather it randomly terminates user session. We have implemented the HttpSessionListener and we have

Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
Hello, I'm using Tomcat 6.0.26 and java 1.5 SDK and I'm trying to implement a programmatic login in tomcat. I'm using JAAS for the container based security. Is there anyone that has done this before? I've tryied to bypass it by making a post with the username and the password

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

2011-01-20 Thread Peter Crowther
On 19 January 2011 16:30, Christopher Schultz ch...@christopherschultz.net wrote: [Peter] I'm actually interested to know your environment for your precision.c code, as a single-precision (32-bit) float is only good for 6-7 significant figures and your answers agree to 11sf. ... and I'm

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

2011-01-20 Thread Reinwald Warapen
On 1/20/2011 4:23 AM, Christopher Schultz 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

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

2011-01-20 Thread Reinwald Warapen
On 1/20/2011 2:54 PM, Martin Grotzke wrote: Hi, I just got pinged by Reinwald (we're already on contact via email) regarding this issue. I created the memcached-session-manager ( http://code.google.com/p/memcached-session-manager/ ) for which Reinwald is trying to create a custom

RE: how to configue tomcat ldap 2008

2011-01-20 Thread Jill Han
Thanks for your reply. 1. Apache Tomcat version is 5.5.15. 2. Below is from the log file. Jan 19, 2011 3:29:26 PM org.apache.catalina.realm.JNDIRealm authenticate SEVERE: Exception performing authentication javax.naming.PartialResultException [Root exception is

RE: Tomcat 6 sessino timeout problem

2011-01-20 Thread Caldarale, Charles R
From: Rhonny David [mailto:rhonnyda...@yahoo.com] Subject: Tomcat 6 sessino timeout problem We are facing session termination problem in Tomcat 6.0.29. In web.xml of our application, we have configured session timeout as 60 minutes, but tomcat is giving no respect to it, rather it

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

2011-01-20 Thread Caldarale, Charles R
From: Reinwald Warapen [mailto:reinwal...@directi.com] Subject: Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib. After reading the docs I figured that one work around would be to define my web-app/lib in the common class loader

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

2011-01-20 Thread Martin Grotzke
On Thu, Jan 20, 2011 at 2:24 PM, Reinwald Warapen reinwal...@directi.comwrote: @Martin :Actually I was trying to write my own Session Manager since i wanted to store the session into mysql. The issue was when deserializing Tomcat could not find the classes since the objects stored in the

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

2011-01-20 Thread Reinwald Warapen
On 1/20/2011 8:03 PM, Caldarale, Charles R wrote: From: Reinwald Warapen [mailto:reinwal...@directi.com] Subject: Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib. After reading the docs I figured that one work around would be to define

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

2011-01-20 Thread Caldarale, Charles R
From: Reinwald Warapen [mailto:reinwal...@directi.com] Subject: Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib. Then how do you suggest going about it? Exactly as others have suggested. For example:

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

2011-01-20 Thread Reinwald Warapen
On 1/20/2011 8:20 PM, Martin Grotzke wrote: On Thu, Jan 20, 2011 at 2:24 PM, Reinwald Warapenreinwal...@directi.comwrote: @Martin :Actually I was trying to write my own Session Manager since i wanted to store the session into mysql. The issue was when deserializing Tomcat could not find the

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

2011-01-20 Thread Mark Thomas
On 20/01/2011 09:10, Amol Puglia wrote: Hello Mikolaj, Thanks a lot for your quick response. I have uncommented the servlet mapping in web.xml in conf directory of tomcat and it has resolved our issue. If you have uncommented the invoker servlet I trust you have read the warnings and are

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Mark Thomas
On 20/01/2011 10:02, neo21 zerro wrote: Hello, I'm using Tomcat 6.0.26 and java 1.5 SDK and I'm trying to implement a programmatic login in tomcat. I'm using JAAS for the container based security. Is there anyone that has done this before? I've tryied to bypass it by making

Re: Is memleak in tomcat 7.0.5 also in tomcat 6.0.30?

2011-01-20 Thread Mark Thomas
On 20/01/2011 11:50, Ronald Klop wrote: Hi, In this mail thread there is mention of a memory leak which is fixed in Tomcat 7.0.6. http://marc.info/?l=tomcat-userm=129487211630075w=2 Is it possible that this leak also exists in 6.0.30 (and not in 6.0.29)? We are seeing problems since

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

2011-01-20 Thread Mark Thomas
On 20/01/2011 14:55, Reinwald Warapen wrote: On 1/20/2011 8:03 PM, Caldarale, Charles R wrote: From: Reinwald Warapen [mailto:reinwal...@directi.com] Subject: Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib. After reading the docs I

Re: Request Line Truncated and Caused 501

2011-01-20 Thread Yuesong Wang
Thanks. I tried 6.0.30, but under heavy load in our production environment, its memory usage shot up in a matter of minutes and we had to bring it down. We did not see that in 6.0.29. Yuesong On Jan 19, 2011, at 5:59 PM, Mark Thomas wrote: On 19/01/2011 19:54, Yuesong Wang wrote: Hi, I

Re: Is memleak in tomcat 7.0.5 also in tomcat 6.0.30?

2011-01-20 Thread Mark Thomas
On 20/01/2011 15:29, Mark Thomas wrote: On 20/01/2011 11:50, Ronald Klop wrote: Hi, In this mail thread there is mention of a memory leak which is fixed in Tomcat 7.0.6. http://marc.info/?l=tomcat-userm=129487211630075w=2 Is it possible that this leak also exists in 6.0.30 (and not in

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Mikolaj Rydzewski
On Thu, 20 Jan 2011 15:16:15 +, Mark Thomas ma...@apache.org wrote: Read up on FORM auth in the Servlet spec. There is a specific sequence of events that looks roughly like (for a successful auth): 1. Browser sends original request 2. Server saves request, creates session and responds

Re: Is memleak in tomcat 7.0.5 also in tomcat 6.0.30?

2011-01-20 Thread Mark Thomas
On 20/01/2011 15:45, Mark Thomas wrote: On 20/01/2011 15:29, Mark Thomas wrote: On 20/01/2011 11:50, Ronald Klop wrote: Hi, In this mail thread there is mention of a memory leak which is fixed in Tomcat 7.0.6. http://marc.info/?l=tomcat-userm=129487211630075w=2 Is it possible that this

RE: Request Line Truncated and Caused 501

2011-01-20 Thread Jason Pyeron
-Original Message- From: Yuesong Wang Sent: Thursday, January 20, 2011 10:41 To: Tomcat Users List Subject: Re: Request Line Truncated and Caused 501 Thanks. I tried 6.0.30, but under heavy load in our production environment, its memory usage shot up in a matter of minutes and

Re: Is memleak in tomcat 7.0.5 also in tomcat 6.0.30?

2011-01-20 Thread Ronald Klop
Op donderdag, 20 januari 2011 17:03 schreef Mark Thomas ma...@apache.org: On 20/01/2011 15:45, Mark Thomas wrote: On 20/01/2011 15:29, Mark Thomas wrote: On 20/01/2011 11:50, Ronald Klop wrote: Hi, In this mail thread there is mention of a memory leak which is fixed in Tomcat 7.0.6.

RE: how to configue tomcat ldap 2008

2011-01-20 Thread Felix Schumacher
Am Donnerstag, den 20.01.2011, 07:19 -0600 schrieb Jill Han: Thanks for your reply. 1. Apache Tomcat version is 5.5.15. 2. Below is from the log file. Jan 19, 2011 3:29:26 PM org.apache.catalina.realm.JNDIRealm authenticate SEVERE: Exception performing authentication

Re: Request Line Truncated and Caused 501

2011-01-20 Thread Yuesong Wang
Thanks. I think Mark identified the memory problem in 6.0.30. So we will try again when a new release is available with the fix. For now we've reverted to 6.0.20 which seems to be free of both defects. Yuesong On Jan 20, 2011, at 11:38 AM, Jason Pyeron wrote: -Original Message-

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
Hi Mikolaj and Mark, Thanks for the replay. The problem is that I read the specifications and I still don't know how to push the login details and the request for the main page in one call. The fact is that I need to open a browser from a swing app with the main page for my other

Maven dependencies for Tomcat 7

2011-01-20 Thread Ingo Fischer
Hello! I want to develop applications with Tomcat 7, using Maven for dependency management. I'm used to develop apps for Glassfish (which is built by Maven), but Tomcat seems to be built completely by Ant, so i cannot see what dependencies Tomcat exactly relies on. Where can i find all matching

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Mark Thomas
On 20/01/2011 17:25, neo21 zerro wrote: Hi Mikolaj and Mark, Thanks for the replay. The problem is that I read the specifications and I still don't know how to push the login details and the request for the main page in one call. In Tomcat 6.0.x you can't. In Tomcat 7, the landing

Re: Maven dependencies for Tomcat 7

2011-01-20 Thread Mark Thomas
On 20/01/2011 17:28, Ingo Fischer wrote: Hello! I want to develop applications with Tomcat 7, using Maven for dependency management. I'm used to develop apps for Glassfish (which is built by Maven), but Tomcat seems to be built completely by Ant, so i cannot see what dependencies Tomcat

Re: Tomcat 6 sessino timeout problem

2011-01-20 Thread Rhonny David
When our application forces to terminate a user session explicitly,  then session listener logs print as follows: 12:16:37,812  INFO [http-8080-24] Log1:9 - SessionCounter | sessionDestroyed(HttpSessionEvent se) | Start 12:16:37,812  INFO [http-8080-24] Log1:9 - SessionCounter |

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread neo21 zerro
How do I set it?Is it a configuration is my deployment descriptor or in the server.xml file?In tomcat 7 .. Thanks!

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Pid
On 1/20/11 5:41 PM, neo21 zerro wrote: How do I set it?Is it a configuration is my deployment descriptor or in the server.xml file?In tomcat 7 .. If you're using Tomcat 7.0, just login programmatically using the HttpServletRequest.login(user, pass) method. p 0x62590808.asc

Re: Tomcat 6 sessino timeout problem

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 1/20/2011 5:02 AM, Rhonny David wrote: We are facing session termination problem in Tomcat 6.0.29. In web.xml of our application, we have configured session timeout as 60 minutes, but tomcat is giving no respect to it, rather it

RE: how to configue tomcat ldap 2008

2011-01-20 Thread Jill Han
Still no luck after trying adCompat=true. Thanks, Jill -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Thursday, January 20, 2011 11:11 AM To: Tomcat Users List Subject: RE: how to configue tomcat ldap 2008 X-HOSTLOC: alverno.edu/10.0.60.9 Am

Re: how to configue tomcat ldap 2008

2011-01-20 Thread André Warnier
Jill Han wrote: ... Jan 19, 2011 3:29:26 PM org.apache.catalina.realm.JNDIRealm authenticate SEVERE: Exception performing authentication javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: DomainDnsZones.emp.alverno.edu:389 [Root exception is

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/20/2011 12:28 PM, Mark Thomas wrote: On 20/01/2011 17:25, neo21 zerro wrote: Hi Mikolaj and Mark, Thanks for the replay. The problem is that I read the specifications and I still don't know how to push the login details and

RE: how to configue tomcat ldap 2008

2011-01-20 Thread Jill Han
Here is ping output. Pinging DCSRV1.emp.alverno.edu [10.0.60.30] with 32 bytes of data: Reply from 10.0.60.30: bytes=32 time1ms TTL=127 Reply from 10.0.60.30: bytes=32 time1ms TTL=127 Reply from 10.0.60.30: bytes=32 time1ms TTL=127 Reply from 10.0.60.30: bytes=32 time1ms TTL=127 Ping statistics

Re: i am getting this error while deploying project

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reshma, http://www.catb.org/~esr/faqs/smart-questions.html On 1/20/2011 6:06 AM, reshma balsaraf wrote: org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException

Trouble with programatically-added servlet and @MultipartConfig

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm working on a patch for allowing multipart parsing when a servlet doesn't have the @MultipartConfig annotation but I'm having trouble testing the case where the servlet *does* have the annotation. I essentially have this:

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-20 Thread Mark Thomas
On 20/01/2011 22:10, Christopher Schultz wrote: All, I'm working on a patch for allowing multipart parsing when a servlet doesn't have the @MultipartConfig annotation but I'm having trouble testing the case where the servlet *does* have the annotation. And the winner is... 2. Tomcat

RE: how to configue tomcat ldap 2008

2011-01-20 Thread Jeffrey Janner
Jill - Check your Windows firewall settings on the 2008 server. It's pretty locked down by default. Name/address resolution seems to be fine, so next thing to do is look for comms blocking, e.g. the Windows firewall or any external firewall. Jeff -Original Message- From: Jill Han

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/20/2011 5:24 PM, Mark Thomas wrote: On 20/01/2011 22:10, Christopher Schultz wrote: All, I'm working on a patch for allowing multipart parsing when a servlet doesn't have the @MultipartConfig annotation but I'm having trouble testing

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-20 Thread Mark Thomas
On 20/01/2011 23:23, Christopher Schultz wrote: Mark, On 1/20/2011 5:24 PM, Mark Thomas wrote: On 20/01/2011 22:10, Christopher Schultz wrote: All, I'm working on a patch for allowing multipart parsing when a servlet doesn't have the @MultipartConfig annotation but I'm having trouble

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/20/2011 6:27 PM, Mark Thomas wrote: On 20/01/2011 23:23, Christopher Schultz wrote: I happen, for the sake of simplicity, to be using a non-file multipart part. Could that be confusing things? It may well be. The parts are expected

maxHttpHeaderSize: InternalNioInputBuffer vs InternalNioOutputBuffer

2011-01-20 Thread Yuesong Wang
Hi, Is there a reason why InternalNioInputBuffer automatically grows its buffer, effectively ignoring the maxHttpHeaderSize setting, while InternalNioOutputBuffer doesn't? I was playing around with the setting, and set it to a rather small value. While large requests seem to go through without

Make the bindThread/unbindThread method proected ?

2011-01-20 Thread Ivan
Hi, In the latest Tomcat codes, I saw that a new thread is created for listener start, filter start and loadOnStartup. But the two methods bindThread and unbindThread is marked as private, how about making those methods protected ? So that other containers could use those two methods for their own

Why does tomcat need a shutdown port on Windows?

2011-01-20 Thread Adib
Hi, I am wondering why does tomcat need a shut down port on windows but not on Unix. My guess is that UNIX has support for signals and on shutdown you can do kill -3 to get the JVM to shutdown but windows they can't for some reason. If anyone can shed some light on this for me, it would be great,

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

2011-01-20 Thread Son KwonNam
I checked the timestamp of JSP and class/java file. When I edited JSP in Eclipse editor and saved the file, it was published to workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/myweb/... directory. I checked the contends and times stamp of jsp file, it was proper.

Re: Why does tomcat need a shutdown port on Windows?

2011-01-20 Thread Konstantin Kolinko
2011/1/21 Adib amsl...@gmail.com: I am wondering why does tomcat need a shut down port on windows but not on Unix. My guess is that UNIX has support for signals and on shutdown you can do kill -3 to get the JVM to shutdown but windows they can't for some reason. If anyone can shed some light

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

2011-01-20 Thread Son KwonNam
I told when a jsp file is edited on Eclipse WTP, and published, the tomcat work directory is removed and regenerated. I checked more and more and finally found out that this happens only when the project web context root is / in Eclipse Project properties. When a project has other context

Re: Trouble with programatically-added servlet and @MultipartConfig

2011-01-20 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/20/2011 6:27 PM, Mark Thomas wrote: On 20/01/2011 23:23, Christopher Schultz wrote: I happen, for the sake of simplicity, to be using a non-file multipart part. Could that be confusing things? It may well