ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ File Transfer Edition » XA Error WMQFTE Windows - Oracle DB Linux

Post new topic  Reply to topic
 XA Error WMQFTE Windows - Oracle DB Linux « View previous topic :: View next topic » 
Author Message
w1ndy
PostPosted: Fri Aug 26, 2011 1:15 am    Post subject: XA Error WMQFTE Windows - Oracle DB Linux Reply with quote

Apprentice

Joined: 19 Jan 2011
Posts: 38

I am having a wee problem with the above.

XAOPENSTRING I am using is as follows copied from XA trace.

xaoopen: xa_info=ORACLE_XA+DB=DCBPTSA.uk.tescobank.org+Acc=P/userid/password+SesTm=35+threads=FALSE+DbgFl=0x7+LogDir=F:\\XALOG,rmid=1,flags=0x0
Receiving error

xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12560.
:
xaoopen: return -3

I can use tnsping from Windows to ping the remote Database on Linux. I can also connect using SQL Developer succesfully.

If anyone has any pointers or tips on how to get more info than this to solve the problem I'd be grateful for help.

Many thanks.

Windy
Back to top
View user's profile Send private message Send e-mail
kimmyj
PostPosted: Mon Aug 29, 2011 7:50 pm    Post subject: Reply with quote

Novice

Joined: 26 Jun 2003
Posts: 19
Location: UK

Do you have your tnsnames.ora specified?

I assume this is for the database logger?

Are you connecting to a SID or a SERVICE_NAME?

SERVICE_NAME (Oracle RAC) isn't supported.
Back to top
View user's profile Send private message
w1ndy
PostPosted: Tue Aug 30, 2011 7:34 am    Post subject: Reply with quote

Apprentice

Joined: 19 Jan 2011
Posts: 38

Thanks Kimmy1. Yes trying to implement Oracle DB Logger.

tnsnames .ora below

DCBPTSA.uk.tescobank.org =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ukirdbc8.ukdev.tescobank.org)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DCBPTSA.uk.tescobank.org)
)
)


ORACLE_HOME specified.

Just cannot get XAOPENSTRING to work. Have tried SQLNET parm specifying fully qualified SERVICE_NAME have also tried DB=fully qualified service name to no avail.

I can connect from Windows using SQLPLUS and also tnsping (output below). Yet restart the QM and receive error.


Used parameter files:
E:\Oracle\product\11.2.0\client_2_32bit\network\admin\sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ukirdbc8.ukdev.tescobank.org)(PORT = 1521)) (CONNECT_DATA = (
SERVER = DEDICATED) (SERVICE_NAME = DCBPTSA.uk.tescobank.org)))
OK (0 msec)

Any clues gratefully received.

Windy
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Aug 30, 2011 9:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20695
Location: LI,NY

This might help http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28424/adfns_xa.htm#i1006488
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
w1ndy
PostPosted: Wed Aug 31, 2011 1:43 am    Post subject: Reply with quote

Apprentice

Joined: 19 Jan 2011
Posts: 38

Thanks, this is the tome I am trying to interperate. What I do not understand (call me stupid) is the relationship between the XAOPENSTRING and the TNSNAMES.ORA + difference between a SID and a SERVICE_NAME.

Has anyone else used FTE DB Logging where QM runs on Windows Server and Oracle runs on Linux?

Windy
Back to top
View user's profile Send private message Send e-mail
w1ndy
PostPosted: Wed Aug 31, 2011 7:15 am    Post subject: Reply with quote

Apprentice

Joined: 19 Jan 2011
Posts: 38




Got it working. Thanks folks. Will post the working config once I've got it documented.

What a stramash.

Windy
Back to top
View user's profile Send private message Send e-mail
yeger
PostPosted: Thu Oct 11, 2012 5:18 am    Post subject: Reply with quote

Newbie

Joined: 09 Mar 2005
Posts: 8

can you post the solution that you found?
we are having the same issue and it would help us alot

regards,

Oren
_________________
Regards, Oren
Back to top
View user's profile Send private message Send e-mail
w1ndy
PostPosted: Thu Oct 11, 2012 5:31 am    Post subject: XA OpenString and TNSNAMES Reply with quote

Apprentice

Joined: 19 Jan 2011
Posts: 38

Here you go Oren



In the TNSNAMES.ORA file, the entry looks like this:
YYYYYYYY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname.hostname.etc)(PORT = 9999))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = YYYYYYYY)
)
)


XA String Looks like this

Oracle_XA+DB=YYYYYYYY+SQLNET=YYYYYYYY+Acc=P/useridpassword+SesTm=100+threads=true+DbgFl=0x7+LogDir=C:\\ProgramDa ta\\ApplicationData\\IBM\\WMQFTE\\config\\qmgr\\XALOG



DB=YYYYYYYY
The DB=DCBPTSA is not the SID and is not used to locate the database to be opened. Rather, it correlates the database opened by this open string with the name used in the application program to execute SQL statements. The SID is set from either the environment variable ORACLE_SID (which we do not use) of the TPM application server or the SIDd given in the Oracle SQLNet clause in the open string. The Oracle Net clause is described next.

SQLNET=YYYYYYYY
Identifies the Oracle database to connect to which is defined in the tnsnames.ora file


Windy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ File Transfer Edition » XA Error WMQFTE Windows - Oracle DB Linux
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.