Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

how to connect to a new database

Thread view: 
ravi.patnaik15@gmail.com - 08 Aug 2006 17:02 GMT
Hi,
i am connecting to an instance of oracle database from my UNIX tomcat
server.Now i want to connect to another instance of the database server
from the same UNIX server. so i modified the server.xml file of the
tomcat server accordingly. but still i am not able to connect to the
new instance of the database server from UNIX server.
I tried connecting to the new database server from my local Windows
system and it was successful. Can u please let me know whethere apart
from the server.xml, do i need to change any other file. please put
some light on this issue.

Thanks in advance.
Rabi
Moiristo - 08 Aug 2006 17:52 GMT
> Hi,
> i am connecting to an instance of oracle database from my UNIX tomcat
[quoted text clipped - 6 lines]
> from the server.xml, do i need to change any other file. please put
> some light on this issue.

Usually not. Do you want to specify a second datasource or have you
modified the data of the existing datasource? It could be that there is
a context.xml-file in the META-INF directory within your webapp, which
may contain the datasource and may thus overwrite the datasource
settings specified in server.xml. Also, be sure to restart the
tomcat-server as much as possible :D
ravi.patnaik15@gmail.com - 09 Aug 2006 12:56 GMT
Thanks Moiristo,
But there is no context.xml in my webapps directory.
> > Hi,
> > i am connecting to an instance of oracle database from my UNIX tomcat
[quoted text clipped - 13 lines]
> settings specified in server.xml. Also, be sure to restart the
> tomcat-server as much as possible :D


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.