Details

      Description

      It was possible to skip kbase name in container element in switchyard.xml in SY 1.x even if you didn't have specified a default kbase in kmodule.xml. The docs contains an example demonstrating that [1]:

      kmodule.mxl

      <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
          <kbase name="com.example">
              <ksession name="my-session"/>
          </kbase>
      </kmodule>
      

      switchyard.xml

      <manifest>
          <container sessionName="my-session"/>
      </manifest>
      

      If you don't specify kbase in switchyard.xml and don't have specified any kbase as default in kmodule.xml then you will get the folloging error during deployment:

      java.lang.IllegalStateException: Cannot find kbase, either it does not exist or there are multiple default kbases in kmodule.xml
      

      It should be eiter fixed in the runtime or adjusted in the documentation.

      [1] https://docs.jboss.org/author/display/SWITCHYARD/Knowledge+Services#KnowledgeServices-Option1%28KIEContainer%29:

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  trohovsky Tomas Rohovsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: