Hi Everyone,
I need to determine the URL to use for connecting a Java Application I have written to an Oracle database. Usually when I connect to Oracle (of the 9i variety) I am using a web interface that has been provided for convenience.
Once at the URL I am presented with three pieces of information that I have to enter. As is the normal procedure a user name and password is required in addition to a Connection Identifier. As best I can tell the Connection Identifier is a SID (System Identifier).
My program compiles and will work once I have deciphered the URL. I am currently thinking that this web interface should not be my connection point for the standalone application I have written.
I have briefly looked at the simple UI that is provided with Oracle, the one called SQL Plus. Now I need to determine how the client SQL Plus actually connects to the database, particularly the URL and port that it connects on.
Obviously a default port (which slips my mind) is likely in use however I am hoping to get some help in working backwards from the SQL Plus client and determining the URL and Port that is being used.
I have quickly inspected SQL Plus and looked at the Help commands however nothing there will let me work out what I need to know.
Does anybody have any suggestions for determining the URL of a database given the SQL Plus client or perhaps using DOS and some antiquated networking commands?
Any help with this essoteric question will be greatly appreciated.
Regards
David
I need to determine the URL to use for connecting a Java Application I have written to an Oracle database. Usually when I connect to Oracle (of the 9i variety) I am using a web interface that has been provided for convenience.
Once at the URL I am presented with three pieces of information that I have to enter. As is the normal procedure a user name and password is required in addition to a Connection Identifier. As best I can tell the Connection Identifier is a SID (System Identifier).
My program compiles and will work once I have deciphered the URL. I am currently thinking that this web interface should not be my connection point for the standalone application I have written.
I have briefly looked at the simple UI that is provided with Oracle, the one called SQL Plus. Now I need to determine how the client SQL Plus actually connects to the database, particularly the URL and port that it connects on.
Obviously a default port (which slips my mind) is likely in use however I am hoping to get some help in working backwards from the SQL Plus client and determining the URL and Port that is being used.
I have quickly inspected SQL Plus and looked at the Help commands however nothing there will let me work out what I need to know.
Does anybody have any suggestions for determining the URL of a database given the SQL Plus client or perhaps using DOS and some antiquated networking commands?
Any help with this essoteric question will be greatly appreciated.
Regards
David