Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 962

Deploy Issue after creating a custom JMS Virtual Provider

$
0
0

Hi All,

 

I created a brand new Virtual Provider based on the below documentation.

 

Creating and Configuring JMS Virtual Providers - Developing Java EE 5 Applications - SAP Library

 

We were previously using the default VP but since we needed to use Local clustering, it was decided that we create a custom VP to meet our needs.

 

Problem however is that on deployment we get the blow error:

 

com.sap.engine.services.jmsconnector.exceptions.BaseDeploymentException: Jms provider operation exception.  at com.sap.engine.services.jmsconnector.container.JmsContainerImpl.makeUpdate(JmsContainerImpl.java:529)  at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.makeUpdate(ContainerWrapper.java:409)  at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:478)  at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:183)  at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:234)  at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:421)  at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:473)  at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1832)  at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:582)  at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:487)  at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.update(ApplicationDeployer.java:74)  at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:141)  at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:57)  at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:213)  at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:67)  at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:282)  at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:84)  at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:100)  at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:39)  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)  at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: com.sap.jms.interfaces.JMSDeploymentException: while trying to invoke the method com.sap.engine.frame.core.configuration.Configuration.getSubConfiguration(java.lang.String) of a null object loaded from local variable 'config'  at com.sap.jms.admin.JMSDeployHandler.update(JMSDeployHandler.java:834)  at com.sap.engine.services.jmsconnector.container.JmsContainerImpl.makeUpdate(JmsContainerImpl.java:516)  ... 21 more
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.frame.core.configuration.Configuration.getSubConfiguration(java.lang.String) of a null object loaded from local variable 'config'  at com.sap.jms.configuration.impl.JMSConfigurationManager.getSubConfiguration(JMSConfigurationManager.java:1241)  at com.sap.jms.configuration.impl.JMSServerInstanceImpl.createDestination(JMSServerInstanceImpl.java:1034)  at com.sap.jms.admin.JMSDeployImpl.updateDestination(JMSDeployImpl.java:1071)  at com.sap.jms.admin.JMSDeployHandler.updateDestination(JMSDeployHandler.java:1163)  at com.sap.jms.admin.JMSDeployHandler.update(JMSDeployHandler.java:757)  ... 22 more

 

 

Below is our jms-resources.xml

 

 

<?xml version="1.0" encoding="UTF-8"?><jms-resources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="jms-resources.xsd">    <connection-factory>        <name>jms/XMConQueueFactory</name>        <sap-local-factory-type>            <type>javax.jms.QueueConnectionFactory</type>            <virtual-provider>testVP</virtual-provider>        </sap-local-factory-type>    </connection-factory>    <destination>        <name>queue/NaipIdocError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>      <destination>        <name>queue/NaipIdocQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/NaipIdocError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgDxInterfaceError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgDxInterfaceQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgDxInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgDxItemError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgDxItemQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>               <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgDxItemError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgDxProdOrderError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgDxProdOrderQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgDxProdOrderError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgProdInterfaceError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue0</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgProdInterfaceQueue1</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue2</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue3</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgProdInterfaceQueue4</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue5</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue6</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue7</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgProdInterfaceQueue8</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgProdInterfaceQueue9</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgTestResultQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgTestResultError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgTestResultError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgResourceTimeQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgResourceTimeError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgResourceTimeError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgMoxaQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgMoxaError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/VMfgMoxaError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/MamiQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/MamiError</config-property-value>            </property>        </sap-local-destination-type>    </destination>    <destination>        <name>queue/MamiError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/CollabEventQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/CollabEventError</config-property-value>            </property>        </sap-local-destination-type>    </destination>          <destination>        <name>queue/CollabEventError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>    <destination>        <name>queue/FmsEventError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>      <destination>        <name>queue/FmsEventQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/FmsEventError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgProdInterfaceLongError</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>                </sap-local-destination-type>    </destination>      <destination>        <name>queue/VMfgProdInterfaceLongQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>            <property>            <config-property-name>errorDestination</config-property-name>            <config-property-value>queue/VMfgProdInterfaceLongError</config-property-value>            </property>        </sap-local-destination-type>    </destination>      <destination>        <name>queue/VendorCertificateQueue</name>        <type>javax.jms.Queue</type>                <sap-local-destination-type>             <virtual-provider>testVP</virtual-provider>  <property>            <config-property-name>deliveryAttemptsLimited</config-property-name>            <config-property-value>false</config-property-value>            </property>                </sap-local-destination-type>    </destination>  <virtual-provider-properties>        <name>testVP</name>         <property>                <description>runningMode</description>                <config-property-name>runningMode</config-property-name>                <config-property-value>local</config-property-value>        </property>  </virtual-provider-properties>    </jms-resources>

 

 

Is there anything with the XML?

 

Regards,

 

Videla


Viewing all articles
Browse latest Browse all 962

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>