Hi Alexander, as far i can see, everything seems to be fine, the only thing that i can think of is that you could have an old instance of context.xml in your E:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\yourAppName.xml which contains old configs and since that one exist tomcat does not overwrite it with the one you put into yourAppDir/META-INF/context.xml
Yassine On Fri, Mar 27, 2009 at 9:55 AM, Alexandr Khlystov <allex.khlys...@gmail.com> wrote: > Guys I've broken my head with this error, google gives nothing. > > I tried to follow > http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html. > > Tomcat 6.0. > Oracle 9.0. > driver: oracle_jdbc13-9.0.2.0.0.jar is added to "E:\Program Files\Apache > Software Foundation\Tomcat 6.0\lib\" > > I see at catalina.2009-03-27.log: > > *SEVERE:* Null component > Catalina:type=DataSource,path=/com.km.integration.service.web,host=localhost,class=javax.sql.DataSource,name="jdbc/isDS" > > > *web.xml*: > <web-app> > > <resource-ref> > <description>Oracle Datasource example</description> > <res-ref-name>jdbc/isDS</res-ref-name> > <res-type>javax.sql.DataSource</res-type> > <res-auth>Container</res-auth> > </resource-ref> > .... > > > context.xml is placed to META-INF/context.xml : > <?xml version='1.0' encoding='utf-8'?> > <Context> > <Resource name="jdbc/isDS" auth="Container" > type="javax.sql.DataSource" > driverClassName="oracle.jdbc.OracleDriver" > url="jdbc:oracle:thin:@172.16.4.4:1523:schema" > username="test" password="test"/> > </Context> > > This connection works I've tested it. > > *How can I fix this exception??* > I've even don't try to call the interested JNDI DataSource. > > When Tomcat starts it even check the connection, screenshot at > http://ovservice.org/trouble.PNG > > > -- > ________________________ > Best regards, > Alexandr Khlystov > -- -- Yassine Elassad Bonn, Germany. Fon : +49 228 97629355 Mobile : +49 157 74519666 PEACE : ( P ) Positive ( E ) Energy ( A ) Always ( C ) Correct ( E ) Errors. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org