Should have read your first mail in more detail... OK, since the default problems weren't the problem I did a quick googling for the problem and your system and found the following: (found it via [2]; but not sure how readable it will be after google translate :))
Does this fix your problem? Kind regards, Andreas [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044 [2] http://www.rootz.de/2011/02/debian-6-0-squeeze-java-apps-haben-probleme-mit-netzwerkverbindungen/ On Tue, Jul 12, 2011 at 2:13 PM, Stefan Essl <[email protected]> wrote: > Thanks for the thought, but i'm running on Debian and can't confirm having > set up any firewall at all. I ran "iptables --list" and got > > Chain INPUT (policy ACCEPT) > target prot opt source destination > > Chain FORWARD (policy ACCEPT) > target prot opt source destination > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > > Regards, > Stefan > > > Am 12.07.2011 um 14:08 schrieb Andreas Pieber: > >> Another scenario I've already encountered producing a similar error >> was where a client used windows (7 or vista; not sure) and forbid >> Karaf/SMX access to the network (windows security essential or any >> other firewall). Could this be true for you? >> >> Kind regards, >> Andreas >> >> On Tue, Jul 12, 2011 at 2:00 PM, Stefan Essl >> <[email protected]> wrote: >>> Sorry, can't confirm that the port is already in use. I even tried changing >>> the port in etc/org.apache.karaf.management.cfg but still get the same >>> error... >>> >>> Regards, >>> Stefan >>> >>> >>> Am 12.07.2011 um 13:51 schrieb Andreas Pieber: >>> >>>> This typical happens because the 1099 port is already used by any >>>> other application. Can you check if this is the case? If yes you can >>>> change the port in etc/org.apache.karaf.management.cfg >>>> >>>> I hope this helps, >>>> >>>> Kind regards, >>>> Andreas >>>> >>>> On Tue, Jul 12, 2011 at 1:44 PM, Stefan Essl >>>> <[email protected]> wrote: >>>>> Hi there, >>>>> >>>>> i just downloaded and started ServiceMix for the first and ran into an >>>>> error straight away. I don't know how to handle that error since (as far >>>>> as i understand what's going on) Karaf is telling me that localhost is >>>>> unreachable which doesn't make any sense at all to me. >>>>> >>>>> OS: Debian Squeeze >>>>> ServiceMix: 4.3.0 (downloaded some minutes ago) >>>>> java -version: java version "1.6.0_26" >>>>> Java(TM) SE Runtime Environment (build 1.6.0_26-b03) >>>>> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) >>>>> >>>>> Exception: >>>>> >>>>> java.net.SocketException: Invalid argument >>>>> at java.net.PlainSocketImpl.socketBind(Native Method) >>>>> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) >>>>> at java.net.ServerSocket.bind(ServerSocket.java:328) >>>>> at java.net.ServerSocket.<init>(ServerSocket.java:194) >>>>> at org.apache.karaf.main.Main.setupShutdown(Main.java:1279) >>>>> at org.apache.karaf.main.Main.lock(Main.java:1212) >>>>> at org.apache.karaf.main.Main$1.run(Main.java:259) >>>>> Exception in thread "JMX Connector Thread >>>>> [service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root]" >>>>> java.lang.RuntimeException: Could not start JMX connector server >>>>> at >>>>> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:104) >>>>> Caused by: java.io.IOException: Cannot bind to URL >>>>> [rmi://localhost:1099/karaf-root]: javax.naming.CommunicationException >>>>> [Root exception is java.rmi.ConnectIOException: Exception creating >>>>> connection to: localhost; nested exception is: >>>>> java.net.SocketException: Network is unreachable] >>>>> at >>>>> javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804) >>>>> at >>>>> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417) >>>>> at >>>>> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:102) >>>>> Caused by: javax.naming.CommunicationException [Root exception is >>>>> java.rmi.ConnectIOException: Exception creating connection to: localhost; >>>>> nested exception is: >>>>> java.net.SocketException: Network is unreachable] >>>>> at >>>>> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126) >>>>> at >>>>> com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208) >>>>> at javax.naming.InitialContext.bind(InitialContext.java:400) >>>>> at >>>>> javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625) >>>>> at >>>>> javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412) >>>>> ... 1 more >>>>> Caused by: java.rmi.ConnectIOException: Exception creating connection to: >>>>> localhost; nested exception is: >>>>> java.net.SocketException: Network is unreachable >>>>> at >>>>> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:614) >>>>> at >>>>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) >>>>> at >>>>> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) >>>>> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) >>>>> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) >>>>> at >>>>> com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120) >>>>> ... 5 more >>>>> Caused by: java.net.SocketException: Network is unreachable >>>>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>>>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) >>>>> at >>>>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) >>>>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) >>>>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >>>>> at java.net.Socket.connect(Socket.java:529) >>>>> at java.net.Socket.connect(Socket.java:478) >>>>> at java.net.Socket.<init>(Socket.java:375) >>>>> at java.net.Socket.<init>(Socket.java:189) >>>>> at >>>>> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) >>>>> at >>>>> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) >>>>> at >>>>> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) >>>>> ... 10 more >>>>> >>>>> Thanks for your help! >>>>> >>>>> Stefan >>> >>> > >
