how to connect to a new database

R

ravi.patnaik15

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
 
M

Moiristo

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.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top