[JBoss JIRA] (DROOLS-1710) Jitting process may randomly fail during multithreaded execution
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1710?page=com.atlassian.jira.plugi... ]
Tibor Zimányi updated DROOLS-1710:
----------------------------------
Labels: jitting (was: )
> Jitting process may randomly fail during multithreaded execution
> ----------------------------------------------------------------
>
> Key: DROOLS-1710
> URL: https://issues.jboss.org/browse/DROOLS-1710
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Labels: jitting
> Fix For: 7.3.0.Final
>
>
> The jitting process assumes that the mvel constraint has been evaluated at least once before it kicks in. This may not be the case during a multithreaded execution (especially when running with many threads and a very low jitting threshold) because the jitting process may start when other threads have already requested the constraint evaluation using the mvel interpreted constraint (thus incrementing the jitting counter) but none of them had enough time to complete it. When this happens the jitting process trying to work on an uncompleted AST throwing internally an exception like the following:
> {code}
> Exception in thread "drools-worker-1" java.lang.RuntimeException: java.lang.RuntimeException: Null accessor on node: firings
> at org.drools.core.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:346)
> at org.drools.core.rule.constraint.MvelConstraint.access$200(MvelConstraint.java:82)
> at org.drools.core.rule.constraint.MvelConstraint$ConditionJitter.run(MvelConstraint.java:313)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.RuntimeException: Null accessor on node: firings
> at org.drools.core.rule.constraint.ConditionAnalyzer.analyzeNode(ConditionAnalyzer.java:302)
> at org.drools.core.rule.constraint.ConditionAnalyzer.analyzeSingleCondition(ConditionAnalyzer.java:159)
> at org.drools.core.rule.constraint.ConditionAnalyzer.analyzeCondition(ConditionAnalyzer.java:138)
> at org.drools.core.rule.constraint.ConditionAnalyzer.analyzeCondition(ConditionAnalyzer.java:109)
> at org.drools.core.rule.constraint.MvelConditionEvaluator.getAnalyzedCondition(MvelConditionEvaluator.java:129)
> at org.drools.core.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:333)
> ... 5 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1709) KieServicesException: Error while deserializing data received from server!
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1709?page=com.atlassian.jira.plugi... ]
Edson Tirelli reassigned DROOLS-1709:
-------------------------------------
Assignee: Maciej Swiderski (was: Edson Tirelli)
> KieServicesException: Error while deserializing data received from server!
> --------------------------------------------------------------------------
>
> Key: DROOLS-1709
> URL: https://issues.jboss.org/browse/DROOLS-1709
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 7.1.0.Final
> Environment: - Wildfly 10.0.0.Final.
> - Kie-server and kie-workbench 7.1.0 FINAL.
> - Drools 7.1.0 FINAL.
> - Java 8.
> - joda-time 2.9.9.
> - Oracle Linux.
> Reporter: Nicolae Turcan
> Assignee: Maciej Swiderski
> Labels: DateTime, drools, joda-time, json, kie-server, serialization
>
> Hello,
> I'm trying to make working drools 7.1.0 FINAL but I'm getting *unmarshalling input error* when I'm sending an object with a *joda DateTime* attribute to kie-server. Seems like a bug while serializing/deserializing datetime object to json.
> Can someone help me please?
> org.kie.server.api.exception.KieServicesException: Error while deserializing data received from server!
> at org.kie.server.client.impl.AbstractKieServicesClientImpl.deserialize(AbstractKieServicesClientImpl.java:592)
> at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpPostRequestAndCreateServiceResponse(AbstractKieServicesClientImpl.java:286)
> at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpPostRequestAndCreateServiceResponse(AbstractKieServicesClientImpl.java:264)
> at org.kie.server.client.impl.RuleServicesClientImpl.executeCommandsWithResults(RuleServicesClientImpl.java:66)
> at kettle.resources.KieServerClient.fireKettleRules(KieServerClient.java:135)
> at kettle.application.NegocioBean.aplicarReglas(NegocioBean.java:102)
> at kettle.services.KettleService.recieveDataJson(KettleService.java:72)
> at KettleTester.main(KettleTester.java:37)
> Caused by: org.kie.server.api.marshalling.MarshallingException: Error unmarshalling input
> at org.kie.server.api.marshalling.json.JSONMarshaller.unmarshall(JSONMarshaller.java:279)
> at org.kie.server.client.impl.AbstractKieServicesClientImpl.deserialize(AbstractKieServicesClientImpl.java:590)
> ... 7 more
> Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of org.joda.time.Chronology, problem: abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information
> at [Source: {
> "type" : "SUCCESS",
> "msg" : "Container DEV successfully called.",
> "result" : {
> "execution-results" : {
> "results" : [ {
> "value" : [{
> "kettle.model.MensajesError" : {
> "tipoError" : null
> }
> },{
> "tws.hibernate.mappings.TmOt" : {
> "id" : 150078,
> "finishedAt" : {
> "dayOfMonth" : 19,
> "year" : 2017,
> "era" : 1,
> "dayOfYear" : 231,
> "dayOfWeek" : 6,
> "millisOfDay" : 46800000,
> "monthOfYear" : 8,
> "hourOfDay" : 13,
> "minuteOfHour" : 0,
> "secondOfMinute" : 0,
> "millisOfSecond" : 0,
> "weekOfWeekyear" : 33,
> "weekyear" : 2017,
> "yearOfEra" : 2017,
> "yearOfCentury" : 17,
> "centuryOfEra" : 20,
> "secondOfDay" : 46800,
> "minuteOfDay" : 780,
> "millis" : 1503140400000,
> "zone" : {
> "fixed" : false,
> "uncachedZone" : {
> "fixed" : false,
> "cachable" : true,
> "id" : "Europe/Madrid"
> },
> "id" : "Europe/Madrid"
> },
> "chronology" : {
> "zone" : {
> "fixed" : false,
> "uncachedZone" : {
> "fixed" : false,
> "cachable" : true,
> "id" : "Europe/Madrid"
> },
> "id" : "Europe/Madrid"
> }
> },
> "afterNow" : false,
> "beforeNow" : true,
> "equalNow" : false
> },
> "startedAt" : {
> "dayOfMonth" : 19,
> "year" : 2017,
> "era" : 1,
> "dayOfYear" : 231,
> "dayOfWeek" : 6,
> "millisOfDay" : 34200000,
> "monthOfYear" : 8,
> "hourOfDay" : 9,
> "minuteOfHour" : 30,
> "secondOfMinute" : 0,
> "millisOfSecond" : 0,
> "weekOfWeekyear" : 33,
> "weekyear" : 2017,
> "yearOfEra" : 2017,
> "yearOfCentury" : 17,
> "centuryOfEra" : 20,
> "secondOfDay" : 34200,
> "minuteOfDay" : 570,
> "millis" : 1503127800000,
> "zone" : {
> "fixed" : false,
> "uncachedZone" : {
> "fixed" : false,
> "cachable" : true,
> "id" : "Europe/Madrid"
> },
> "id" : "Europe/Madrid"
> },
> "chronology" : {
> "zone" : {
> "fixed" : false,
> "uncachedZone" : {
> "fixed" : false,
> "cachable" : true,
> "id" : "Europe/Madrid"
> },
> "id" : "Europe/Madrid"
> }
> },
> "afterNow" : false,
> "beforeNow" : true,
> "equalNow" : false
> }
> }},
> "key" : "orden"
> }, {
> "value" : {"kettle.model.MensajesError" : {
> "tipoError" : null
> }},
> "key" : "mensaje"
> } ],
> "facts" : [ {
> "value" : {"org.drools.core.common.DefaultFactHandle":{
> "external-form" : "0:1:242655221:1872950214:1:DEFAULT:NON_TRAIT:java.util.LinkedHashMap"
> }},
> "key" : "orden"
> }, {
> "value" : {"org.drools.core.common.DefaultFactHandle":{
> "external-form" : "0:2:1104605608:-2037841024:2:DEFAULT:NON_TRAIT:java.util.LinkedHashMap"
> }},
> "key" : "mensaje"
> } ]
> }
> }
> }; line: 88, column: 8] (through reference chain: org.kie.server.api.model.ServiceResponse["result"]->org.drools.core.runtime.impl.ExecutionResultImpl["results"]->Object[][0]->org.drools.core.xml.jaxb.util.JaxbStringObjectPair["value"]->tws.hibernate.mappings.TmOt["finishedAt"]->org.joda.time.DateTime["chronology"])
> at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
> at com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:889)
> at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserialize(AbstractDeserializer.java:139)
> at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
> at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
> at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
> at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
> at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3703)
> at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2006)
> at org.kie.server.api.marshalling.json.JSONMarshaller$CustomObjectDeserializer.mapObject(JSONMarshaller.java:667)
> at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer.deserialize(UntypedObjectDeserializer.java:222)
> at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer.mapArray(UntypedObjectDeserializer.java:356)
> at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer.deserialize(UntypedObjectDeserializer.java:230)
> at com.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer.deserialize(StdDelegatingDeserializer.java:160)
> at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
> at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
> at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:156)
> at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:17)
> at com.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer.deserialize(StdDelegatingDeserializer.java:160)
> at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
> at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
> at com.fasterxml.jackson.databind.jsontype.impl.AsWrapperTypeDeserializer._deserialize(AsWrapperTypeDeserializer.java:114)
> at com.fasterxml.jackson.databind.jsontype.impl.AsWrapperTypeDeserializer.deserializeTypedFromAny(AsWrapperTypeDeserializer.java:64)
> at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer.deserializeWithType(UntypedObjectDeserializer.java:289)
> at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:518)
> at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
> at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
> at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3731)
> at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2724)
> at org.kie.server.api.marshalling.json.JSONMarshaller.unmarshall(JSONMarshaller.java:277)
> ... 8 more
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1712) Disable Examples in KIE Workbench does not work
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1712?page=com.atlassian.jira.plugi... ]
Edson Tirelli reassigned DROOLS-1712:
-------------------------------------
Assignee: Toni Rikkola (was: Edson Tirelli)
> Disable Examples in KIE Workbench does not work
> -----------------------------------------------
>
> Key: DROOLS-1712
> URL: https://issues.jboss.org/browse/DROOLS-1712
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.2.0.Final
> Environment: Tomcat 8.5.20 - jdk 8
> Reporter: Alberto Flores
> Assignee: Toni Rikkola
> Priority: Minor
>
> Per the documentation, to disable the examples that come with the KIE workbench installation can be disabled using the flags {{-Dorg.kie.example=false}} and {{-Dorg.kie.demo=false}}. I tried this in my local Tomcat installation and I still had the examples in the deployed war.
> The following is a sample of my setenv.sh in tomcat:
> {noformat}
> CATALINA_OPTS="-Xmx512M \
> -Djava.security.auth.login.config=$CATALINA_HOME/webapps/kie-drools-wb/WEB-INF/classes/login.config \
> -Dorg.jboss.logging.provider=jdk \
> -Dorg.uberfire.metadata.index.dir=$CATALINA_HOME/conf/workbench \
> -Dorg.uberfire.nio.git.dir=$CATALINA_HOME/conf/workbench \
> -Dorg.kie.example=false \
> -Dorg.kie.demo=false"
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3206) Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3206?page=com.atlassian.jira.plugi... ]
Jan Kalina deleted WFCORE-3206:
-------------------------------
> Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
> -------------------------------------------------------------------------------------
>
> Key: WFCORE-3206
> URL: https://issues.jboss.org/browse/WFCORE-3206
> Project: WildFly Core
> Issue Type: Bug
> Environment: java version "1.8.0"
> Java(TM) SE Runtime Environment (build pxa6480sr3fp20-20161019_02(SR3 FP20))
> IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20161013_322271 (JIT enabled, AOT enabled)
> J9VM - R28_Java8_SR3_20161013_1635_B322271
> JIT - tr.r14.java.green_20161011_125790
> GC - R28_Java8_SR3_20161013_1635_B322271_CMPRSS
> J9CL - 20161013_322271)
> JCL - 20161018_01 based on Oracle jdk8u111-b14
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Labels: ibm-java
>
> org.wildfly.extension.elytron.DomainTestCase#initializationError
> org.wildfly.extension.elytron.SubsystemParsingTestCase#testParseAndMarshalModel_Realms
> org.wildfly.extension.elytron.SaslTestCase#initializationError
> ^ tests from wfcore elytron module fails with DR14 (Core 3.0.0.Beta9) on IBM JDK.
> e.g. org.wildfly.extension.elytron.SaslTestCase.initializationError
> *Error Message*
> {noformat}
> mockit.integration.junit4.JMockit (initialization failure)
> {noformat}
> *Stacktrace*
> {noformat}
> java.lang.NoClassDefFoundError: mockit.integration.junit4.JMockit (initialization failure)
> at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: java.lang.RuntimeException: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:82)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:72)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> {noformat}
> *Standard Output*
> {noformat}
> 13:19:14,668 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:16,356 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime. This default setting for standalone operation has been overriden.
> 13:19:16,360 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:19,309 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:19,311 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:19,447 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:19,890 INFO (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:20,170 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:20,204 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:20,206 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:20,214 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService1'. Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:20,479 WARN (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:21,397 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11391) is completed.
> 13:19:21,398 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> 13:19:21,402 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:21,971 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime. This default setting for standalone operation has been overriden.
> 13:19:21,972 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:22,696 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:22,697 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:22,703 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:22,772 INFO (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:23,016 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:23,025 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:23,025 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:23,027 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService2'. Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:23,181 WARN (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:23,589 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11392) is completed.
> 13:19:23,589 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3206) Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3206?page=com.atlassian.jira.plugi... ]
Jan Kalina moved JBEAP-12839 to WFCORE-3206:
--------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3206 (was: JBEAP-12839)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Security
Test Suite
(was: Security)
(was: Test Suite)
Affects Version/s: 3.0.0.Final
(was: 7.1.0.DR14)
(was: 7.1.0.DR16)
> Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
> -------------------------------------------------------------------------------------
>
> Key: WFCORE-3206
> URL: https://issues.jboss.org/browse/WFCORE-3206
> Project: WildFly Core
> Issue Type: Bug
> Components: Security, Test Suite
> Affects Versions: 3.0.0.Final
> Environment: java version "1.8.0"
> Java(TM) SE Runtime Environment (build pxa6480sr3fp20-20161019_02(SR3 FP20))
> IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20161013_322271 (JIT enabled, AOT enabled)
> J9VM - R28_Java8_SR3_20161013_1635_B322271
> JIT - tr.r14.java.green_20161011_125790
> GC - R28_Java8_SR3_20161013_1635_B322271_CMPRSS
> J9CL - 20161013_322271)
> JCL - 20161018_01 based on Oracle jdk8u111-b14
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Labels: ibm-java
>
> org.wildfly.extension.elytron.DomainTestCase#initializationError
> org.wildfly.extension.elytron.SubsystemParsingTestCase#testParseAndMarshalModel_Realms
> org.wildfly.extension.elytron.SaslTestCase#initializationError
> ^ tests from wfcore elytron module fails with DR14 (Core 3.0.0.Beta9) on IBM JDK.
> e.g. org.wildfly.extension.elytron.SaslTestCase.initializationError
> *Error Message*
> {noformat}
> mockit.integration.junit4.JMockit (initialization failure)
> {noformat}
> *Stacktrace*
> {noformat}
> java.lang.NoClassDefFoundError: mockit.integration.junit4.JMockit (initialization failure)
> at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: java.lang.RuntimeException: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:82)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:72)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> {noformat}
> *Standard Output*
> {noformat}
> 13:19:14,668 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:16,356 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime. This default setting for standalone operation has been overriden.
> 13:19:16,360 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:19,309 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:19,311 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:19,447 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:19,890 INFO (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:20,170 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:20,204 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:20,206 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:20,214 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService1'. Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:20,479 WARN (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:21,397 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11391) is completed.
> 13:19:21,398 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> 13:19:21,402 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:21,971 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime. This default setting for standalone operation has been overriden.
> 13:19:21,972 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:22,696 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:22,697 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:22,703 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:22,772 INFO (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:23,016 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:23,025 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:23,025 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:23,027 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService2'. Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:23,181 WARN (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:23,589 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11392) is completed.
> 13:19:23,589 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3206) Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3206?page=com.atlassian.jira.plugi... ]
Jan Kalina updated WFCORE-3206:
-------------------------------
Labels: ibm-java (was: eap72 ibm-java)
> Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
> -------------------------------------------------------------------------------------
>
> Key: WFCORE-3206
> URL: https://issues.jboss.org/browse/WFCORE-3206
> Project: WildFly Core
> Issue Type: Bug
> Components: Security, Test Suite
> Affects Versions: 3.0.0.Final
> Environment: java version "1.8.0"
> Java(TM) SE Runtime Environment (build pxa6480sr3fp20-20161019_02(SR3 FP20))
> IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20161013_322271 (JIT enabled, AOT enabled)
> J9VM - R28_Java8_SR3_20161013_1635_B322271
> JIT - tr.r14.java.green_20161011_125790
> GC - R28_Java8_SR3_20161013_1635_B322271_CMPRSS
> J9CL - 20161013_322271)
> JCL - 20161018_01 based on Oracle jdk8u111-b14
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Labels: ibm-java
>
> org.wildfly.extension.elytron.DomainTestCase#initializationError
> org.wildfly.extension.elytron.SubsystemParsingTestCase#testParseAndMarshalModel_Realms
> org.wildfly.extension.elytron.SaslTestCase#initializationError
> ^ tests from wfcore elytron module fails with DR14 (Core 3.0.0.Beta9) on IBM JDK.
> e.g. org.wildfly.extension.elytron.SaslTestCase.initializationError
> *Error Message*
> {noformat}
> mockit.integration.junit4.JMockit (initialization failure)
> {noformat}
> *Stacktrace*
> {noformat}
> java.lang.NoClassDefFoundError: mockit.integration.junit4.JMockit (initialization failure)
> at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: java.lang.RuntimeException: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:82)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:72)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runner.Computer.getRunner(Computer.java:40)
> at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at org.junit.runners.Suite.<init>(Suite.java:81)
> at org.junit.runner.Computer.getSuite(Computer.java:28)
> at org.junit.runner.Request.classes(Request.java:75)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> {noformat}
> *Standard Output*
> {noformat}
> 13:19:14,668 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:16,356 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime. This default setting for standalone operation has been overriden.
> 13:19:16,360 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:19,309 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:19,311 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:19,447 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:19,890 INFO (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:20,170 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:20,204 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:20,206 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:20,214 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService1'. Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:20,479 WARN (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:21,397 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11391) is completed.
> 13:19:21,398 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> 13:19:21,402 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:21,971 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime. This default setting for standalone operation has been overriden.
> 13:19:21,972 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:22,696 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:22,697 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:22,703 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:22,772 INFO (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:23,016 INFO (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:23,025 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:23,025 INFO (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:23,027 WARN (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService2'. Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:23,181 WARN (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:23,589 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11392) is completed.
> 13:19:23,589 INFO (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (ELY-478) Some tests fail with AttachNotSupportedException for IBM JDK
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/ELY-478?page=com.atlassian.jira.plugin.sy... ]
Peter Palaga resolved ELY-478.
------------------------------
Resolution: Out of Date
ELY-534 describes a newer variant of the current issue. Resolving this one as out of date.
> Some tests fail with AttachNotSupportedException for IBM JDK
> ------------------------------------------------------------
>
> Key: ELY-478
> URL: https://issues.jboss.org/browse/ELY-478
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.1.0.Beta4
> Reporter: Ondrej Lukas
> Priority: Minor
>
> Some tests fail with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded on IBM JDK
> Stack trace of exception:
> {code}
> java.lang.ExceptionInInitializerError
> at java.lang.J9VMInternals.ensureError(J9VMInternals.java:137)
> at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:126)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:436)
> at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
> at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
> Caused by: java.lang.RuntimeException: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:82)
> at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
> at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
> at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
> at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
> ... 17 more
> Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
> at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
> at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:72)
> ... 21 more
> {code}
> This is probably only test issue.
> Affected tests:
> org.wildfly.security.auth.realm.oauth2.OAuth2SecurityRealmTest
> org.wildfly.security.sasl.digest.CompatibilityClientTest
> org.wildfly.security.sasl.digest.CompatibilityServerTest
> org.wildfly.security.sasl.entity.EntityTest
> org.wildfly.security.sasl.gssapi.compatibility.BasicAuthTest
> org.wildfly.security.sasl.gssapi.compatibility.BasicConfidenceTest
> org.wildfly.security.sasl.gssapi.compatibility.BasicIntegrityTest
> org.wildfly.security.sasl.gssapi.compatibility.NoServerAuthTest
> org.wildfly.security.sasl.otp.OTPTest
> org.wildfly.security.sasl.scram.ScramClientCompatibilityTest
> org.wildfly.security.sasl.scram.ScramServerCompatibilityTest
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months