| CarnotUserService problem [message #856118] |
Wed, 25 April 2012 07:38  |
Mervyn Lovatt Messages: 5 Registered: April 2012 |
Junior Member |
|
|
Hi
I get an error when deploying a model as follows
Could not access HTTP invoker remote service at [http ://localhost:8081/dynweb7/remoting/CarnotUserService]; nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 404, status message = [Not Found]
Any suggestions what this could be (more below)
thanks
=====
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http ://localhost:8081/dynweb7/remoting/CarnotUserService]; nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 404, status message = [Not Found]
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 $Proxy2.login(Unknown Source)
at ag.carnot.workflow.runtime.spring.SpringServiceFactory.getNewServiceInstance(SpringServiceFactory.java:109)
at ag.carnot.workflow.runtime.beans.AbstractSessionAwareServiceFactory.getOrCreateService(AbstractSessionAwareServiceFactory.java:58)
at ag.carnot.workflow.runtime.beans.AbstractSessionAwareServiceFactory.startSession(AbstractSessionAwareServiceFactory.java:113)
at ag.carnot.workflow.runtime.beans.AbstractSessionAwareServiceFactory.getService(AbstractSessionAwareServiceFactory.java:46)
at ag.carnot.workflow.runtime.beans.DefaultServiceFactory.getQueryService(DefaultServiceFactory.java:56)
at ag.carnot.workflow.model.deploy.DeployModelDialog.<init>(DeployModelDialog.java:66)
at ag.carnot.workflow.model.deploy.DeployModelDialog.showDialog(DeployModelDialog.java:233)
at ag.carnot.workflow.model.deploy.ModelDeploymentTool.deployModel(ModelDeploymentTool.java:256)
at ag.carnot.workflow.model.deploy.ModelDeploymentTool.<init>(ModelDeploymentTool.java:173)
at ag.carnot.workflow.model.deploy.ModelDeploymentTool.main(ModelDeploymentTool.java:137)
Caused by: java.io.IOException: Did not receive successful HTTP response: status code = 404, status message = [Not Found]
at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.validateResponse(SimpleHttpInvokerRequestExecutor.java:146)
at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.doExecuteRequest(SimpleHttpInvokerRequestExecutor.java:65)
at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136)
at ag.carnot.workflow.runtime.spring.CarnotHttpInvokerRequestExecutor.executeRequest(CarnotHttpInvokerRequestExecutor.java:79)
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
|
|
|
|
|
|
| Re: CarnotUserService problem [message #885650 is a reply to message #858814] |
Wed, 13 June 2012 07:58  |
Shyam Prakash Messages: 11 Registered: June 2012 |
Junior Member |
|
|
Hi Mervyn,
Can you check if you have an entry in your tomcat/server.xml. This should look something like this
<Resource auth="Container" defaultAutoCommit="false" driverClassName="org.apache.derby.jdbc.EmbeddedDriver" maxActive="50" maxIdle="10" maxWait="5000" name="AuditTrail.DataSource" password="default_password" type="javax.sql.DataSource" url="jdbc:derby:default_db" username="default_username"/>
Note: I've replaced actual instance names with default_*
Also when you start the tomcat server, can you check if you get any error looking for a file carnot-audittrail.properties.
~Shyam
|
|
|
Powered by
FUDForum. Page generated in 0.01630 seconds