I dont know if it is required, but do you have a resource-ref
entry in your web.xml, something like this?
resource-ref
descriptionmySQL Datasource/description
res-ref-namejdbc/myAPP/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
where
I am still not been able to use remote database,
even after including resource-ref in my web.xml
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 1:48 PM
To: users@tomcat.apache.org
Subject: RE: ASKING AGAIN: problem in getting
Thanks for help Jan,
But how to define jdbc/global in the Data Sources of the tomcat Server?
can you explain further
-RahulJoshi
-Original Message-
From: Jan Pernica [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 2:29 PM
To: Tomcat Users List
Subject: Re: ASKING AGAIN:
Hello,
I am looking at this error message you are getting:
Cannot create PoolableConnectionFactory (Unknown database 'myDB')
and thinking it isn't any thing to do with resource tags. Specially if it is
working locally. To me it seems to be something wrong with your DB
installation. Does the
I am seeing the database myDB is present in remote machine
Also I am using same version(4.1.14-nt-max) of mysql on both machine.
-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 3:02 PM
To: Tomcat Users List
Subject: Re: ASKING AGAIN: problem
Inspired by the last mail: Have you configured your remote database to
listen
to the ip-adress of your client. Does your databse accept connections from
there?
And is there a user installed on your remote database that has rights to
access it?
-Ursprüngliche Nachricht-
Von: Andoni
Yes I did that through my database creation script using GRANT command:
GRANT SELECT,INSERT,UPDATE,DELETE ON myDB.* TO user@'%' IDENTIFIED BY
'password';
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 3:07 PM
To:
Is Apache part of your setup?
On 10/24/05, Daniel [EMAIL PROTECTED] wrote:
If so, whats the magic to the certs and keystores?
- Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Doehler, Thomas wrote:
Hi list,
I'm using apache 2.0.54 + mod_jk 1.2.14 on a debian 3.1 server.
I have 2 tomcat workers running on different machines.
Although I configured the load balancing worker with sticky_session=1, all
requests get spread over the tomcat workers in round robin.
My
Hi,
thanks for the quick response, jvmRoute is configured on both instances.
We do not use the standard tomcat url rewriting (which is
http://...;jsessionid=...?x=y),
we use simply a standard http paramter and do our own url rewriting.
Regards,
Tom
Did you set the jvmRoute=your worker name in
Hi,
here the requested files:
workers properties:
---
#
# wokers.properties - configuration for mod_jk
#
# configure path separator
ps=/
# list of workers by name
worker.list=loadbalancer
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=debi1, debi2
If you mean pooling with JNDIRealm - there is no pooling available with that
realm.
-Tim
Javier Leyba wrote:
Hi All
I want to make an LDAP connection pool in my Tomcat
5028 server. Is this possible ? Could someone show an
example ?
Doehler, Thomas wrote:
Hi,
!-- the ajp connector --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8009 minProcessors=5 maxProcessors=10
enableLookups=true acceptCount=10 debug=1
connectionTimeout=2
The system i'm currently testing with is only a little test system,
it is not inteded to go productive in that configuration ;-)
But thanks for the tip you anyway. The jk.log has no error messages,
and here is the log grepped for found best worker:
[Tue Oct 25 15:52:23 2005] [28304:49172] [debug]
One small tip on content length. If you use UTF-8 encoding, the content
length of the page is not necessarily the number of characters in a string
or string buffer. You have to write the data to something like a byte array
output stream and then get the number of bytes.
George Sexton
MH Software,
Why tomcat has a wrapped dbcp? Is there any difference?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If you are using Struts, then the following can help you perform the switching:
http://sourceforge.net/projects/sslext
Mark
On 25/10/05, Rob [EMAIL PROTECTED] wrote:
Hi All,
I looked through the mail archives as well - past two years. There's some
interesting info, but nothing that seems
Which cache are you referring to?
Frederic D [EMAIL PROTECTED] wrote:Hi !
Is it possible to empty tomcat cache without
restarting tomcat ?
Thanks.
Frederic
___
Appel audio GRATUIT partout dans le monde avec le
Help!!!
I use a secure (https) XML feed and it appears the provider recently switched
SSL certificate providers and is now using an Equifax certificate. Since that
switch occured,
my code is now throwing the following exceptions:
javax.net.ssl.SSLHandshakeException:
Charles P. Killmer wrote:
I have a bunch of JSP files that all instantiate a single class file.
Is there a way for the class file to log which file called it and
ideally from which line the call was made?
There might be a better way to do this but off the top of my head I
should think this
Man, this feels like telling someone how to shoot their foot off, but this
would be shorter:
new Exception().printStackTrace();
Larry
On 10/25/05, Steve Stearns [EMAIL PROTECTED] wrote:
Charles P. Killmer wrote:
I have a bunch of JSP files that all instantiate a single class file.
Is
This is not supported because there is simply no point.
If someone can read the tomcat-users.xml file then they almost certainly own the
server and you have bigger problems than someone having access to the manager
app.
Consider if the password was encrypted, where is the decryption key stored?
Running on Windows? Try using antiJARLocking or antiResourceLocking. See
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Mark
-Original Message-
From: Jan Pernica [mailto:[EMAIL PROTECTED]
Sent: Monday, October 24, 2005 10:42 AM
To: users@tomcat.apache.org
Subject:
Hi,
I want to measure the queueing time starting from when Tomcat recieve the
request from a client until the request reach my process.
I am writing a web service application hosted under axis engine.
I want to
- Get the time stamp when the request arrive at Tomcat
And I then want to find the
The valve intercepts the request before it gets to any web applications so the
settings in conf/web.xml or in an applications individual WEB-INF/web.xml will
not get used.
You have a couple of options:
- Write you own valve (copy, paste, add a few lines and you should be done)
- Write a servlet
Okay I've spent the last several days going over everything I could find on the
web about setting this up and I still can't get it to work. I have the
following setup:
jCIFS 1.2.6
JBoss 4.0.3 with Tomcat 5
Jakarta isapi_redirect 1.2.14
IIS 5.0
IE 6
Windows 2003 Domain Controller
A win2k
I'm not running Tomcat 5.5 - in fact, I haven't even used my older Tomcat
setup (4.1.x) with DB2 V7 in quite a while and I haven't used it with DB2 V8
at all - but I use DB2 quite a bit with Java applications that I write so
perhaps I can help
The old JDBC drivers are deprecated as of Version
I did use COM.
Niels Beekman [EMAIL PROTECTED]
10/25/2005 04:19 PM
To
Jon Christensen/National/Hewitt [EMAIL PROTECTED] Associates NA
cc
Subject
RE: DB2 and Tomcat 5.5 Issue
Classnames are case sensitive, did you type 'COM' instead of 'com'?
Niels
-Original Message-
From:
Aaah! Thanks Mark. We'll give it a shot.
Neal
Mark Thomas [EMAIL PROTECTED] wrote:
Sounds like you are on the right path. The Equifax certificate must be installed
in the trust store, not your key store. Where this is depends on whether you are
using a JDK or a JRE but as an example, on my
I've written a simple web application consisting of a servlet which
does a select from a table and displays the result. It is then
packaged as a war and deployed using the tomcat ant task. After
executing the servlet, it is undeployed using the ant task again.
stdout confirms that the webapp is
mark, that did the trick! Thanks so much. :)
Neal
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005 2:04 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: SSL Handshake Error!
Sounds like you are on the right path. The Equifax
31 matches
Mail list logo