Error in using XMLWrapperGateway.

Hi,

I was using HttpGateway to invoke mainframe services and now would like to use XMLWrapperGateway instead.

I installed Entirex 7.3.3. runtime in AIX 5.3 which already has Service Orchestrator 3.2.2.6 and Java 1.4.2. I have the XMM generated and place in the same folder of my sequence and then invoked the sequence.

I’m getting the following error in the component factory XBD log.

[slf5s.start]04 Sep 2008 12:40:26,309[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421441 - Executing component SagXmlWrapperGateway[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,309[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421
441 - xbd.entirex.natural.security = no[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,310[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421441 - xbd.entirex.useCharacterReference = no[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,310[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421
441 - xbd.entirex.useCodePage = no[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,310[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421441 - xbd.entirex.acceptError = no[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,310[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421
441 - xbd.xmlWrapper.xmm = PAM_LoginValidation_751n.xmm[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,318[slf5s.DATE] Thread-8[slf5s.THREAD] WARN [slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway m:~4ea3683d~11bf2e59421441 - EntireX Communicator Trace in file /opt/softwareag/xsi/v32/host/logs/ezqsag02CF3.SagXmlWrapperGateway.log[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,329[slf5s.DATE] Thread-8[slf5s.THREAD] ERROR[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421
441 - SEQUENCER ERROR: sequence “http://esbwasvip:9084/PAMXMLWG_Mediator_EAR/MediatorRepo/Sequence/Login_Validation/PAMS_Login_Validation_Sequence.xml”, line 8, : com.softwareag.entirex.xml.rt.XMMInfo: method (Ljava/io/InputStream;)V not found[slf5s.MESSAGE]
java.lang.NoSuchMethodError: com.softwareag.entirex.xml.rt.XMMInfo: method (Ljava/io/InputStream;)V not found
at com.softwareag.xbridge.entirexgateways.XmmFileInfo.(XmmFileInfo.java:89)
at com.softwareag.xbridge.entirexgateways.XmmFileInfo.getInfo(XmmFileInfo.java:147)
at com.softwareag.xbridge.entirexgateways.XmlWrapperGatewayImpl.modify(XmlWrapperGatewayImpl.java:150)
at com.softwareag.xbridge.infrastructure.ModifierProxy.modify(ModifierProxy.java:56)
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(KeywordSTEP.java:236)
at com.softwareag.xbridge.sequencer.SequencerImpl.execute(SequencerImpl.java:1245)
at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(SequencerImpl.java:877)
at com.softwareag.xbridge.infrastructure.DispatcherImpl$MessageDispatcher.perform(DispatcherImpl.java:323)
at com.softwareag.xbridge.util.WorkerThread.run(ThreadPool.java:459)
[slf5s.start]04 Sep 2008 12:40:26,330[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] MessageTable - update ~4ea3683d~11bf2e59421~~441@ezqsag01 size=1[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:40:26,641[slf5s.DATE] Thread-8[slf5s.THREAD] INFO [slf5s.PRIORITY] xbd[slf5s.CATEGORY] TaminoQuery: X-Query succeeded, return value=0 (21ms)[slf5s.MESSAGE]

But the SagXmlWrapperGateway component is getting initialized properly as you can see from the below message.

[slf5s.start]04 Sep 2008 12:39:51,002[slf5s.DATE] RMI TCP Connection(2)-10.128.134.12[slf5s.THREAD] WARN [slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway - EntireX Java Runtime, Version: 7.3.3.0, Date: 23 Aug 2007[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:39:51,004[slf5s.DATE] RMI TCP Connection(2)-10.128.134.12[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway - SagXmlWrapperGateway created.[slf5s.MESSAGE]
[slf5s.start]04 Sep 2008 12:39:51,025[slf5s.DATE] main[slf5s.THREAD] INFO [slf5s.PRIORITY] xbd[slf5s.CATEGORY] Created component:SagXmlWrapperGateway[slf5s.MESSAGE]

Would anyone know why am I getting this error?

Any help would be really appreciated.

Thanks a lot,
Gijish

Hi Gijish.

looks like Service Orchestrator 3.2.2.6 needs at least an entirex.jar file verison 7.3.3.24 or higher (7.3.4 or 8.0). You have version 7.3.3.0.

Hi Rolf,

But I have a windows setup of SO 3.2.2.6 along with EntireX 7.3.3 and XMLWrapperGateway works fine here. I face the issue in AIX.

Also, now I changed the classpath of entirex.jar and I’m getting a new error which I’ve copied below.

Would you kindly see the error and help me if you can fancy something.

Thanks in advance.

[slf5s.start]08 Sep 2008 12:00:20,881[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421~286c - Executing component SagXmlWrapperGateway[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 12:00:20,882[slf5s.DATE] Thread-8[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway m:~4ea3683d~11bf2e59421~286c - new XMMResource created for http://esbwasvip:9084/usr/WebSphere/AppServer/profiles/AppSrv01/installedApps/ezqsag01Cell01/PAM_XMLWG_MeGSeq_EAR.ear/PAMXMLWGMedSeqWeb.war/MediatorRepo/Sequence/Login_Validation/PAM_LoginValidation_751n.xmm[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 12:00:20,882[slf5s.DATE] Thread-8[slf5s.THREAD] ERROR[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421~286c - SEQUENCER ERROR: sequence “http://esbwasvip:9084/PAMXMLWGMedSeqWeb/MediatorRepo/Sequence/Login_Validation/PAMS_Login_Validation_Sequence.xml”, line 10, : null[slf5s.MESSAGE]
java.lang.NullPointerException
at com.softwareag.xbridge.entirexgateways.XmmFileInfo.getBrokerName(XmmFileInfo.java:164)
at com.softwareag.xbridge.entirexgateways.XmlWrapperGatewayImpl.modify(XmlWrapperGatewayImpl.java:157)
at com.softwareag.xbridge.infrastructure.ModifierProxy.modify(ModifierProxy.java:56)
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(KeywordSTEP.java(Compiled Code))
at com.softwareag.xbridge.sequencer.SequencerImpl.execute(SequencerImpl.java(Compiled Code))
at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(SequencerImpl.java(Compiled Code))
at com.softwareag.xbridge.infrastructure.DispatcherImpl$MessageDispatcher.perform(DispatcherImpl.java(Compiled Code))
at com.softwareag.xbridge.util.WorkerThread.run(ThreadPool.java:459)

The related sequence statements are copied below.

    <step>
    <set>
    <set>

	<step>     
    <step>

Hi Rolf,

I could do a bit more progress and now after setting xbd.entirex.broker property (which is not mandatory anyway) I’ve overcome the Null pointer exception and now getting the below error.

[slf5s.start]08 Sep 2008 14:08:58,288[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421~3503 - Executing component SagXmlWrapperGateway[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 14:08:58,288[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421~3503 - xbd.entirex.broker = ETB1002:18030@RPC/RPCVACCA/CALLNAT[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 14:08:58,290[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway m:~4ea3683d~11bf2e59421~3503 - new XMMResource created for http://esbwasvip:9084/usr/WebSphere/AppServer/profiles/AppSrv01/installedApps/ezqsag01Cell01/PAM_XMLWG_MeGSeq_EAR.ear/PAMXMLWGMedSeqWeb.war/MediatorRepo/Sequence/Login_Validation/PAM_LoginValidation_751n.xmm[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 14:08:58,290[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway m:~4ea3683d~11bf2e59421~3503 - EntireXImpl.getBrokerID: ETB1002:18030[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 14:08:58,291[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway m:~4ea3683d~11bf2e59421~3503 - getBroker: logon without Security[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 14:08:58,366[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagXmlWrapperGateway m:~4ea3683d~11bf2e59421~3503 - EntireXImpl.getBrokerService: RPC/RPCVACCA/CALLNAT[slf5s.MESSAGE]
[slf5s.start]08 Sep 2008 14:08:58,391[slf5s.DATE] Thread-4[slf5s.THREAD] ERROR[slf5s.PRIORITY] xbd[slf5s.CATEGORY] c:SagSequencer m:~4ea3683d~11bf2e59421~3503 - SEQUENCER ERROR: sequence “http://esbwasvip:9084/PAMXMLWGMedSeqWeb/MediatorRepo/Sequence/Login_Validation/PAMS_Login_Validation_Sequence.xml”, line 9, : com.softwareag.xbridge.exceptions.XException: Could not create xmlRpcService for xbd.xmlWrapper.xmm[slf5s.MESSAGE]
com.softwareag.xbridge.exceptions.XException: Could not create xmlRpcService for xbd.xmlWrapper.xmm
at com.softwareag.xbridge.entirexgateways.XmlWrapperGatewayImpl.modify(XmlWrapperGatewayImpl.java:166)
at com.softwareag.xbridge.infrastructure.ModifierProxy.modify(ModifierProxy.java(Compiled Code))
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(KeywordSTEP.java(Compiled Code))
at com.softwareag.xbridge.sequencer.SequencerImpl.execute(SequencerImpl.java(Compiled Code))
at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(SequencerImpl.java(Compiled Code))
at com.softwareag.xbridge.infrastructure.DispatcherImpl$MessageDispatcher.perform(DispatcherImpl.java(Compiled Code))
at com.softwareag.xbridge.util.WorkerThread.run(ThreadPool.java:459)
[slf5s.start]08 Sep 2008 14:08:58,391[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] MessageTable - update ~4ea3683d~11bf2e59421~3503@ezqsag01 size=1[slf5s.MESSAGE]

Also I have only installed the Entirex runtime and SDK along with service orchestrator. Do I need to install EntireX Broker also in the box running Component factories to make this work?

Any suggestions would be really helpful and thankful.

Regards,
Gijish

I think this issue is handled by a support request …

Hi Rolf,

Yes…that was handled by a SR and it is fixed now.

With EXX734 Hotfix 2, the issue was solved and XMLWG is Working fine.

Thanks,
Gijish