[jboss-user] [jBPM] - Re: Designer loading problem in drools-guvnor

Tihomir Surdilovic do-not-reply at jboss.com
Thu Oct 27 10:17:55 EDT 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111027/c39968a2/attachment.html 


More information about the jboss-user mailing list