Ok then do one thing post your web.xml and server.xml

-----Original Message-----
From: Bhaskar Jyoti Phukan [mailto:[EMAIL PROTECTED]
Sent: 06.08.2004 15:13
To: Tomcat Users List
Subject: [SPAM_EMAIL] - Database connection - Found word(s) list error in
the Text body.


Hi!

Thanks a lot for the reply. We have tried all this and also followed the
tomcat doc but still not able to connect the application to the db2
database.

Regards

Bhaskar


----- Original Message -----
From: "Pradeep Chauhan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 05, 2004 1:26 PM
Subject: RE: [SPAM_EMAIL] - Re: Migration to TOMCAT 5 - Found word(s) list
error in the Text body.


> Hi ,
>
> Here is the example  how to it.
>
> Server.xml
> <GlobalNamingResources><!--Define  Resource Name-->
> <Resource name="jdbc/Test" scope="Shareable" type="javax.sql.DataSource"/>
> <ResourceParams name="jdbc/Test">
>       <parameter>
> ...........................
>       </parameter>
>     </ResourceParams>
> </GlobalNamingResources>
>
> <Context>
>   <ResourceLink global="jdbc/Test" name="TEST"/><!--Give reference name to
> ur Resource -->
> </context>
>
> In Web.xml ( present in root/webapps/Appicationfolder/web-inf/
>
> <resource-ref><!--tell application which Reference name is to use -->
> <description>Oracle Datasource example</description>
> <res-ref-name>TEST</res-ref-name>
> <res-type>javax.sql.DataSource</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
>
>
>
> And if you are Defining ur Resource name in Context tag it self then i
think
> there is no need to do any modification in Web.xml
>
>
> Regards,
> Pradeep Chauhan
>
> -----Original Message-----
> From: Bhaskar Jyoti Phukan [mailto:[EMAIL PROTECTED]
> Sent: 05.08.2004 12:10
> To: Tomcat Users List
> Subject: [SPAM_EMAIL] - Re: Migration to TOMCAT 5 - Found word(s) list
error
> in the Text body.
>
>
> Hi!
>
> It is showing null pointer exception in STDout.log file. I think this is
> because there is no database connectivity. We are not able to configure
the
> server.xml file and web.xml file for our use. Can you help please
>
> Thanks and regards
>
> Bhaskar
>
> ----- Original Message -----
> From: "Pradeep Chauhan" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, August 05, 2004 11:36 AM
> Subject: RE: Migration to TOMCAT 5
>
>
> > Can you tell us what all you have done for configuration and what
Problem
> > (Error in STDout.log or prompt ) you are facing.
> >
> > Regards,
> > Pradeep
> >
> > ----- Original Message -----
> > From: Bhaskar Jyoti Phukan
> > To: [EMAIL PROTECTED]
> > Sent: Wednesday, August 04, 2004 7:00 PM
> > Subject: Migration to TOMCAT 5
> >
> >
> > Hi!
> >
> > We have an application which was installed in TOMCAT 3. The database is
> IBM
> > DB2. We want to migrate to TOMCAT 5. We have installed TOMCAT 5 but not
> able
> > to establish database connectivity.
> >
> > Can you help?
> >
> > Sincerely yours,
> >
> > Bhaskar Jyoti Phukan
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to