tomcat unable to parse HTTP GET variables if is replaced with %2526

2005-10-11 Thread Isaacson, David A. (James Tower)
Running apache: httpd-2.0.46-46.3.ent tomcat: jakarta-tomcat-4.1.30 using the mod_jk connector. Earlier yesterday we started recieving the following error. java.lang.NumberFormatException: For input string: 88%26order=44%26start=3%26end=3 The page started to get refered to by

Getting Apache2 forwarding to tomcat5

2005-10-11 Thread Dan Chesmore
I have read about 25 different websites on getting this setup. I have read through this list trying to find the answer I need. I have spent the last 2 days and soon 3rd day trying to get this working. I need Apache to forward port 80 and 443 requests to tomcat to 8080 and 8443. I am working on the

Re: Getting Apache2 forwarding to tomcat5

2005-10-11 Thread Lyndon Tiu
Hello, 1) It is recommended to use mod_jk version 1 as version 2 is deprecated and anything that is new in version 2 has been rolled into version 1. 2) All you need is this in server.xml: !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector port=8009

RE: silent install of Tomcat

2005-10-11 Thread krux mania
Thanks Mauricio, I'll follow this and get back. pareeja Mauricio Fernandez A. [EMAIL PROTECTED] wrote: Maybe you can try with the .zip distribution if your so is Windows or .tar.gz if Linux or whatever you want/need from http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi If you

Re: silent install of Tomcat

2005-10-11 Thread krux mania
Sounds like you are using Windows? Yes i am using windows. On my Linux boxes I installed quite silently using rpm and no questions to be answered.. But you could use the tarball/zip for it. I'll try this, thanks. vivek - Yahoo! Music

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Tim Fennell
Hi All, I've posted my patch for Jasper/Tomcat at the following location: http://www.tfenne.com/jasper/ The page has a brief overview, a download link and before and after screenshots so you can get an idea for what exactly the patch does before you decide to patch your own

RE: Tomcat 5.5.12 and user-agent header

2005-10-11 Thread Mark Thomas
Have you looked at the headers between Tomcat and your UA? Is your UA actually sending the UA header? If it is then it looks like a sitemesh problem from what you have described. There are a range of tools for looking at headers. livehttpheaders is good, as is TcpMon which is distributed as part

Harald Weigel/DS/GFK/DE ist außer Haus.

2005-10-11 Thread Harald . Weigel
Ich werde ab 12.10.2005 nicht im Büro sein. Ich kehre zurück am 13.10.2005. Ihre Nachrichten werde ich nach meiner Rückkehr bearbeiten. Wenden Sie sich während dieser Zeit in dringenden Fällen bitte an meinen Vertreter Herrn Werner Rößner ([EMAIL PROTECTED]). - I'm out of office on

RE: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-11 Thread Mark Eggers
Here's a quick writeup. This is going to be a long reply, and I hope it will be useful. I am using Fedora Core 4 as a model. I hope it will be close enough to RHEL 3 to be useful. You may have to change paths in order to correspond to your environment. First of all, my environment:

Re: Illegal Field Name Error

2005-10-11 Thread Anto Paul
On 10/10/05, Asad Habib [EMAIL PROTECTED] wrote: I am receiving the following error when trying to run a Struts application. I checked and it seems that I do have all of the appropriate jar files installed. But for some reason, the Action class is not being recognized. Any help would be

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Bob Hall
Jefferey, Coming into this thread late, but I'm curious. Why do you want each user to obtain a connection to the database, effectively logging into the DB, instead of using a connection pool with a single, application specific, DB userid/password? - Bob --- [EMAIL PROTECTED] wrote: Thanks

Re: Sending mail with JavaMail (UNCLASSIFIED)

2005-10-10 Thread Andrés Reyes
Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification: UNCLASSIFIED Caveats: NONE Are you including your JAR files your BUILD.XML classpath ? -Original Message- From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 6:25 AM To: Tomcat Users

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Akoulov, Alexandre [IT]
Hi Jeff, I will implement storing the connection in the session with the log out killing the connection. what happens if the user never logs out? then your Tomcat might end up with quite a few open connections that it cannot close and the only way to close such connections would be to

Central Administrator Console?

2005-10-10 Thread Philippe Waltregny-Dengis
Hello, I would like to know whether a central administrator console (manager) exists for Tomcat v. 5.x clustered instances as it does for IBM WebSphere Network Deployment. In fact this last product owns a Deployment Manager which allows the administrator to deploy and manage all her/his

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread jeffery . s . eaton
Good question Bob, This system may eventually be implemented for the government department I work for in Queensland, Australia. This project is a pilot one which will involve four separate district offices in four different cities. The department has policies on data security which includes

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread jeffery . s . eaton
That's right Sasha, I will have to ensure connections are closed down automatically if the user doesn't log out, but at this stage I will note your comment for further research. Thanks, Jeffery S. Eaton Opinions contained in this

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Bob Hall
Jefferey, Are the uses going to be allowed to execute ad hoc queries? If yes, I can see why you would choose to take the take the direct DB authentication route. If not, then a a JDBCRealm could be used and specific role(s) assigned to each user that would govern what they could do in the

Re: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-10 Thread Amadeo Alonso
Thaks, Darek I didn´t now that cache... Amadeo. - Original Message - From: Darek Czarkowski [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday, October 07, 2005 10:21 PM Subject: Re: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

Re: Sending mail with JavaMail (solved)

2005-10-10 Thread Andrés Reyes
David Tonhofer, m-plify S.A. wrote: --On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: It doesn't work. No way??? Back to basics: find all the places where mail.jar is in this hierarchy of classloaders. Make sure there is only one. Make sure that jaf.jar

Attribute redirectEmployee invalid for tag UserLogin according to TLD

2005-10-10 Thread Prema Kumar
Hi, Iam getting this error while I try to bring up my application HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /userLoginPage.jsp(4,0)

Re: JspC exception with log4j in WEB-INF/lib

2005-10-10 Thread Artur Brinkmann
But as soon as I put log4j-1.2.9.jar into my WEB-INF/lib directory, it doesn't work any more. I get the following exception: [jasper2] java.lang.NullPointerException [jasper2] at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:220) After building a

Re: SessionListener invoked sometimes and not others

2005-10-10 Thread Jon Wingfield
And possibly a HttpSessionActivationListener object as a session attibute. The sessionDidActivate() method on the object gets called if the session is still valid when tomcat restarts. You can use this to fix your state. HTH, Jon Mark Thomas wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL

Making applications persistent

2005-10-10 Thread Alan Cooper
I have customers deploying applications via the Tomcat manager application which is working well, but how do i make these persistant so that they remain deplyed after a tomcat service restart? -- This email and any files transmitted with it are confidential and intended solely for the use of

RE: Problems with graphics on Tomcat 5.5.9

2005-10-10 Thread Mauricio Fernandez A.
Trying again to make the graphics appear in my web app, I did a test web app and I had been trying to start the Tomcat with -Djava.awt.headless=true option as I read in some forums #export CATALINA_OPTS=-Djava.awt.headless=true #/usr/java/jakarta-tomcat/bin/startup.sh But they do not appear

Re: Problems with graphics on Tomcat 5.5.9

2005-10-10 Thread Viorel Dragomir
What exception ? [ If it's not confidential. :) ] Viorel Dragomir . .. --- - Original Message - From: Mauricio Fernandez A. To: Tomcat Users List Sent: Monday, October 10, 2005 14:42 Subject: RE: Problems with

RE: Problems with graphics on Tomcat 5.5.9

2005-10-10 Thread Mauricio Fernandez A.
You can see that here, after click on Graficar: The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/ and the wanted result after click on Graficar is something like this http://www.actesoft.com/ejGrafico/ (static page) Mauricio Fernandez -Mensaje original- De:

Illegal Field Name Error

2005-10-10 Thread Asad Habib
I am receiving the following error when trying to run a Struts application. I checked and it seems that I do have all of the appropriate jar files installed. But for some reason, the Action class is not being recognized. Any help would be greatly appreciated. Thank you. - Asad HTTP Status

Example build.xml error?

2005-10-10 Thread René Schade
Hi List, Starting a new project, I deceided to move to Tomcat 5.5. In the Application Developer's Guide http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html There is an example build.xml file for installing reloading the project, a basic build-file:

tomcat 5.0.28 redirect issue (error 302)

2005-10-10 Thread Tony Qian
All, I installed jakarta-tomcat-5.0.28 on my PC and changed port to 8283 and added a simple servlet which has doGet and doPost. I used a java program which uses httpclient to send doGet and doPost requests to that servlet. doGet worked well. However, I got following error msg for doPost

Re: Turning on debugging in Tomcat 5.5

2005-10-10 Thread Marcus Franke
On Fri, Oct 07, 2005 at 09:28:23PM -0700, Bill Barker wrote: James Rome [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Most of the installed Tomcat classes have something like container.isDebugEnabled() {...} How do I enable these debug statements in Tomcat 5.5? I'll

Re: Turning on debugging in Tomcat 5.5

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 04:41:32PM +0200, Marcus Franke wrote: On Fri, Oct 07, 2005 at 09:28:23PM -0700, Bill Barker wrote: # Default global logging level. # This specifies which kinds of events are logged across # all loggers. For any given facility this global level # can be overriden

Re: Turning on debugging in Tomcat 5.5

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 05:20:07PM +0200, Marcus Franke wrote: On Mon, Oct 10, 2005 at 04:41:32PM +0200, Marcus Franke wrote: On Fri, Oct 07, 2005 at 09:28:23PM -0700, Bill Barker wrote: # Default global logging level. # This specifies which kinds of events are logged across # all

apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
I'm very new to tomcat and apache. I've set up apache to forward to tomcat using mod_jk. It works fine on the localhost, but if I try to connect through to tomcat from any other host I get 404 file not found, although I can connect to apache. As follows: These work on localhost:

Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Lyndon Tiu
On Mon, 10 Oct 2005 09:01:04 -0700 (PDT) tomcat-user@jakarta.apache.org wrote: I'm very new to tomcat and apache. I've set up apache to forward to tomcat using mod_jk. It works fine on the localhost, but if I try to connect through to tomcat from any other host I get 404 file not found,

Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
--- Lyndon Tiu [EMAIL PROTECTED] wrote: On Mon, 10 Oct 2005 09:01:04 -0700 (PDT) tomcat-user@jakarta.apache.org wrote: I'm very new to tomcat and apache. I've set up apache to forward to tomcat using mod_jk. It works fine on the localhost, but if I try to connect through to tomcat

silent install of Tomcat

2005-10-10 Thread krux mania
Hi, I need to install tomcat 5.0.28 silently for my application. Can this be done. If this issue has been previously discussed please send me a pointer to the message. thanks, vivek - Yahoo! Music Unlimited - Access over 1 million songs.

Re: silent install of Tomcat

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 10:36:55AM -0700, krux mania wrote: Hi, I need to install tomcat 5.0.28 silently for my application. Can this be done. If this issue has been previously discussed please send me a pointer to the message. What do you mean with silent installation? Marcus

Re: silent install of Tomcat

2005-10-10 Thread krux mania
Hi Marcus, Silent installation also referred to as batch installation is the process where the install takes place without presenting any dialogs to the user. The user input is put into a properties file and the installation takes it from there. vivek Marcus Franke [EMAIL PROTECTED] wrote: On

Re: silent install of Tomcat

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 11:11:30AM -0700, krux mania wrote: Hi Marcus, Silent installation also referred to as batch installation is the process where the install takes place without presenting any dialogs to the user. The user input is put into a properties file and the installation takes

RE: silent install of Tomcat

2005-10-10 Thread Mauricio Fernandez A.
Maybe you can try with the .zip distribution if your so is Windows or .tar.gz if Linux or whatever you want/need from http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi If you don´t know which one download read the README http://apache.org.es/jakarta/tomcat-5/v5.5.12/README.html

Re: java.lang.ClassCircularityError

2005-10-10 Thread Shankar Unni
Caldarale, Charles R wrote: According to the bug report, this is only fixed in Mustang (6.0), not 5.0 (aka 1.5). Ooh, my bad (misread of the fixed release..). Thanks.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread jeffery . s . eaton
Thanks for the suggestion Bob, I think what you are saying about realms is valid and most likely the easiest way to enforce security. It would be my choice if it wasn't a corporate standards issue. I will read up on the link you sent and see if I can get away with it in terms of meeting with

newbee question on servlet and html

2005-10-10 Thread Developer Developer
I wrote my first html and servlet and deployed it on tomcat 5.5. The html works okay when i call it from the browser. The servlet too works okay when i call its doget() method by invoking it from the browser. EG:. http://localhost:8080/VBeer/BeerSelect However, when i try to invoke the servlet

[OT] Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Bob Hall
If the DB login requirement is removed you might want to take a look at Apache Turbine, it supports finer-grained access to a web app. http://jakarta.apache.org/turbine/index.html - Bob --- [EMAIL PROTECTED] wrote: Thanks for the suggestion Bob, I think what you are saying about realms is

Exception loading custom Realm

2005-10-10 Thread Surya Mishra
Hi, I created my own realm by extending UserDatabaseRealm. But when I start the tomcat server, I get the following exception. If I use UserDatabaseRealm, everything works fine. That means Tomcat can and does load the UserDatabaseRealm class without any problem. java.lang.NoClassDefFoundError:

Sorry, Suresh is OUT of the office...

2005-10-10 Thread Suresh Nair
I will be out of the office starting 07/10/2005 and will not return until 16/10/2005. If you need to reach me urgently, please e-mail: [EMAIL PROTECTED] I will be out of Singapore but will be available over the (above) e-mail address. Have a nice day, my dear friend:):) SURESH NAIR I'll not

Re: Exception loading custom Realm

2005-10-10 Thread Larry Meadors
Where did you put the classes? They have to go in either common/lib, or server/lib. Larry On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote: Hi, I created my own realm by extending UserDatabaseRealm. But when I start the tomcat server, I get the following exception. If I use

Re: Exception loading custom Realm

2005-10-10 Thread Surya Mishra
common/lib But it doesn't have problem loading my custom realm. The problem is actually in loading the UserDatabaseRealm: java.lang.NoClassDefFoundError: org/apache/catalina/realm/UserDatabaseRealm Thanks -Surya On 10/10/05, Larry Meadors [EMAIL PROTECTED] wrote: Where did you put the

Re: Exception loading custom Realm

2005-10-10 Thread Larry Meadors
Are both classes loaded by the same classloader? Larry On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote: common/lib But it doesn't have problem loading my custom realm. The problem is actually in loading the UserDatabaseRealm: java.lang.NoClassDefFoundError:

Newbee question on servlet and html

2005-10-10 Thread Developer Developer
I wrote my first html and servlet and deployed it on tomcat 5.5. The html works okay when I call it from the browser. The servlet too works okay when I call its doget() method by invoking it from the browser. EG:. http://localhost:8080/VBeer/BeerSelect However, when i try to invoke the servlet

Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
Thanks for the tip Lyndon. It took a few tries, but I finally got it right, I think! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Add parameters into tomcat service ......

2005-10-10 Thread Tony Lu
Tomcat (5.0.28) runs on Windows 2003 Server. Web application needs some information from tomcat starup. So I add following statement in startup.bat batch file set JAVA_OPTS=-Xms512m -Xmx512m - Daos.configuration=%CATALINA_HOME%/conf/aos.config Application runs well When I start Tomcat by

Apache Tomcat Web Root Path Disclosure Vulnerability

2005-10-10 Thread Vineet Bhatia
Hello, One of our customers running Apache Tomcat version 4.1.29 ran some type of a vulnerability scanner which detected an "Apache Tomcat Web Root Path Disclosure Vulnerability". Did some research on the net and many sites mentioned that this vulnerability only affected 4.0.3. But I want

RE: Add parameters into tomcat service ......

2005-10-10 Thread Caldarale, Charles R
From: Tony Lu [mailto:[EMAIL PROTECTED] Subject: Add parameters into tomcat service .. My question is: how to add statement set JAVA_OPTS=-Xms512m -Xmx512m - Daos.configuration=%CATALINA_HOME%/conf/aos.config into tomcat5 service? Use tomcat5w.exe from the bin directory. Add the

SimpleTagSupport and Adding Tags.

2005-10-10 Thread Joe Riopel
Hi, Is it possible to access SimpleTagSupport tags on a jsp page, using some type of filter object? Thanks, Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Developer Developer
does anybody know how to fix this problem. Invocation of servlet prompts a messagebox posing a questions do you want to save this ? instead of executing it and returing the output in the html document. :( On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote: I wrote my first html and

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Frank W. Zammetti
Two questions... (1) Does your servlet implement a doPost() method? Since you are POSTing the form, you need to do that. (2) Is there a typo in your form there? I see: form method=3DPOST action=3DBeerSelect That's not proper... my guess is you want: form method=3DPOST action=3DBeerSelect

JSP Newbie seeking guidance

2005-10-10 Thread John Geiger
Hello: This is a little intimidating, but I am eager. I hope I am in the right place. I am a DHTML developer‹intermediate level. I¹ve been exposed to JSP on an iPlanet server, Sun OS 5.8 (but it is my client¹s production server, and I¹m reluctant to mess around there!) I now have my own Tomcat

Re: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Glen Mazza
I think you are getting this error because Tomcat doesn't realize you are trying to activate the servlet. You probably will need to look at your WEB-INF/web.xml of your web application. You'll need a servlet/ entry that defines BeerSelect and a servlet-mapping/ that ties BeerSelect to its

Re: JSP Newbie seeking guidance

2005-10-10 Thread Glen Mazza
John Geiger escribió: Hello: This is a little intimidating, but I am eager. I hope I am in the right place. I am a DHTML developer‹intermediate level. I¹ve been exposed to JSP on an iPlanet server, Sun OS 5.8 (but it is my client¹s production server, and I¹m reluctant to mess around there!) I

Re: JSP Newbie seeking guidance

2005-10-10 Thread John Geiger
I am avoiding the real issue--OK, I am ready to face it: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: In lt;drivergt;, invalid driver class name: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver This is the error I get running an exercise from the Apress book. I can

Re: JSP Newbie seeking guidance

2005-10-10 Thread Mark Eggers
I am not familiar with the book. If they are recommending using Tomcat's connection pools and JNDI, then you will need to add the jar file that contains the MySQL driver to $CATALINA_HOME/common/lib. If you are connecting to the database directly from your web application then you probably need

Re: JSP Newbie seeking guidance

2005-10-10 Thread Justin Jaynes
I would HIGHLY recommend using SuSE Linux 10 which can be purchased or download from Novell directly at suse.com. Also, see the openSuSE project (essentially the open source community effort half of the SuSE/novell team). I used to run RedHat but was disappointed in the drop to Fedora. I tried

Virtual Hosting and SSL

2005-10-10 Thread Justin Jaynes
I am running tomcat 5.5.12 and need to host two sites, both with ssl. Obviously one SSL cert/keystore will not do for two sites. I understand that SSL is IP based because the http header is not read until after the connection is established. I know you can configure tomcat to do virtual

Re: Virtual Hosting and SSL

2005-10-10 Thread Hassan Schroeder
Justin Jaynes wrote: I am running tomcat 5.5.12 and need to host two sites, both with ssl. Can you set up two connectors (one port 443 and one port 80) for one specific ip address and another set of connectors for another ip address? Yes. :-) That's exactly what you need to do. Try it,

Resource in context.xml and ObjectFactory

2005-10-09 Thread Zsolt
Hi, If I don't use the attribute factory in context.xml I get following error: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory. java:132) Context debug=0 reloadable=false Resource

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-09 Thread Bob Hall
Instead of rebuilding FOP, I wrote a simple test class that attempts to instantiate 'Rectangle'. It runs successfully on one system and fails on the other (the one with the NoClassDefFoundError): $ java -Djava.awt.headless=true TestRectangle Exception in thread main

[RESULT][VOTE] Tomcat 5.5.12 is stable

2005-10-09 Thread Yoav Shapira
Hi, The 5.5.12 stability vote is now over, and the release is stable. The following votes were cast for stable: Jeanfrancois Arcand Allistair Crossley Henri Gomez Jim Jagielski (not sure if this one is binding in the strictest sense of the word) Remy Maucherat Peter Rossbach Yoav Shapira Mladen

Re: Multipart Request

2005-10-09 Thread Dakota Jack
Are you using Struts? Struts has a bizarre idea that causes this type of problem. On 10/8/05, Dhiren Bhatia [EMAIL PROTECTED] wrote: Hi all, I'm having trouble with the HttpServletRequest object if my post contains multipart data. The request object loses all the parameters set from the

Re: Multipart Request

2005-10-09 Thread Dhiren Bhatia
Yea, I'm using Struts. I like some of its features so I want to continue using it. But multipart is a mess. So, is there any way to retain the parameters in HTTPServletRequest? Thanks. On 10/9/05, Dakota Jack [EMAIL PROTECTED] wrote: Are you using Struts? Struts has a bizarre idea that causes

Re: Tomcat 5.5.12 and user-agent header

2005-10-09 Thread Leon Rosenberg
Hmm, I downloaded 5.5.12 and tried the agent-header specific code with it: public void processLogin(User user, HttpServletRequest req, HttpServletResponse res) { StringBuffer info = new StringBuffer(); info.append(login );

Re: OutOfMemoryException in Tomcat 5.0.28 (when using Thread / ThreadLocal)

2005-10-09 Thread Leon Rosenberg
I'm not the expert but... On 10/9/05, Binildas C [EMAIL PROTECTED] wrote: Hi, We are building a high volume site in Tomcat5.0.28. Our single Tomcat5.0.28 instance in the Web Farm is having 10 HTTP Threads. Each HTTP Thread collects request events in a ThreadLocal. At every 1000 requests

RE: Tomcat 5.5.12 and user-agent header

2005-10-09 Thread Richard Mixon
Leon, Thank you for the test - but I still get a null user-agent right after the login. Here is a snippet of my code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; %@ include file=/common/taglibs.jspf% %@ page

Re: Multipart Request

2005-10-09 Thread Dakota Jack
You either have to stop using ActionForm or go in and rewrite the code on multiparts. The existing code is really sloppy and bad. There are references that do nothing. Others do things they shouldn't do, etc. Essentially, you really should avoid using it and write your own implementation of

using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread jeffery . s . eaton
I have set up a connection pool using the following set up: ___- ?xml version=1.0 encoding=iso-8859-1? !-- Context configuration file for the Road Safety Audit Management System Web App -- Context

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: using a datasource connection pool resource with username and password supplied by user But what I really want to do is to get a database user and password from the user and (after validating it) write this to a session

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread Parsons Technical Services
Chuck is right in that it can't be done with the standard pool that Tomcat has. Due simply to the fact that the pool is established before anyone has made a call to the server. But what you could do is to create a connection for that user when they authenticate and hold on to the connection

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread jeffery . s . eaton
Thanks Doug and Chuck, I suspected as much re. the connection pool. This sort of negates the value of it a little (for me anyway). My original plan was to go with saving the connection to the session once it was established but I had read somewhere that connections are not 'serializable' and

Re: Wish: add a header in mail subject

2005-10-08 Thread Kyle
Seak, Teng-Fong wrote: Sure, this can be used, but it's not always appropriate. You see, my address is at Yahoo and I receive mails in Thunderbird at home. When I'm not at home, I read mails in Yahoo mail, of course. But then I can't apply any filter (or could I?) because I need them

mod_jk + context don't work ?

2005-10-08 Thread gianni dalmasso
i configured several html virtual hosts sites with jsps ; (apache 2.0 + mod_jk.+ tomcat 5.5.) - virtual hosting managed by apache (name based virtual host) - connector ajp13 for all jsps - if a i create in server.xml : an host www.aaa.com + context infos -- everythink works but it's no longer

Re: Wish: add a header in mail subject

2005-10-08 Thread Seak, Teng-Fong
Kyle wrote: Surely Yahoo mail allows you to click on and sort by recipient too? Nope. Set up a Tomcat-User contact in your Yahoo Address Book and all mail coming in from Tomcat should display that just like it does in Thunderbird, shouldn't it? And nope. You're just guessing it

hot redeploy now work. locked jsf-impl.jar

2005-10-08 Thread dean
I deploy xsoft.war in webapps directory. It creates a diretory xsoft and deploy works. NEXT, I drop xsoft.war in the webapps directory again. Tomcat starts deleting all files from previous deployment but can't delete jsf-impl.jar. Because of this, tomcat does not deploy xsoft.war and the xsoft

RE: hot redeploy now work. locked jsf-impl.jar

2005-10-08 Thread Mark Thomas
Take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=10026. It may be related. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, October 08, 2005 5:20 PM To: tomcat-user@jakarta.apache.org Subject: hot redeploy now work. locked

Multipart Request

2005-10-08 Thread Dhiren Bhatia
Hi all, I'm having trouble with the HttpServletRequest object if my post contains multipart data. The request object loses all the parameters set from the html form. i.e. request.getParameter(myParam); always returns null. If I remove the multipart encoding from my form, I see the parameter

RE: hot redeploy now work. locked jsf-impl.jar

2005-10-08 Thread dean
I am confused. It looks like they found a way to make tomcat so if the jars had that problem, tomcat could still handle it, but only put this in 4.x. It is not in 5.0(ie. the last post in the message). The weird thing is a friend had the same version but not the same problem. I upgraded my jvm

SessionListener invoked sometimes and not others

2005-10-08 Thread dean
So after a restart of tomcat, I login and it appears the session is still valid, so it does not go through my session listener. I need to be aware of the web application lifecycle and want to grab a resource when the webapp starts and release when the web app goes away. How do I do that? I was

RE: Tomcat 5.5.12 and user-agent header

2005-10-08 Thread Richard Mixon
I am just using the standard HTTP connector. This is on my development workstation so I don't normally run JK and Apache, except for final testing. On the developer list I did see one mention of user-agent header, but on closer inspection it appeared to be for a completely different issue.

RE: hot redeploy now work. locked jsf-impl.jar

2005-10-08 Thread Mark Thomas
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I am confused. It looks like they found a way to make tomcat so if the jars had that problem, tomcat could still handle it, but only put this in 4.x. It is not in 5.0(ie. the last post in the message). The functionality has been in

RE: SessionListener invoked sometimes and not others

2005-10-08 Thread Mark Thomas
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] So after a restart of tomcat, I login and it appears the session is still valid, so it does not go through my session listener. I need to be aware of the web application lifecycle and want to grab a resource when the webapp starts and

Re: SessionListener invoked sometimes and not others

2005-10-08 Thread Dean Hiller
My web app has two servlets. One JSF Faces servlet and another servlet for processing AJAX requests from javascript. I want to know when the app starts and when the app is done. Is the only way to do this is to have a ServletContextListener listening to both those servlets? On the first one, I

Re: SessionListener invoked sometimes and not others

2005-10-08 Thread Dean Hiller
whoops, nevermind. stupid question I found out after poking around. dean Dean Hiller wrote: My web app has two servlets. One JSF Faces servlet and another servlet for processing AJAX requests from javascript. I want to know when the app starts and when the app is done. Is the only way to do

Re: Multipart Request

2005-10-08 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiren Bhatia wrote: Hi all, I'm having trouble with the HttpServletRequest object if my post contains multipart data. The request object loses all the parameters set from the html form. i.e. request.getParameter(myParam); always returns null.

PoolConnection always build new Connection

2005-10-08 Thread NoKideen
HI, currently I use Pool Connection like this bottom here, And Works. Only one Connection is made for every COnnection made then ... I tried to recompile for a code changes, a new connection is built again, so every recompile DataSource is built, so the old connection is leak, and the new code

OutOfMemoryException in Tomcat 5.0.28 (when using Thread / ThreadLocal)

2005-10-08 Thread Binildas C
Hi, We are building a high volume site in Tomcat5.0.28. Our single Tomcat5.0.28 instance in the Web Farm is having 10 HTTP Threads. Each HTTP Thread collects request events in a ThreadLocal. At every 1000 requests (in a particular HTTP Thread) the HTTP Thread will collect events from the

Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
Hi. I need to send an email using a servlet (Tomcat 4.1 / Debian 3.1), but when I send the form from the jsp page that call the servlet, i get this exception: javax.servlet.ServletException: Servlet execution threw an exception at

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Did you add the Java Activation Famework jar to your WEB-INF/lib? Check this out: http://java.sun.com/products/javabeans/glasgow/jaf.html --On Friday, October 07, 2005 9:33 AM +0200 Andrés Reyes [EMAIL PROTECTED] wrote: Hi. I need to send an email using a servlet (Tomcat 4.1 / Debian

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
David Tonhofer, m-plify S.A. wrote: Did you add the Java Activation Famework jar to your WEB-INF/lib? Check this out: http://java.sun.com/products/javabeans/glasgow/jaf.html Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. I forget to comment it. Sorry. --

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
The doPost exception is in the line 63 of the servlet, which is: --- MimeMessage message = new MimeMessage(s); --- -- /*** * Andrés Reyes ( [EMAIL PROTECTED] ) * TCOR Desarrollos y Sistemas, S.L. * Teléfono: 957 76 42 48 * Fax : 957 76 42 49

Re: Sending mail with JavaMail

2005-10-07 Thread Mikolaj Rydzewski
Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. Try to put them in tomcat's common/lib. It works for me. -- Mikolaj Rydzewski [EMAIL PROTECTED] Becomo S.A. tel. (12) 2927104 - To

Re: Sending mail with JavaMail [255611:132100]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt. Please be advised that Badge mailing commences beginning of October 2005. Should your message require a response we will respond shortly. Regards Meridian Club -Original Message- From: Mikolaj Rydzewski

<    1   2   3   4   5   6   7   8   9   10   >