Plan to support Servlet 2.5 spec

2006-05-02 Thread Sanjeeb Kumar Sahoo
Hi, Is there schedule for supporting Servlet 2.5 spec? Which version of Tomcat will it be? Thanks, Sahoo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Possible bug in servlet mapping - versions later than 5.5.12

2006-05-02 Thread Dave Morrissey
Hello, I'm looking for some advice on whether to post what appears to be a bug in the Tomcat BugZilla. I found this in v5.5.17, reproduced it in v5.5.16, and haven't been able to reproduce it in v5.5.12 or earlier. I have a Struts application with mappings for files in the root folder and in

Re: Limiting effects of badly-behaved webapps

2006-05-02 Thread Greg Ward
On 02 May 2006, Tim Funk said: > An "easier solution" is to throttle the webapp via a filter. For example: Good idea, thanks! I'll try to implement that and report back to the list. Greg - To unsubscribe, e-mail: [EMAIL

RE: iSeries Installation

2006-05-02 Thread Chris Berthold
http://mail-archives.apache.org/mod_mbox/tomcat-users/200411.mbox/%3C8877E11 [EMAIL PROTECTED] That link I think should cover what he is asking for. Chris Berthold IT Systems Analyst Commercial Refrigerator Door Company 941 . 371 . 8110 x 205 -Original Message- From: Michel Costa [mailto

Re: iSeries Installation

2006-05-02 Thread Michel Costa
I am not sure about what is an "iSeries Installation" but I know that these 2 variables are environment variables, as the message says... You can find more about them in the "startup" file (the one you are running to start the server). There are different ways to set these variables and it depend

Re: TagAttributeInfo Error

2006-05-02 Thread Marc Farrow
I think you may have the wrong version of the tag library (I am assuming JSTL). Make sure the example you copied match the specs. On 5/2/06, Asad Habib <[EMAIL PROTECTED]> wrote: Hello. I am receiving the following error when attempting to access my web application: exception javax.servlet.S

TagAttributeInfo Error

2006-05-02 Thread Asad Habib
Hello. I am receiving the following error when attempting to access my web application: exception javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servle

Re: Exception while expanding web application archive SeasonAdminTool.war

2006-05-02 Thread Filip Hanik - Dev Lists
looks like the file might have become corrupted, unless there is more in the stack trace than you provided us with. try running jar tvf /apps/tomcat/webapps/SeasonAdminTool.war and that should tell you if the file is ok or not. Filip Kenneth Litwak wrote: 2006-05-02 08:46:05 StandardContext

RE: Exception while expanding web application archive SeasonAdminTool.war

2006-05-02 Thread Kenneth Litwak
2006-05-02 08:46:05 StandardContext[/manager]HTMLManager: managerServlet.extract[/apps/tomcat/webapps/SeasonAdminTool.war] java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:111) at java.util.jar.JarFile

Re: Limiting effects of badly-behaved webapps

2006-05-02 Thread Tim Funk
An "easier solution" is to throttle the webapp via a filter. For example: Filter{ final int maxThreadCount=10; int threadCount=0; doFilter() { synchronized(this) { if (threadCount>maxThreadCount) { response.sendError(SC_SERVICE_UNAVAILABLE); return; } t

Re: Exception while expanding web application archive SeasonAdminTool.war

2006-05-02 Thread Filip Hanik - Dev Lists
check your log files first, then post the results here Kenneth Litwak wrote: Any suggestions how to solve this exception? I wasn't having a problem deploying and undeploying and then boom WARNING: Exception while expanding web application archive SeasonAdminTool.war Started showing up. What

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
it should work without that setting assuming that tomcat picks up the file setclasspath.sh correctly, the reason I mentioned it is cause the sunVM doesn't have a gnu.java.lang.MainThread class, so I would suspect that you are not running the VM you think you are running. Of course, I know very l

Exception while expanding web application archive SeasonAdminTool.war

2006-05-02 Thread Kenneth Litwak
Any suggestions how to solve this exception? I wasn't having a problem deploying and undeploying and then boom WARNING: Exception while expanding web application archive SeasonAdminTool.war Started showing up. What could cause this? Ken -

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) The stack is the one that Tomcat has print before the "remove" of gcj. But the error is still here also after the

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Filip Hanik - Dev Lists wrote: if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) The stack is the one that Tomcat has print before the "remove" of gcj. But the error is still here also after the "remove". my guess is

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) my guess is that you forgot to do this export PATH=$JAVA_HOME/bin:$PATH in catalina.sh Filip Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: try running a diffe

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Filip Hanik - Dev Lists wrote: try running a different VM, like the Sun VM, this could be a bug in the VM you are running. I am runnig Sun JVM 1.5.0_06 I have removed libcgj at 16:18 I did a complere reboot at 16:20 at 16:48 I have a log of this error in localhost.2006-05-02.log Edoardo

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
try running a different VM, like the Sun VM, this could be a bug in the VM you are running. Filip Edoardo Panfili wrote: Edoardo Panfili wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Edoardo Panfili wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still here (but not after all restarts). sometimes Tocat throws this exception java.lang.NoClassDefFoundError: javax/servlet/ht

mod_jk Submounts

2006-05-02 Thread Mike Bydalek
Good Morning, I have an interesting problem that's I'm trying to solve using mod_jk, but not having any luck. Basically we have 3 webapps where one is the primary one and two are supporting. The problem is, I have application A mounted to the root level of the domain, so it can be pulled up via.

Re: iSeries Installation

2006-05-02 Thread Greg Ward
On 02 May 2006, Mike Scherer said: > How and where do I specify the JAVA_HOME or the JRE_HOME Environment > variables? What OS are you using? With most Unix-like systems, you just do something like export JAVA_HOME=... before running the Tomcat launch script. E.g. if you start Tomcat from an

iSeries Installation

2006-05-02 Thread Mike Scherer
How and where do I specify the JAVA_HOME or the JRE_HOME Environment variables? I think I need to change server.xml but I'm not sure how. When I try to start Tomcat, I Receive the following . QSH Command Entry

Recall: iSeries Installation

2006-05-02 Thread Mike Scherer
Mike Scherer would like to recall the message, "iSeries Installation". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

iSeries Installation

2006-05-02 Thread Mike Scherer
How and where do I specify the JAVA_HOME or the JRE_HOME Environment variables? I think I need to change server.xml but I’m not sure how. When I try to start Tomcat, I Receive the following …       QSH Command Entry    

Limiting effects of badly-behaved webapps

2006-05-02 Thread Greg Ward
We've been using Tomcat 4.1.30 happily for a couple of years now, but every so often one badly-behaved webapp can make life unhappy for everyone living in the container. (Our Tomcat deployment is part of a suite of applications that run on a small cluster of Linux servers; all of the webapps runni

404 error for request before tomcat 5.5 fully started

2006-05-02 Thread Steve Morrison
I'm migrating an application with a lot of JSPs from tomcat 4.1.x to 5.5.x. I've found that if I send more than one request to tomcat 5.5 immediately after it starts accepting connections, the request will result in a 404. If I send just one request, that request will wait and then complete corre

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: It looks like you found the next problems. On your ls command it is not showing the Ricerca class file. So you must be missing resources when you migrated over. On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > I do not doubt that. However, depend

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Marc Farrow
It looks like you found the next problems. On your ls command it is not showing the Ricerca class file. So you must be missing resources when you migrated over. On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > I do not doubt that. However, depending on what O.S. you

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: I do not doubt that. However, depending on what O.S. you are using you need to check your JAVA_HOME environment entry or even windows registry. export JAVA_HOME=/opt/jdk/ (jdk is a simboilik link to the 1.5 jdk folder) Tomcat now says "no Class definition found" regarding

R: add a session's attribute after authentication

2006-05-02 Thread Amleto Di Salle
Hi, Thank you very much BR /Amleto > -Messaggio originale- > Da: Tim Funk [mailto:[EMAIL PROTECTED] > Inviato: martedì 2 maggio 2006 13.14 > A: Tomcat Users List > Oggetto: Re: add a session's attribute after authentication > > > Via tomcat - there isn't a hook. The best (and most po

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Marc Farrow
I do not doubt that. However, depending on what O.S. you are using you need to check your JAVA_HOME environment entry or even windows registry. On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > This seems like the classic "you are using a java JRE versus a java JDK". >

Re: JDBC connection pooling problem

2006-05-02 Thread Michal Fleischhans
You're absolutelly right Marc, but the connection is being described by the connection context containing the username and the password. Each application has its own DB account, so as you have written bellow, the application gives the connection back to the pool BUT only the same application

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: This seems like the classic "you are using a java JRE versus a java JDK". I am using jdk1.5.0_06 edoardo -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel:075 9142766 - To unsubscribe, e-ma

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Marc Farrow
This seems like the classic "you are using a java JRE versus a java JDK". On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: I did some search on google but seems that my situation is not the same I have a very simple webapp, (no lib directory in WEB-INF) in a fresh installation of Tomcat

Re: JDBC connection pooling problem

2006-05-02 Thread Marc Farrow
This sounds like poor coding to me. Your application should get the connection object from the pool and immediately release when done. Having an application hold onto a connection (especially in client/server) world is bound to cause you to run out of connections or reach timeouts. On 5/2/06, M

NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
I did some search on google but seems that my situation is not the same I have a very simple webapp, (no lib directory in WEB-INF) in a fresh installation of Tomcat 5.5.17. The only add from me is the postgres jdbc driver postgresql-8.1-405.jdbc3.jar in the $tomcat/common/lib My system is: L

Re: add a session's attribute after authentication

2006-05-02 Thread Tim Funk
Via tomcat - there isn't a hook. The best (and most portable way) you can do this is to write a filter which checks for the attribute in the session vs the remoteUser value. For example: doFilter(...) { if (null!=request.getRemoteUser() && null==request.getSession().getAttribute("cowb

Re: How to access WebService implementation from Context?

2006-05-02 Thread Tim Funk
If you mean WebService ala SOAP - you are probably out of luck without a lot of work. If you mean webservice as a webpage which does stuff that is intended to be called by an application - there might be hope. If the ENTIRE webapp is considered the webservice, you can run the Valve at the Co

add a session's attribute after authentication

2006-05-02 Thread Amleto Di Salle
Hi all, I have used the container (Tomcat) managed security, but after the authentication I would like to set an object inside the session. How can I do? I have noticed that Tomcat creates a session if the user accesses to a protected resource, so i cannot use the HttpSessionListener. Thanks in a

Re: classloader problem

2006-05-02 Thread A srivani
Hi Maarten, Thanks for your reply. I tried by keeping axis.jar in common/lib directory of tomcat, but it didn't work for me. BTW, in my jdk library there is no axis.jar. Could you please suggest me any other way of solving the problem. Thanks, A Srivani. On 5/2/06, MW Janssen <[EMAIL PROTECTED

JDBC connection pooling problem

2006-05-02 Thread Michal Fleischhans
Hi all, I have a problem with connection pooling. Example: - about 30 applications using the pool - each application uses 1 DB username/password (30 users) imagine following situation: Only 1 application works hard, the others do nothing. This application takes for example 80% of all possible co

RE: Applet sharing utility class with Servlet - Solution..

2006-05-02 Thread Andrew Bubnic
I didn't even realise that the JDBC drivers I was using in the servlet (previously applet) resided in the main and visible webapps folder in the Applet code base - in the code base, but not jar'd with the applet. A simple Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver") from the serv