6 Replies Latest reply: May 30, 2012 4:48 AM by Sebastien CLEMENT RSS

Jbossesb 4.10 on Jboss6.1.0.Final

Sebastien CLEMENT Newbie

Hi,

 

I migrated my applications using jboss-4.2.3.GA and jboss-4.2.3.GA-jbossesb-4.9 under jboss-6.1.0 and jboss-6.1.0.Final-jbossesb-4.10.
I have several esb calls. It seems to be OK but sometimes some calls work and others not. If I restart the jboss-6.1.0.Final-jbossesb-4.10 server, some calls works and others not and this randomly.
I get the following error:

 

WARN  [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (pool-33-thread-1) No fault address defined for fault message! To: InVMEpr [ PortReference < <wsa:Address invm://427573696e6573735f536572766963657324242424242424242424242470737055706461746543647253657276696365454a42/false?false#10000/>, <wsa:ReferenceProperties jbossesb:passByValue : false/> > ] MessageID: f78040d8-f65f-4ba4-a2e3-7c7ced011227 RelatesTo: jms:correlationID#ID:JBM-203f4c98-274e-4b61-b0fa-9db97d81e686

It is planned to have in the near future jbossesb-4.10 on jboss-6.1.0.Final ?

 

Thanks in advance.

Sebastien.

  • 1. Re: Jbossesb 4.10 on Jboss6.1.0.Final
    Tom Cunningham Master

    Sebastien, can you attach your jboss-esb.xml?

  • 2. Re: Jbossesb 4.10 on Jboss6.1.0.Final
    Sebastien CLEMENT Newbie

    Of course. One of my jboss-esb.xml :

     

    <?xml version = "1.0" encoding = "UTF-8"?>

    <jbossesb

        xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"

        parameterReloadSecs="5">

     

        <providers>

            <jms-jca-provider name="JBM" connection-factory="XAConnectionFactory">

                <jms-bus busid="cmsGwChannel">

                    <jms-message-filter

                        dest-type="QUEUE"

                        dest-name="queue/cms_Request_gw"

                        transacted="true"

                         />

                </jms-bus>

                <jms-bus busid="cmsGwChannelReply">

                    <jms-message-filter

                        dest-type="QUEUE"

                        dest-name="queue/cms_Request_gw_reply"

                        transacted="true"

                         />

                </jms-bus>

                <jms-bus busid="cmsEsbChannel">

                    <jms-message-filter

                        dest-type="QUEUE"

                        dest-name="queue/cms_Request_esb"

                        transacted="true"

                         />

                </jms-bus>

                <jms-bus busid="cmsEsbChannelReply">

                    <jms-message-filter

                        dest-type="QUEUE"

                        dest-name="queue/cms_Request_esb_reply"

                        transacted="true"

                         />

                </jms-bus>

                <activation-config>

                    <!-- The maximum number of times a message is redelivered before it is sent to the DLQ -->

                    <property name="dLQMaxResent" value="5"/>

                    <property name="reconnectInterval" value="900"/>

                </activation-config>

            </jms-jca-provider>

        </providers>

     

        <services>

           

            <service category="Proxy_Services" name="cmsServiceESB" description="Send CMS events to Service" invmTransacted="true">

                <listeners>

                    <jms-listener name="JMS-Gateway" busidref="cmsGwChannel" is-gateway="true" />

                    <jms-listener name="JMS-ESBListener" busidref="cmsEsbChannel" />

                </listeners>

                <actions mep="OneWay">

                    <action name="TimerLoggingAction" class="com.globecast.esb.commons.TimerLoggingAction" process="before" />

                               

                    <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="ContentBasedRouter">

                        <property name="ruleSet" value="rules/FilterRules.drl"/>

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

                        <property name="destinations">

                            <!-- CMS -->

                               <route-to destination-name="ScmFindContractsByReferenceService" service-category="Business_Services" service-name="scmFindContractsByReferenceServiceEJB" />

                            <!-- End CMS -->

                            <!-- Start ESB COMMIT / ROLLBACK -->

                            <route-to destination-name="CmsScmCommitService" service-category="Transaction_Services" service-name="cmsScmCommitServiceEJB" />

                            <route-to destination-name="CmsScmRollbackService" service-category="Transaction_Services" service-name="cmsScmRollbackServiceEJB" />

                            <!-- End ESB COMMIT / ROLLBACK -->

                       </property>

                       <property name="object-paths">

                               <object-path esb="body.'org.jboss.soa.esb.message.defaultEntry'" />

                       </property>

                   </action>

                </actions>

            </service>

           

            <!-- Scm -->

            <service

                category="Business_Services"

                name="scmFindContractsByReferenceServiceEJB"

                description="call a remote EJB SCM EsbContractFacadeBean-findContractsByReference"

                invmScope="GLOBAL" invmTransacted="true" >

     

                <actions mep="OneWay">

               

                    <action name="print_1" class="org.jboss.soa.esb.actions.SystemPrintln">

                        <property name="printfull" value="false" />

                    </action>

                   

                    <action name="EsbWorkflowFacadeBean-rejectAction" class="org.jboss.soa.esb.actions.EJBProcessor">

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

                        <property name="initial-context-factory" value="org.jboss.security.jndi.JndiLoginInitialContextFactory" />

                        <property name="provider-url" value="${com.globecast.simetier.providerUrl}" />

                        <property name="security-principal" value="${com.globecast.esb.securityPrincipal}" />

                        <property name="security-credentials" value="${com.globecast.esb.securityCredentials}" />

                                           

                        <property name="jndi-name" value="ejb/remote/contractManagementSystem/EsbContractFacadeBean" />

                        <property name="method" value="findContractsByReference" />

     

                        <property name="ejb-params">

                            <arg0 type="com.globecast.esb.event.cms.CmsScmFindContractsByReferenceEvent">org.jboss.soa.esb.message.defaultEntry</arg0>

                        </property>

                        <property name="esb-out-var" value="org.jboss.soa.esb.message.defaultEntry" />

                    </action>

                   

                    <action name="print_2" class="org.jboss.soa.esb.actions.SystemPrintln">

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

                        <property name="message" value="Response from EsbContractFacadeBean-findContractsByReference" />

                    </action>

                   

                    <action name="MyJMSListenerAction"

                        class="com.globecast.esb.cms.MyJMSListenerAction"

                        process="displayMessage">

                        <property name="exceptionMethod" value="exceptionHandler" />

                    </action>

     

                    <action name="TimerLoggingAction" class="com.globecast.esb.commons.TimerLoggingAction" process="after" />

     

                    <action name="routeToReplyQueue" class="org.jboss.soa.esb.actions.routing.JMSRouter">

                        <property name="jndiName" value="queue/cms_Request_gw_reply"/>

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

                       </action>

                   

                    <action name="NotifyConsole" class="org.jboss.soa.esb.actions.Notifier">

                        <property name="okMethod" value="notifyOK" />

                        <property name="notification-details">

                            <NotificationList type="OK">

                                <target class="NotifyConsole" />

                            </NotificationList>

                             <NotificationList type="err">

                                <target class="NotifyConsole" />

                            </NotificationList>

                        </property>

                    </action>

     

                </actions>

            </service>

           

           

            <service

                category="Transaction_Services"

                name="cmsScmCommitServiceEJB"

                description="Synchronous call to a remote EJB CMS->SCM SCMTransactionManagerBean-commit"

                invmScope="GLOBAL" invmTransacted="true" >

               

                <actions mep="OneWay">

               

                    <action name="print_1" class="org.jboss.soa.esb.actions.SystemPrintln">

                        <property name="printfull" value="false" />

                    </action>

     

                    <action name="CMSTransactionManagerBean-commit" class="org.jboss.soa.esb.actions.EJBProcessor">

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

                        <property name="initial-context-factory" value="org.jboss.security.jndi.JndiLoginInitialContextFactory" />

                        <property name="provider-url" value="${com.globecast.simetier.providerUrl}" />

                        <property name="security-principal" value="${com.globecast.esb.securityPrincipal}" />

                        <property name="security-credentials" value="${com.globecast.esb.securityCredentials}" />

                                           

                        <property name="jndi-name" value="ejb/remote/contractManagementSystem/SCMTransactionManagerBean" />

                        <property name="method" value="commit" />

     

                        <property name="ejb-params">

                            <arg0 type="com.globecast.esb.event.common.ESBTransactionEvent">org.jboss.soa.esb.message.defaultEntry</arg0>

                        </property>

                        <property name="esb-out-var" value="org.jboss.soa.esb.message.defaultEntry" />

                    </action>

                   

                    <action name="print_2" class="org.jboss.soa.esb.actions.SystemPrintln">

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

                        <property name="message" value="Response from SCMTransactionManagerBean-commit" />

                    </action>

                   

                    <action name="MyJMSListenerAction"

                        class="com.globecast.esb.cms.MyJMSListenerAction"

                        process="displayMessage">

                        <property name="exceptionMethod" value="exceptionHandler" />

                    </action>

                   

                    <action name="TimerLoggingAction" class="com.globecast.esb.commons.TimerLoggingAction" process="after" />

                   

                    <action name="routeToReplyQueue" class="org.jboss.soa.esb.actions.routing.JMSRouter">

                        <property name="jndiName" value="queue/cms_Request_gw_reply"/>

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

                       </action>

                   

                    <action name="NotifyConsole" class="org.jboss.soa.esb.actions.Notifier">

                        <property name="okMethod" value="notifyOK" />

                        <property name="notification-details">

                            <NotificationList type="OK">

                                <target class="NotifyConsole" />

                            </NotificationList>

                             <NotificationList type="err">

                                <target class="NotifyConsole" />

                            </NotificationList>

                        </property>

                    </action>

     

                </actions>

            </service>

           

            <service

                category="Transaction_Services"

                name="cmsScmRollbackServiceEJB"

                description="Synchronous call to a remote EJB CMS->SCM SCMTransactionManagerBean-rollback"

                invmScope="GLOBAL" invmTransacted="true" >

               

                <actions mep="OneWay">

               

                    <action name="print_1" class="org.jboss.soa.esb.actions.SystemPrintln">

                        <property name="printfull" value="false" />

                    </action>

     

                    <action name="CMSTransactionManagerBean-rollback" class="org.jboss.soa.esb.actions.EJBProcessor">

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

                        <property name="initial-context-factory" value="org.jboss.security.jndi.JndiLoginInitialContextFactory" />

                        <property name="provider-url" value="${com.globecast.simetier.providerUrl}" />

                        <property name="security-principal" value="${com.globecast.esb.securityPrincipal}" />

                        <property name="security-credentials" value="${com.globecast.esb.securityCredentials}" />

                                           

                        <property name="jndi-name" value="ejb/remote/contractManagementSystem/SCMTransactionManagerBean" />

                        <property name="method" value="rollback" />

     

                        <property name="ejb-params">

                            <arg0 type="com.globecast.esb.event.common.ESBTransactionEvent">org.jboss.soa.esb.message.defaultEntry</arg0>

                        </property>

                        <property name="esb-out-var" value="org.jboss.soa.esb.message.defaultEntry" />

                    </action>

                   

                    <action name="print_2" class="org.jboss.soa.esb.actions.SystemPrintln">

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

                        <property name="message" value="Response from SCMTransactionManagerBean-rollback" />

                    </action>

                   

                    <action name="MyJMSListenerAction"

                        class="com.globecast.esb.cms.MyJMSListenerAction"

                        process="displayMessage">

                        <property name="exceptionMethod" value="exceptionHandler" />

                    </action>

                   

                    <action name="TimerLoggingAction" class="com.globecast.esb.commons.TimerLoggingAction" process="after" />

                   

                    <action name="routeToReplyQueue" class="org.jboss.soa.esb.actions.routing.JMSRouter">

                        <property name="jndiName" value="queue/cms_Request_gw_reply"/>

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

                       </action>

                   

                    <action name="NotifyConsole" class="org.jboss.soa.esb.actions.Notifier">

                        <property name="okMethod" value="notifyOK" />

                        <property name="notification-details">

                            <NotificationList type="OK">

                                <target class="NotifyConsole" />

                            </NotificationList>

                             <NotificationList type="err">

                                <target class="NotifyConsole" />

                            </NotificationList>

                        </property>

                    </action>

     

                </actions>

            </service>

           

            <!-- End ESB COMMIT / ROLLBACK -->

     

        </services>

     

    </jbossesb>

     

    Thanks Tom.

  • 3. Re: Jbossesb 4.10 on Jboss6.1.0.Final
    Sebastien CLEMENT Newbie

    Hi,

     

    I tested with jbossesb 4.11 and I obtained same results :-(

     

    Any ideas?

     

    Thanks.

    Sebastien.

  • 4. Re: Jbossesb 4.10 on Jboss6.1.0.Final
    Tom Cunningham Master

    Sebastien, I promise I'm going to give your config a try this weekend - have you managed to narrow it down to a single action?

  • 5. Re: Jbossesb 4.10 on Jboss6.1.0.Final
    Sebastien CLEMENT Newbie

    Thanks Tom.

    In my simple example the method "findContractsByReference" works fine but sometimes not. In this case I restart my jbossesb and the method works but other methods don't work :-(

     

    Thanks.

    Sebastien.

  • 6. Re: Jbossesb 4.10 on Jboss6.1.0.Final
    Sebastien CLEMENT Newbie

    Hi Tom,

    No news?

     

    Thanks.

    Sebastien.