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 / Databases / October 2006

Tip: Looking for answers? Try searching our database.

probleme de connection java oracle

Thread view: 
semsouma - 16 Oct 2006 10:13 GMT
bonjor tout le monde

j'essaye de me connecter à une base de données oracle installée sur
un serveur solaris à traver un programme
java et bien sur le jdbc aprés exécussion du programme le message
suivant est affiché:

com.borland.dx.dataset.DataSetException: Exception d'E/S: Connection
refused
(DESCRIPTION=(TMP=)(VSNNUM=153093888)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))

sachant qu' à travers le même programme j'ai pu me connecter à une
base de données oracle installée
sur un serveur windows.

pouvez vous m'aider à régler ce problème svp?
IchBin - 16 Oct 2006 14:18 GMT
> bonjor tout le monde
>
[quoted text clipped - 12 lines]
>
> pouvez vous m'aider à régler ce problème svp?

 Écrivez svp en anglais. C'est un forum anglais.

Signature

Thanks in Advance...                      http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA              http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

jcsnippets.atspace.com - 20 Oct 2006 17:31 GMT
> bonjor tout le monde
>
[quoted text clipped - 13 lines]
>
> pouvez vous m'aider à régler ce problème svp?

Bonjour,

D'abord, ceci est un newsgroup anglais, c'est mieux d'écrire en anglais,
ainsi vous allez avoir un réponse plus rapide.

Est-ce que vous êtes sûre que c'est un problème de Java? Est-ce que c'est
possible de connecter vers le base de données avec un autre programme?
Est-ce qu'un "tnsping" est possible? Avez-vous contrôlé votre firewall?

Si ça ne marche pas, vous pouvez essayer de répondre avec un morceau de
code, ainsi on peut voir ce que vous avez fait.

Salutations,

JayCee

[for the benefit of those who don't speak french]

First of all, this is an english speaking newsgroup, so it's best to
write in english. This way, you'll get a much faster response.

Are you sure this is a Java problem? Is it possible to connect to the
database with another program? Is a "tnsping" possible? Have you checked
your firewall?

If all that does not work, you can always respond to this message with a
piece of your code, so we can see for ourselves what you have created.

Best regards,

JayCee
Signature

http://jcsnippets.atspace.com/
a collection of source code, tips and tricks

David Harper - 22 Oct 2006 21:22 GMT
> bonjor tout le monde
>
[quoted text clipped - 12 lines]
>
> pouvez vous m'aider à régler ce problème svp?

I have a strange feeling of déja vu.  We had a similar question in this
newsgroup about a month ago :-)

Oracle error code 12505 means "TNS:listener could not resolve SID given
in connect descriptor".

Apparently, this means that the TNS listener service does not recognise
the service ID which you specified in your JDBC connection URL.  Perhaps
you gave the wrong service ID?  Or perhaps the Oracle instance has not
registered that service ID with the TNS listener?

Caveat: I'm *not* an Oracle expert!

David Harper
Cambridge, England


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.