Hi Mauricio Salatino,I downloaded the jbpm installer file fromThen I installed the jbpm engine by following the steps in "jbpm-6.0.1.Final-installer-full/jbpm-installer/install.html"Then I started the jbpm engine by using the command "ant start.demo.noeclipse" since I have installed my eclipse in another place.I tried the restful API described by http://localhost:8080/jbpm-console/rest-api.jspBut i got the following error:
org.jboss.resteasy.spi.LoggableFailure: Unable to find contextual data of type: javax.ws.rs.core.HttpHeaders org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:53) com.sun.proxy.$Proxy182.getRequestHeaders(Unknown Source) org.kie.services.remote.rest.ResourceBase.getVariant(ResourceBase.java:118) org.kie.services.remote.rest.exception.DescriptiveExceptionHandler.toResponse(DescriptiveExceptionHandler.java:66) org.kie.services.remote.rest.exception.DescriptiveExceptionHandler.toResponse(DescriptiveExceptionHandler.java:25) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:44) org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) org.kie.services.remote.rest.exception.DescriptiveExceptionHandler$Proxy$_$$_WeldClientProxy.toResponse(DescriptiveExceptionHandler$Proxy$_$$_WeldClientProxy.java) org.jboss.resteasy.core.SynchronousDispatcher.executeExceptionMapper(SynchronousDispatcher.java:324) org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:229) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:123) org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70) org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)Then I unzip the \jbpm-6.0.1.Final-installer-full\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments\jbpm-console.war.I found the web.xml has a servlet mapping:<servlet-mapping> <servlet-name>javax.ws.rs.core.Application</servlet-name> <url-pattern>/rest/*</url-pattern> </servlet-mapping>But I never find a corresponding servlet. so I guess restful API has not supported in this version.Can you give me some advise?Best Regards,Zheng.On 22 March 2014 18:18, Mauricio Salatino <salaboy@gmail.com> wrote:
Hi Zheng, which war are you using? Where did you get it?On Fri, Mar 21, 2014 at 2:07 AM, Zheng Wang <wangzhdemail@gmail.com> wrote:
_______________________________________________Dear Devers,I'm now using restful API in jBPM 6.0.1-Final.I found I cannot use the RESTful API. And after reading the .war file, I found the Servlet for processing URL pattern /rest/* is not supported yet.Can anyone give me some support?Best Regards,Zheng.--Zheng WangADAPT Lab, SEIEE Building 3-341Department of Computer Science and EngineeringShanghai Jiao Tong University, CHINATel.: +86-188-1755-3397Email: wangzhdemail@gmail.com
jbpm-dev mailing list
jbpm-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev
--- MyJourney @ http://salaboy.com- Co-Founder @ http://www.jugargentina.org
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio ---Zheng WangADAPT Lab, SEIEE Building 3-341Department of Computer Science and EngineeringShanghai Jiao Tong University, CHINA
Tel.: +86-188-1755-3397Email: wangzhdemail@gmail.com