IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 5 replies
  • Latest Post - ‏2014-07-15T10:36:37Z by Mita201
k7logan
k7logan
11 Posts

Pinned topic TDI Assembly line

‏2013-04-16T07:01:52Z |

Hi,

I try to run assembly line via command line using following syntax

call C:\IBM\TDI\V7.1.1\ibmdisrv.bat -c "C:\Users\Administrator\Documents\TDI\workspace\PSMBHRMSFeed\Runtime-PSMBHRMSFeed\PSMBHRMSFeed.xml" -r HRMSFeed

 

But I am recieving error as 

 

 

javax.jms.JMSException: Could not create Transport. Reason: org.springframework.
beans.factory.BeanCreationException: Error creating bean with name 'org.apache.a
ctivemq.xbean.XBeanBrokerService#0' defined in file [C:\Users\Administrator\Docu
ments\TDI\etc\activemq.xml]: Invocation of init method failed; nested exception
is java.io.IOException: Transport Connector could not be registered in JMX: Fail
ed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException:
 Address already in use: JVM_Bind
        at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppo
rt.java:35)
        at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveM
QConnectionFactory.java:245)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:258)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:230)
        at org.apache.activemq.ActiveMQConnectionFactory.createQueueConnection(A
ctiveMQConnectionFactory.java:193)
        at com.ibm.di.systemqueue.SystemQueue.<init>(SystemQueue.java:155)
        at com.ibm.di.systemqueue.SystemQueueEngine.initSystemQueue(SystemQueueE
ngine.java:158)
        at com.ibm.di.systemqueue.SystemQueueEngine.getInstance(SystemQueueEngin
e.java:119)
        at com.ibm.di.server.RS.initializeSystemQueue(RS.java:636)
        at com.ibm.di.server.RS.runMaster(RS.java:2375)
        at com.ibm.di.server.RS.run(RS.java:2150)
        at com.ibm.di.server.RS.main(RS.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at com.ibm.di.loader.ServerLauncher.startServer(ServerLauncher.java:172)
 
        at com.ibm.di.loader.ServerLauncher.main(ServerLauncher.java:79)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in fi
le [C:\Users\Administrator\Documents\TDI\etc\activemq.xml]: Invocation of init m
ethod failed; nested exception is java.io.IOException: Transport Connector could
 not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616
due to: java.net.BindException: Address already in use: JVM_Bind
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(AccessController.java:224
)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:728)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:380)
        at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:64)
        at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:52)
        at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext
(XBeanBrokerFactory.java:96)
        at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBroker
Factory.java:52)
        at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:71)
        at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:54)
        at org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnec
t(VMTransportFactory.java:121)
        at org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTrans
portFactory.java:53)
        at org.apache.activemq.transport.TransportFactory.doConnect(TransportFac
tory.java:51)
        at org.apache.activemq.transport.TransportFactory.connect(TransportFacto
ry.java:80)
        at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveM
QConnectionFactory.java:243)
        ... 16 more
Caused by: java.io.IOException: Transport Connector could not be registered in J
MX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindEx
ception: Address already in use: JVM_Bind
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:27)
        at org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1585)
        at org.apache.activemq.broker.BrokerService.startTransportConnector(Brok
erService.java:2006)
        at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerSer
vice.java:1959)
        at org.apache.activemq.broker.BrokerService.start(BrokerService.java:491
)
        at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBean
BrokerService.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        ... 39 more
Caused by: java.io.IOException: Failed to bind to server socket: tcp://0.0.0.0:6
1616 due to: java.net.BindException: Address already in use: JVM_Bind
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:33)
        at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:139)
        at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans
portFactory.java:60)
        at org.apache.activemq.transport.TransportFactory.bind(TransportFactory.
java:131)
        at org.apache.activemq.broker.TransportConnector.createTransportServer(T
ransportConnector.java:305)
        at org.apache.activemq.broker.TransportConnector.getServer(TransportConn
ector.java:137)
        at org.apache.activemq.broker.TransportConnector.asManagedConnector(Tran
sportConnector.java:100)
        at org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1580)
        ... 50 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:413)
        at java.net.ServerSocket.bind(ServerSocket.java:339)
        at java.net.ServerSocket.<init>(ServerSocket.java:205)
        at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketF
actory.java:3)
        at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:135)
        ... 56 more

 

Could you please help me to resolve the issue.

 

Regards,

K7logan

 

  • Mita201
    Mita201
    109 Posts

    Re: TDI Assembly line

    ‏2014-01-27T14:31:27Z  

    Hi,

    Have you ever solved the issue?

     

    Mita

  • k7logan
    k7logan
    11 Posts

    Re: TDI Assembly line

    ‏2014-01-28T03:45:23Z  
    • Mita201
    • ‏2014-01-27T14:31:27Z

    Hi,

    Have you ever solved the issue?

     

    Mita

    Hi,

    The solution directory is not properly assigned. i resolve the issue to Re assign the solution directory and workspace for the TDI.

     

    Regards,

    K7logan

  • Mita201
    Mita201
    109 Posts

    Re: TDI Assembly line

    ‏2014-01-28T10:58:33Z  
    • k7logan
    • ‏2014-01-28T03:45:23Z

    Hi,

    The solution directory is not properly assigned. i resolve the issue to Re assign the solution directory and workspace for the TDI.

     

    Regards,

    K7logan

    Hm, are you sure about it?

    As we can see in error (I am having the same), there is a socket conflict between TIM Adapters service and ibmdisrv.bat called from command line. If I stop the service, I can run the batch, but with service running, I can't. It was not the case on earlier version of TDI (eg. v7.0), but only on newest, v7.1.1

    So, do you have tdi service running and you still can run assembly line? 

  • ilackic
    ilackic
    23 Posts

    Re: TDI Assembly line

    ‏2014-03-24T13:19:48Z  
    • Mita201
    • ‏2014-01-28T10:58:33Z

    Hm, are you sure about it?

    As we can see in error (I am having the same), there is a socket conflict between TIM Adapters service and ibmdisrv.bat called from command line. If I stop the service, I can run the batch, but with service running, I can't. It was not the case on earlier version of TDI (eg. v7.0), but only on newest, v7.1.1

    So, do you have tdi service running and you still can run assembly line? 

    Hi, 

    have you solved this? I'm having the same problem with 7.1.1 64 bit

     

    kind regards,

    I

  • Mita201
    Mita201
    109 Posts

    Re: TDI Assembly line

    ‏2014-07-15T10:36:37Z  
    • ilackic
    • ‏2014-03-24T13:19:48Z

    Hi, 

    have you solved this? I'm having the same problem with 7.1.1 64 bit

     

    kind regards,

    I

    There is a tech note that addresses the issue:

    http://www-01.ibm.com/support/docview.wss?uid=swg21665273

     

    I will copy relevant content here, since IBM loves to change urls:

     

    Case #2 - ActiveMQ port conflict
    Exception seen in ibmdi.log:
    [org.apache.activemq.broker.BrokerService] - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use
    java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use

     


    Case #2 Solution:
    Modify the following elements in the <solution_directory>/etc/activemq.xml file
    // Set the 'connectorPort' value to match the value of 'api.remote.naming.port' located in solution.properties file.
    <managementContext createConnector="true" connectorPort="1099"/>
    // Set uri to a unused port.
    <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>

     

    Regards,

     

    Mita