MQSeries - Oracle

Hello,
I have to set up a link between IBM WebSphere (MQSeries) 6.0 and Oracle 9i on WinXP. I'm using Oracle Procedural Gateway. I've successfully installed and tested the gateway, meaning that I can put and get messages from MQ queue using test scripts. I've also installed Visual Workbench and created a mapping that seems to be working properly (I can get and put messages on MQ queue). The problem is that I[b] can't create a propagation between Oracle and IBM queues (inbound or outbound). When I try to do that by calling dbms_hqadm.schedule_propagation, nothing happens. Querying the DBA_OUTBOUND_SCHEDULES or DBA_INBOUND_SCHEDULES, I can see that propagations have failed, but with no error messages. On the IBM side, though, I get an error "WinNT error 5 from OpenProces".
I'm sending an excerpt from IBM error logs.
Any help would be appreciated.
Regards,
Marin
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Thu September 13 08:29:00 Central European Standard T |
| Host Name :- ZGSERVER (Windows XP Build 2600: Service Pack 2) |
| PIDS :- 5724H7200 |
| LVLS :- 6.0.0.0 |
| Product Long Name :- WebSphere MQ for Windows |
| Vendor :- IBM |
| Probe Id :- XY485114 |
| Application Name :- MQM |
| Component :- xcsDerestrictProcessHandle |
| SCCS Info :- lib/cs/pc/winnt/amqxsecn.c, 1.109 |
| Line Number :- 1018 |
| Build Date :- May 24 2005 |
| CMVC level :- p000-L050524 |
| Build Type :- IKAP - (Production) |
| UserID :- TEST |
| Process Name :- D:\oracle\ora92\bin\pg4mqs92.exe |
| Process :- 00000704 |
| Thread :- 00000001 |
| Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ6119 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6119: An internal WebSphere MQ error has occurred |
| (WinNT error 5 from OpenProcess.) |
| FDCSequenceNumber :- 0 |
| Comment1 :- WinNT error 5 from OpenProcess. |
| |
| Comment2 :- Access is denied. |
| |
| |
MQM Function Stack
MQCONN
trmzstMQCONNX
zstMQCONN
zstMQConnect
zstInitCS
xcsInitialize
xcsDerestrictProcessHandle
xcsFFST
MQM Trace History
{ InitProcessInitialisation
-{ xcsReleaseThreadMutexSem
-} xcsReleaseThreadMutexSem rc=OK
-{ xcsGetEnvironmentString
-} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
-{ xcsGetEnvironmentInteger
--{ xcsGetEnvironmentString
--} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
-} xcsGetEnvironmentInteger rc=xecE_E_ENV_VAR_NOT_FOUND
} InitProcessInitialisation rc=OK
{ xcsCreateThreadMutexSem
-{ xcsCloseHandle
-} xcsCloseHandle rc=Unknown(1)
} xcsCreateThreadMutexSem rc=OK
{ DLLMain
-{ MCSInitCriticalSection
-} MCSInitCriticalSection rc=OK
-{ InitializeGCS
--{ MCSInitCriticalSection
--} MCSInitCriticalSection rc=OK
-} InitializeGCS rc=OK
} DLLMain rc=Unknown(1)
{ MQCONN
-{ trmzstMQCONNX
--{ MCSGetDefaultThreadModel
--} MCSGetDefaultThreadModel rc=OK
--{ IsMTSEnvironment
--} IsMTSEnvironment rc=OK
--{ zstMQCONN
---{ xcsInitialize
----{ xcsRequestThreadMutexSem
----} xcsRequestThreadMutexSem rc=OK
----{ xcsGetNTUserName
----} xcsGetNTUserName rc=OK
----{ xcsGetNTOwnerSid
----} xcsGetNTOwnerSid rc=OK
----{ xcsReleaseThreadMutexSem
----} xcsReleaseThreadMutexSem rc=OK
----{ xcsUpdateThreadUserDetails
-----{ xcsGetNTOwnerSid
-----} xcsGetNTOwnerSid rc=OK
----} xcsUpdateThreadUserDetails rc=OK
----{ xcsRequestThreadMutexSem
----} xcsRequestThreadMutexSem rc=OK
----{ xihCheckThreadList
----} xihCheckThreadList rc=OK
----{ xcsReleaseThreadMutexSem
----} xcsReleaseThreadMutexSem rc=OK
---} xcsInitialize rc=OK
---{ zstMQConnect
----{ zstMQConnect_CheckParameters
-----{ xcsCheckPointer
-----} xcsCheckPointer rc=OK
-----{ xcsCheckPointer
-----} xcsCheckPointer rc=OK
----} zstMQConnect_CheckParameters rc=OK
----{ zutBlankPad
----} zutBlankPad rc=OK
----{ zutLockLocalThreads
-----{ xcsCreateThreadMutexSem
-----} xcsCreateThreadMutexSem rc=OK
----} zutLockLocalThreads rc=OK
----{ zutIsItBlank
----} zutIsItBlank rc=OK
----{ zutCheckQMName
-----{ zutCheckValidName
-----} zutCheckValidName rc=OK
----} zutCheckQMName rc=OK
----{ zutCvtMQName2Str
----} zutCvtMQName2Str rc=OK
----{ zutQuickInquire
-----{ xcsGetQMgrLocation
-----} xcsGetQMgrLocation rc=OK
----} zutQuickInquire rc=OK
----{ zstGetPCDbyTID
----} zstGetPCDbyTID rc=OK
----{ zstInitCS
-----{ xcsInitialize
------{ xcsUpdateThreadUserDetails
-------{ xcsGetNTOwnerSid
-------} xcsGetNTOwnerSid rc=OK
------} xcsUpdateThreadUserDetails rc=OK
------{ xcsRequestThreadMutexSem
------} xcsRequestThreadMutexSem rc=OK
------{ xihCheckThreadList
------} xihCheckThreadList rc=OK
------{ xcsInitGlobalSecurityData
-------{ xcsRequestThreadMutexSem
-------} xcsRequestThreadMutexSem rc=OK
-------{ xcsGetNTGroupSID
--------{ xcsTimedLookupAccountName
--------} xcsTimedLookupAccountName rc=OK
-------} xcsGetNTGroupSID rc=OK
-------{ xcsReleaseThreadMutexSem
-------} xcsReleaseThreadMutexSem rc=OK
------} xcsInitGlobalSecurityData rc=OK
------{ InitPrivateServices
-------{ xcsGetEnvironmentString
-------} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
-------{ xcsGetEnvironmentString
-------} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
-------{ xcsCreateThreadMutexSem
-------} xcsCreateThreadMutexSem rc=OK
-------{ xcsForcePSAPILoaded
-------} xcsForcePSAPILoaded rc=OK
------} InitPrivateServices rc=OK
------{ xcsDerestrictProcessHandle
-------{ xcsFFST
Component Dumps (Thread 00000001)
Environment Variables
ALLUSERSPROFILE=C:\Documents and Settings\All Users
CLASSPATH=C:\Program Files\IBM\WebSphere MQ\lib\com.ibm.mqetclient.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\providerutil.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\ldap.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\fscontext.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=ZGSERVER
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
ORACLE_HOME=D:\oracle\ora92
ORACLE_SID=pg4mqs92
include=C:\Program Files\IBM\WebSphere MQ\tools\c\include;C:\Program Files\IBM\WebSphere MQ\tools\cplus\include
JSERV=D:\oracle\ora92/Apache/Jserv/conf
lib=C:\Program Files\IBM\WebSphere MQ\tools\lib
MQFT_JAVA_LIB_PATH=C:\Program Files\IBM\WebSphere MQ\java\lib
MQFT_JRE_BIN_PATH=C:\Program Files\IBM\Eclipse SDK30eclipse\jre\bin
MQ_JAVA_CAP_PATH=C:\Program Files\IBM\WebSphere MQ\
MQ_JAVA_DATA_PATH=C:\Program Files\IBM\WebSphere MQ
MQ_JAVA_INSTALL_PATH=C:\Program Files\IBM\WebSphere MQ\Java
MQ_JAVA_LIB_PATH=C:\Program Files\IBM\WebSphere MQ\Java\lib
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\IBM\WebSphere MQ\Java\lib;D:\oracle\ora92\bin;D:\oracle\orant\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 79 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=4f02
ProgramFiles=C:\Program Files
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\WINDOWS\system32\config\SYSTEM~1\LOCALS~1\Temp
TMP=C:\WINDOWS\system32\config\SYSTEM~1\LOCALS~1\Temp
USERPROFILE=C:\Documents and Settings\LocalService
windir=C:\WINDOWS
WV_GATEWAY_CFG=D:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app

Why would you be using propagation when using the procedural gateway?
Propagations are a concept that applies to the messaging gateway. In fact, for a propagation to work, quite a bit of infrastructure needs to be setup in Oracle. For example, the messaging gateway spawns an external java based process that does the heavy lifting.
The procedural gateway is designed to allow the MQI metaphor to be extended to the PL/SQL level without the involvement of Streams AQ queues.
blake

Similar Messages

  • Reg: Is it possible in weblogic 5.1 or 6 to get Transaction suport for MQseries & Oracle

              Hi
              I would like to know whether weblogic 5.1 or 6 provides support in a single transaction,
              transaction support for both oracle and MQseires, if so where can i find suitable
              documentation on this topic
              with regards
              Priya
              

    The answer is definitely yes, starting in WLS 6.0, with
              some two reasonable limitations.
              There are limitations are the following:
              1. It must be on the server side. The registration of the XAResource
              can't happen in a client. It must happen in a startup class
              or EJB or servlet, etc. You can start it from a client (invoke
              an EJB or servlet) but the resource work must be
              on the server side.
              2. MQSeries can't be included if it is being used to drive a
              Message Driven Bean. Because the message is passed
              from MQ Series to WLS outside of a transaction, after
              which WLS will start a transaction (if so configured) and
              pass it to the MDB, the MQ Series message is not part
              of the transaction. The JavaSoft specs don't handle this case.
              For WLS JMS, this works because we have defined such
              an interface and implemented it. At least one other vendor
              understands the importance of having this feature and is
              interested in implementing it (it's not IBM).
              So to do what you want, it is necessary to:
              1. Use the XAResource version of the JDBC driver for Oracle.
              WLS is smart enough to look at the driver and see if it
              implements the XAResource interface and automatically
              register it as a resource. This has been documented
              in this newsgroup already or see
              http://e-docs/wls/docs60/adminguide/jdbc.html#1075694.
              2. Register the XAResource interface for MQSeries programmatically
              in the application. The code to do this has been posted
              at the BEA developer site for a few months in an article
              entitled "Using JTA Transactions to envelope WLS JMS and
              IBM MQSeries" (could I be more explicit), located at
              http://developer.bea.com/docs/jmsjta.jsp. It references
              another document that has more code, describing how to
              plug in a "foreign" (non-WLS) JMS provider, of which MQSeries
              is one, in a non-transaction manner (you need to do that
              first and then just add the resource registration) - see
              http://developer.bea.com/docs/jmsproviders.jsp.
              All of the necessary code is included in the documents (including
              how to download and install the Java libraries for MQSeries).
              Several people have told me that they have been able to
              use this as a starting place for their applications.
              You might also want to look at the JMS FAQ at
              http://developer.bea.com/docs/jmsfaq.jsp.
              In 6.1, support is added for importing foreign transactions.
              That means that in 6.0, WLS can drive a transaction with
              WLS JMS, Oracle, and MQ series, with WLS being the
              driving force. In WLS 6.1, a non-WLS transaction manager can
              drive a transaction that includes (transactionally infects)
              WLS resources (like WLS JMS).
              There are no white papers that I know of in this area and I haven't
              tested it myself (the goal is to have someone try out
              having WebSphere drive a transaction with WLS resources, soon).
              "Priya" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi
              >
              > I would like to know whether weblogic 5.1 or 6 provides support in a single transaction,
              > transaction support for both oracle and MQseires, if so where can i find suitable
              > documentation on this topic
              >
              > with regards
              > Priya
              

  • Necessary tools to implement XA using MQSeries and Oracle

    I am trying to write a code implementing the XA functionality with MQSeries 5.2, Oracle 8.1.6, MQ JMS 5.2, ma88 Support Pac, tomcat-jakarta 4.0.1.
    Can anyone please tell me if this is enough or do I really need Websphere... Our current implementations uses XA on the C++ platform, so the expectations here is that MQSeries 5.2 + MQJMS is enough.
    Please advise and thanks in advance.

    An example is actually in the WebSphere MQSeries manual "Using Java" which is downloadable from www.ibm.com/mqseries/... It is also default installed on Windows if you install MQSeries on Windows.
    Example:
    Connection con = queueManager.getJDBConnection(dbXadsInstance);
    queueManager.begin();
    //get message with queueManager get (use syncpoint options)
    //put message with queueManager put (use syncpoint options)
    //change data in your database (insert, update, delete)
    queuemanager.commit() (or queueManager.backout() for rollback)
    That's it. Make sure to compile the switch in %MQMBASE%/java/lib/jdbc (make oracle). Create the ResourceManager entry in the stanza qm.ini (see administrators guide)
    You should now be in business.

  • Oracle 8i and MQseries queues

    Is there any possibility to access MQSeries queues using 8i AQ packages routines? I have to read some data from MQS and insert it into Oracle on Win2k and wonder if I need any additional MQ interfaces.
    Best regards,
    Tomek.

    Hi Brajesh,
    Have you ever set up communication between Oracle 9i and MQSeries?
    Now I'm trying to read MQ messages using Oracle AQ and Messaging Gateway.
    When I'm starting MGW agent i get error message: 'bad native queue' in log file.
    Agent is still running and reachable.
    Is it possible that i need local MQ queue manager?
    Could you please help me with this?
    Regards,
    Tomek.

  • Distributed ttransaction with Oracle and MQseries

    Hi,
    I am leveraging a Tuxedo architecture on HP-UX IA64 that utilizes two XA resource managers, MQSeries and Oracle. The use of the resource managers is based on a coordinated 2 phase commit method (TPBEGIN - TPCOMMIT).
    The application running on tuxedo has beem migrated from Mainframe environment (z/OS + CICS + DB2 + MQ)
    The systems functionally works, , but we continue to experience major performance issues, caused by the fact that in the original application migrated from the CICS environment executes an high number of syncpoint(s).
    What is observable is that increasing the number of parallel processes (tuxedo servers), the cost of the single syncpoint is much greater than the cost of an atomic elaboration (atomicity) of that same transaction.
    Ex., if the cost of an elaborated transaction is 2 ms, the cost of syncpoint is 30 ms.
    Because we were not able to solve the proble just changing configuration parameters, in this specific case, we have simply reduced the number of syncpoints executed by the application so to lower the cost of syncpoint to the same rate as a transaction.
    Is it possible to have a reference or information on similar use cases of mission-critical Tuxedo/UNIX environments with high volumes? (Millions of transactions)?
    Is it possible to understand if there are parameters that can be set/established at a configuration level in Tuxedo (ubbconfig or others) to deal with the above-stated issue?
    Thanks in advance for any helpful feedback
    Regards
    Roberto

    There are a couple of major and minor mistakes in your listener.ora like specifying 2 times the listener name LISTENER. Using 2 different hostnames on the same machine or specifying the ENVS=LD_LIBRARY_PATH for a Windows Gateway as well as the executable you defined.
    I tried to summarize it in your original thread bust recommend you to log a service request.

  • Oracle - MQSeries integration

    Can somebody recommend a practical discussion of this subject (or can I kick one off in this form).
    We are using MQSeries Integrator to form SQL statements having parsed arguments from SNMP type alerts which are passed to it. These are placed on the Oracle box's MQ Queue. At the moment these statements are read off of the Queue by a perl script and presented to SQL*Net for execution.
    This script is problematic for a number of reasons, reliability is not 100% and error handling is limited, it is single threaded and the author is outwith our support organisation.
    I've done some searching and found Oracle Procedural Gateway for MQ for Solaris but my infrastructure is RS/6000 AIX based. Can anyone propose an Oracle technique for reading from an MQ Q and executing a string representing an SQL Command stored within.
    Thanks, Neil
    null

    Hi Ram,
    If you're using Oracle 8i then the Oracle Message Broker (OMB) can be used to integrate AQ with MQSeries. OMB is both a JMS provider and a propagation engine for integrating AQ with MQSeries and Tibco/Rv.
    It is highly recommended however that customers us the Oracle Messaging Gateway (MGW) which is available in 9i if they want to integrate Oracle AQ with MQSeries. MGW is really an advanced feature of AQ (administered via a PL/SQL) interface s you can read more about it in the "9i Application Developer's Guide - Advanced Queuing (AQ)" which can be found on OTN.
    John

  • How to integrate MQSeries with Oracle BPM Studio 10.3.0.0.0

    Recently I received one requirement which is integrate MQSeries with Oracle BPM Studio 10.3.0.0.0,
    Please help me on this configuration any one who aware.

    We just finsihed a BPM 6.0.4 project that integrates with IBM Websphere MQ 6.0.
    There are many, many steps that are needed to be done in order to integrate but it works very well.
    If you email me at [email protected] I will send you what I have.

  • Server Timeout during 2 phase commit with MQSeries 5.2 , oracle 8i , bea6.0

              My application tests 2 PC commit using Oracle 8i and MQSeries
              JMS as two resources and BEA Weblogic 6.0 as the resource manager
              1. I have a Java Application which writes a message onto a
              MQSeries Queue
              2. The Application then invokes the EJB
              3. The Bean starts a transaction
              4. The bean now tries to retrieve the message put on the
              MQSeries queue by the Java Application within the transaction (At this point
              the message disappears from the queue and i am able to see it thru MQSeries explorer)
              5. It then calls a method on another bean
              6. This method performs two Database updates
              7. After return the TprocessBean writes a new message to the queue
              8. The transaction ends
              Now steps 4 to 7 are participating in the transaction. If at
              all anything goes wrong in step 4, step 6 or step 7 then the
              transaction should be rolled back. It means that
              a) The database transactions should be rolled back
              b) The message should return back to the queue
              The transaction spans two resources that is MQSeries and oracle 8i
              When i issue a rollback() on getting an exception, I am getting the database
              transactions to rollback, but the server timesout while rolling back the MQseries
              read transaction i.e. the message that was read within this transaction is not
              visible on the queue
              However when i shut down weblogic, then that message returns back to the queue.
              The timeout exception that i get is
              EJB Exception caught - Rolling back Transactionjavax.ejb.EJBException
              javax.transaction.SystemException: Timeout during rollback processing
              at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:2
              80)
              at weblogic.transaction.internal.TransactionManagerImpl.rollback(TransactionManagerImpl.java
              :229)
              at myexamples.jms.tbean.TProcessBean.processJMSMessage(TProcessBean.java:117)
              at myexamples.jms.tbean.TProcessBeanImpl.processJMSMessage(TProcessBeanImpl.java:130)
              at myexamples.jms.tbean.TProcessBeanEOImpl.processJMSMessage(TProcessBeanEOImpl.java:68)
              at myexamples.jms.tbean.TProcessBeanEOImpl_WLSkel.invoke(TProcessBeanEOImpl_WLSkel.java:125)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
              at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:128)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              could not rollback....javax.transaction.SystemException: Timeout during rollback
              processing
              Context for InXMLProcess bean is =weblogic.ejb20.internal.SessionEJBContextImpl@201f91
              

              Did you enlist the MQSeries XAResource with the transaction via either static or
              dynamic enlistment?
              Regards,
              Priscilla
              "Anshuman" <[email protected]> wrote:
              >
              > JMS as two resources and BEA Weblogic 6.0 as the resource manager
              >
              > 1. I have a Java Application which writes a message onto a
              > MQSeries Queue
              > 2. The Application then invokes the EJB
              > 3. The Bean starts a transaction
              > 4. The bean now tries to retrieve the message put on the
              > MQSeries queue by the Java Application within the transaction (At this
              >point
              >the message disappears from the queue and i am able to see it thru MQSeries
              >explorer)
              > 5. It then calls a method on another bean
              > 6. This method performs two Database updates
              > 7. After return the TprocessBean writes a new message to the queue
              > 8. The transaction ends
              >
              > Now steps 4 to 7 are participating in the transaction. If at
              > all anything goes wrong in step 4, step 6 or step 7 then the
              > transaction should be rolled back. It means that
              >a) The database transactions should be rolled back
              >b) The message should return back to the queue
              >The transaction spans two resources that is MQSeries and oracle 8i
              >
              > When i issue a rollback() on getting an exception, I am getting the
              >database
              >transactions to rollback, but the server timesout while rolling back
              >the MQseries
              >read transaction i.e. the message that was read within this transaction
              >is not
              >visible on the queue
              >
              >
              >However when i shut down weblogic, then that message returns back to
              >the queue.
              >
              >
              >The timeout exception that i get is
              >
              >EJB Exception caught - Rolling back Transactionjavax.ejb.EJBException
              >javax.transaction.SystemException: Timeout during rollback processing
              > at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:2
              >80)
              > at weblogic.transaction.internal.TransactionManagerImpl.rollback(TransactionManagerImpl.java
              >:229)
              > at myexamples.jms.tbean.TProcessBean.processJMSMessage(TProcessBean.java:117)
              > at myexamples.jms.tbean.TProcessBeanImpl.processJMSMessage(TProcessBeanImpl.java:130)
              > at myexamples.jms.tbean.TProcessBeanEOImpl.processJMSMessage(TProcessBeanEOImpl.java:68)
              > at myexamples.jms.tbean.TProcessBeanEOImpl_WLSkel.invoke(TProcessBeanEOImpl_WLSkel.java:125)
              >
              > at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
              > at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:128)
              > at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
              > at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
              > at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >could not rollback....javax.transaction.SystemException: Timeout during
              >rollback
              >processing
              >Context for InXMLProcess bean is =weblogic.ejb20.internal.SessionEJBContextImpl@201f91
              

  • Using Oracle AQ in Weblogic 10

    Hi,
    i have a little problem getting this running, and maybe someone can help me?
    So maybe i tell you what i want and what i've done so far.
    What i want to do:
    1. I have a Oracle 10g (10.2.0.4) Database with 5 Queues.
    2. I have a Weblogic 10 (10 MP1) Server with 5 Message Driven Beans
    3. I want that the message driven beans get connected with the oracle queues, but it's important that they use a XA Connection and that they use a connection pool.
    What i've done so far:
    1. I created a Oracle Datasource in the Weblogic server. It uses the Oracle Thin(XA) Driver and a connection pool.
    2. I created a ApplicationLifecycleListener (this is like a startup class) which retrieves the datasource from the jndi context.
    3. The class which i get from the context is not the "normal" oracle driver class. Because i use the connection pool the oracle class is wrapped in a RMIDatasource object.
    4. This RMIDatasource is not implementing the XADatasource interface, so i created a wrapper class which implements XADatasource but uses the RMIDatasource object.
    5. After i have an XADatasource object i can call AQjmsFactory.getXAQueueConnectionFactory()
    6. Now i create an XAQueueConnection and XAQueueSession object
    7. At this point i can get the Oracle queues and so i put them in the weblogic jndi context
    8. when the message driven beans are deployed i get the following error message :
    Unable to deploy EJB: TestHandlerBean from MyProjectEJB:
    Error getting JMSServer member info
    When i search the internet i found some documents describing a similar error message with MQSeries, but this should be fixed with Weblogic 10 MP1.
    In some other threads i found the solution seems to be using code from the following project: [https://jmsbridgesxa.projects.dev2dev.bea.com/]
    But this code is only for weblogic 8.1.
    Have anyone an idea for this problem?

    I have not tried this, the route I used before was from the codeshare method/code your reference. One of the WLS product guys pointed me to this.
    On this OTN page:
    http://www.oracle.com/technology/products/ias/oems/index.html
    There is a link: How-to: Oracle Advanced Queuing Integration with WebLogic Server
    http://www.oracle.com/technology/products/ias/oems/files/aqjms_v2.0.zip
    This zip file contains a framework that registers AQ destinations in WebLogic JNDI and enables tx support.
    Have you looked at that?

  • JMS adapter for MQSeries: Changing from MQ5.3 to 6.X libraries

    Hi,
    Can someone point in the direction of documentation as to how I would migrate/update a BPEL 10.1.3.5.0 environment using JMS adapters for MQSeries 5.3 to use new libraries for MQSeries 6.x.
    In a test env I have located the following, but I am not sure now to proceed.
    [bpel@omv2rrm2 5.3]$ pwd
    /opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/shared-lib/oracle.mqseries/5.3
    [bpel@omv2rrm2 5.3]$
    [bpel@omv2rrm2 5.3]$ ls -l
    total 2124
    -rwx------ 1 bpel dba 352652 Apr 17 2008 com.ibm.mq-5.3.jar
    -rwx------ 1 bpel dba 1798896 Apr 17 2008 com.ibm.mqjms-5.3.jar
    [bpel@omv2rrm2 5.3]$
    ...and...
    [bpel@omv2rrm2 config]$ pwd
    /opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config
    [bpel@omv2rrm2 config]$ cat server.xml
    <?xml version="1.0"?>
    <application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" localhostIsAdmin="true"
    application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="../applib"/>
    <import-shared-library name="oracle.ws.jaxrpc"/>
    </shared-library>
    <shared-library name="oracle.mqseries" version="5.3">
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/shared-lib/oracle.mqseries/5.3/com.ibm.mqjms-5.3.jar"/>
    <code-source path="/opt/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/shared-lib/oracle.mqseries/5.3/com.ibm.mq-5.3.jar"/>
    <import-shared-library name="oracle.ws.jaxrpc"/>
    </shared-library>

    Just upgrade your SOA to 10.1.3.5.0 and then point to the newer MQ jars in those 2 files.

  • Newbie : Problem starting OPG for IBM MQseries: TNS-00530,  Error Code 2

    Hi All
    First of all, if this is the wrong place to post this question, I apologize.
    I have installed a new installation of Oracle 9.2.0.1 and at a separate home location the OPG for IBM MQSeries for 9.2.0.1 off the same bits.
    The configuration said that the default SID of PG4MQS92 would be setup since I was using a local MQ queue manager but I didnt see any entries in the listener.ora or the tnsames.ora so added the following.
    listener.ora
    (SID_DESC =
    (SID_NAME = pg4mqs92)
    (ORACLE_HOME = C:\Software\oracle\pg4mqs92)
    (PROGRAM = pg4mqs92)
    tnsnames.ora
    ORACLE_QM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = testmachine)(PORT = 1521))
    (CONNECT_DATA =
    (SID = pg4mqs92)
    (HS=OK)
    When I ran tnsping on ORACLE_QM it was resolved. But when I start the putsample.sql program after importing all the required packages using the pgmdeploy9.sql script I get the following output.
    DECLARE
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object
    [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from PG4MQ
    In the listener.log I see the following error
    07-DEC-2005 07:34:19 * (CONNECT_DATA=(SID=pg4mqs92)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=1271)) * establish * pg4mqs92 * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    I noticed that during the install a boot file for the pgm4mqs92 SID was not found anywhere. Is it maintained in the registry, if so where ?
    If the boot file is missing is there a sample I can use and where do I need to put it ?
    Am running on Windows XP Professional.
    Have been stuck with this a while and cannot find any information on this, so any help would be appreciated.
    Thanks
    - Deepak

    I am getting the same error while starting or stopping the listener
    LSNRCTL> start CSCLIST
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> stop CSCLIST
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CSCINDAE708070)(PORT=152
    2)))
    NL-00303: syntax error in NV string
    TNS-01153: Failed to process string: (DESCRIPTION=(CONNECT_DATA=(CID=(PROGRAM=)
    (HOST=)(USER=Manager(REMOVE)))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=CSCLIST)(VERS
    ION=186646784)))
    Pls help
    Listener.ora:
    # listener.ora Network Configuration File: D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    CSCLIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CSCINDAE708070)(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_CSCLIST =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    ADR_BASE_CSCLIST = D:\Sagaya\11gDBhome

  • Developer Tool Forms retreiving data from a Mainframe system using MQSeries

    I had a TAR posted to the Forms Group asking questions about data access using MQSeries and Oracle. That group suggested I ask my question to this group.
    What I need to accomplish is the ability for a user to type in a Medicaid DCN number on a secure website which is produced using Forms and Reports 9i, have it send the request to a CICS sub-routine, and return data such as Name, DOB, address, in a string to be separated, displayed on the screen, and eventually saved to a Oracle database. The group had given me three things to think about:
    1) Using Oracle Procedural Gateway to monitor for messages coming from MQSeries. Problem is that is requires additional licenses which we do not have.
    2) Using Oracle Messaging Gateway to monitor for messages. It doesn't require additional licenses but does require an Enterprise Edition license and we are running Standard Edition.
    3) Using Forms in conjunction with JAVA to accomplish the communication between the Web Form, MQSeries, and the Mainframe. I really don't know JAVA but I am wondering if I really need to know it. I am thinking I can make sure that the parameters that the CICS program is expecting is there then somehow call the sub-routine. There must then be data or information returned to me in a string to be brought into Forms to be separated and put to the screens to be saved eventually.
    Question: How do we call a routine such as a CICS subroutine or a Webservice from Forms? Can I do so without products such as Oracle Messaging and Oracle Procedural Gateways to monitor for responses coming back from MQSeries?

    I remember having this same problem a while back - except I
    always got a 0 record count. I could get to the table, but not
    access the data inside at all. I tried to find the post I had on
    this forum but can't. Anyway... the problem is with Advantage 7.1
    working with MX. Advantage released a hotfix in the form of a .dll
    file (email me if you need it I'm sure I can find it on my
    machine). However it was just a bandaid type fix because the
    problem was addressed and corrected in the newer versions of
    Advantage that were later released. If you upgrade Advantage your
    problem should go away. The newest release is 8.1

  • Ordered processing required from Oracle 11g on Linux to BizTalk Server

    Need a viable solution enabling ordered processing (OP) of messages from Oracle 11g on Linux allowing for ordered delivery to subscribers in BizTalk over MSMQ.
    We are currently running BizTalk 2010 (with Adapter Pack 2010) and are using ordered delivery for inbound messages to Oracle (received from msmq) but not for outbound messages since the Wcf-adapters doesn't support Ordered Processing in a receive port/location
    (except for msmq). However, we do need to implement ordered processing for outbound messages also. It's a major drawback that the Wcf-adapters does not support ordered processing not even with restricted or limited functionality.
    Our current implementation is polling Oracle using the Wcf-adapter calling PLSQL-package functions that handles all logic and returns a pre-built XML in a CLOB/string to BizTalk.
    Since Oracle is hosted on Linux we can't switch the PLSQL-logic to use Oracle COM-automation and post XML directly into MSMQ which otherwise would have been a quick solution. Also no WebSphere MQ (MQSeries) exists on the premises ruling out that adapter.
    Preferences:
    - Stable and reliable message transfer with ordered processing from Oracle to BizTalk
    - Messaging only pattern (generic) preferred over custom Orchestations (such as re-sequencing pattern)
    - Products preferred over custom development (within reasonable price limits).
    - Follow Microsoft best practices if possible
    In-house development of a custom BizTalk adapter or a nt-service bridging from Oracle to MSMQ could be considered as an option.
    regards
    /Henrik
    /Henrik

    Thanks for the reply but it's not that easy I'm afraid, if it had then this post would never have been written.
    We're retrieving one message at the time and with pollWhileDataFound=true so that's all good.
    The problem is that the inner workings of the wcf-adapters are multithreaded and can not guarantee ordered delivery (which also has proven itself).
    The answer why can be found in this post
    http://blogs.msdn.com/b/paolos/archive/2009/11/17/customizing-and-extending-the-biztalk-wcf-adapters.aspx 
    Here's the crucial part: "The WCF Adapters create a separate ServiceHost and singleton service object of this class for each receive location to handle client requests for the lifetime of the BizTalk Host instance running WCF receive locations. The service
    object uses multiple threads to process messages concurrently unless the WCF-NetMsmq receive locations are used with the Ordered processing property being selected"
    (this is also why I'm wondering why Microsoft doesn't provide the option to run ordered delivery with other wcf-bindings than NetMsmq...)
    The search for ordered processing out of Oracle continues...
    regards
    /Henrik

  • Pl/Sql interaction with MQSeries

    Hi,
    How do you put/get message from a MQSeries queue i ahve pl/sql procedure which has to connect to a MQSeries queue. It would be great if i can get a code sample
    Thanks And Regards
    Ravi/Dheeraj

    One possibility is to look at MQSeries classes for Java which allows you can communicate with MQSeries via Java. I am currently looking at loading an example into Oracle, then I should be able to call from pl/sql.
    My current problem is an unresolved class library reference for MQQueueManager

  • Sending a message to MQSeries using with international characters

    Hello
    I managed to setup oracle messaging gateway to IBM MQSeries. While sending and receiving English message is Fine, sending international characters (8bit Arabic) is received as ??????. I know how to fix this issues when using normal oracle tools. But for the MGW, i cannot find in the documentation where to find the National Language support setting NLS_LANG
    regards

    RESOLVED
    It had nothing to do gateway setting. Actually, it was my mistake. The client environment setting was not correct.
    Once corrected, all went fine
    Ammar

Maybe you are looking for

  • File to file mapping without xml

    Hello, is there a possible way to use a PI7.1 file to file mapping (one static-positioned field must be mapped) without storing the file in xml format ? We are having a flatfile and have to send this flatfile through our jms receiver adapter(as flatf

  • Package confusion

    hello friends, could you explain to me , if we write a class without including any package name and save in some file thn is it kept in a default package by the java runtime system (if yes suppose i store this file in c:\programs\somefile.java thn wh

  • Delete previous version?

    Just upgraded from PS & PE 8.0 to PS & PE 10.0.  Can I now delete the 8.0 versions without effecting the new upgrade installation?

  • With out syn'c i lost my contacts two time

    plz any one can be help me three time i lost my only cantacts data WITHOUT syn'c or any connection to coputer,blutooth then again im restore from i tunes again same problem with out connect any cable or computer i lost whenver it connect to "Wi-fi" i

  • XY Layout

    What would be the probable problems with using XY Layout in an application while deploying it at client side Swati null