<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I had completely overlooked the installation instructions at <a href="http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3022">http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3022</a> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-- des<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Esteban Aliverti<br><b>Sent:</b> Sunday, August 26, 2012 9:02 AM<br><b>To:</b> Rules Users List<br><b>Subject:</b> Re: [rules-users] Problem importing processes from one system to another<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Did you configure Designer web application?&nbsp;<o:p></o:p></p><div><p class=MsoNormal>Make sure you have the right host and port in profiles/jbpm.xml configuration file.<o:p></o:p></p></div><div><p class=MsoNormal>The default configuration is:<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>&lt;externalloadurl protocol=&quot;http&quot; host=&quot;localhost:8080&quot; subdomain=&quot;drools-guvnor/org.drools.guvnor.Guvnor/oryxeditor&quot; usr=&quot;admin&quot; pwd=&quot;admin&quot;/&gt;<br clear=all><br>After you change the file you must restart the sever to the changes to take place.<br><br>Best Regards,<br><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br><br><o:p></o:p></p><div><p class=MsoNormal>On Sun, Aug 26, 2012 at 2:52 PM, David Shields OpenCDS &lt;<a href="mailto:david.shields@opencds.org" target="_blank">david.shields@opencds.org</a>&gt; wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I have created a repository on my own computer (localhost:8080) which contains a large number of rules and several processes, and exported it to a file.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I then imported the file into a new remote server (edmopencdsdev:8081) that is running on a different port:&nbsp; 8081 instead of 8080.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Guvnor seems to work correctly on the new server, except for one thing:&nbsp; It bombs when I try to open a process that was created on my local machine.&nbsp; It seems that there are references to the host on the original server stored within the imported repository somewhere&#8230;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Am I doing something wrong, or is this a known issue?&nbsp; If so, is there a work-around short of separately saving the BPMN2 files and importing each one of them individually?&nbsp; I have attached a sample of one of the processes that causes this issue, although all of the processes I have tried fail with the same error message (shown below) in the logs.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:04,945 INFO&nbsp; [org.apache.jackrabbit.core.TransientRepository] (http--0.0.0.0-8081-3) Session opened</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:22,290 INFO&nbsp; [org.jbpm.designer.server.EditorHandler] (http--0.0.0.0-8081-2) The diagram editor is running in production mode. Javascript will be served compressed</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:33,587 INFO&nbsp; [org.jbpm.designer.server.EditorHandler] (http--0.0.0.0-8081-2) Performing diagram information pre-processing steps.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:33,618 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8081-2) <a href="http://localhost:8080/drools-guvnor/rest/packages/">http://<span style='background:yellow'>localhost:8080</span>/drools-guvnor/rest/packages/</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:33,618 INFO&nbsp; [stdout] (http--0.0.0.0-8081-2) Setting up default workitem configuration</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:33,618 INFO&nbsp; [stdout] (http--0.0.0.0-8081-2) End setting up default workitem configuration</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:34,493 ERROR [org.jbpm.designer.web.server.ServletUtil] (http--0.0.0.0-8081-2) <a href="http://localhost:8080/drools-guvnor/rest/packages/">http://<span style='background:yellow'>localhost:8080/drools-guvnor/rest/packages</span>/</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:34,493 INFO&nbsp; [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8081-2) Successfully deleted file :C:\JBoss\jboss-as-7.1.1.Final\standalone\tmp\vfs\temp8d0d9283eb376a77\designer.war-a884420b84204c5f\stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:34,602 INFO&nbsp; [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--0.0.0.0-8081-2) Created file:C:\JBoss\jboss-as-7.1.1.Final\standalone\tmp\vfs\temp8d0d9283eb376a77\designer.war-a884420b84204c5f\stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:38,040 ERROR [org.jbpm.designer.web.repository.impl.UUIDBasedJbpmRepository] (http--0.0.0.0-8081-1) Unable to connect to Gunvor. Is it running? [http<span style='background:yellow'>://localhost:8080</span>/drools-guvnor/org.drools.guvnor.Guvnor/oryxeditor?uuid=77827ae5-ce58-43d7-84f7-fe5785e5400f&amp;usr=admin&amp;pwd=admin]</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:38,587 ERROR [org.jbpm.designer.web.server.ServletUtil] (http--0.0.0.0-8081-2) <a href="http://localhost:8080/drools-guvnor/rest/packages/">http://<span style='background:yellow'>localhost:8080</span>/drools-guvnor/rest/packages/</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New","serif";color:#1F497D'>05:57:38,743 INFO&nbsp; [org.jbpm.designer.web.server.DictionaryServlet] (http--0.0.0.0-8081-2) check connection response code: 404</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks for any help you can give&#8230;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- des<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>