A few days ago I was asking for help because didn't can put my JNDI
stuff to work.
My resources was correctly configured in tomcat's server.xml but when I
tried to lookup anything, has always the same error: java:comp is not
bound in this context (kind of).
Well, I found out what was causing it.
Now I really have a problem that is driving me crazy. I was trying to
get a DataSource configured in GlobalNamingReasources, but while I was
trying to solve it, I figured out that the problem is on the other
side.
I have a datasource configured in GlobalNamingResources, that is correct
(according
Well, I tried to use this configuratio but didn't work (I was expecting
that).
Any other hints?
If helps, I'm trying to get my Datasource inside a context that is
configured inside a virtual host. Does it metter?
iran
-Mensagem original-
De: Iran Marcius [mailto:[EMAIL PROTECTED
: http://www.pantek.com
Ph 440.519.1802
Fax 440.248.5274
Cell 440.336.3317
-Original Message-
From: Iran Marcius [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: Still can't get JNDI DataSource
Well, I apologize for the insistence
Hi fellows.
I think I'm doing something wrong, but I can't get a JNDI Datasource
configured in GlobalNamingResource section.
Here is my configuration:
Resource name=jdbc/global type=javax.sql.DataSource
auth=Container scope=Shareable/
ResourceParams name=jdbc/global
parameter
-namejdbc/shiltonDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
Regards
Kevin
-Original Message-
From: Iran Marcius [mailto:[EMAIL PROTECTED]]
Sent: 20 December 2002 14:06
To: [EMAIL PROTECTED]
Subject: Is there a problem with tomcat JNDI
I got my answer in this thread:
Make sure you have the ResouceLink Tag inside each context that
needs to
use this
datasource. Also, in using Global Resources, there is no need for a
resource-ref tag
in your web.xml config file anymore.
iran
-Mensagem original-
De: Iran Marcius
Hi Denise. I successfully integrated apache 2.0.43 and tomcat 4.1.16
with a simplistic configuration.
httpd.conf
--
LoadModule jk_module modules/mod_jk-2.0.43.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d %H:%M:%S %Y]
Message-
From: Iran Marcius [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 11:30 AM
To: 'Tomcat Users List'
Subject: RES: Configuring mod_jk - Again!
Hi Denise. I successfully integrated apache 2.0.43 and tomcat 4.1.16
with a
simplistic configuration.
httpd.conf
--
LoadModule
Well, I apologize for the insistence but didn't get any answer that
could help me.
Lets remember: I'm trying to get a DataSource in my webapp which is
configured as a GlobalResource, as the following:
Resource name=jdbc/global type=javax.sql.DataSource
auth=Container scope=Shareable/
I'm trying to do something that propably somebody did before (or, at
least needed to).
Currently I'm using tomcat 4.1.16 with Struts 1.0.1 and Velocity Tools
for my applications. I configured a BASIC authentication realm, with
digested passwords.
How can I intercept the process after
Message-
From: Iran Marcius [mailto:iran;isic.com.br]
Sent: Thursday, November 07, 2002 1:29 PM
To: [EMAIL PROTECTED]
Subject: Digest authentication with JDBCRealm: doesn't seems to work
Hi.
I'm trying to use digest authentication with JDBCRealm and SHA
algorithm, but it doesn't seems to work
Let me see if I understood.
What you are saying to me is the browser is sending na encrypted
password to the servlet engine, which is trying to encrypt the password
received again because of my 'digest=SHA'?
I remove digest parameter in realm configuration before and didn't work,
but I really
Hi.
I'm trying to use digest authentication with JDBCRealm and SHA
algorithm, but it doesn't seems to work.
Here is my context:
Context docBase=permission path=/permission reloadable=true
privileged=true
ResourceLink name=jdbc/global global=jdbc/global
type=javax.sql.DataSource/
Hi.
I'm trying to do a digest authentication using a JDBCRealm with SHA
digest.
Here is my context:
Context docBase=permission path=/permission reloadable=true
privileged=true
ResourceLink name=jdbc/global global=jdbc/global
type=javax.sql.DataSource/
Realm
Try
Context...
ResourceLink name=jdbc/Questions global=jdbc/Questions
type=javax.sql.DataSource/
/Context
Iran
-Mensagem original-
De: pkrishnaswami [mailto:pkrishna;learnframe.com]
Enviada em: quarta-feira, 6 de novembro de 2002 17:12
Para: 'Tomcat Users List'
Assunto: RE:
16 matches
Mail list logo