aspose file tools
The moose likes Oracle/OAS and the fly likes problems in setting SID/HOST/PORT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "problems in setting SID/HOST/PORT" Watch "problems in setting SID/HOST/PORT" New topic
Author

problems in setting SID/HOST/PORT

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
hi Iam working with weblogic 8.1
I want to set Oracle.SID/host and port in the Adimconsole
to lookup and use oracle.I have Oracle Enterprise Edition 8.1
How should I set this in my Oracle 8.1
Regards,
vasantha


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17234
    
    1

This isn't something you set up in Oracle, it is something that is in Oracle. Meaning where you put your Oracle database and name it is what creates the SID/Host/Port. If you have the Oracle client already installed on your machine, you can find out these values that you need to enter in the adminstration screen for the App Server, you go to ORACLE_HOME/network/admin and look at your tnsnames.ora file, this has all the entries to connect to the database.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17234
    
    1

OH, if you can't figure out what you need form there, I highly suggest going to your DBA and ask him for that information.
Mark
Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Hi,
Iam using Oracle 8.i Enterprise server edition in windows XP.Can u please tell How should I set It??.
Regards,
vasantha
Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Hi,
I came accross tnsNames and found out number of names like
Beq-local.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = BEQ)
(PROGRAM = oracle80)
(ARGV0 = oracle80ORCL)
(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
Tcp-loopback.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 127.0.0.1)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
TcpExample.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = Production1)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
SpxExample.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = SPX)
(Service = Server_lsnr)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
my Question is
In my database connection.Iam using
"jdbc racle:thin@:host ort:sid","scott","tiger"
for thin driver which protocol should I use?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problems in setting SID/HOST/PORT
 
Similar Threads
JDBC ODBC host string
Problem with Installation of Luntbuild
Getting java.net.ConnectException when calling remote host
Need Help With Batch File Scripting Language to Straighten Out PATH Problem in Windows Environment
Not authenticating the user