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,