I am getting the following error first time when I try to load the process from guvnor after I make any changes to the process in Guvnor. but when I rerun the application, it runs fine .
my package is mala..
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8180/guvnor-5.3.0.Final-jboss-as-7.0/rest/packages/mala/binary
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:692)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:650)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:37)
at Main.createKnowlegdeBaseGuvnor(Main.java:108)
at Main.main(Main.java:201)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8180/guvnor-5.3.0.Final-jboss-as-7.0/rest/packages/mala/binary
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
at org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210)
at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:617)
... 4 more