tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Sowa <>
Subject Re: starting with JNDI
Date Thu, 09 Feb 2006 15:32:36 GMT

I hope I had the same problem ;O)

My server.xml was correct but I did following steps to solve this problem:
1. I created a context.xml in my META-INF Folder. With this content:
<Context path="/xxxxContextNamexxxx" docBase="xxxxContextNamexxxx"
        debug="1" reloadable="true">
    <ResourceLink name="xxxblablbaxxxx" global="xxxblablaxxxx"
  <ResourceLink name="xxxblablba2xxxx" global="xxxblablba2xxxx"
2.I guess you have a correct web.xml but anyway:
In the web.xml you need this lines.
        <description>xxxblablbaxxxxOracle Datasource</description>
        <description>xxxblablba2xxxx Oracle Datasource</description>

The String marked with xxx xxx has to be changed of course but this should
solve your problem.
My problem was that the context.xml was missing.

Hope this will help.

best regards Hans

2006/2/9, Marcelo Fukushima <>:
> Hello guys... its gonna sound really stupid, but i cant seen to
> configure JNDI to work (either global and context bound)...
> im getting this exception, wich sugested that something was wrong,
> maybe in the server.xml sintax or something, but even the tomcat
> manager cant make it work:
> Cannot create JDBC driver of class '' for connect URL 'null'
> im running out of ideas so if anyone can help me out, id apreciate it
> very much...
> thanks in advance...
> --
> []'s
> Marcelo Takeshi Fukushima
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

mfg Hans Sowa

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message