0 Replies Latest reply on Aug 27, 2014 8:59 AM by rajesh yarra

    Caused by: java.io.IOException: java.net.URISyntaxException: Illegal character in path at index 77: http://lvdma010.phx.aexp.com:80/profileweb/services/V1/GetCo rpClientHierarchy

    rajesh yarra Newbie

      I'm using EAP 6.2 and i'm seeing java.net.URISyntaxException while trying to call the webservice, below is the full stack trace .I have tried by setting the -Dorg.jboss.net.protocol.file.useURI=false ,but couldn't resolve the issue . Can some one help with this ?

       

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1

      .7.0_55]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

      java:57) [rt.jar:1.7.0_55]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

      sorImpl.java:43) [rt.jar:1.7.0_55]

              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]

              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

      on(AopUtils.java:317) [spring-aop-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

      inpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.2.4.RELEASE.jar:3.2.4

      .RELEASE]

              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

      ReflectiveMethodInvocation.java:150) [spring-aop-3.2.4.RELEASE.jar:3.2.4.RELEASE

      ]

              at com.aexp.gcst.cspp.stopwatch.impl.StopWatchInterceptor.invoke(StopWat

      chInterceptor.java:35) [classes:]

              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

      ReflectiveMethodInvocation.java:172) [spring-aop-3.2.4.RELEASE.jar:3.2.4.RELEASE

      ]

              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami

      cAopProxy.java:204) [spring-aop-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at com.sun.proxy.$Proxy39.call(Unknown Source)

              at com.aexp.gcst.cspp.controller.SimpleSearchController.retrieveLegHiera

      rchy(SimpleSearchController.java:258) [classes:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1

      .7.0_55]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

      java:57) [rt.jar:1.7.0_55]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

      sorImpl.java:43) [rt.jar:1.7.0_55]

              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]

              at org.springframework.web.method.support.InvocableHandlerMethod.invoke(

      InvocableHandlerMethod.java:219) [spring-web-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.method.support.InvocableHandlerMethod.invokeF

      orRequest(InvocableHandlerMethod.java:132) [spring-web-3.2.4.RELEASE.jar:3.2.4.R

      ELEASE]

              at org.springframework.web.servlet.mvc.method.annotation.ServletInvocabl

      eHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) [spring-w

      ebmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingH

      andlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) [spring-

      webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingH

      andlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) [spring-webm

      vc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapt

      er.handle(AbstractHandlerMethodAdapter.java:80) [spring-webmvc-3.2.4.RELEASE.jar

      :3.2.4.RELEASE]

              at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch

      erServlet.java:925) [spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche

      rServlet.java:856) [spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame

      workServlet.java:936) [spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ

      let.java:838) [spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-s

      ervlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

              at org.springframework.web.servlet.FrameworkServlet.service(FrameworkSer

      vlet.java:812) [spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-s

      ervlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

      icationFilterChain.java:295) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redh

      at-1]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

      ilterChain.java:214) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at com.aexp.gcst.cspp.util.XSSFilter.doFilter(XSSFilter.java:34) [classe

      s:]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

      icationFilterChain.java:246) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redh

      at-1]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

      ilterChain.java:214) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

      alve.java:230) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

      alve.java:149) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(Secu

      rityContextAssociationValve.java:169) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.

      3.0.Final-redhat-14]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

      ava:145) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

      ava:97) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

      ve.java:102) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

      a:336) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

      :856) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

      ss(Http11Protocol.java:653) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redha

      t-1]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:92

      0) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]

      Caused by: javax.xml.ws.WebServiceException: Could not send Message.

              at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:14

      6) [cxf-rt-frontend-jaxws-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at com.sun.proxy.$Proxy98.getCorpClientHierarchy(Unknown Source)

              at com.aexp.gcst.cspp.adapter.gccp.getcorpclienthierarchy.getleghierarch

      y.LegHierarchyServiceAdapterImpl.callService(LegHierarchyServiceAdapterImpl.java

      :115) [adapter-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]

              at com.aexp.gcst.cspp.adapter.gccp.getcorpclienthierarchy.getleghierarch

      y.LegHierarchyServiceAdapterImpl.callService(LegHierarchyServiceAdapterImpl.java

      :35) [adapter-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]

              at com.aexp.gcst.cspp.adapter.WebServiceAdapter.call(WebServiceAdapter.j

      ava:81) [adapter-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]

              ... 45 more

      Caused by: java.io.IOException: java.net.URISyntaxException: Illegal character i

      n path at index 77: http://lvdma010.phx.aexp.com:80/profileweb/services/V1/GetCo

      rpClientHierarchy

       

       

              at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:46

      5) [cxf-rt-transports-http-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(Mes

      sageSenderInterceptor.java:46) [cxf-api-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept

      orChain.java:272) [cxf-api-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:565) [cxf

      -api-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474) [cxf-a

      pi-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377) [cxf-a

      pi-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330) [cxf-a

      pi-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) [

      cxf-rt-frontend-simple-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:13

      5) [cxf-rt-frontend-jaxws-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              ... 49 more

      Caused by: java.net.URISyntaxException: Illegal character in path at index 77: h

      ttp://lvdma010.phx.aexp.com:80/profileweb/services/V1/GetCorpClientHierarchy

       

       

              at java.net.URI$Parser.fail(URI.java:2829) [rt.jar:1.7.0_55]

              at java.net.URI$Parser.checkChars(URI.java:3002) [rt.jar:1.7.0_55]

              at java.net.URI$Parser.parseHierarchical(URI.java:3086) [rt.jar:1.7.0_55

      ]

              at java.net.URI$Parser.parse(URI.java:3034) [rt.jar:1.7.0_55]

              at java.net.URI.<init>(URI.java:595) [rt.jar:1.7.0_55]

              at org.apache.cxf.transport.http.HTTPConduit.setupURI(HTTPConduit.java:6

      69) [cxf-rt-transports-http-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:46

      3) [cxf-rt-transports-http-2.7.7.redhat-1.jar:2.7.7.redhat-1]

              ... 57 more