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]

JIRA | Alice Carey | 8 years ago
  1. 0

    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]

    JIRA | 8 years ago | 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]
  2. 0

    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]

    JIRA | 8 years ago | 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]
  3. 0

    Accessing queues with non-default visibilityTimeouts

    Google Groups | 8 years ago | shlomo
    com.xerox.amazonws.sqs2.SQSException: Client error : (QueueAlreadyExists) A queue already exists with the same name and a different visibility timeout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exceptions but not error reports when trying to edit AMI attributes of an accessible image

    Eclipse Bugzilla | 8 years ago | mathias.stuempert
    java.lang.reflect.InvocationTargetException
  6. 0

    Unable to get event - Unexpected end of stream

    davmail | 2 years ago | ancientechie
    org.apache.commons.httpclient.HttpException: Unable to get event AAMkADQ1ZGVmOGM2LTkyZGUtNDhiNi1hZTMzLWM3ZGZkZjVjZjQ5MQBGAAAAAABRvj1cOKVVQ6tJCzl3JOtnBwDB227poslMSbmwmph3P1xXAAAAbbrnAAAv3RQ9R_nfRZQ05oWVqL4DAAEicc_jAAA=.EML subject: WAN - Weekly Operations Call (WAN) at null: Unexpected end of stream

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Spring
      HttpInvokerClientInterceptor.invoke
      1. org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.validateResponse(CommonsHttpInvokerRequestExecutor.java:213)
      2. org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:130)
      3. org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136)
      4. org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:191)
      5. org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:173)
      6. org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:141)
      6 frames
    3. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    4. Unknown
      $Proxy0.addOutputParameterValues
      1. $Proxy0.addOutputParameterValues(Unknown Source)
      1 frame
    5. org.obiba.onyx
      JnlpClient.main
      1. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.sendDataToServer(NoddleTestInstrumentRunner.java:194)
      2. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:129)
      3. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:83)
      4. org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. com.sun.javaws
      Launcher.run
      1. com.sun.javaws.Launcher.executeApplication(Unknown Source)
      2. com.sun.javaws.Launcher.executeMainClass(Unknown Source)
      3. com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
      4. com.sun.javaws.Launcher.run(Unknown Source)
      4 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame