<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 3/13/12 12:03 AM, Cristiano Gavião wrote:
<blockquote cite="mid:4F5EC727.1020300@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi again,<br>
<br>
Well, I already did this before. But now I've discovered that its
working when called from a file inside a guvnor package. but not
directly in the browser..<br>
<br>
But I got a error that prevents the model (see the attached
picture) saved properly. at least when I tried to open the saved
file I got a black canvas.<br>
</blockquote>
This is a bug we're fixing right now - Do not currently use the
morphing menu to convert a Task node to a Reusable Subprocess;
rather drag the reusable subprocess onto the canvas from the stencil
shape repository itself (under Activities) and connect them. We will
have this fixed for the 2.1 Designer release.<br>
<br>
Thanks.<br>
<blockquote cite="mid:4F5EC727.1020300@gmail.com" type="cite"> <br>
<blockquote type="cite">00:29:06,846 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/designer].[UUIDBasedRepositoryServlet]]
(http--127.0.0.1-8080-6) Servlet.service() for servlet
UUIDBasedRepositoryServlet threw exception:
java.lang.IllegalArgumentException: No enum const class
org.jbpm.designer.bpmn2.impl.Bpmn20Stencil.ReusableSubprocess_None<br>
at java.lang.Enum.valueOf(Enum.java:196) [:1.6.0_29]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn20Stencil.valueOf(Bpmn20Stencil.java:35)
[classes:]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn20Stencil.createElement(Bpmn20Stencil.java:134)
[classes:]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.createBaseElement(Bpmn2JsonUnmarshaller.java:3670)
[classes:]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshallItem(Bpmn2JsonUnmarshaller.java:1628)
[classes:]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshallItem(Bpmn2JsonUnmarshaller.java:1553)
[classes:]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshall(Bpmn2JsonUnmarshaller.java:223)
[classes:]<br>
at
org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.unmarshall(Bpmn2JsonUnmarshaller.java:199)
[classes:]<br>
at
org.jbpm.designer.web.profile.impl.JbpmProfileImpl$1.parseModel(JbpmProfileImpl.java:222)
[classes:]<br>
at
org.jbpm.designer.web.repository.impl.UUIDBasedJbpmRepository.toXML(UUIDBasedJbpmRepository.java:63)
[classes:]<br>
at
org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doPost(UUIDBasedRepositoryServlet.java:134)
[classes:]<br>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]<br>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]<br>
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
[classes:]<br>
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]<br>
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at java.lang.Thread.run(Thread.java:680) [:1.6.0_29]<br>
<br>
00:29:06,850 INFO [stdout] (http--127.0.0.1-8080-4) ERROR 13-03
00:29:06,849 (LoggingHelper.java:error:74) Server returned
HTTP response code: 500 for URL: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost:8080/designer/uuidRepository?profile=jbpm&action=toXML&pp=Log%2CEmail">http://localhost:8080/designer/uuidRepository?profile=jbpm&action=toXML&pp=Log%2CEmail</a><br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4)
java.io.IOException: Server returned HTTP response code: 500 for
URL: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost:8080/designer/uuidRepository?profile=jbpm&action=toXML&pp=Log%2CEmail">http://localhost:8080/designer/uuidRepository?profile=jbpm&action=toXML&pp=Log%2CEmail</a><br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.serialize(BPMN2ProcessHandler.java:159)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:124)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:133)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:153)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
00:29:06,851 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
java.lang.reflect.Method.invoke(Method.java:597)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.util.Reflections.invoke(Reflections.java:22)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)<br>
00:29:06,852 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.drools.guvnor.server.RepositoryAssetService_$$_javassist_seam_8.checkinVersion(RepositoryAssetService_$$_javassist_seam_8.java)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
org.drools.guvnor.server.RepositoryServiceServlet.checkinVersion(RepositoryServiceServlet.java:635)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
00:29:06,853 INFO [stdout] (http--127.0.0.1-8080-4) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
java.lang.reflect.Method.invoke(Method.java:597)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:754)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)<br>
00:29:06,854 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
00:29:06,855 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
00:29:06,856 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)<br>
00:29:06,856 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)<br>
00:29:06,856 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)<br>
00:29:06,856 INFO [stdout] (http--127.0.0.1-8080-4) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)<br>
00:29:06,856 INFO [stdout] (http--127.0.0.1-8080-4) at
java.lang.Thread.run(Thread.java:680)<br>
00:29:07,055 INFO [stdout] (http--127.0.0.1-8080-4) (null: -1,
-1): Premature end of file.<br>
00:29:07,140 INFO [org.jbpm.designer.server.EditorHandler]
(http--127.0.0.1-8080-4) Performing diagram information
pre-processing steps. <br>
00:29:07,665 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8080-4) Successfully deleted file
:/Users/cvgaviao/Library/JavaApps/jbpm-installer/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp4941937837370a97/designer.war-d06fd578f3179836/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json<br>
00:29:07,673 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8080-4) Created <a
class="moz-txt-link-freetext"
href="mailbox:///Users/tihomir/Library/Thunderbird/Profiles/uyg86p2s.default/Mail/Local%20Folders/drools-users?number=160490396&header=quotebody&part=1.1.2.2&filename=bpmn2.0jbpm.json">file:/Users/cvgaviao/Library/JavaApps/jbpm-installer/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp4941937837370a97/designer.war-d06fd578f3179836/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json</a><br>
00:29:07,674 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8080-4) Successfully deleted file
:/Users/cvgaviao/Library/JavaApps/jbpm-installer/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp4941937837370a97/designer.war-d06fd578f3179836/stencilsets/bpmn2.0jbpm/view/activity/workitems/Email.svg<br>
00:29:07,675 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8080-4) Successfully deleted file
:/Users/cvgaviao/Library/JavaApps/jbpm-installer/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp4941937837370a97/designer.war-d06fd578f3179836/stencilsets/bpmn2.0jbpm/view/activity/workitems/Log.svg<br>
00:29:07,678 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8080-4) Created <a
class="moz-txt-link-freetext"
href="mailbox:///Users/tihomir/Library/Thunderbird/Profiles/uyg86p2s.default/Mail/Local%20Folders/drools-users?number=160490396&header=quotebody&part=1.1.2.3&filename=Log.svg">file:/Users/cvgaviao/Library/JavaApps/jbpm-installer/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp4941937837370a97/designer.war-d06fd578f3179836/stencilsets/bpmn2.0jbpm/view/activity/workitems/Log.svg</a><br>
00:29:07,680 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8080-4) Created <a
class="moz-txt-link-freetext"
href="mailbox:///Users/tihomir/Library/Thunderbird/Profiles/uyg86p2s.default/Mail/Local%20Folders/drools-users?number=160490396&header=quotebody&part=1.1.2.4&filename=Email.svg">file:/Users/cvgaviao/Library/JavaApps/jbpm-installer/jboss-as-7.0.2.Final/standalone/tmp/vfs/temp4941937837370a97/designer.war-d06fd578f3179836/stencilsets/bpmn2.0jbpm/view/activity/workitems/Email.svg</a><br>
00:29:08,420 INFO [stdout] (http--127.0.0.1-8080-6) (null: -1,
-1): Premature end of file.<br>
00:29:09,100 INFO
[org.jbpm.designer.web.server.DictionaryServlet]
(http--127.0.0.1-8080-4) check connection response code: 500<br>
</blockquote>
<br>
what could be?<br>
<br>
regards<br>
<br>
On 12/03/12 19:37, Tihomir Surdilovic wrote:
<blockquote cite="mid:4F5E7AC7.1060109@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Most likely you are missing an empty designer.dodeploy file in
your AS installation deploy directory.<br>
You can install designer without guvnor, however designer is
currently storing processes in guvnor, so as standalone you can
only view existing processes, but not create/save new ones.<br>
<br>
Hope this helps. <br>
<br>
<br>
On 3/12/12 5:47 PM, Cristiano Gavião wrote:
<blockquote cite="mid:4F5E6EDC.9010801@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
I want to try the new version of Designer. So, I've got the
<meta charset="utf-8">
designer-2.1-jboss7.war from
people.redhat.com/tsurdilo/designer/master.<br>
I've renamed to designer.war and deployed into my jboss AS7
that comes with jbpm-5.2.0.Final-installer-full.<br>
<br>
JbossAS console at <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost:9990/console/App.html#deployment-list">http://localhost:9990/console/App.html#deployment-list</a>
shows me that designer is enabled but when I try the url <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost:8080/designer/">http://localhost:8080/designer/</a>
I got a 404 error. <br>
<br>
Am I missing something ?<br>
<br>
Btw, must I have guvnor working just to try designer or can I
deploy it in a fresh jboss AS instance ?<br>
<br>
regards,<br>
<br>
Cristiano<br>
<meta charset="utf-8">
<blockquote type="cite">
<meta charset="utf-8">
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>