One Star

Container Installation exception

Hi,
I've just copied Runtime_ESBSE to /home/ubuntu/ directory. We are using Amazon EC2 cloud instances configured as Virtual Private Cloud (VPC).

When I try to run: :~/Runtime_ESBSE/container# bin/trun server
I get this error message: bash: ./bin/trun: Permission denied

But when I try to run: :~/Runtime_ESBSE/container# sh bin/trun server

I get following exception:
Exception in thread "JMX Connector Thread " java.lang.RuntimeException: Could not start JMX connector server
at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:245)
Caused by: java.io.IOException: Cannot bind to URL : javax.naming.ConfigurationException
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:818)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:232)
Caused by: javax.naming.ConfigurationException
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:143)
at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)
at javax.naming.InitialContext.bind(InitialContext.java:417)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:639)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
... 1 more
Caused by: java.rmi.UnknownHostException: Unknown host: 0.0.0.0; nested exception is:
java.net.UnknownHostException: ip-192-168-4-150: ip-192-168-4-150
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:616)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)
... 5 more
Caused by: java.net.UnknownHostException: ip-192-168-4-150: ip-192-168-4-150
at java.net.InetAddress.getLocalHost(InetAddress.java:1426)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:191)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at java.net.Socket.(Socket.java:392)
at java.net.Socket.(Socket.java:206)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 10 more

  • Talend ESB
  • Talend Runtime
7 REPLIES
One Star

Re: Container Installation exception

can anyone help?
One Star

Re: Container Installation exception

Hi, did you ever resolve this?
I am getting the same error

Graham
Employee

Re: Container Installation exception

What will happen if you run: ~/Runtime_ESBSE/container# sh bin/trun ? (without "server" option)
One Star

Re: Container Installation exception

I get to the karaf console and cxf:list-endpoints is all good.
Instead of ./trun server I now have the enterprise edition of Talend and the issue is not present.

Graham
Five Stars

Re: Container Installation exception

 Exception in thread "JMX Connector Thread " java.lang.RuntimeException: Could not start JMX connector server
    at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:248)
Caused by: java.io.IOException: Cannot bind to URL : javax.naming.ConfigurationException
    at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:826)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
    at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:235)
Caused by: javax.naming.ConfigurationException
    at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:143)
    at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)
    at javax.naming.InitialContext.bind(InitialContext.java:419)
    at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:643)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)
    ... 1 more
Caused by: java.rmi.UnknownHostException: Unknown host: 0.0.0.0; nested exception is:
    java.net.UnknownHostException: #administrator
ravi: #administrator
ravi: Name or service not known
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:616)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)
    ... 5 more
Caused by: java.net.UnknownHostException: #administrator
ravi: #administrator
ravi: Name or service not known
    at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at java.net.Socket.(Socket.java:425)
    at java.net.Socket.(Socket.java:208)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    ... 10 more
Caused by: java.net.UnknownHostException: #administrator
ravi: Name or service not known
    at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
    at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
    at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
    ... 20 more
I have above problem when i am starting RUN_ESBSE for executing services remotely..please any one can explain what it means
           Thank You,
One Star

Re: Container Installation exception

I am getting the same issue.
I just downloaded 5.6.1 and treind to run the container (./trun)

Re: Container Installation exception

Hi,
This exception comes when Talend tried to register the end point for all IP (because of 0.0.0.0) including the IP binded to the hostname and is unable to find the mapping for your hostname. Hence it shows unknown host "HOSTNAME".
Put an entry of your hostname against the ip assigned to machine in /etc/hosts. This will solve the problem.
For eg.:
vim /etc/hosts
192.X.X.X hostname
Thanks,
Nikhil Sharma