[jboss-jira] [JBoss JIRA] (DROOLS-2604) Inappropriate behavior/logging after kjar deployment to the kie server

Maciej Swiderski (JIRA) issues at jboss.org
Mon Jun 4 14:01:00 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586362#comment-13586362 ] 

Maciej Swiderski commented on DROOLS-2604:
------------------------------------------

this is caused by scanning the dependencies of your project. It means that anything that you defined in kjar's pom.xml that is not scope provide or test will be considered a candidate for scan. Scan is used to load the class and add it to remote context (JAXB/JSON) for serialisation. So you can either change its scope or enable filtering classes (system property -Dorg.drools.server.filter.classes=true) which might reduce the class being added to remote context.
It's not possible to disable scanning completely. The only way to avoid it is to not make it part of compile/runtime scope of the kjar.

so actually this is not a bug but expected behaviour.

> Inappropriate behavior/logging after kjar deployment to the kie server
> ----------------------------------------------------------------------
>
>                 Key: DROOLS-2604
>                 URL: https://issues.jboss.org/browse/DROOLS-2604
>             Project: Drools
>          Issue Type: Bug
>          Components: kie server
>    Affects Versions: 7.7.0.Final
>            Reporter: Igor Azarny
>            Assignee: Maciej Swiderski
>
> A lot of attempts to create different class instance after deployment of kjar to the kie server.  I hardly think, that com.couchbase.client.deps.io.netty.handler.ssl.Java9SslUtils$5 or other classes somehow related to deployed KJar.  Is it "by design" or unexpected behavior? 
>    2018-05-30T17:35:44.83+0300 [APP/PROC/WEB/0] OUT [CONTAINER] ie.server.services.drools.DroolsKieServerExtension WARNING Unable to create instance of type org.apache.lucene.search.join.TermsIncludingScoreQuery$1 due to org.apache.lucene.search.join.TermsIncludingScoreQuery$1
> .....
>   2018-05-30T17:43:31.07+0300 [APP/PROC/WEB/0] OUT [CONTAINER] ie.server.services.drools.DroolsKieServerExtension WARNING Unable to create instance of type com.couchbase.client.deps.io.netty.handler.ssl.Java9SslUtils$6 due to com.couchbase.client.deps.io.netty.handler.ssl.Java9SslUtils$6



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list