Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-710

Categories.java in the IPv6 environment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1 Enterprise
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Resolution Time Custom Field:
      245 weeks, 4 hours, 6 minutes, 56 seconds

      Description

      Categories.java in the "SDK WebService Samples" of the Alfresco SDK causes an error if the hostname resolves to the IPv6 address (Link-local IPv6 Address).
      This is a default configuration for Windows 2008 and Vista.

      You can see:
      C:\Users\Administrator>ping alf-461
      Pinging alf-461 [fe80::b99f:1867:fe72:e461%10] from fe80::b99f:1867:fe72:e461%10
      with 32 bytes of data:
      Reply from fe80::b99f:1867:fe72:e461%10: time<1ms
      Reply from fe80::b99f:1867:fe72:e461%10: time<1ms

      The same problem is in the.
      The org.alfresco.webservice.test.AdministrationServiceSystemTest

      Note, that tests run well with the IPv6 DNS names and literal addresses in the webserviceclient.properties. But somewhere inside these 2 tests fail.

      All classifications:

      {http://www.alfresco.org/model/content/1.0}

      taggable
      Classification = Taggable; Root category = sd

      {http://www.alfresco.org/model/content/1.0}

      taggable
      Classification = Taggable; Root category = asd

      {http://www.alfresco.org/model/content/1.0}

      taggable
      Classification = Taggable; Root category = wqeq

      {http://www.alfresco.org/model/content/1.0}

      taggable
      Classification = Taggable; Root category = ddd

      {http://www.alfresco.org/model/content/1.0}

      taggable
      Classification = Taggable; Root category = zsds

      {http://www.alfresco.org/model/content/1.0}

      generalclassifiable
      Classification = Classifiable; Root category = Software Document Classification

      {http://www.alfresco.org/model/content/1.0}

      generalclassifiable
      Classification = Classifiable; Root category = Languages

      {http://www.alfresco.org/model/content/1.0}

      generalclassifiable
      Classification = Classifiable; Root category = Regions

      {http://www.alfresco.org/model/content/1.0}

      generalclassifiable
      Classification = Classifiable; Root category = Tags
      No child categories found.
      Query path:
      Exception in thread "main" AxisFault
      faultCode:

      {http://schemas.xmlsoap.org/soap/envelope/}

      Server.generalException
      faultSubcode:
      faultString:
      faultActor:
      faultNode:
      faultDetail:

      {http://www.alfresco.org/ws/service/repository/1.0}

      RepositoryFault:<ns1:errorCode>0</ns1:errorCode><ns1:message>org.alfresco.repo.search.SearcherException: Failed to parse query: </ns1:message>

      {http://xml.apache.org/axis/}

      exceptionName:org.alfresco.repo.webservice.repository.RepositoryFault

      {http://xml.apache.org/axis/}

      stackTrace:
      at org.alfresco.repo.webservice.repository.RepositoryWebService.executeQuery(RepositoryWebService.java:176)
      at org.alfresco.repo.webservice.repository.RepositoryWebService.query(RepositoryWebService.java:195)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
      at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
      at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
      at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:619)

      {http://xml.apache.org/axis/}

      hostname:alf-461

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
      at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
      at org.alfresco.webservice.repository.RepositoryFault.getDeserializer(RepositoryFault.java:146)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
      at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
      at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
      at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
      at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
      at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.query(RepositoryServiceSoapBindingStub.java:753)
      at org.alfresco.sample.webservice.Categories.main(Categories.java:126)

      AntonRy

        Attachments

          Activity

            People

            • Assignee:
              closedissues Closed Issues
              Reporter:
              alfrescoqa Alfresco QA Team
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: