Jpos Transaction manager: Queue property no specified

92 views
Skip to first unread message

Moeng, Moeketsi M

unread,
Dec 7, 2009, 2:08:26 AM12/7/09
to jpos-...@googlegroups.com

Hi,

Can somebody please help me with the following if anybody has seen this before. I am busy with a test harness for postilion. I am using Q2 server and the transaction manager. Below are my Q2 server and the transaction manager:

Server:

<server class="org.jpos.q2.iso.QServer" logger="Q2" name="Postillion_Test_Harness_Server">

 <attr name="port" type="java.lang.Integer">1080</attr>

 <channel class="org.jpos.iso.channel.PostChannel"

        logger="Q2" packager="org.jpos.iso.packager.GenericPackager">

        <property name="packager-config" value="postpack.xml" />

        <property name="packager-realm" value="debug" />

 </channel>

 <request-listener class="play.PostilionListener" logger="Q2">

  <property name="source" value="cfg/serversimulator.bsh" />

 </request-listener>

</server>

TxnMngr

<txnmgr name="PostilionHarnessTxnManager" logger="Q2"  

        class="org.jpos.transaction.TransactionManager">

<!--Property name="space"               value="tspace:default"/-->

<Property name="queue"          value="MyTxnQueue"/>

<property name="debug" value="true"/>

<Property name="persistent-space"               value="jdbm:MyTxnSpace" />

<Property name="sessions"               value="32" />

<participant class="play.ReceveAndSend" logger="Q2" />

<participant class="com.my.company.fetchData" logger="Q2" />

<participant class="com.my.company.QueryRemoteHost" logger="Q2" />

<participant class="com.my.company.LogTransaction" logger="Q2" />

<participant class="com.my.company.SendResponse" logger="Q2" >

 <Property name="my.other.optional.property"            value="abc" />

 <Property name="my.other.optional.property"            value="xyz" />

        </participant>

</txnmgr>


When I run the server I get an error starting that queue property not specified. Please see below the error in detail.

<log realm="org.jpos.transaction.TransactionManager" at="Wed Dec 02 15:20:07 CAT 2009.765">

  <warn>

    init

    <iso-exception>

      queue property not specified

      org.jpos.core.ConfigurationException: queue property not specified

        at org.jpos.transaction.TransactionManager.initService(TransactionManager.java:78)

        at org.jpos.q2.QBeanSupport.init(QBeanSupport.java:98)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)

        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)

        at org.jpos.q2.QFactory.createQBean(QFactory.java:135)

        at org.jpos.q2.Q2.deploy(Q2.java:430)

        at org.jpos.q2.Q2.deploy(Q2.java:266)

        at org.jpos.q2.Q2.start(Q2.java:183)

        at org.jpos.q2.Q2.main(Q2.java:651)

    </iso-exception>

  </warn>

Thanks,

Moeketsi

 

 

Standard Bank email disclaimer and confidentiality note

Please go to http://www.standardbank.co.za/site/homepage/emaildisclaimer.html to read our email disclaimer and confidentiality note. Kindly email discl...@standardbank.co.za (no content or subject line necessary) if you cannot view that page and we will email our email disclaimer and confidentiality note to you.

 

Mark Salter

unread,
Dec 7, 2009, 3:16:18 AM12/7/09
to jpos-...@googlegroups.com
I don't like these capital "P"'s.

Property != property


> <participant class="play.ReceveAndSend" logger="Q2" />
> <participant class="com.my.company.fetchData" logger="Q2" />
> <participant class="com.my.company.QueryRemoteHost" logger="Q2" />
> <participant class="com.my.company.LogTransaction" logger="Q2" />
> <participant class="com.my.company.SendResponse" logger="Q2" >
> <Property name="my.other.optional.property" value="abc" />
> <Property name="my.other.optional.property" value="xyz" />
> </participant>
> </txnmgr>

--
Mark
Reply all
Reply to author
Forward
0 new messages