[JBoss JIRA] (DROOLS-1212) Input stream finalized or forced closed during server startup
by Petr Široký (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1212?page=com.atlassian.jira.plugi... ]
Petr Široký reassigned DROOLS-1212:
-----------------------------------
Assignee: Petr Široký (was: Mario Fusco)
> Input stream finalized or forced closed during server startup
> -------------------------------------------------------------
>
> Key: DROOLS-1212
> URL: https://issues.jboss.org/browse/DROOLS-1212
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.3.0.Final
> Environment: Glassfish 4.1.1
> Reporter: Fernando Machado
> Assignee: Petr Široký
>
> I'm getting some exceptions during GF4 startup related with _"Input stream has been finalized or forced closed without being explicitly closed; stream instantiation reported in following stack trace"_ and it seems similar to DROOLS-812.
> org.drools.template.parser.DefaultTemplateRuleBase.readKnowledgeBase(String)
> {code}
> private InternalKnowledgeBase readKnowledgeBase(String drl) {
> try {
> // logger.info(drl);
> // read in the source
> Reader source = new StringReader(drl);
> KnowledgeBuilderImpl builder = new KnowledgeBuilderImpl();
> builder.addPackageFromDrl(source);
> InternalKnowledgePackage pkg = builder.getPackage();
> // add the package to a rulebase (deploy the rule package).
> InternalKnowledgeBase kBase = (InternalKnowledgeBase) KnowledgeBaseFactory.newKnowledgeBase();
> kBase.addPackage(pkg);
> return kBase;
> } catch (Exception e) {
> throw new RuntimeException(e);
> }
> }
> {code}
> Is related with:
> {noformat}
> [#|2016-06-15T13:51:07.671+0200|WARNING|glassfish 4.1|javax.enterprise.system.util|_ThreadID=74442;_ThreadName=RunLevelControllerThread-1465991462855;_TimeMillis=1465991467671;_LevelValue=900;_MessageID=NCLS-COMUTIL-00023;|Input stream has been finalized or forced closed without being explicitly closed; stream instantiation reported in following stack trace
> java.lang.Throwable
> at org.drools.template.parser.DefaultTemplateRuleBase.readKnowledgeBase(DefaultTemplateRuleBase.java:133)
> at org.drools.template.parser.DefaultTemplateRuleBase.<init>(DefaultTemplateRuleBase.java:56)
> at org.drools.template.parser.TemplateDataListener.<init>(TemplateDataListener.java:74)
> at org.drools.template.parser.TemplateDataListener.<init>(TemplateDataListener.java:50)
> at org.drools.template.ObjectDataCompiler.compile(ObjectDataCompiler.java:57)
> at com.mycompany.mypackage.MyClass.init(MyClass.java:xxx)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.sun.ejb.containers.interceptors.BeanCallbackInterceptor.intercept(InterceptorManager.java:1035)
> at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
> at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
> at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
> at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
> at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
> at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
> at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
> at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.init(SystemInterceptorProxy.java:125)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
> at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
> at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:412)
> at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:375)
> at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:2014)
> at com.sun.ejb.containers.AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:468)
> at com.sun.ejb.containers.AbstractSingletonContainer.access$000(AbstractSingletonContainer.java:74)
> at com.sun.ejb.containers.AbstractSingletonContainer$SingletonContextFactory.create(AbstractSingletonContainer.java:647)
> at com.sun.ejb.containers.AbstractSingletonContainer.instantiateSingletonInstance(AbstractSingletonContainer.java:389)
> at org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:219)
> at org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:180)
> at org.glassfish.ejb.startup.SingletonLifeCycleManager.doStartup(SingletonLifeCycleManager.java:158)
> ...
> {noformat}
> There is another class that is also throwing the same exception:
> {noformat}
> [#|2016-06-14T11:08:19.953+0200|WARNING|glassfish 4.1|javax.enterprise.system.util|_ThreadID=68093;_ThreadName=RunLevelControllerThread-1465895294550;_TimeMillis=1465895299953;_LevelValue=900;_MessageID=NCLS-COMUTIL-00023;|Input stream has been finalized or forced closed without being explicitly closed;
> stream instantiation reported in following stack trace
> java.lang.Throwable
> at com.sun.enterprise.loader.ASURLClassLoader$SentinelInputStream.<init>(ASURLClassLoader.java:1278)
> at com.sun.enterprise.loader.ASURLClassLoader$InternalJarURLConnection.getInputStream(ASURLClassLoader.java:1386)
> at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:238)
> at com.sun.enterprise.loader.ASURLClassLoader.getResourceAsStream(ASURLClassLoader.java:930)
> at java.lang.Class.getResourceAsStream(Class.java:2223)
> at org.eclipse.jdt.internal.compiler.parser.Parser.readReadableNameTable(Parser.java:719)
> at org.eclipse.jdt.internal.compiler.parser.Parser.initTables(Parser.java:615)
> at org.eclipse.jdt.internal.compiler.parser.Parser.<clinit>(Parser.java:124)
> at org.eclipse.jdt.internal.compiler.Compiler.initializeParser(Compiler.java:687)
> at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:285)
> at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:206)
> at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:416)
> at org.drools.compiler.commons.jci.compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java:49)
> at org.drools.compiler.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:417)
> at org.drools.compiler.compiler.DialectCompiletimeRegistry.compileAll(DialectCompiletimeRegistry.java:61)
> at org.drools.compiler.compiler.PackageRegistry.compileAll(PackageRegistry.java:138)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.compileAll(KnowledgeBuilderImpl.java:1314)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.compileAllRules(KnowledgeBuilderImpl.java:953)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.addPackage(KnowledgeBuilderImpl.java:944)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.addPackageFromDrl(KnowledgeBuilderImpl.java:363)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.addPackageFromDrl(KnowledgeBuilderImpl.java:339)
> at org.drools.template.parser.DefaultTemplateRuleBase.readKnowledgeBase(DefaultTemplateRuleBase.java:133)
> at org.drools.template.parser.DefaultTemplateRuleBase.<init>(DefaultTemplateRuleBase.java:56)
> at org.drools.template.parser.TemplateDataListener.<init>(TemplateDataListener.java:74)
> at org.drools.template.parser.TemplateDataListener.<init>(TemplateDataListener.java:50)
> at org.drools.template.ObjectDataCompiler.compile(ObjectDataCompiler.java:57)
> at com.mycompany.mypackage.MyClass.init(MyClass.java:xxx)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.sun.ejb.containers.interceptors.BeanCallbackInterceptor.intercept(InterceptorManager.java:1035)
> at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
> at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
> at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
> at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
> at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
> at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
> at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
> at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.init(SystemInterceptorProxy.java:125)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
> at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
> at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:412)
> at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:375)
> at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:2014)
> at com.sun.ejb.containers.AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:468)
> at com.sun.ejb.containers.AbstractSingletonContainer.access$000(AbstractSingletonContainer.java:74)
> at com.sun.ejb.containers.AbstractSingletonContainer$SingletonContextFactory.create(AbstractSingletonContainer.java:647)
> at com.sun.ejb.containers.AbstractSingletonContainer.instantiateSingletonInstance(AbstractSingletonContainer.java:389)
> at org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:219)
> at org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:180)
> at org.glassfish.ejb.startup.SingletonLifeCycleManager.doStartup(SingletonLifeCycleManager.java:158)
> at org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:166)
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (WFLY-6762) Is Network Disabling on a Node, a valid test scenario for testing Cluster Failover
by Preeta Kuruvilla (JIRA)
[ https://issues.jboss.org/browse/WFLY-6762?page=com.atlassian.jira.plugin.... ]
Preeta Kuruvilla updated WFLY-6762:
-----------------------------------
Description:
In your mail related to WFLY-6749 you has said the below :-
*The default stack contains the following failure detection protocols:
FD_SOCK
FD_ALL
These protocols are described here:
http://www.jgroups.org/manual/index.html#FailureDetection
I suspect that your method of simulating a failure - by disabling the network of the host machine is not being detected by FD_SOCK. It will however, be detected by FD_ALL, but only after 1 minute. The heartbeat timeout used by FD_ALL can be manipulated via the timeout property.
e.g.
<protocol type="FD_ALL" ><property name="timeout">60000</property></protocol>
*
Thanks for the quick response on WFLY-6749.
Based on your suggestion, I had a taken a look at the testing scenarios mentioned in "Table 29. Failure detection behavior" in the link that you provided- http://www.jgroups.org/manual/index.html#FailureDetection. No where its mentioned that disabling a network on a node, is a valid testing scenario in Wildfly cluster.
The Failover is working properly when the network on a node is disabled on a weblogic cluster for our application. However it doesn't work and it hampers the application functionality on Wildfly cluster when we try to disable the network on a node in Wildfly cluster.
However as I said earlier, the failover on wildfly cluster works when we stop a node from admin console or give Ctrl + C to stop the services on a node.
Would like to get a confirmation from you that disabling the network on a node is not the valid failover testing scenario for wildfly cluster.
Thanks,
Preeta
> Is Network Disabling on a Node, a valid test scenario for testing Cluster Failover
> ----------------------------------------------------------------------------------
>
> Key: WFLY-6762
> URL: https://issues.jboss.org/browse/WFLY-6762
> Project: WildFly
> Issue Type: CTS Challenge
> Components: Clustering
> Affects Versions: 8.2.0.Final
> Reporter: Preeta Kuruvilla
> Assignee: Paul Ferraro
> Priority: Critical
>
> In your mail related to WFLY-6749 you has said the below :-
> *The default stack contains the following failure detection protocols:
> FD_SOCK
> FD_ALL
> These protocols are described here:
> http://www.jgroups.org/manual/index.html#FailureDetection
> I suspect that your method of simulating a failure - by disabling the network of the host machine is not being detected by FD_SOCK. It will however, be detected by FD_ALL, but only after 1 minute. The heartbeat timeout used by FD_ALL can be manipulated via the timeout property.
> e.g.
> <protocol type="FD_ALL" ><property name="timeout">60000</property></protocol>
> *
> Thanks for the quick response on WFLY-6749.
> Based on your suggestion, I had a taken a look at the testing scenarios mentioned in "Table 29. Failure detection behavior" in the link that you provided- http://www.jgroups.org/manual/index.html#FailureDetection. No where its mentioned that disabling a network on a node, is a valid testing scenario in Wildfly cluster.
> The Failover is working properly when the network on a node is disabled on a weblogic cluster for our application. However it doesn't work and it hampers the application functionality on Wildfly cluster when we try to disable the network on a node in Wildfly cluster.
> However as I said earlier, the failover on wildfly cluster works when we stop a node from admin console or give Ctrl + C to stop the services on a node.
> Would like to get a confirmation from you that disabling the network on a node is not the valid failover testing scenario for wildfly cluster.
> Thanks,
> Preeta
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (WFLY-6682) Upgrade Hibernate to 5.2.0
by Emmanuel Bernard (JIRA)
[ https://issues.jboss.org/browse/WFLY-6682?page=com.atlassian.jira.plugin.... ]
Emmanuel Bernard commented on WFLY-6682:
----------------------------------------
Just a heads up that we did a bunch of reviews and work on ORM 5.2 to make it as backward compatible as we could with 5.1. But there are remaining issues that we are uncomfortable with. In many ways, Hibernate ORM 5.2 is a bridge version between 5 and 6.
So I think think 5.2 should be the default version in Wildfly, we should rather use 5.1. But [~smarlow], what do you think of adding a 5.2 option via Jipijapa?
PS: [~smarlow] you probably should deactivate your [~scottmarlow] and [~smarlow2] accounts
> Upgrade Hibernate to 5.2.0
> --------------------------
>
> Key: WFLY-6682
> URL: https://issues.jboss.org/browse/WFLY-6682
> Project: WildFly
> Issue Type: Component Upgrade
> Components: JPA / Hibernate
> Affects Versions: 10.0.0.Final
> Reporter: Frank Langelage
> Assignee: Scott Marlow
> Priority: Critical
> Fix For: 10.1.0.Final
>
> Attachments: screenshot-1.png
>
>
> Upgrade Hibernate to latest version 5.2.0.Final.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (DROOLS-1170) Build Drools with OpenJDK 9: maven-jaxb2-plugin throws ClassNotFoundException: com.sun.codemodel.CodeWriter
by Petr Široký (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1170?page=com.atlassian.jira.plugi... ]
Petr Široký commented on DROOLS-1170:
-------------------------------------
Temporary workaround has been applied, which enables building on both JDK8 and JDK9 (tested with EA build 122). The build was (temporarily) removed and the {{xjc}} binary is directly executed via {{exec-maven-plugin}}. See https://github.com/droolsjbpm/drools/commit/46c998a8dab294abf27401a32298d....
> Build Drools with OpenJDK 9: maven-jaxb2-plugin throws ClassNotFoundException: com.sun.codemodel.CodeWriter
> -----------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1170
> URL: https://issues.jboss.org/browse/DROOLS-1170
> Project: Drools
> Issue Type: Bug
> Components: build
> Reporter: Geoffrey De Smet
> Assignee: Petr Široký
> Labels: java9
>
> See
> https://kie-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/kie-all-build-mas...
> {code}
> 13:47:25 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.2:xjc (default) on project drools-pmml: Execution default of goal org.codehaus.mojo:jaxb2-maven-plugin:2.2:xjc failed: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.2:xjc: com/sun/codemodel/CodeWriter
> 13:47:25 -----------------------------------------------------
> 13:47:25 realm = plugin>org.codehaus.mojo:jaxb2-maven-plugin:2.2
> 13:47:25 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> 13:47:25 urls[0] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/mojo/jaxb2-maven-plugin/2.2/jaxb2-maven-plugin-2.2.jar
> 13:47:25 urls[1] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.jar
> 13:47:25 urls[2] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
> 13:47:25 urls[3] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
> 13:47:25 urls[4] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
> 13:47:25 urls[5] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-jxc/2.2.11/jaxb-jxc-2.2.11.jar
> 13:47:25 urls[6] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/com/thoughtworks/qdox/qdox/2.0-M3/qdox-2.0-M3.jar
> 13:47:25 urls[7] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> 13:47:25 urls[8] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> 13:47:25 urls[9] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> 13:47:25 urls[10] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> 13:47:25 urls[11] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> 13:47:25 urls[12] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> 13:47:25 urls[13] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> 13:47:25 urls[14] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-compiler-api/2.5/plexus-compiler-api-2.5.jar
> 13:47:25 urls[15] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
> 13:47:25 urls[16] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> 13:47:25 Number of foreign imports: 1
> 13:47:25 import: Entry[import from realm ClassRealm[project>org.drools:drools:7.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> 13:47:25
> 13:47:25 -----------------------------------------------------
> 13:47:25
> 13:47:25 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> 13:47:25 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 13:47:25 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 13:47:25 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 13:47:25 at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:188)
> 13:47:25 at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:184)
> 13:47:25 at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266)
> 13:47:25 at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-ea/Executors.java:514)
> 13:47:25 at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266)
> 13:47:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158)
> 13:47:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
> 13:47:25 at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
> 13:47:25 Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.codehaus.mojo:jaxb2-maven-plugin:2.2:xjc failed: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.2:xjc: com/sun/codemodel/CodeWriter
> 13:47:25 -----------------------------------------------------
> 13:47:25 realm = plugin>org.codehaus.mojo:jaxb2-maven-plugin:2.2
> 13:47:25 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> 13:47:25 urls[0] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/mojo/jaxb2-maven-plugin/2.2/jaxb2-maven-plugin-2.2.jar
> 13:47:25 urls[1] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.jar
> 13:47:25 urls[2] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
> 13:47:25 urls[3] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
> 13:47:25 urls[4] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
> 13:47:25 urls[5] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-jxc/2.2.11/jaxb-jxc-2.2.11.jar
> 13:47:25 urls[6] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/com/thoughtworks/qdox/qdox/2.0-M3/qdox-2.0-M3.jar
> 13:47:25 urls[7] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> 13:47:25 urls[8] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> 13:47:25 urls[9] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> 13:47:25 urls[10] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> 13:47:25 urls[11] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> 13:47:25 urls[12] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> 13:47:25 urls[13] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> 13:47:25 urls[14] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-compiler-api/2.5/plexus-compiler-api-2.5.jar
> 13:47:25 urls[15] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
> 13:47:25 urls[16] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> 13:47:25 Number of foreign imports: 1
> 13:47:25 import: Entry[import from realm ClassRealm[project>org.drools:drools:7.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> 13:47:25
> 13:47:25 -----------------------------------------------------
> 13:47:25
> 13:47:25 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:166)
> 13:47:25 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 13:47:25 ... 11 more
> 13:47:25 Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.2:xjc: com/sun/codemodel/CodeWriter
> 13:47:25 -----------------------------------------------------
> 13:47:25 realm = plugin>org.codehaus.mojo:jaxb2-maven-plugin:2.2
> 13:47:25 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> 13:47:25 urls[0] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/mojo/jaxb2-maven-plugin/2.2/jaxb2-maven-plugin-2.2.jar
> 13:47:25 urls[1] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.jar
> 13:47:25 urls[2] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
> 13:47:25 urls[3] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
> 13:47:25 urls[4] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
> 13:47:25 urls[5] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/glassfish/jaxb/jaxb-jxc/2.2.11/jaxb-jxc-2.2.11.jar
> 13:47:25 urls[6] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/com/thoughtworks/qdox/qdox/2.0-M3/qdox-2.0-M3.jar
> 13:47:25 urls[7] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> 13:47:25 urls[8] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> 13:47:25 urls[9] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> 13:47:25 urls[10] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> 13:47:25 urls[11] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> 13:47:25 urls[12] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> 13:47:25 urls[13] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> 13:47:25 urls[14] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-compiler-api/2.5/plexus-compiler-api-2.5.jar
> 13:47:25 urls[15] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
> 13:47:25 urls[16] = file:/home/jenkins/workspace/kie-all-build-master-jdk9/.repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> 13:47:25 Number of foreign imports: 1
> 13:47:25 import: Entry[import from realm ClassRealm[project>org.drools:drools:7.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> 13:47:25
> 13:47:25 -----------------------------------------------------
> 13:47:25
> 13:47:25 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:164)
> 13:47:25 ... 12 more
> 13:47:25 Caused by: java.lang.NoClassDefFoundError: com/sun/codemodel/CodeWriter
> 13:47:25 at org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo.performExecution(AbstractJavaGeneratorMojo.java:402)
> 13:47:25 at org.codehaus.mojo.jaxb2.AbstractJaxbMojo.execute(AbstractJaxbMojo.java:257)
> 13:47:25 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
> 13:47:25 ... 12 more
> 13:47:25 Caused by: java.lang.ClassNotFoundException: com.sun.codemodel.CodeWriter
> 13:47:25 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> 13:47:25 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
> 13:47:25 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
> 13:47:25 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
> 13:47:25 ... 15 more
> {code}
> Looks like we need a newer version of the maven-jaxb2-plugin.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (WFCORE-1617) Tab completion is doesn't work for cli variables and properties
by Chao Wang (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1617?page=com.atlassian.jira.plugi... ]
Chao Wang updated WFCORE-1617:
------------------------------
Labels: downstream_dependency (was: )
> Tab completion is doesn't work for cli variables and properties
> ---------------------------------------------------------------
>
> Key: WFCORE-1617
> URL: https://issues.jboss.org/browse/WFCORE-1617
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0.Alpha2
> Reporter: Chao Wang
> Assignee: Chao Wang
> Labels: downstream_dependency
>
> CLI tab completion doesn't work for CLI variables.
> Add a CLI variable:
> {noformat}
> set myvar=/subsystem=datasources/data-source=ExampleDS
> [standalone@embedded /] $myvar:read-resource
> {
> "outcome" => "success",
> "result" => {
> ...
> {noformat}
> Now try to use tab completion
> *actual*
> {noformat}
> [standalone@embedded /] $myvar:read<TAB>
> [standalone@embedded /] $myvar:readread-<TAB>
> [standalone@embedded /] $myvar:readread-
> 'readread-' is not a valid operation name.
> {noformat}
> *expected*
> {noformat}
> [standalone@embedded /] $myvar:read<TAB>
> [standalone@embedded /] $myvar:read-resource
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (WFCORE-1617) Tab completion is doesn't work for cli variables and properties
by Chao Wang (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1617?page=com.atlassian.jira.plugi... ]
Chao Wang moved JBEAP-5108 to WFCORE-1617:
------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1617 (was: JBEAP-5108)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: CLI
(was: CLI)
(was: User Experience)
Target Release: (was: 7.backlog.GA)
Affects Version/s: 3.0.0.Alpha2
(was: 7.0.0.GA)
> Tab completion is doesn't work for cli variables and properties
> ---------------------------------------------------------------
>
> Key: WFCORE-1617
> URL: https://issues.jboss.org/browse/WFCORE-1617
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0.Alpha2
> Reporter: Chao Wang
> Assignee: Chao Wang
>
> CLI tab completion doesn't work for CLI variables.
> Add a CLI variable:
> {noformat}
> set myvar=/subsystem=datasources/data-source=ExampleDS
> [standalone@embedded /] $myvar:read-resource
> {
> "outcome" => "success",
> "result" => {
> ...
> {noformat}
> Now try to use tab completion
> *actual*
> {noformat}
> [standalone@embedded /] $myvar:read<TAB>
> [standalone@embedded /] $myvar:readread-<TAB>
> [standalone@embedded /] $myvar:readread-
> 'readread-' is not a valid operation name.
> {noformat}
> *expected*
> {noformat}
> [standalone@embedded /] $myvar:read<TAB>
> [standalone@embedded /] $myvar:read-resource
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months