Tihomir Surdilovic [
http://community.jboss.org/people/tsurdilovic] created the discussion
"Re: Designer loading problem in drools-guvnor"
To view the discussion, visit:
http://community.jboss.org/message/633864#633864
--------------------------------------------------------------
Are you by chance deploying web designer as an exploded war in dev and as a .war file in
production? I am suspecting that in EditorServlet.java:
[code]
private static String readEnvFiles(ServletContext context) throws IOException {
FileInputStream core_scripts = new FileInputStream(
context.getRealPath("/js/js_files.json"));
....
[/code]
context.getRealPath() is returning null for some reason...could you check to make sure?
Try to deploy as an exploded war in prod and let me know if that fixes the problem.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/633864#633864]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]