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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by VinayVeluri
, 2 years ago
Could not access HTTP invoker remote service at [https://localhost:8443/service/http/Aservice]; nested exception is org.apache.commons.httpclient.HttpException: Did not receive successful HTTP response: status code = 401, status message = [Full authentication is required to access this resource]
via hivmr.com by Unknown author, 1 year ago
Could not access HTTP invoker remote service at [https://********:xxxxx/yyyyyySO.action]; nested exception is java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
via hivmr.com by Unknown author, 1 year ago
Could not access HTTP invoker remote service at [https://********:xxxxx/yyyyyySO.action]; nested exception is java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
via Stack Overflow by PrepaidUser
, 2 years ago
Could not access HTTP invoker remote service at [https://<F5 host>:8443/<remote/end point url>]; nested exception is java.net.SocketException: Connection reset
via Stack Overflow by mikek
, 4 months ago
Could not access HTTP invoker remote service at [http:/127.0.0.1:8080/<servlet-context>/<servlet-name>/Server]; nested exception is java.lang.NullPointerException
via Stack Overflow by shashikanthb
, 2 years ago
Could not access HTTP invoker remote service at [http://company.sysclient.local:8080/SecurityMgmtServiceV1/FundsMgmt.service]; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
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.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.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.