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
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
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
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
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
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
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
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 ?
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
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)
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
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
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
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
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
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:
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
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:
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
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
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
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
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:
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,
--- 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
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.
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
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
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
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
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
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
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
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
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:
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
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
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
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:
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
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
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
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
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
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]
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
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
Hello:
This is a little intimidating, but I am eager. I hope I am in the right
place.
I am a DHTML developerintermediate 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
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
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
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
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
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
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
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,
55 matches
Mail list logo