<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Instantiating the KnowledgeBase
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/carek">Piotr Tempes</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/599229#599229">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>finally I found something that maybe wil help...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I tried to add some rules to the package as you suggested and rules are working great. I can see all of them in webdav and in my application through packages from kbase from the agent. Models and everything else works good also, so I thought that maybe I need to change something in process editor and well after creating again Hello process I changed one component in it by editing "Hello" to "Hello World" and save it... and that was the thing I should have done first... after saving process I tried to build package again... that's what I get in the console:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">20:20:56,486 INFO&#160; [STDOUT] (null: 2, 351): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'.
20:20:56,489 INFO&#160; [STDOUT] (null: 27, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:56,489 INFO&#160; [STDOUT] (null: 28, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:56,490 INFO&#160; [STDOUT] (null: 34, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:56,490 INFO&#160; [STDOUT] (null: 35, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:57,294 INFO&#160; [STDOUT] INFO&#160; 10-04 20:20:57,293 (NilAuthenticator.java:authenticate:36)&#160;&#160;&#160;&#160;&#160; All users are guests.
20:20:57,333 INFO&#160; [STDOUT] (null: 2, 351): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'.
20:20:57,337 INFO&#160; [STDOUT] (null: 27, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:57,338 INFO&#160; [STDOUT] (null: 28, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:57,340 INFO&#160; [STDOUT] (null: 34, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:20:57,341 INFO&#160; [STDOUT] (null: 35, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:21:04,957 INFO&#160; [STDOUT] (null: 2, 351): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'.
20:21:04,960 INFO&#160; [STDOUT] (null: 27, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:21:04,960 INFO&#160; [STDOUT] (null: 28, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:21:04,961 INFO&#160; [STDOUT] (null: 34, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:21:04,961 INFO&#160; [STDOUT] (null: 35, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
20:21:04,962 ERROR [STDERR] org.drools.RuntimeDroolsException: invalid package name
20:21:04,963 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.java:175)
20:21:04,963 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:254)
20:21:04,963 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:430)
20:21:04,963 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:442)
20:21:04,964 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.compile(BPMN2ProcessHandler.java:217)
20:21:04,964 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:227)
20:21:04,964 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:212)
20:21:04,964 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.builder.ContentPackageAssembler.&lt;init&gt;(ContentPackageAssembler.java:122)
20:21:04,964 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1588)
20:21:04,964 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1565)
20:21:04,965 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:21:04,965 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
20:21:04,965 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:21:04,965 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:616)
20:21:04,965 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
20:21:04,966 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
20:21:04,966 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
20:21:04,966 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
20:21:04,966 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
20:21:04,966 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
20:21:04,966 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
20:21:04,967 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
20:21:04,967 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
20:21:04,967 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)
20:21:04,967 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
20:21:04,967 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
20:21:04,968 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
20:21:04,968 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
20:21:04,968 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.ServiceImplementation_$$_javassist_4.buildPackage(ServiceImplementation_$$_javassist_4.java)
20:21:04,968 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:312)
20:21:04,968 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:21:04,968 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
20:21:04,969 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:21:04,969 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:616)
20:21:04,969 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
20:21:04,969 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
20:21:04,969 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
20:21:04,969 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
20:21:04,970 ERROR [STDERR]&#160;&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
20:21:04,970 ERROR [STDERR]&#160;&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
20:21:04,970 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
20:21:04,970 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
20:21:04,970 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
20:21:04,970 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
20:21:04,971 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
20:21:04,971 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
20:21:04,971 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
20:21:04,971 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
20:21:04,971 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
20:21:04,972 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
20:21:04,972 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
20:21:04,972 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
20:21:04,972 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
20:21:04,972 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
20:21:04,972 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
20:21:04,973 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
20:21:04,973 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
20:21:04,973 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
20:21:04,973 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
20:21:04,973 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
20:21:04,974 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
20:21:04,974 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
20:21:04,974 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
20:21:04,974 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
20:21:04,975 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:636)
20:21:04,988 INFO&#160; [STDOUT] INFO&#160; 10-04 20:21:04,987 (LoggingHelper.java:info:51)&#160;&#160;&#160;&#160;&#160; Following assets have been included in package build: drools, test, rule, testModel, 
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>and this: </p><p>unable to parse xml:exception class org.drools.runtimedroolsexception : invalid package name</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>appeared below build package button.</p><p>Unfortunatelly I am unable to decipher it's meaning :] Nevertheless I hope that it will give you a clue what's wrong. Any suggestions?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>And once again one hundred thanks for help</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/599229#599229">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>