kie-workbench 6.0.2 on WAS 8.5.5 for developers(error in deployment)
by Shrinath Managuli
Hi,
I'm trying to deploy kie-wb 6.0.2 on WAS 8.5.5 for Developers version. Please guide me through this...
I'got the following stack trace:
SystemErr.log:
[9/4/14 17:21:56:982 IST] 0000004a SystemErr R SLF4J: Class path contains multiple SLF4J bindings.
[9/4/14 17:21:56:982 IST] 0000004a SystemErr R SLF4J: Found binding in [wsjar:file:/D:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/appNode01Cell/kie-wb-distribution-wars-6_0_2-20140401_190816-123-was8_war.ear/kie-wb-distribution-wars-6.0.2-20140401.190816-123-was8.war/WEB-INF/lib/slf4j-jdk14-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[9/4/14 17:21:56:983 IST] 0000004a SystemErr R SLF4J: Found binding in [bundleresource://267.fwk1016322233:1/org/slf4j/impl/StaticLoggerBinder.class]
[9/4/14 17:21:56:983 IST] 0000004a SystemErr R SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[9/4/14 17:21:56:984 IST] 0000004a SystemErr R SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
[9/4/14 17:23:43:702 IST] 00000081 SystemErr R 122 [WebContainer : 3] INFO org.apache.bval.jsr303.ConfigurationImpl - ignoreXmlConfiguration == true
[9/4/14 17:23:44:057 IST] 00000081 SystemErr R SLF4J: Class path contains multiple SLF4J bindings.
[9/4/14 17:23:44:057 IST] 00000081 SystemErr R SLF4J: Found binding in [wsjar:file:/D:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/app934Node01Cell/kie-wb-distribution-wars-6_0_2-20140401_190816-123-was8_war.ear/kie-wb-distribution-wars-6.0.2-20140401.190816-123-was8.war/WEB-INF/lib/slf4j-jdk14-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[9/4/14 17:23:44:057 IST] 00000081 SystemErr R SLF4J: Found binding in [bundleresource://267.fwk1016322233:1/org/slf4j/impl/StaticLoggerBinder.class]
[9/4/14 17:23:44:057 IST] 00000081 SystemErr R SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[9/4/14 17:23:44:058 IST] 00000081 SystemErr R SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
[9/4/14 17:23:56:207 IST] 00000081 SystemErr R com.ibm.ws.exception.RuntimeWarning: Error while processing references for EJB-in-WAR: com.ibm.ejs.container.EJBConfigurationException: The KieSessionRequesMessageBean message-driven bean (MDB) class does not define a message listener interface.
SystemOut.log:
ERROR hbm2ddl.SchemaUpdate: HHH000299: Could not complete schema update
java.lang.NullPointerException
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:156)
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:70)
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:63)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:196)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178)
mbean exception: com.ibm.ws.exception.RuntimeWarning: Error while processing references for EJB-in-WAR: com.ibm.ejs.container.EJBConfigurationException: The KieSessionRequesMessageBean message-driven bean (MDB) class does not define a message listener interface.
[Aspire Systems]
This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
11 years, 11 months
Identical Facts over rules, results being cached?
by Leonard93
Let's say I have 10 rules and I fire the same object over it multiple times.
This means the result that I would get back is the same every time, since it
is the same object over the same rules (In a stateless environment).
Does Drools cache the result internally for such cases? Knowing that when
the same object comes over the same rules it can give the result back right
away instead of going over the rules first.
Just something I want to know and couldn't really find in the documentation
easily.
--
View this message in context: http://drools.46999.n3.nabble.com/Identical-Facts-over-rules-results-bein...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 11 months
processing a database with many to many Relationships
by Dave Potts
Most of the drools examples that I seen, will for have an example that
process address, look for address with a given post/zip code etc on a
data source that is already loaded in the knowledge session, but it
include no description of how the data was loaded in the knowledge session.
I have a reference database of trading containers , the database
describes the source, destination, contents etc, relationships between
for example a container may have have many sources and many
destinations. Destinations and sources may be shared between different
containers.
The database is normalised to keep source/destination information as a
single place table, with link tables to define the relationship between
the different containers and places
Q. What is the best way of loading my information in to a knowledge
session?
Expand all the many to many relationship in to a single pojo objects
with multiple references to other pojos or is there a better way?
source destination
eg Container foo England,
England
England
France
England
Scotland
France
England
bar England
Germany
England
France
regards
Dave.
/*
*/
11 years, 11 months
Integration of Spring MVC 3.2.X and Drools 6.0.0.Final KIE issues ....
by profversaggi
I want to use a Stateful Drools 6 KIE KB on via a web interface using the
Spring API - which means using Spring 3.2.X MVC. I've read a lot of issues
all over the web trying to tackle the problem from many different angles and
I've yet to see a simple illustration of how it's properly integrated. Why
is this so difficult?
Some advocate starting w/a Drools project first, converting it to Maven and
then adding the Spring MVC to it. Some suggest the other way around. I've
seen more than a few piece meal approaches as well - yet everyone is
reporting problems. I've tried it Drools first - the spring MVC doesn't take
properly. I've tried the Spring First - the Drools doesn't take properly.
Why is this so hard with KIE and Spring 3.2.X MVC ?
Does anyone have a very simple Spring MVC 3.2.X and Drools 6.0.0.Final KIE
integration example that works which one could peruse for inspiration?
Many thanks in advance.... :-)
--
View this message in context: http://drools.46999.n3.nabble.com/Integration-of-Spring-MVC-3-2-X-and-Dro...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 11 months
METADATA in Decision Tables
by Andrei Ermicioi
Can somebody point me on some article, tutorial, etc where will be describe the work with METADATA from decision tables?
In documentation is just said how to set it, but how later reuse the value from METADAT no idea :(
--
Andrei Ermicioi aka erani,
Software Engineer at CaseNet
Phone: +420 776 424 143
Skype: aermicioi_casenet
________________________________
CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt.
11 years, 11 months
How to feed camel-server with kmodules using kie-ci?
by wogo
Hi,
I am trying to integrate drools-camel-server-example and kie-ci (6.0.1)
plugin.
My goal is to load modules from maven (built/deployed from kie-wb).
Maven configuration looks fine, as MavenSettings are initialized while
debugging (I see my repos).
I do everything locally to make things simpler.
Standalone code (from Eclipse) works fine with kie-cie - I execute
"Underage" rule from mortgages example.
I have built server with all kie-cie dependencies, however none of kmodules
deployed in Maven is loaded.
What am I missing? Is there anything special required in
knowledge-services.xml (I have used a default one provided originally in
.war)?
Do you have an example of mortgages obtained via camel-server?
Regards,
Wojciech
--
View this message in context: http://drools.46999.n3.nabble.com/How-to-feed-camel-server-with-kmodules-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 11 months
Drools workbench camel integration
by Ashok Babu
Hi,
We are looking for the way to consume the DRLs managed in the Drools
workbench in the camel and expose them as services to the clients.
We have tried it with the sample examples (with drl files) provided in the
camel integration example and found it working. Using drools 6.0.1, now how
the workbench knowledge base should be added to the camel knowledge
services?
Searched a lot, could not find a reference/help on this regard? We are
looking for XML element like below for the file based integration
<kie:kbase name="kbase1" packages="org.drools.server"> <kie:ksession
name="ksession1" type="stateless"/> </kie:kbase>
>From the Java application, we are able to run against the workbench
knowledgebase dynamically (using maven release id). How this should be
integrated with camel services?
Regards,
Anton
11 years, 11 months
Consume Dymanic rules from application
by Anton
Hi,
I have been trying to consume the dynamic rules from another application..
Could not accomplish this..
Following is the setup, please identify what has been missed.
Have workbench 6.0.1 working
Able to create rules and build and deploy
Have the rules at local maven repository
Able to see the rules in the remote repository as well. Thru
http://localhost:8080/context/maven2
I have Kie-ci-6.0.1.jar in my external applications classpath
Added the repository details in settings.xml both at
mavenhome/conf/settings.xml and user_home/.m2/settings.xml
Still I am not able to use the rules from the remore repository. Please
point out anything I am missing.
Regards,
Anton
--
View this message in context: http://drools.46999.n3.nabble.com/Consume-Dymanic-rules-from-application-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 11 months
Drools Declaring New Types To Use Across Multiple Files
by Jan Šťastný
Hi,
can anybody tell me, how can I declare a type which I can use in
multiple files?
Sure, I can create a java class and then import to respective files. But
I was wondering whether there was a solution which wouldn't demand
compilation of source code after each change of rules (extending the
rules with new type which is java class would require that).
Any suggestion appreciated.
Regards
Jan
11 years, 11 months