Topic
  • 19 replies
  • Latest Post - ‏2013-08-20T13:50:53Z by mark99
SBA75
SBA75
29 Posts

Pinned topic ITIM cannot connect to RMI Dispatcher

‏2011-02-11T16:05:24Z |
I Cannot connect to RMI dispatcher from ITIM

Symptom

  • I have created a service in ITIM, when I try to connect to ITDI server with value in ITDI location = rmi://<TDI_Server>:16231/ITDIDispatcher
When trying to test the connection, I have the message "CTGIMU107W The connection to the specified service cannot be established. Verify the service information, and try again."
Here is trace.log attached when attempting test connection.

  • RMI dispatcher is running and the port is correct. (same result if the port is set by default to 1099, and I change the port to 1099 on ITDI location field on ITIM)
  • TELNET to target server:port works.

Any help ?

Thanx by advance
SBA

Attachments

Updated on 2011-03-17T15:15:13Z at 2011-03-17T15:15:13Z by SBA75
  • Sigmaomega
    Sigmaomega
    23 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T16:14:18Z  
    What is your environment?

    Are your TDI servers Windows or Linux Based? What is your iTIM (I'm assuming AIX)?
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T16:25:29Z  
    What is your environment?

    Are your TDI servers Windows or Linux Based? What is your iTIM (I'm assuming AIX)?
    Hi

    Yep ITIM is on AIX, on a cluster websphere environnement
    ITDI/RMI Dispatcher are on Windows Server 2008 R2 64 bits
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T16:27:53Z  
    • SBA75
    • ‏2011-02-11T16:25:29Z
    Hi

    Yep ITIM is on AIX, on a cluster websphere environnement
    ITDI/RMI Dispatcher are on Windows Server 2008 R2 64 bits
    ITDI 7.0
    RMI 5.723
    ITIM 5.1
  • Sigmaomega
    Sigmaomega
    23 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T16:32:38Z  
    • SBA75
    • ‏2011-02-11T16:27:53Z
    ITDI 7.0
    RMI 5.723
    ITIM 5.1
    Ok.

    Are your IBM services on your Windows Servers installed and started?

    How are you using the dispatcher (custom adapter?)

    -SO
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T16:44:54Z  
    Ok.

    Are your IBM services on your Windows Servers installed and started?

    How are you using the dispatcher (custom adapter?)

    -SO
    • Yes all IBM services are up
    • I am using a custom adapter builded with ADT and correctly imported in ITIM

    SBA
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T16:54:07Z  
    • SBA75
    • ‏2011-02-11T16:44:54Z
    • Yes all IBM services are up
    • I am using a custom adapter builded with ADT and correctly imported in ITIM

    SBA
    this is the started ITDI service :
    IBM Tivoli Directory Integrator (TIM Adapters)

    Other IBM services are for ITDS ldap
  • Sigmaomega
    Sigmaomega
    23 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-11T21:22:15Z  
    Ok.

    Verify that the connection from AIX to your Windows TDI server is ok. Telnet into AIX and then telnet from there to the TDI server on the port you are RMI'ing an AL.

    Second, in our environment we have two services

    IBM Tivoli Directory Integrator (TDI 6.1)
    IBM Tivoli Identity Manager Adapter

    Do you have both? I'm not sure if both are needed, but I would assume so since one is a service for ibmdi (which responds back to AIX) and the other is for your dispatcher to talk to.

    -SO
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-14T10:22:52Z  
    Ok.

    Verify that the connection from AIX to your Windows TDI server is ok. Telnet into AIX and then telnet from there to the TDI server on the port you are RMI'ing an AL.

    Second, in our environment we have two services

    IBM Tivoli Directory Integrator (TDI 6.1)
    IBM Tivoli Identity Manager Adapter

    Do you have both? I'm not sure if both are needed, but I would assume so since one is a service for ibmdi (which responds back to AIX) and the other is for your dispatcher to talk to.

    -SO
    I ve started both services, with same consequences..
  • stefan_qpr
    stefan_qpr
    31 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-15T23:05:05Z  
    Hi

    Is there a firewall between ITIM and the TDI Dispatcher? If so, have a look at the com.ibm.di.dispatcher.objectPort setting in solution.properties in the dispatcher solution directory. If set to 0 the reply will be initiated from a random port... If this entry is set to a specific port, it will always initiate from that port, which makes it easier to define the firewall rules. In TDI 6.1 I usually set the objectPort to 16232, which means two ports will have to be opened through the firewall, 16231 and 16232.

    Obviously this is TDI 7, and I do not even know if the objectPort is available in that release, but I assume so.

    Cheers
    Stefan
  • SystemAdmin
    SystemAdmin
    9855 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-16T03:30:29Z  
    Is the TDI system (Windows system) a multihomed machine?
    If so, tell TDI RMI to bind to a specific IP, the one that ITIM connects to.
    jvm property: java.rmi.server.hostname
    Details: http://weblogs.java.net/blog/2006/12/22/multihomed-computers-and-rmi
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-16T13:06:51Z  
    Is the TDI system (Windows system) a multihomed machine?
    If so, tell TDI RMI to bind to a specific IP, the one that ITIM connects to.
    jvm property: java.rmi.server.hostname
    Details: http://weblogs.java.net/blog/2006/12/22/multihomed-computers-and-rmi
    Thank you guys for answering, ther is no way :

    • @ Stephan : I tried the issue --> same behaviour. I have explicitly authorized incomming trafic on 16231 and outcomming on 16232 on windows firewall.

    • @Terry : it s a machine with a unique IP address.
  • Sigmaomega
    Sigmaomega
    23 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-16T14:36:50Z  
    • SBA75
    • ‏2011-02-16T13:06:51Z
    Thank you guys for answering, ther is no way :

    • @ Stephan : I tried the issue --> same behaviour. I have explicitly authorized incomming trafic on 16231 and outcomming on 16232 on windows firewall.

    • @Terry : it s a machine with a unique IP address.
    What does your ibmdi.log file state?

    Would you be able to post it here?

    You can find this file on your AIX machine in the TDI's instance of the file system. For example, ours reside on this working directory

    \TDI\logs\ibmdi.log
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-16T17:06:20Z  
    What does your ibmdi.log file state?

    Would you be able to post it here?

    You can find this file on your AIX machine in the TDI's instance of the file system. For example, ours reside on this working directory

    \TDI\logs\ibmdi.log
    attached file D:\IBM\TDI\V7.0\timsol\logs\ibmdi.log

    Attachments

  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-21T17:45:20Z  
    • SBA75
    • ‏2011-02-16T17:06:20Z
    attached file D:\IBM\TDI\V7.0\timsol\logs\ibmdi.log
    Up
  • Sigmaomega
    Sigmaomega
    23 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-22T13:38:25Z  
    • SBA75
    • ‏2011-02-21T17:45:20Z
    Up
    What are your operations of the AL. I'm hoping you have a Test Connection AL.
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-02-23T09:46:52Z  
    What are your operations of the AL. I'm hoping you have a Test Connection AL.
    Yes I have a basic Test AL, generated using ADT.

    ALs included :
    Create New Account
    Modify Existing Account
    Delete an Account
    Reconcile Accounts
    Test Connection
  • SBA75
    SBA75
    29 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2011-03-17T15:15:13Z  
    • SBA75
    • ‏2011-02-23T09:46:52Z
    Yes I have a basic Test AL, generated using ADT.

    ALs included :
    Create New Account
    Modify Existing Account
    Delete an Account
    Reconcile Accounts
    Test Connection
    Up
  • Manavt
    Manavt
    2 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2013-08-13T11:50:08Z  
    • SBA75
    • ‏2011-03-17T15:15:13Z
    Up

    Hi, 

     

    I am facing the same problem for RMI Dispatcher 

    ITIM cannot connect to RMI Dispatcher on port 16231

    Updated on 2013-08-13T11:50:27Z at 2013-08-13T11:50:27Z by Manavt
  • mark99
    mark99
    26 Posts

    Re: ITIM cannot connect to RMI Dispatcher

    ‏2013-08-20T13:50:53Z  
    • Manavt
    • ‏2013-08-13T11:50:08Z

    Hi, 

     

    I am facing the same problem for RMI Dispatcher 

    ITIM cannot connect to RMI Dispatcher on port 16231

    Hi

    Is it a new system

    Did it work before

    did you do some basic checks

    Is the TDI service running

    Is something listening on port 16231

    Is the RMI dispatcher installed