org.springframework.remoting.RemoteAccessException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • It seems there is a problem when we take too much time to make the noddle test. I took more than 5 minutes to make a test in cognitive application and I even went afk for a few, and when I tried to end the noddle test, I got an error message with the following stack trace. I believe this might be a problem with the session end time, because otherwise, the noddle test works perfecly well. INFO: Executing runner 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main GRAVE: Unexpected error while executing runner org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:211) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy0.addOutputParameterValues(Unknown Source) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.sendDataToServer(NoddleTestInstrumentRunner.java:194) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:129) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:83) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51) 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 com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.validateResponse(CommonsHttpInvokerRequestExecutor.java:213) at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:130) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:191) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:173) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:141) ... 16 more 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main INFO: Shutting down runner 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main GRAVE: Unexpected error while initializing runner {} org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:211) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy0.instrumentRunnerError(Unknown Source) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:54) 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 com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.validateResponse(CommonsHttpInvokerRequestExecutor.java:213) at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:130) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:191) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:173) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:141) ... 13 more 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main INFO: Destroying application context 2009-03-30 10:32:26 org.springframework.context.support.AbstractApplicationContext doClose INFO: Closing org.springframework.context.support.GenericApplicationContext@164b09c: display name [org.springframework.context.support.GenericApplicationContext@164b09c]; startup date [Mon Mar 30 09:53:03 EDT 2009]; root of context hierarchy 2009-03-30 10:32:26 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c6eff5: defining beans [instrumentExecutionService,clientLoggingService,cookieRequestExecutor,remoteHandler,locale,instrumentRunner,externalAppHelper]; root of factory hierarchy #### Java Web Start Error: #### Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle]
    via by Alice Carey,
  • It seems there is a problem when we take too much time to make the noddle test. I took more than 5 minutes to make a test in cognitive application and I even went afk for a few, and when I tried to end the noddle test, I got an error message with the following stack trace. I believe this might be a problem with the session end time, because otherwise, the noddle test works perfecly well. INFO: Executing runner 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main GRAVE: Unexpected error while executing runner org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:211) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy0.addOutputParameterValues(Unknown Source) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.sendDataToServer(NoddleTestInstrumentRunner.java:194) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:129) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:83) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51) 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 com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.validateResponse(CommonsHttpInvokerRequestExecutor.java:213) at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:130) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:191) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:173) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:141) ... 16 more 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main INFO: Shutting down runner 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main GRAVE: Unexpected error while initializing runner {} org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:211) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy0.instrumentRunnerError(Unknown Source) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:54) 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 com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.validateResponse(CommonsHttpInvokerRequestExecutor.java:213) at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:130) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:191) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:173) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:141) ... 13 more 2009-03-30 10:32:26 org.obiba.onyx.jade.client.JnlpClient main INFO: Destroying application context 2009-03-30 10:32:26 org.springframework.context.support.AbstractApplicationContext doClose INFO: Closing org.springframework.context.support.GenericApplicationContext@164b09c: display name [org.springframework.context.support.GenericApplicationContext@164b09c]; startup date [Mon Mar 30 09:53:03 EDT 2009]; root of context hierarchy 2009-03-30 10:32:26 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c6eff5: defining beans [instrumentExecutionService,clientLoggingService,cookieRequestExecutor,remoteHandler,locale,instrumentRunner,externalAppHelper]; root of factory hierarchy #### Java Web Start Error: #### Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle]
    via by Alice Carey,
    • org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:8080/onyx-cartagene/remoting/InstrumentExecutionService]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:211) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy0.addOutputParameterValues(Unknown Source) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.sendDataToServer(NoddleTestInstrumentRunner.java:194) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:129) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:83) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51) 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 com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 500, status message = [Error creating bean with name '/InstrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-export.xml]: Cannot resolve reference to bean 'instrumentExecutionService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instrumentExecutionService' defined in class path resource [META-INF/spring/remote-api-server.xml]: Cannot resolve reference to bean 'activeInstrumentRunService' while setting bean property 'activeInstrumentRunService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeInstrumentRunService' defined in class path resource [META-INF/spring/jade-core/beans.xml]: Cannot resolve reference to bean 'userSessionService' while setting bean property 'userSessionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSessionService' defined in ServletContext resource [/WEB-INF/spring/context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle] at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.validateResponse(CommonsHttpInvokerRequestExecutor.java:213) at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:130) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:191) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:173) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:141) ... 16 more

    Users with the same issue

    Unknown visitor1 times, last one,