Thanks for the reply.
I have read that section of the docs a multiple times.
Unfortunately, I do not have a handle to the ksession to call setGlobal on.
My knowledge session is created/owned by KIE-WB/Switchyard and we are
looking for an API so that I can get a handle to something on which I can
call setGlobal.
Ideally, I need something like
xxx.getKnowledgeBaseByName("mykb");
or maybe
xxx.getKnowledgePackageByName("mykb");
or maybe
xxx.getKnowledgeSessionByName("mykb");
which ever of those I can call setGlobal on.
FYI, our KIE stuff is container managed via maven integration with kie-wb -
we do not control the lifecycle of any KIE objects kb, package, session,
etc.
Thanks again
--
View this message in context:
http://drools.46999.n3.nabble.com/Null-pointer-exception-when-using-globa...
Sent from the Drools: User forum mailing list archive at
Nabble.com.