[ ziris @ 26.09.2006. 13:11 ] @
| radim ekranske forme u Oracle9iJDeveloper-u,i kad pokrenem aplikaciju,neće da mi se konektuje na bazu!! A stavila sam lepo i ime konekcije,username i password ne znam u čemu je problem? izbacuje mi grešku:
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
[Ovu poruku je menjao ziris dana 26.09.2006. u 18:08 GMT+1] |
[ jajo @ 26.09.2006. 19:57 ] @
Probaj se spojiti iz sqlplusa. Ako to prođe onda je moguće problem u jdeveloperu.
Onak pogađanjem bi mogao biti problem da imaš više oracle home-ova i da ti tnsnames.ora nije onaj koji misliš da koristiš.
Ovo je samo moje nagađanje i može biti jaaaaako daleko od istine.
[ ziris @ 26.09.2006. 21:08 ] @
moguće da je tvoje nagadjanje tačno,s obzirom da sam nekolko puta započinjala instaliranje Oracle9i, pa Oracle10g sve dok nisam uspela.. pa jesam imala više home-ova,ali mislim da sam ih obrisala(te viškove). Inače meni je sama konekcija u redu,znači kad udjem u JDeveloper i odem na konekciju, to je ok, ali ovu aplikaciju sa formama kad pokrenem ne pokazuje nikakve podatke koje sam već ubacila u neke forme jer mi izbaci grešku da je neuspešna konekcija...
[ djoka_l @ 27.09.2006. 10:36 ] @
Definitivno je problem sa tnsnames.ora, pogrešan SID je upisan.
Code:
oerr ora 12505
12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
// *Cause: The listener received a request to establish a connection to a
// database or other service. The connect descriptor received by the listener
// specified a SID for an instance (usually a database instance) that either
// has not yet dynamically registered with the listener or has not been
// statically configured for the listener. This may be a temporary condition
// such as after the listener has started, but before the database instance
// has registered with the listener.
// *Action:
// - Wait a moment and try to connect a second time.
// - Check which instances are currently known by the listener by executing:
// lsnrctl services <listener name>
// - Check that the SID parameter in the connect descriptor specifies
// an instance known by the listener.
// - Check for an event in the listener.log file.
[ ziris @ 27.09.2006. 11:56 ] @
jeste bio pogrešan SID upisan,hvala na pomoći
Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.