-
1. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
jhrobbin May 10, 2012 4:49 PM (in response to ranmadxs)This is a great example. Thanks!
I'm trying to run the example on Tomcat in Eclipse and I'm getting errors in the GreetController. I'd be most appreciative to get your thoughts on what might be wrong.
GreetController calls Process.instance().getDefinitions()
Process.init() authenticates and then does a Post on "user.management.secure.sid"
The BPM Console Server throws an errors when it receives this post:
DEBUG org.jboss.resteasy.core.SynchronousDispatcher:75 - Failed executing POST /identity/secure/sid
org.jboss.resteasy.spi.MethodNotAllowedException: No resource method found for POST, return 405 with Allow header
It's true the BPM Console only supports Get on /identity/secure/sid.
Many thanks for any input you can provide.
-
2. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
ranmadxs May 11, 2012 6:20 PM (in response to jhrobbin)Yes that is the problem, i need change type POST -> GET and that solve the problem.
-
3. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
duttagoutam May 17, 2012 5:36 AM (in response to ranmadxs)Hi Edgar,
Your sample working in JBOSS 7.0.1 and JBPM 5.2, after modifying the "processResources.properties"
server.info.resources=/gwt-console-server/rs/server/resources/jbpm
. -
4. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
sarkars May 17, 2012 9:38 AM (in response to ranmadxs)Thanks Edger for your example.This is Superb!
But I am not able to see the process status in the image.Thats might be javascript issue.Could you please help me to fix this?
-
5. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
ranmadxs May 17, 2012 11:55 AM (in response to sarkars)(Sorry my bad english)
I think this is because you process may be wrong or the JBPM diagram is not fine to the gwt-console.
But you can see raphael is the javascript library that i use to solve the position into the image (i test this in firefox 3) i use only the coordinates from gwt console i use the next services:
/gwt-console-server/rs/process/definition/{id}/image
/gwt-console-server/rs/process/instance/{id}/activeNodeInfo
And i merge this whit raphael.
-
6. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
sarkars May 18, 2012 1:12 AM (in response to ranmadxs)Thanks a lot for your guidence !
I had done a small correction in the instance.jsp page and it's working fine.
-
7. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
duttagoutam May 31, 2012 6:42 AM (in response to ranmadxs)The Only problem is, when i create project in eclipse and keep the .js file in js directory, Eclipse complains about the javascript is having error. Due to which, eclipse project shows problem in the project. Is it possible for you to supply/give the error free javascript files?
-
8. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
kavinks Jul 1, 2012 1:52 AM (in response to ranmadxs)Hi,
i deployed web-example in tomcat 7 server and got the below error when i try to load the URL.http://localhost:8080/web-example
org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver handleNoSuchRequestHandlingMethod
WARNING: No matching handler method found for servlet request: path '/greet', method 'GET', parameters map[[empty]]
processResource.properties
process.host=localhost:8080
process.urlContext=/gwt-console-server/rs
process.user=krisv
process.password=krisv
process.j_security_check=/j_security_check
please help to solve this.
Thanks,
kavin
-
9. Re: Example JBPM Console Rest Client (plus example maven SpringMVC webapp)
kavinks Jul 3, 2012 11:42 AM (in response to kavinks)Thanks for the sample edgar.
The pages loaded successfully. nice lol.
Thanks,
kavin