Problems to deploy the ACME Workflow Model from the Support Example tutorial [message #1712620] |
Mon, 26 October 2015 15:31  |
Eclipse User |
|
|
|
Hello dear community, I hope you can assist me to solve my problem.
I'm very new to Stardust and started with the Support Case tutorial. I haven't been able to complete such tutorial because I get the following error when deploying ACME Workflow Model:
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://localhost:8080/Support-Case/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:212)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:145)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy8.login(Unknown Source)
at org.eclipse.stardust.engine.api.spring.SpringServiceFactory.getNewServiceInstance(SpringServiceFactory.java:116)
at org.eclipse.stardust.engine.core.runtime.beans.AbstractSessionAwareServiceFactory.getOrCreateService(AbstractSessionAwareServiceFactory.java:65)
at org.eclipse.stardust.engine.core.runtime.beans.AbstractSessionAwareServiceFactory.startSession(AbstractSessionAwareServiceFactory.java:120)
at org.eclipse.stardust.engine.core.runtime.beans.AbstractSessionAwareServiceFactory.getService(AbstractSessionAwareServiceFactory.java:53)
at org.eclipse.stardust.engine.core.runtime.beans.DefaultServiceFactory.getQueryService(DefaultServiceFactory.java:60)
at org.eclipse.stardust.modeling.deploy.DeployModelDialog.<init>(DeployModelDialog.java:73)
at org.eclipse.stardust.modeling.deploy.DeployModelDialog.showDialog(DeployModelDialog.java:240)
at org.eclipse.stardust.modeling.deploy.ModelDeploymentTool.deployModel(ModelDeploymentTool.java:318)
at org.eclipse.stardust.modeling.deploy.ModelDeploymentTool.<init>(ModelDeploymentTool.java:220)
at org.eclipse.stardust.modeling.deploy.ModelDeploymentTool.main(ModelDeploymentTool.java:142)
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:179)
at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.doExecuteRequest(SimpleHttpInvokerRequestExecutor.java:92)
at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136)
at org.eclipse.stardust.engine.api.spring.CarnotHttpInvokerRequestExecutor.executeRequest(CarnotHttpInvokerRequestExecutor.java:87)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:192)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:174)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:142)
... 13 more
I'm using Windows 10, Java JDK/JRE 1.8.0_65, Eclipse Mars, Stardust 3.0.1.v20150916-0728 and Apache Tomcat 7.0.65. I considered the following lines of research to solve the problem:
1. I read the thread https://www.eclipse.org/forums/index.php/t/478520/ and checked whether the derby.jar files were located in the lib folder within the Tomcat installation folder and found that the files carnot-derby.jar, derbynet.jar and derby.jar are located in such folder. Also, I didn't get any error when creating the Audit Trail database. I am not sure the thread describes an actual fix and, thus, got stuck. Any suggestion from the participants in such thread?
2. By reading the bug reports https://bugs.eclipse.org/bugs/show_bug.cgi?id=477289 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=468611 I realized that Stardust uses Rhino Javascript engine and Java 8 comes with Nashorn Javascript engine. So, I built bsf-engines.jar, as indicated in the section Support Tomcat Deployment of Stardust on Java 8 in the Release Notes 3.0.1. My problem here is that I don't know what to do to "manually include the bsf-engines.jar file in the deployment". How can I do it? Will this fix my problem when deploying the model?
3. My Eclipse environment also has BIRT Project 4.5.0.v201506092134 installed. Would this plugin interfere with Stardust in some way?
I will appreciate any help. Thank you very much.
|
|
|
|
|
|
|
|
|
|
Re: Problems to deploy the ACME Workflow Model from the Support Example tutorial [message #1712761 is a reply to message #1712758] |
Wed, 28 October 2015 02:32   |
Eclipse User |
|
|
|
Hello every one,
I'm a complete novice on everthing Java, html, etc... I would like to get into it and installed Eclipse to start learning and putting in practice what I learn about Java, html, xml an webdeployed applications. In the first place I would like to put my BPM in her and from those continue further to get some applications up and running, most probably together with some specialist in this area. Having my BPM in eclipse should make it easier and more coherent to go from BPM to applications. So far my background
I try to work through the turorial, but got stuck on the same or similar problem mentioned by Tomas. When I try to deploy the "Support-Case" example that I have set up working through the Stardust tutorial, I also get the error "Could not access HTTP invoker remote service at [http://localhost:8080/Support-Case/remoting/CarnotUserService]; nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 404, status message = [Not Found]".
The log of the console pane is in the attached file.
I sincerely hope someone over here could help me to get on with it.
Kind regards.
Paul Raes
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05570 seconds