From sorrol at 163.com Mon Mar 3 02:00:59 2014 From: sorrol at 163.com (sorrol at 163.com) Date: Mon, 3 Mar 2014 15:00:59 +0800 Subject: [jbpm-dev] About Organization Structure development Message-ID: <201403031500367589761@163.com> Hi,I'm sorrol.You Know,the JBPM5.4 don't have Organization Structure.So,I hope to do some expansion on User-Group Model of the original.I want to Know,do you have some good advice in this wok.(eg:which interface could be extended...) thank you very much john sorrol carefully -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140303/c68a5565/attachment.html From salaboy at gmail.com Mon Mar 3 04:19:57 2014 From: salaboy at gmail.com (Mauricio Salatino) Date: Mon, 3 Mar 2014 09:19:57 +0000 Subject: [jbpm-dev] About Organization Structure development In-Reply-To: <201403031500367589761@163.com> References: <201403031500367589761@163.com> Message-ID: Hi Sorrol, We are usually not answering here, because this is a jBPM Developers (the one that works in the framework itself) and not a User mailing list. But take a look at the UserGroupCallback interface to start looking at how to extend it to fulfil your needs. Please write to the user forums next time. Regards On Mon, Mar 3, 2014 at 7:00 AM, sorrol at 163.com wrote: > Hi,I'm sorrol.You Know,the JBPM5.4 don't have Organization > Structure.So,I hope to do some expansion on User-Group Model of the > original.I want to Know,do you have some good advice in this wok.(eg:which > interface could be extended...) > > thank you very much > > john sorrol carefully > > > _______________________________________________ > jbpm-dev mailing list > jbpm-dev at 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 - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140303/29995b08/attachment.html From ajay.k.sahani at jpmorgan.com Thu Mar 13 11:01:30 2014 From: ajay.k.sahani at jpmorgan.com (Sahani, Ajay K) Date: Thu, 13 Mar 2014 15:01:30 +0000 Subject: [jbpm-dev] Urgent: jBPM 6 query Message-ID: <4A5E5B30662094459F6812AFDD885CB40A66336B@SPSCMX004.exchad.jpmchase.net> Hi jBPM team, We are exploring jBPM 6 to use it in our project. I have following question. Can jBPM run on tomcat 7.x (web container). If yes, then can we leverage all features of jBPM6 or are there any features which are available only when jBPM is running on an application server like JBoss. Any documentation on integrating jBPM6 with tomcat 7.x and Oracle 11g will be helpful. Look forward to your reply on this. Regards, Ajay This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140313/eb40e833/attachment.html From wangzhdemail at gmail.com Thu Mar 20 22:07:59 2014 From: wangzhdemail at gmail.com (Zheng Wang) Date: Fri, 21 Mar 2014 10:07:59 +0800 Subject: [jbpm-dev] RESTful API In JBPM 6 Message-ID: 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 Wang ADAPT Lab, SEIEE Building 3-341 Department of Computer Science and Engineering Shanghai Jiao Tong University, CHINA Tel.: +86-188-1755-3397 Email: wangzhdemail at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140321/0e8f707a/attachment-0001.html From salaboy at gmail.com Sat Mar 22 06:18:31 2014 From: salaboy at gmail.com (Mauricio Salatino) Date: Sat, 22 Mar 2014 10:18:31 +0000 Subject: [jbpm-dev] RESTful API In JBPM 6 In-Reply-To: References: Message-ID: Hi Zheng, which war are you using? Where did you get it? On Fri, Mar 21, 2014 at 2:07 AM, Zheng Wang 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 Wang > ADAPT Lab, SEIEE Building 3-341 > Department of Computer Science and Engineering > Shanghai Jiao Tong University, CHINA > > Tel.: +86-188-1755-3397 > Email: wangzhdemail at gmail.com > > _______________________________________________ > jbpm-dev mailing list > jbpm-dev at 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 - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140322/e7a3dfce/attachment.html From missedone at msn.com Sun Mar 23 12:40:41 2014 From: missedone at msn.com (TanXuQing) Date: Sun, 23 Mar 2014 16:40:41 +0000 Subject: [jbpm-dev] [HELP] kie workbench does not work behind of nginx reverse proxy In-Reply-To: References: Message-ID: Hi Folks i know this is the Dev maillist, but i'm not able to post my question on the forum due to 'frequency limit' issue, not sure what does the error mean. in my case, I successfully setup BPMS on EAP 6.1.1 and can access it via port 8080 (login, import 'Evaluation' demo, and start process instance, check status, etc.), which means it's functional working. then i tried to setup nginx in front of BPMS as the reverse proxy, i can load the login page via port 80, but the problem is after i input the username/password and press 'enter', it never bring up the Kie workbench page, it always showing "please wait, loading appliation" do you have any idea how could this happened? thanks in advanced! below is my nginx configuration: cat /etc/nginx/conf.d/80.conf include /etc/nginx/conf.d/upstreams/*.conf; server { listen 80; server_name *.x.y.z; include /etc/nginx/conf.d/locations/http/*.conf;} cat /etc/nginx/conf.d/upstreams/*.conf upstream us_8080 { server 127.0.0.1:8080;} cat /etc/nginx/conf.d/locations/http/*.conf location /business-central { proxy_pass http://us_8080; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;}location /dashbuilder { proxy_pass http://us_8080; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140323/11651d76/attachment.html From wangzhdemail at gmail.com Sun Mar 23 21:44:30 2014 From: wangzhdemail at gmail.com (Zheng Wang) Date: Mon, 24 Mar 2014 09:44:30 +0800 Subject: [jbpm-dev] RESTful API In JBPM 6 In-Reply-To: References: Message-ID: Hi Mauricio Salatino, I downloaded the jbpm installer file from http://sourceforge.net/projects/jbpm/files/jBPM%206/jbpm-6.0.1.Final/jbpm-6.0.1.Final-installer-full.zip/download Then 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.jsp But 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: javax.ws.rs.core.Application /rest/* 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 wrote: > Hi Zheng, which war are you using? Where did you get it? > > > On Fri, Mar 21, 2014 at 2:07 AM, Zheng Wang 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 Wang >> ADAPT Lab, SEIEE Building 3-341 >> Department of Computer Science and Engineering >> Shanghai Jiao Tong University, CHINA >> >> Tel.: +86-188-1755-3397 >> Email: wangzhdemail at gmail.com >> >> _______________________________________________ >> jbpm-dev mailing list >> jbpm-dev at 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 Wang ADAPT Lab, SEIEE Building 3-341 Department of Computer Science and Engineering Shanghai Jiao Tong University, CHINA Tel.: +86-188-1755-3397 Email: wangzhdemail at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140324/d6e9f457/attachment.html From ajay.k.sahani at jpmorgan.com Mon Mar 24 04:41:03 2014 From: ajay.k.sahani at jpmorgan.com (Sahani, Ajay K) Date: Mon, 24 Mar 2014 08:41:03 +0000 Subject: [jbpm-dev] JBPM 6:Urgent Query In-Reply-To: References: Message-ID: <4A5E5B30662094459F6812AFDD885CB40A664F40@SPSCMX004.exchad.jpmchase.net> Hi Mauricio Salatino, We are exploring jBPM 6 to use it in our project. I have following question. 1. Can jBPM run on tomcat 7.x (web container). If yes, then can we leverage all features of jBPM6 or are there any features which are available only when jBPM is running on an application server like JBoss. 2. I am trying to start a process remotely using rest calls but without success. public static void main(String args[]) { String user = "krisv"; String password = "krisv"; try { URL url = new URL( "http://localhost:8080/jbpm-console/rest/runtime/com.jpmm:jbpm:1.0/process/jbpm.firstprocess/start"); String userPassword = user + ":" + password; String encoding = new sun.misc.BASE64Encoder().encode(userPassword.getBytes()); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("POST"); conn.setRequestProperty("Content-Type", "application/json"); conn.setRequestProperty("Authorization", "Basic " + encoding); BufferedReader br = new BufferedReader(new InputStreamReader( (conn.getInputStream()))); String output; System.out.println("Output from Server .... \n"); while ((output = br.readLine()) != null) { System.out.println(output); } conn.disconnect(); } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } But getting following exception: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/jbpm-console/rest/runtime/com.jpmm:jbpm:1.0/process/jbpm.firstprocess/start at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at com.sample.ProcessTest.main(ProcessTest.java:30) Can you please help. Regards, Ajay This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140324/4cdb4ed7/attachment-0001.html From salaboy at gmail.com Mon Mar 24 05:08:16 2014 From: salaboy at gmail.com (Mauricio Salatino) Date: Mon, 24 Mar 2014 09:08:16 +0000 Subject: [jbpm-dev] RESTful API In JBPM 6 In-Reply-To: References: Message-ID: Can you share your server.log file? maybe you are not waiting until the application is fully deployed. Take a look at the server.log file to see if the application is fully deployed. REST endpoints are supported in that version. On Mon, Mar 24, 2014 at 1:44 AM, Zheng Wang wrote: > Hi Mauricio Salatino, > > I downloaded the jbpm installer file from > > http://sourceforge.net/projects/jbpm/files/jBPM%206/jbpm-6.0.1.Final/jbpm-6.0.1.Final-installer-full.zip/download > > Then 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.jsp > But 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: > > > > javax.ws.rs.core.Application > > /rest/* > > > > > 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 wrote: > >> Hi Zheng, which war are you using? Where did you get it? >> >> >> On Fri, Mar 21, 2014 at 2:07 AM, Zheng Wang 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 Wang >>> ADAPT Lab, SEIEE Building 3-341 >>> Department of Computer Science and Engineering >>> Shanghai Jiao Tong University, CHINA >>> >>> Tel.: +86-188-1755-3397 >>> Email: wangzhdemail at gmail.com >>> >>> _______________________________________________ >>> jbpm-dev mailing list >>> jbpm-dev at 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 Wang > ADAPT Lab, SEIEE Building 3-341 > Department of Computer Science and Engineering > Shanghai Jiao Tong University, CHINA > > Tel.: +86-188-1755-3397 > Email: wangzhdemail at gmail.com > -- - MyJourney @ http://salaboy.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino "Salaboy" Mauricio - -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20140324/f2fdb308/attachment.html