niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Tools
OracleXE and Designer connection problem
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Mik
*nix forums beginner


Joined: 28 Apr 2005
Posts: 23

PostPosted: Wed May 10, 2006 5:45 pm    Post subject: Re: OracleXE and Designer connection problem Reply with quote

Resolved Wink There seems it does not accept 127.0.0.1 as HOST. I've put the
fully qualified host names in all the config files and it seems to work well
now.

Thanks!

--
Mik
Back to top
Mik
*nix forums beginner


Joined: 28 Apr 2005
Posts: 23

PostPosted: Wed May 10, 2006 4:28 pm    Post subject: Re: OracleXE and Designer connection problem Reply with quote

"HansF" <Fuzzy.Greybeard@gmail.com> escribió en el mensaje
news:pan.2006.05.10.14.52.56.247430@gmail.com...
Quote:
1) tnsping XE

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)
(HOST = fuzzy)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)
(SERVICE_NAME = XE))) OK (0 msec)

OK, my output for "tnsping XE" matches exactly this one, except that in my
case HOST = 127.0.0.1 (normal, as I've defined it to be this way).

Quote:
2) lsnrctl status

Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...

In this case "lsnrctl status" reports that the default service is "XE" but I
do not have a Service "XE" instance, only for "CLRExtProc" and "PLSExtProc"
services, so here it is the problem I think. What should I do to fix this ?

Lots of thanks you for your useful reply.
--
Mik
Back to top
HansF
*nix forums Guru


Joined: 09 Mar 2005
Posts: 1090

PostPosted: Wed May 10, 2006 2:53 pm    Post subject: Re: OracleXE and Designer connection problem Reply with quote

On Wed, 10 May 2006 12:07:51 +0200, Mik wrote:

ORA-12514:

Either the XE instance is not registering itself to the listener ...
specifically the listener that is on the port that you are trying to hit;
OR
the service picked up by the @XE alias (which selects the 'XE ='
entry in the TNSNAMES.ORA) does not exactly match the service that has
registered itself to the listener.

Two test, both at command line, are:

1) tnsping XE

Done from the client environment. Should result in an output like

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)
(HOST = fuzzy)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)
(SERVICE_NAME = XE))) OK (0 msec)

Note the 'SERVICE_NAME' and 'PORT' entries.

If it does not provide an 'OK', you need to get that fixed first.

We are asking the listener on that port to connect to a service named 'XE'.

2) lsnrctl status

Done from the server's environment that listens on the same port as above.
Should include some lines that look like

Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...

where the Service matches EXACTLY (case, spaces, etc) to the output from
tnsping. This tells us the listener is able to connect to a service named
'XE', which matches the above request.

If these two match and there still is an ORA-12514, there is a high
probablity that the wrong tnsnames.ora

--
/Hans ... mailto: Fuzzy_dot_GreyBreard_at_gmail_dot_com
Top posting in newsgroups is a sure way to stop my replies!

I reserve the right to change my mind on anything. Especially when
confronted with facts that are better than the ones I use right now.
Back to top
Mik
*nix forums beginner


Joined: 28 Apr 2005
Posts: 23

PostPosted: Wed May 10, 2006 11:18 am    Post subject: Re: OracleXE and Designer connection problem Reply with quote

<sybrandb@yahoo.com> escribió en el mensaje
news:1147258145.760883.44440@v46g2000cwv.googlegroups.com...
Quote:
You should copy the XE = entry from the first tnsnames.ora in the
second tnsnames.ora
and use XE as connection string.


Done. Restarted the server, listener and Designer and put "XE" as connect
string, but it shows exactly the same error as before. I've even tried to
completely overwrite the second tnsnames.ora (the DevSuite one) with the
Oracle one with the same result.

Quote:
This question obviously has been asked over and over and over again.
Please search the archives prior to posting.

Let's try.

Thanks for your reply,
--
Mik
Back to top
sybrandb@yahoo.com
*nix forums Guru


Joined: 30 May 2005
Posts: 482

PostPosted: Wed May 10, 2006 10:49 am    Post subject: Re: OracleXE and Designer connection problem Reply with quote

You should copy the XE = entry from the first tnsnames.ora in the
second tnsnames.ora
and use XE as connection string.

This question obviously has been asked over and over and over again.
Please search the archives prior to posting.

--
Sybrand Bakker
Senior Oracle DBA
Back to top
Mik
*nix forums beginner


Joined: 28 Apr 2005
Posts: 23

PostPosted: Wed May 10, 2006 10:07 am    Post subject: OracleXE and Designer connection problem Reply with quote

Hi all,

I'm a very newbie in Oracle. I've installed the latest OracleXE server and
created a new user and some simple tables. Next, I installed in the same
machine the Oracle Developer Suite, including Oracle Designer. But when I
launch Designer, I can't pass the login screen as I do not know what to put
in the "Connect string" field. I've tried with "127.0.0.1" which results in
a ORA-12514 error (The SERVICE_NAME in the CONNECT_DATA was not found in the
listener's tables.)

The contents of the relevant server configuration files at
C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\ are as follows:

*** LISTENER.ORA
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)

DEFAULT_SERVICE_LISTENER = (XE)

*** SLQNET.ORA
SQLNET.AUTHENTICATION_SERVICES = (NTS)

*** TNSNAMES.ORA
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

And the content of the file tnsnames.ora where the Developer Suite is
installed (C:\DevSuiteHome_1\NETWORK\ADMIN) is:

*** TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
)
)

What should I put in the "Connect String" field ???. Of course both the
server and listener are running, and the Oracle web administrator interface
works perfectly.

Thanks in advance,
--
Mik
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Wed Jan 07, 2009 10:44 pm | All times are GMT
navigation Forum index » Databases » Oracle » Tools
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

Debt Consolidation | Loan | Loans | Mobile Phone | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4969s ][ Queries: 20 (0.3821s) ][ GZIP on - Debug on ]