Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7750

OSGiIT fails if you disable the network

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: it
    • Labels:
      None

      Description

      This test also has some issues with VPN connections as well.

      [ERROR] org.apache.jackrabbit.oak.osgi.OSGiIT  Time elapsed: 75.348 s  <<< ERROR!
      org.ops4j.pax.exam.TestContainerException: cannot find remote framework in RMI registry
      Caused by: java.rmi.ConnectException: 
      Connection refused to host: xxxxxxx; nested exception is: 
          java.net.ConnectException: Operation timed out (Connection timed out)
      Caused by: java.net.ConnectException: Operation timed out (Connection timed out)
      
      [ERROR] org.apache.jackrabbit.oak.osgi.OSGiIT  Time elapsed: 75.348 s  <<< ERROR!
      java.lang.NullPointerException
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      
      Exception in thread "main" java.rmi.ConnectException: Connection refused to host: xxxxxxx; nested exception is: 
          java.net.ConnectException: Operation timed out (Connection timed out)
          at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
          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:342)
          at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
          at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.export(RemoteFrameworkImpl.java:88)
          at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.<init>(RemoteFrameworkImpl.java:74)
          at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.main(RemoteFrameworkImpl.java:433)
      Caused by: java.net.ConnectException: Operation timed out (Connection timed out)
          at java.net.PlainSocketImpl.socketConnect(Native Method)
          at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
          at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
          at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
          at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
          at java.net.Socket.connect(Socket.java:589)
          at java.net.Socket.connect(Socket.java:538)
          at java.net.Socket.<init>(Socket.java:434)
          at java.net.Socket.<init>(Socket.java:211)
          at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
          at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
          at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
          ... 7 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stillalex Alex Deparvu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: