Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-479

Alfresco test exception

    XMLWordPrintableJSON

Details

    Description

      The alfresco end-to-end test fails with the following exception:

          [junit] Testcase: sanityCheck(org.apache.manifoldcf.alfresco_tests.APISanity
      IT):    Caused an ERROR
          [junit] org/eclipse/jetty/jndi/NamingUtil
          [junit] java.lang.NoClassDefFoundError: org/eclipse/jetty/jndi/NamingUtil
          [junit]     at org.eclipse.jetty.plus.jndi.NamingEntry.<clinit>(NamingEntry.java:41)
          [junit]     at org.apache.manifoldcf.alfresco_tests.BaseDerby.setUpAlfresco(BaseDerby.java:91)
          [junit] Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.jndi.NamingUtil
          [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          [junit]     at java.security.AccessController.doPrivileged(Native Method)
          [junit]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      
          [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
          [junit]
          [junit]
          [junit] Testcase: sanityCheck(org.apache.manifoldcf.alfresco_tests.APISanityIT):    Caused an ERROR
          [junit] Error starting session.
          [junit] org.alfresco.webservice.util.WebServiceException: Error starting session.
          [junit]     at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:88)
          [junit]     at org.apache.manifoldcf.alfresco_tests.APISanityIT.removeTestArea(APISanityIT.java:258)
          [junit] Caused by: java.net.ConnectException: Connection refused: connect
          [junit]     at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
          [junit]     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
          [junit]     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
          [junit]     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
          [junit]     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
          [junit]     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      
          [junit]     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
          [junit]     at org.apache.axis.client.Call.invoke(Call.java:2767)
          [junit]     at org.apache.axis.client.Call.invoke(Call.java:2443)
          [junit]     at org.apache.axis.client.Call.invoke(Call.java:2366)
          [junit]     at org.apache.axis.client.Call.invoke(Call.java:1812)
          [junit]     at org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub.startSession(AuthenticationServiceSoapBindingStub.java:187)
          [junit]     at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:73)
          [junit] Caused by: java.net.ConnectException: Connection refused: connect
          [junit]     at java.net.PlainSocketImpl.socketConnect(Native Method)
          [junit]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
          [junit]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
          [junit]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
          [junit]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
          [junit]     at java.net.Socket.connect(Socket.java:529)
          [junit]     at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
          [junit]     at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
          [junit]     at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
          [junit]     at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
          [junit]     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
          [junit]
          [junit]
      

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: