Skip to Content
avatar image
Former Member

Problem starting ES Builder in PI 7.10

Just installed PI 7.1 in a sandbox environment with Windows Server 2003 SP2 and MAXDB. I have also followed the post-installation steps in the installation guide. So far everything works except the Enterprise Service Builder. When I clicked on the Enterprise Service Builder, it prompted me to login. I logged in with the <sys>super account, and then a pop-up window shows following message: Cannot connect to server using message server: ms://hostname:8101/P4

Below is more detail of the error. I have searched in SDN but not finding anyone else having same issue. I found an ESR Master but itu2019s for CE 7.1. Appreciate any help on how to resolve this issue.

====================================================================

= Root Exception ===================================================

====================================================================

Thrown:

com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: Cannot connect to server using message server: ms://hostname:8101/P4

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:668)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:461)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:133)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:176)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:121)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:109)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginController.doTrial(SplashLoginFrame.java:952)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginAction$1.run(SplashLoginFrame.java:824)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext.

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:653)

... 16 more

Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM

at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)

at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)

... 21 more

====================================================================

== Content from the LogHandler =====================================

====================================================================

#6 13:24:48 [AWT-EventQueue-2] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable

Thrown:

com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: Cannot connect to server using message server: ms://hostname:8101/P4

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:668)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:461)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:133)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:176)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:121)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:109)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginController.doTrial(SplashLoginFrame.java:952)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginAction$1.run(SplashLoginFrame.java:824)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext.

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:653)

... 16 more

Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM

at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)

at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)

... 21 more

#5 13:24:48 [AWT-EventQueue-2] FINE AutoLog.created.com.sap.engine.interfaces.cross.DestinationException: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM

at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)

at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:653)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:461)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:133)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:176)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:121)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:109)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginController.doTrial(SplashLoginFrame.java:952)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginAction$1.run(SplashLoginFrame.java:824)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

#4 13:24:48 [AWT-EventQueue-2] DEBUG AutoLog.created.com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM

#3 13:24:48 [AWT-EventQueue-2] FINE AutoLog.created.com.sap.engine.services.jndi.persistent.exceptions.NamingException: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM]

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:653)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:461)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:133)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:176)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:121)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:109)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginController.doTrial(SplashLoginFrame.java:952)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginAction$1.run(SplashLoginFrame.java:824)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM

at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)

at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)

... 21 more

#2 13:24:48 [AWT-EventQueue-2] DEBUG AutoLog.created.com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext.

#1 13:24:48 [AWT-EventQueue-2] FINE AutoLog.created.com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: Unable to connect to server ms://hostname:8101/P4. Check server availability

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:668)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:461)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:133)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:176)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:121)

at com.sap.aii.ib.clsif.login.LoginServiceImpl.login(LoginServiceImpl.java:109)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginController.doTrial(SplashLoginFrame.java:952)

at com.sap.aii.ib.gui.login.SplashLoginFrame$LoginAction$1.run(SplashLoginFrame.java:824)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM]

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at com.sap.aii.ib.clsif.login.EJBHomeFactory.getInitialContext(EJBHomeFactory.java:653)

... 16 more

Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM

at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)

at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)

... 21 more

#0 13:24:47 [AWT-EventQueue-2] DEBUG AutoLog.created.com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: Unable to connect to server ms://hostname:8101/P4. Check server availability

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 03, 2008 at 06:49 PM

    Why to port is 8101.

    the general url is <hostname>:50<Instance no>0

    I beleive you have to change this port in exchange profile

    thanks

    farooq

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Farooq,

      Thanks for the quick reply. I do not recall putting any port number like 8101 during the installation. I think below is the key error message from the error log. It may be FQDN related. Did you have similar experience?

      Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:

      hostname.DOMAIN.COM:50004 Reason: java.net.UnknownHostException: hostname.DOMAIN.COM]

      Regards,

      Jiannan

  • avatar image
    Former Member
    Sep 10, 2008 at 09:14 PM

    Hi Jiannan Che,

    We installed PI 7.1 today and exactly running into the same issue. Since you faced this issue a few days ago I was wondering if you could find a solution.

    In my case I am getting the following error

    Cannot connect to server using message server: ms://<host>:8106/P4

    and the port 8106 is taken by the system automatically and placed in the exchange profile parameter com.sap.aii.connect.repository.mshttpport

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Venkata,

      Our problem has been resolved. The problem was related to the FQDN. The sympton was that we could not ping the FQDN (hostname.domain.com). Since it is a new box we believe that the host was not appropriately defined in the domain. Our network support team fixed the domain issue. As soon as we could ping the hostname.domain.com the problem did not occur any more.

      Not sure if you are having the same problem. Hope this helps.

      Regards,

      Jiannan