<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Designer loading problem in drools-guvnor
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/floraly">floral YY</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/633871#633871">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I am deploying as .war file in the prod server.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I added some logs in editorhander.java and found that it has loaded all the scripts successfully</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>And I can get 'resultXML' as below before (response.getWriter().write(resultHtml.toString());).  Now Let me try to deploy as exploded war</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> <?xml version="1.0" encoding="UTF-8"?></p><p><span><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "</span><a class="jive-link-external-small" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span><html xmlns="</span><a class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a><span>" xmlns:b3mn="</span><a class="jive-link-external-small" href="http://b3mn.org/2007/b3mn" target="_blank">http://b3mn.org/2007/b3mn</a><span>" xmlns:ext="</span><a class="jive-link-external-small" href="http://b3mn.org/2007/ext" target="_blank">http://b3mn.org/2007/ext</a><span>" xmlns:rdf="</span><a class="jive-link-external-small" href="http://www.w3.org/1999/02/2" target="_blank">http://www.w3.org/1999/02/2</a></p><p><span>2-rdf-syntax-ns#" xmlns:atom="</span><a class="jive-link-external-small" href="http://b3mn.org/2007/atom+xhtml" target="_blank">http://b3mn.org/2007/atom+xhtml</a><span>"></span></p><p><span>  <head profile="</span><a class="jive-link-external-small" href="http://purl.org/NET/erdf/profile" target="_blank">http://purl.org/NET/erdf/profile</a><span>"></span></p><p>    <link rel="icon" href="/designer/favicon.ico"></link></p><p>    <meta http-equiv="Content-type" content="text/html;charset=UTF-8"></meta></p><p>    <title>jBPM Process Designer</title></p><p>    <!-- libraries --></p><p>    <script src="/designer/lib/prototype-1.5.1.js" type="text/javascript"></script></p><p>    <script src="/designer/lib/path_parser.js" type="text/javascript"></script></p><p>    <script src="/designer/lib/ext-2.0.2/adapter/ext/ext-base.js" type="text/javascript"></script></p><p>    <script src="/designer/lib/ext-2.0.2/ext-all.js" type="text/javascript"></script></p><p>    <script src="/designer/lib/ext-2.0.2/color-field.js" type="text/javascript"></script></p><p>    <style media="screen" type="text/css">@import url("/designer/lib/ext-2.0.2/resources/css/ext-all.css");</style></p><p>    <!-- Chrome Frame --></p><p>    <script type="text/javascript" src="/designer/js/CFInstall.min.js"></script></p><p>    <!-- process designer --></p><p>    <!-- erdf schemas --></p><p>    <link rel="Stylesheet" media="screen" href="/designer/css/theme_norm.css" type="text/css"></link></p><p><span>    <link rel="schema.dc" href="</span><a class="jive-link-external-small" href="http://purl.org/dc/elements/1.1/" target="_blank">http://purl.org/dc/elements/1.1/</a><span>"></link></span></p><p><span>    <link rel="schema.dcTerms" href="</span><a class="jive-link-external-small" href="http://purl.org/dc/terms/" target="_blank">http://purl.org/dc/terms/</a><span>"></link></span></p><p><span>    <link rel="schema.b3mn" href="</span><a class="jive-link-external-small" href="http://b3mn.org" target="_blank">http://b3mn.org</a><span>"></link></span></p><p><span>    <link rel="schema.oryx" href="</span><a class="jive-link-external-small" href="http://oryx-editor.org/" target="_blank">http://oryx-editor.org/</a><span>"></link></span></p><p><span>    <link rel="schema.raziel" href="</span><a class="jive-link-external-small" href="http://raziel.org/" target="_blank">http://raziel.org/</a><span>"></link></span></p><p>    <script src="/designer/js/kickstart.js" type="text/javascript"></script></p><p>    <script src="/designer/js/config.js" type="text/javascript"></script></p><p>    <script src="/designer/js/oryx.js" type="text/javascript"></script></p><p>    <script src="/designer/js/clazz.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/main.js" type="text/javascript"></script></p><p>    <script src="/designer/js/utils.js" type="text/javascript"></script></p><p>    <script src="/designer/js/erdfparser.js" type="text/javascript"></script></p><p>    <script src="/designer/js/datamanager.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/SVG/editpathhandler.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/SVG/minmaxpathhandler.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/SVG/pointspathhandler.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/SVG/svgmarker.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/SVG/svgshape.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/SVG/label.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/Math/math.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/stencil.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/property.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/propertyitem.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/complexpropertyitem.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/rules.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/stencilset.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/StencilSet/stencilsets.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/command.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/bounds.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/uiobject.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/abstractshape.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/canvas.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/svgDrag.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/shape.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/Controls/control.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/Controls/magnet.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/Controls/docker.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/node.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/edge.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/abstractPlugin.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/abstractLayouter.js" type="text/javascript"></script></p><p>    <script src="/designer/js/Core/abstractDragTracker.js" type="text/javascript"></script></p><p>    <script src="/designer/i18n/translation_en_us.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.Toolbar.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.UUIDRepositoryDummySave.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.ShapeMenuPlugin.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.ShapeRepository.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.PropertyWindow.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.CanvasResize.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.View.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.DragDropResize.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.RenameShapes.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.Undo.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.Arrangement.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.Grouping.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.DragDocker.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.AddDocker.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.SelectionFrame.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.ShapeHighlighting.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.Edit.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.KeysMove.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.Layouter.EdgeLayouter.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.ContainerLayouter.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.DragTracker.LaneDragTracker.js" type="text/javascript"></script></p><p>    <script src="/designer/plugin/ORYX.Plugins.DragTracker.PoolDragTracker.js" type="text/javascript"></script></p><p>    <script type="text/javascript">ORYX.VERSION = "1.0.0.053";</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      ORYX.CONFIG.SSET = "bpmn2.0jbpm";</p><p>      ORYX.CONFIG.DEV = true;</p><p>      if (ORYX.CONFIG.DEV) {</p><p>        ORYX_LOGLEVEL = 4;</p><p>      }</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      ORYX.PREPROCESSING = "";</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      params = window.location.search.toQueryParams();</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      if (params['profile'] === undefined) {</p><p>        params['profile'] = 'jbpm';</p><p>      }</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      ORYX.UUID = params['uuid'];</p><p>      ORYX.PROFILE = params['profile'];</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      var segments = window.location.pathname.split("/").without("");</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      ORYX.CONFIG.ROOT_PATH = "/" + segments.first() + "/";</p><p>      ORYX.PATH = ORYX.CONFIG.ROOT_PATH;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      if (ORYX.UUID === undefined) {</p><p>        ORYX.UUID = segments.pop();</p><p>      }</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      ORYX.CONFIG.UUID_AUTOSAVE_INTERVAL = 120000;</p><p>          ORYX.CONFIG.UUID_AUTOSAVE_DEFAULT = true;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      ORYX.CONFIG.SSEXTS= [].map(function(ssext) {</p><p>        // for each of the extensions, we get the extension file and return its contents.</p><p>        var contents = null;</p><p>        new Ajax.Request(ORYX.PATH + "stencilset/" + ssext, {</p><p>          asynchronous: false,</p><p>          method: 'get',</p><p>          contentType: 'application/json',</p><p>          onSuccess: function(result) {</p><p>            contents = result.responseText.evalJSON();</p><p>          },</p><p>          onFailure: function(result) {</p><p>            alert("Could not load Process Designer"); //TODO even better logging ?</p><p>          }</p><p>        });</p><p>        return contents;</p><p>      });</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      new Ajax.Request(ORYX.PATH + "plugins", {</p><p>        asynchronous: false,</p><p>        method: 'get',</p><p>        contentType: 'application/json',</p><p>        onSuccess: function(result) {</p><p>          var allPlugins = {};</p><p>          result.responseText.evalJSON().each(function (p) {</p><p>            allPlugins[p.name] = p;</p><p>          }.bind(allPlugins));</p><p>          // install the current plugins</p><p>          ORYX.availablePlugins = [];</p><p>          ["ORYX.Plugins.Toolbar","ORYX.Plugins.UUIDRepositoryDummySave","ORYX.Plugins.ShapeMenuPlugin","ORYX.Plugins.ShapeRepository","ORYX.Plugins.Property</p><p>Window","ORYX.Plugins.CanvasResize","ORYX.Plugins.View","ORYX.Plugins.DragDropResize","ORYX.Plugins.RenameShapes","ORYX.Plugins.Undo","ORYX.Plugins.Arrangeme</p><p>:...........................................</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/633871#633871">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>