Piotr Tempes [http://community.jboss.org/people/carek] created the discussion
"Re: Instantiating the KnowledgeBase" To view the discussion, visit: http://community.jboss.org/message/599229#599229 -------------------------------------------------------------- finally I found something that maybe wil help... 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: 20:20:56,486 INFO [STDOUT] (null: 2, 351): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'. 20:20:56,489 INFO [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 [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 [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 [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 [STDOUT] INFO 10-04 20:20:57,293 (NilAuthenticator.java:authenticate:36) All users are guests. 20:20:57,333 INFO [STDOUT] (null: 2, 351): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'. 20:20:57,337 INFO [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 [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 [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 [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 [STDOUT] (null: 2, 351): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'. 20:21:04,960 INFO [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 [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 [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 [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] at org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.java:175) 20:21:04,963 ERROR [STDERR] at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:254) 20:21:04,963 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:430) 20:21:04,963 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:442) 20:21:04,964 ERROR [STDERR] at org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.compile(BPMN2ProcessHandler.java:217) 20:21:04,964 ERROR [STDERR] at org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:227) 20:21:04,964 ERROR [STDERR] at org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:212) 20:21:04,964 ERROR [STDERR] at org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:122) 20:21:04,964 ERROR [STDERR] at org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1588) 20:21:04,964 ERROR [STDERR] at org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1565) 20:21:04,965 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:21:04,965 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 20:21:04,965 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:21:04,965 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616) 20:21:04,965 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) 20:21:04,966 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) 20:21:04,966 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) 20:21:04,966 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) 20:21:04,966 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) 20:21:04,966 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) 20:21:04,966 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) 20:21:04,967 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) 20:21:04,967 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) 20:21:04,967 ERROR [STDERR] at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157) 20:21:04,967 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) 20:21:04,967 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) 20:21:04,968 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166) 20:21:04,968 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102) 20:21:04,968 ERROR [STDERR] at org.drools.guvnor.server.ServiceImplementation_$$_javassist_4.buildPackage(ServiceImplementation_$$_javassist_4.java) 20:21:04,968 ERROR [STDERR] at org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:312) 20:21:04,968 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:21:04,968 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 20:21:04,969 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:21:04,969 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616) 20:21:04,969 ERROR [STDERR] at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562) 20:21:04,969 ERROR [STDERR] at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207) 20:21:04,969 ERROR [STDERR] at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243) 20:21:04,969 ERROR [STDERR] at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) 20:21:04,970 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 20:21:04,970 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 20:21:04,970 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 20:21:04,970 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 20:21:04,970 ERROR [STDERR] at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) 20:21:04,970 ERROR [STDERR] at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53) 20:21:04,971 ERROR [STDERR] at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) 20:21:04,971 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 20:21:04,971 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 20:21:04,971 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 20:21:04,971 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 20:21:04,972 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 20:21:04,972 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) 20:21:04,972 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 20:21:04,972 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) 20:21:04,972 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) 20:21:04,972 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) 20:21:04,973 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) 20:21:04,973 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 20:21:04,973 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 20:21:04,973 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) 20:21:04,973 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 20:21:04,974 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 20:21:04,974 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) 20:21:04,974 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) 20:21:04,974 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 20:21:04,975 ERROR [STDERR] at java.lang.Thread.run(Thread.java:636) 20:21:04,988 INFO [STDOUT] INFO 10-04 20:21:04,987 (LoggingHelper.java:info:51) Following assets have been included in package build: drools, test, rule, testModel, and this: unable to parse xml:exception class org.drools.runtimedroolsexception : invalid package name appeared below build package button. Unfortunatelly I am unable to decipher it's meaning :] Nevertheless I hope that it will give you a clue what's wrong. Any suggestions? And once again one hundred thanks for help -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/599229#599229] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user