Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Labels (3)
7 Replies
Anonymous
Not applicable
Author

can anyone help?
Anonymous
Not applicable
Author

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

Graham
Anonymous
Not applicable
Author

What will happen if you run: ~/Runtime_ESBSE/container# sh bin/trun ? (without "server" option)
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

 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,
_AnonymousUser
Specialist III
Specialist III

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

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