> Pid
> To:
> Tomcat Users List
> Date:
> 10/22/2010 12:37 PM
> Subject:
> Re: javax.naming.NamingException: Cannot create resource instance
>
>
>
> On 22/10/2010 06:40, Aparna1 V wrote:
>> oh! but i need to connect to both those datasources. Is th
It fails to parse the server.xml when i declare more than one resource
under the Context element.
Please help me out...
From:
Pid
To:
Tomcat Users List
Date:
10/22/2010 12:37 PM
Subject:
Re: javax.naming.NamingException: Cannot create resource instance
On 22/10/2010 06:40, Aparna1 V
On 22/10/2010 06:40, Aparna1 V wrote:
> oh! but i need to connect to both those datasources. Is this not possible
> in tomcat6?
Yes it is possible.
> And on top of that, you've got two ResourceLink name attributes pointing
> to the same class with different names.
This is irrelevant. The ty
oh! but i need to connect to both those datasources. Is this not possible
in tomcat6?
From:
"Propes, Barry L "
To:
Tomcat Users List
Date:
10/22/2010 01:11 AM
Subject:
RE: javax.naming.NamingException: Cannot create resource instance
I know it's allowed in TC 4. I was say
I know it's allowed in TC 4. I was saying not allowed in 5, or after 5.0 or 5.5.
-Original Message-
From: Aparna1 V [mailto:aparna...@tcs.com]
Sent: Thursday, October 21, 2010 10:55 AM
To: Tomcat Users List
Subject: RE: javax.naming.NamingException: Cannot create resource instanc
Hi Barry,
That is allowed in TC 4.
From:
"Propes, Barry L "
To:
Tomcat Users List
Date:
10/21/2010 09:21 PM
Subject:
RE: javax.naming.NamingException: Cannot create resource instance
Not sure, but I don't think you need all those attributes separated like
that.
In TC
Not sure, but I don't think you need all those attributes separated like that.
In TC4 you had to do that -- but not so after 5.0, or at least 5.5
And on top of that, you've got two ResourceLink name attributes pointing to the
same class with different names.
Not sure, but is that allowed?
---
> From: Aparna1 V [mailto:aparna...@tcs.com]
> Subject: javax.naming.NamingException: Cannot create resource instance
> Please advise as to what could be wrong since im using the
> server.xml that i was using with the tomcat 4.
You just answered your own question. The configuration of Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 4/6/2009 2:17 PM, Martin Gainty wrote:
> /WEB-INF/web.xml:
>
> jdbc/jpetstore
> javax.sql.DataSource
> Container
>
>
>--looks for jdbc/jpetstore and finds it here in dataAccess-context.xml--
*sigh*
T
> Date: Mon, 6 Apr 2009 17:30:55 +0100
> From: p...@pidster.com
> To: users@tomcat.apache.org
> Subject: Re: javax.naming.NamingException: Cannot create resource instance
>
> Mighty Tornado wrote:
> > JVM: 1.5.0_16Tomcat: 6.0.16 2
> > OS: Mac OS X Leopard
> >
&
Mighty Tornado wrote:
> I added the same entry to context.xml under $CATALINA/conf and it did work.
> Could there be something else wrong?
Did you remove it before trying to add it here?
p
> On Mon, Apr 6, 2009 at 12:30 PM, Pid wrote:
>
>> Mighty Tornado wrote:
>>> JVM: 1.5.0_16Tomcat: 6.0.1
I added the same entry to context.xml under $CATALINA/conf and it did work.
Could there be something else wrong?
On Mon, Apr 6, 2009 at 12:30 PM, Pid wrote:
> Mighty Tornado wrote:
> > JVM: 1.5.0_16Tomcat: 6.0.16 2
> > OS: Mac OS X Leopard
> >
> > Hi,
> >
> > I defined the following context.xml
Mighty Tornado wrote:
> JVM: 1.5.0_16Tomcat: 6.0.16 2
> OS: Mac OS X Leopard
>
> Hi,
>
> I defined the following context.xml under META-INF:
>
>
>
> crossContext="true">
>
>
> auth="Container"
>
> description="DB Connection"
>
> name="jdbc/vhousehold"
>
> type="javax.sql
Yes it looks like that fact it is named with uppercase C was the problem. I
renamed it to context.xml and it finally worked.
Thank you all for your help.
On Thu, Oct 2, 2008 at 5:59 PM, David Smith <[EMAIL PROTECTED]> wrote:
> We have a winner!
> The Windows file system is one of the few (the
We have a winner!
The Windows file system is one of the few (the only one I can think of)
that's not case sensitive. Unix, linux, bsd, macos, etc. , ... are all
case sensitive. You should change the file name 'Context.xml' to
'context.xml' and check to be sure it stays that way as you build
> From: Ziggy O [mailto:[EMAIL PROTECTED]
> Subject: Re: javax.naming.NamingException: Cannot create
> resource instance
>
> One thing i have noticed is that if i take the
> /META-INF/Context.xml file and copy it into
> $CATALINA_HOME/conf/Catalina/localhost/testapp.xml
&g
A bit more info which i think might be relevant.
When i run it on my desktop i ran it directly from within Netbeans but when
i run it on the Unix server i export the project as a war file (within
netbeans) and copy it into the webapps directory on the Unix environment.
Is it possible that netbean
Hi,
The tomcat version on my Desktop is 5.5.27 and the Tomcat version on the
Unix environment is 5.5.23. Could the above minor version difference cause
it?
One thing i have noticed is that if i take the /META-INF/Context.xml file
and copy it into $CATALINA_HOME/conf/Catalina/localhost/testapp.xml
Ok...
1) I don't see a tomcat version, could you post that?
2) Are you sure the tomcat version on the production environment the
same as your dev system?
3) This is probably not causing the immediate problem, but
... in your web.xml should be javax.sql.Datasource, not
oracle.jdbc.pool.Oracle
No mate that was the full stack trace.
Thanks
On Wed, Oct 1, 2008 at 7:02 PM, David Smith <[EMAIL PROTECTED]> wrote:
> Seems like such a generic error would have a root cause. Was there
> anything more to the stack trace?
>
> --David
>
>
> Ziggy O wrote:
>
>> Hi,
>>
>> I am trying to connect t
Seems like such a generic error would have a root cause. Was there
anything more to the stack trace?
--David
Ziggy O wrote:
Hi,
I am trying to connect to an oracle database but cant seem to get the jdbc
connection to work. I am developing the application on a Windows desktop and
transferring
I forgot to mention that i am using Tomcat 5.5 on both the windows and unix
environment.
Thanks.
On Wed, Oct 1, 2008 at 5:54 PM, Ziggy O <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to connect to an oracle database but cant seem to get the jdbc
> connection to work. I am developing the appl
22 matches
Mail list logo