[jboss-user] [jBPM] - Re: Designer loading problem in drools-guvnor
floral YY
do-not-reply at jboss.com
Thu Oct 27 10:55:14 EDT 2011
floral YY [http://community.jboss.org/people/floraly] created the discussion
"Re: Designer loading problem in drools-guvnor"
To view the discussion, visit: http://community.jboss.org/message/633871#633871
--------------------------------------------------------------
I am deploying as .war file in the prod server.
I added some logs in editorhander.java and found that it has loaded all the scripts successfully
And I can get 'resultXML' as below before (response.getWriter().write(resultHtml.toString());). Now Let me try to deploy as exploded war
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml" xmlns:b3mn=" http://b3mn.org/2007/b3mn http://b3mn.org/2007/b3mn" xmlns:ext=" http://b3mn.org/2007/ext http://b3mn.org/2007/ext" xmlns:rdf=" http://www.w3.org/1999/02/2 http://www.w3.org/1999/02/2
2-rdf-syntax-ns#" xmlns:atom=" http://b3mn.org/2007/atom+xhtml http://b3mn.org/2007/atom+xhtml">
<head profile=" http://purl.org/NET/erdf/profile http://purl.org/NET/erdf/profile">
<link rel="icon" href="/designer/favicon.ico"></link>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"></meta>
<title>jBPM Process Designer</title>
<!-- libraries -->
<script src="/designer/lib/prototype-1.5.1.js" type="text/javascript"></script>
<script src="/designer/lib/path_parser.js" type="text/javascript"></script>
<script src="/designer/lib/ext-2.0.2/adapter/ext/ext-base.js" type="text/javascript"></script>
<script src="/designer/lib/ext-2.0.2/ext-all.js" type="text/javascript"></script>
<script src="/designer/lib/ext-2.0.2/color-field.js" type="text/javascript"></script>
<style media="screen" type="text/css">@import url("/designer/lib/ext-2.0.2/resources/css/ext-all.css");</style>
<!-- Chrome Frame -->
<script type="text/javascript" src="/designer/js/CFInstall.min.js"></script>
<!-- process designer -->
<!-- erdf schemas -->
<link rel="Stylesheet" media="screen" href="/designer/css/theme_norm.css" type="text/css"></link>
<link rel="schema.dc" href=" http://purl.org/dc/elements/1.1/ http://purl.org/dc/elements/1.1/"></link>
<link rel="schema.dcTerms" href=" http://purl.org/dc/terms/ http://purl.org/dc/terms/"></link>
<link rel="schema.b3mn" href=" http://b3mn.org http://b3mn.org"></link>
<link rel="schema.oryx" href=" http://oryx-editor.org/ http://oryx-editor.org/"></link>
<link rel="schema.raziel" href=" http://raziel.org/ http://raziel.org/"></link>
<script src="/designer/js/kickstart.js" type="text/javascript"></script>
<script src="/designer/js/config.js" type="text/javascript"></script>
<script src="/designer/js/oryx.js" type="text/javascript"></script>
<script src="/designer/js/clazz.js" type="text/javascript"></script>
<script src="/designer/js/Core/main.js" type="text/javascript"></script>
<script src="/designer/js/utils.js" type="text/javascript"></script>
<script src="/designer/js/erdfparser.js" type="text/javascript"></script>
<script src="/designer/js/datamanager.js" type="text/javascript"></script>
<script src="/designer/js/Core/SVG/editpathhandler.js" type="text/javascript"></script>
<script src="/designer/js/Core/SVG/minmaxpathhandler.js" type="text/javascript"></script>
<script src="/designer/js/Core/SVG/pointspathhandler.js" type="text/javascript"></script>
<script src="/designer/js/Core/SVG/svgmarker.js" type="text/javascript"></script>
<script src="/designer/js/Core/SVG/svgshape.js" type="text/javascript"></script>
<script src="/designer/js/Core/SVG/label.js" type="text/javascript"></script>
<script src="/designer/js/Core/Math/math.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/stencil.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/property.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/propertyitem.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/complexpropertyitem.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/rules.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/stencilset.js" type="text/javascript"></script>
<script src="/designer/js/Core/StencilSet/stencilsets.js" type="text/javascript"></script>
<script src="/designer/js/Core/command.js" type="text/javascript"></script>
<script src="/designer/js/Core/bounds.js" type="text/javascript"></script>
<script src="/designer/js/Core/uiobject.js" type="text/javascript"></script>
<script src="/designer/js/Core/abstractshape.js" type="text/javascript"></script>
<script src="/designer/js/Core/canvas.js" type="text/javascript"></script>
<script src="/designer/js/Core/svgDrag.js" type="text/javascript"></script>
<script src="/designer/js/Core/shape.js" type="text/javascript"></script>
<script src="/designer/js/Core/Controls/control.js" type="text/javascript"></script>
<script src="/designer/js/Core/Controls/magnet.js" type="text/javascript"></script>
<script src="/designer/js/Core/Controls/docker.js" type="text/javascript"></script>
<script src="/designer/js/Core/node.js" type="text/javascript"></script>
<script src="/designer/js/Core/edge.js" type="text/javascript"></script>
<script src="/designer/js/Core/abstractPlugin.js" type="text/javascript"></script>
<script src="/designer/js/Core/abstractLayouter.js" type="text/javascript"></script>
<script src="/designer/js/Core/abstractDragTracker.js" type="text/javascript"></script>
<script src="/designer/i18n/translation_en_us.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.Toolbar.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.UUIDRepositoryDummySave.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.ShapeMenuPlugin.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.ShapeRepository.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.PropertyWindow.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.CanvasResize.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.View.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.DragDropResize.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.RenameShapes.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.Undo.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.Arrangement.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.Grouping.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.DragDocker.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.AddDocker.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.SelectionFrame.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.ShapeHighlighting.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.Edit.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.KeysMove.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.Layouter.EdgeLayouter.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.ContainerLayouter.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.DragTracker.LaneDragTracker.js" type="text/javascript"></script>
<script src="/designer/plugin/ORYX.Plugins.DragTracker.PoolDragTracker.js" type="text/javascript"></script>
<script type="text/javascript">ORYX.VERSION = "1.0.0.053";
ORYX.CONFIG.SSET = "bpmn2.0jbpm";
ORYX.CONFIG.DEV = true;
if (ORYX.CONFIG.DEV) {
ORYX_LOGLEVEL = 4;
}
ORYX.PREPROCESSING = "";
params = window.location.search.toQueryParams();
if (params['profile'] === undefined) {
params['profile'] = 'jbpm';
}
ORYX.UUID = params['uuid'];
ORYX.PROFILE = params['profile'];
var segments = window.location.pathname.split("/").without("");
ORYX.CONFIG.ROOT_PATH = "/" + segments.first() + "/";
ORYX.PATH = ORYX.CONFIG.ROOT_PATH;
if (ORYX.UUID === undefined) {
ORYX.UUID = segments.pop();
}
ORYX.CONFIG.UUID_AUTOSAVE_INTERVAL = 120000;
ORYX.CONFIG.UUID_AUTOSAVE_DEFAULT = true;
ORYX.CONFIG.SSEXTS= [].map(function(ssext) {
// for each of the extensions, we get the extension file and return its contents.
var contents = null;
new Ajax.Request(ORYX.PATH + "stencilset/" + ssext, {
asynchronous: false,
method: 'get',
contentType: 'application/json',
onSuccess: function(result) {
contents = result.responseText.evalJSON();
},
onFailure: function(result) {
alert("Could not load Process Designer"); //TODO even better logging ?
}
});
return contents;
});
new Ajax.Request(ORYX.PATH + "plugins", {
asynchronous: false,
method: 'get',
contentType: 'application/json',
onSuccess: function(result) {
var allPlugins = {};
result.responseText.evalJSON().each(function (p) {
allPlugins[p.name] = p;
}.bind(allPlugins));
// install the current plugins
ORYX.availablePlugins = [];
["ORYX.Plugins.Toolbar","ORYX.Plugins.UUIDRepositoryDummySave","ORYX.Plugins.ShapeMenuPlugin","ORYX.Plugins.ShapeRepository","ORYX.Plugins.Property
Window","ORYX.Plugins.CanvasResize","ORYX.Plugins.View","ORYX.Plugins.DragDropResize","ORYX.Plugins.RenameShapes","ORYX.Plugins.Undo","ORYX.Plugins.Arrangeme
:...........................................
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633871#633871]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111027/931fe882/attachment-0001.html
More information about the jboss-user
mailing list