Problems to deploy the ACME Workflow Model from the Support Example tutorial [message #1712620] |
Mon, 26 October 2015 19:31 |
|
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.
/TB
|
|
|
|
Re: Problems to deploy the ACME Workflow Model from the Support Example tutorial [message #1712685 is a reply to message #1712634] |
Tue, 27 October 2015 13:30 |
|
Hello Tanmoy
Thank you for responding. I am trying to deploy the model by right-clicking on ACME Workflow Model in the Outline view and then clicking on Deploy Model in the context menu. I guess this invokes Eclipse's deployer, right?
I opened the WEB-INF/classes/carnot-spring-client.properties file in the .metadata folder in my workspace, its contents are as follows:
#Infinity Spring Remoting
#Mon Oct 26 07:57:35 CST 2015
Carnot.Spring.RemotingUrl=http\://localhost\:8080/Support-Case/remoting
I must point out that the syntax of the URL seemed weird to me at first sight, so I set Carnot.Spring.RemotingUrl manually to http://localhost\:8080/Support-Case/remoting using a text editor and tried to deploy again. The same exception occurred and Eclipse set the value of Carnot.Spring.RemotingUrl back to http\://localhost\:8080/Support-Case/remoting. Any idea of what to do next?
I appreciate your help. Kindest regards.
/TB
|
|
|
|
|
|
|
|
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 06:32 |
Paul Raes Messages: 1 Registered: October 2015 |
Junior Member |
|
|
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
|
|
|
Re: Problems to deploy the ACME Workflow Model from the Support Example tutorial [message #1712820 is a reply to message #1712758] |
Wed, 28 October 2015 14:03 |
|
Hello Raj
Thanks for your support. Every time I start Tomcat I see several messages in the Console view, lots of them in red. This same occurs when I try to deploy the model.
Attached to this reply I am sending the following log files:
1. The file stardust.log as you requested.
2. The file tomcat-start.log containing the output of the Tomcat starting process in the Console view. NOTE: I am not sure the log contains all of the resulting messages. It seemed to me as if some messages were lost because the Console view had limited space.
3. The file deploy.log contains the output of the deployment step for my model in the Console view.
Please, let me know if you need something else.
Kindest regards.
/TB
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04575 seconds