JBoss Community

Re: Designer loading problem in drools-guvnor

created by Tihomir Surdilovic in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community