Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.2.1
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-4140KimTypeInfoService cannot be accessed by "remote" KIM clients directly
      KULRICE-12954IT Failure ServiceCallClusterTest Could not connect to HTTP invoker remote service
      KULRICE-4666Evaluate "remote" KIM services
      KULRICE-4816Implement interaction with the service registry so that it goes over remote connection instead of direct database access
      KULRICE-4667Evaluate remote KIM services: analysis & decision
      KULRICE-2746No remote services available for client access when attempting to lookup '{KFS}KCB-MessagingService'
      KULRICE-4496Speed Test: Soap vs java serialization for our remoted services
      KULRICE-5224Convert RuleValidationAttribute to a remotable SOAP service
      KULRICE-3455Possible issues with remoting of KIM Type Services and attributes
      KULRICE-5319Implement caching on remote soap services

      Description

      I am having trouble initiating eSOC documents in STG due to the following error. This is coming from SISRICE's KIM layer. Is there a configuration change I can make so that we are not dependent on KFS?

      org.springframework.remoting.RemoteConnectFailureException: Cannot connect to HTTP invoker remote service at http://192.168.220.4:18888/kfs-stg/remoting/employeeDerivedRoleTypeService; nested exception is java.net.ConnectException: Connection refused
      Caused by: java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.$$YJP$$socketConnect(Native Method)
      at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:525)
      at sun.reflect.GeneratedMethodAccessor889.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:139)
      at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:124)
      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.executePostMethod(CommonsHttpInvokerRequestExecutor.java:165)
      at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:103)
      at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:134)
      at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:177)
      at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:154)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy592.shouldCacheRoleMembershipResults(Unknown Source)
      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.kuali.rice.ksb.messaging.bam.BAMClientProxy.invokeInternal(BAMClientProxy.java:55)
      at org.kuali.rice.core.proxy.BaseInvocationHandler.invoke(BaseInvocationHandler.java:59)
      at $Proxy593.shouldCacheRoleMembershipResults(Unknown Source)
      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.kuali.rice.ksb.messaging.BusClientFailureProxy.invokeInternal(BusClientFailureProxy.java:77)
      at org.kuali.rice.core.proxy.BaseInvocationHandler.invoke(BaseInvocationHandler.java:59)
      at $Proxy593.shouldCacheRoleMembershipResults(Unknown Source)
      at org.kuali.rice.kim.service.impl.RoleManagementServiceImpl.shouldCacheRole(RoleManagementServiceImpl.java:415)
      at org.kuali.rice.kim.service.impl.RoleManagementServiceImpl.filterRoleIdsByCachingAbility(RoleManagementServiceImpl.java:446)
      at org.kuali.rice.kim.service.impl.RoleManagementServiceImpl.principalHasRole(RoleManagementServiceImpl.java:366)
      at org.kuali.rice.kim.service.impl.PermissionServiceImpl.isAuthorizedByTemplateName(PermissionServiceImpl.java:210)
      at org.kuali.rice.kim.service.impl.PermissionServiceImpl.hasPermissionByTemplateName(PermissionServiceImpl.java:199)
      at org.kuali.rice.kim.service.impl.IdentityManagementServiceImpl.hasPermissionByTemplateName(IdentityManagementServiceImpl.java:501)
      at org.kuali.rice.kim.service.impl.IdentityManagementServiceImpl.isAuthorizedByTemplateName(IdentityManagementServiceImpl.java:516)
      at org.kuali.rice.kns.web.struts.action.KualiLookupAction.checkAuthorization(KualiLookupAction.java:72)
      at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:264)
      at org.kuali.rice.kns.web.struts.action.KualiLookupAction.execute(KualiLookupAction.java:156)
      at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:498)
      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
      at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:494)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:99)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      at edu.iu.uis.sis.session.servlet.SisActionServlet.process(SisActionServlet.java:22)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at edu.iu.uis.sis.session.servlet.SisSessionFilter.doFilter(SisSessionFilter.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at edu.iu.uis.cas.filter.CASFilter.redirectOrForwardChain(CASFilter.java:487)
      at edu.iu.uis.cas.filter.CASFilter.doFilterUnsynchronized(CASFilter.java:421)
      at edu.iu.uis.cas.filter.CASFilter.doFilter(CASFilter.java:400)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at edu.iu.uis.sis.session.servlet.SisRequestFilter.doFilter(SisRequestFilter.java:177)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:482)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Hide
        Saurabh Ajmera (Inactive) added a comment -

        Eric Westfal added a comment - 05/Apr/10 12:55 PM
        Mark, we've recently encountered this issue as a result of KFS coming online but us being unable to reach their services. I'm going to send an ESA request about this but also try and address this in the code because we would have a similar problem if KFS was just offline.
        [ Show » ]
        Eric Westfal added a comment - 05/Apr/10 12:55 PM Mark, we've recently encountered this issue as a result of KFS coming online but us being unable to reach their services. I'm going to send an ESA request about this but also try and address this in the code because we would have a similar problem if KFS was just offline.

        [ Permalink | Edit | Delete | « Hide ]
        Eric Westfal added a comment - 05/Apr/10 01:07 PM
        Mark, I just commited patched jars to lib-client in the iu-rice project. Can you give these a try and see if this resolves the issue for you? You should still see the exception in your logs logged at WARN (but only once).
        [ Show » ]
        Eric Westfal added a comment - 05/Apr/10 01:07 PM Mark, I just commited patched jars to lib-client in the iu-rice project. Can you give these a try and see if this resolves the issue for you? You should still see the exception in your logs logged at WARN (but only once).

        [ Permalink | Edit | Delete | « Hide ]
        Mark Fyffe added a comment - 05/Apr/10 01:59 PM
        Thanks Eric. I'll update the jars and let you know how it goes.

        Mark
        [ Show » ]
        Mark Fyffe added a comment - 05/Apr/10 01:59 PM Thanks Eric. I'll update the jars and let you know how it goes. Mark

        [ Permalink | Edit | Delete | « Hide ]
        Mark Fyffe added a comment - 05/Apr/10 04:23 PM
        I updated the rice jars and redeployed sisrice-stg. I can see the error now at WARN level and everything is working.

        Thanks again, Eric.
        [ Show » ]
        Mark Fyffe added a comment - 05/Apr/10 04:23 PM I updated the rice jars and redeployed sisrice-stg. I can see the error now at WARN level and everything is working. Thanks again, Eric.

        refer: https://uisapp2.iu.edu/jira-prd/browse/EN-1693

        Show
        Saurabh Ajmera (Inactive) added a comment - Eric Westfal added a comment - 05/Apr/10 12:55 PM Mark, we've recently encountered this issue as a result of KFS coming online but us being unable to reach their services. I'm going to send an ESA request about this but also try and address this in the code because we would have a similar problem if KFS was just offline. [ Show » ] Eric Westfal added a comment - 05/Apr/10 12:55 PM Mark, we've recently encountered this issue as a result of KFS coming online but us being unable to reach their services. I'm going to send an ESA request about this but also try and address this in the code because we would have a similar problem if KFS was just offline. [ Permalink | Edit | Delete | « Hide ] Eric Westfal added a comment - 05/Apr/10 01:07 PM Mark, I just commited patched jars to lib-client in the iu-rice project. Can you give these a try and see if this resolves the issue for you? You should still see the exception in your logs logged at WARN (but only once). [ Show » ] Eric Westfal added a comment - 05/Apr/10 01:07 PM Mark, I just commited patched jars to lib-client in the iu-rice project. Can you give these a try and see if this resolves the issue for you? You should still see the exception in your logs logged at WARN (but only once). [ Permalink | Edit | Delete | « Hide ] Mark Fyffe added a comment - 05/Apr/10 01:59 PM Thanks Eric. I'll update the jars and let you know how it goes. Mark [ Show » ] Mark Fyffe added a comment - 05/Apr/10 01:59 PM Thanks Eric. I'll update the jars and let you know how it goes. Mark [ Permalink | Edit | Delete | « Hide ] Mark Fyffe added a comment - 05/Apr/10 04:23 PM I updated the rice jars and redeployed sisrice-stg. I can see the error now at WARN level and everything is working. Thanks again, Eric. [ Show » ] Mark Fyffe added a comment - 05/Apr/10 04:23 PM I updated the rice jars and redeployed sisrice-stg. I can see the error now at WARN level and everything is working. Thanks again, Eric. refer: https://uisapp2.iu.edu/jira-prd/browse/EN-1693

          People

          • Assignee:
            Saurabh Ajmera (Inactive)
            Reporter:
            Saurabh Ajmera (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel