[JBoss JIRA] (WFLY-11891) Add tests that enable JPA entity class bytecode enhancement
by Scott Marlow (Jira)
[ https://issues.jboss.org/browse/WFLY-11891?page=com.atlassian.jira.plugin... ]
Scott Marlow closed WFLY-11891.
-------------------------------
> Add tests that enable JPA entity class bytecode enhancement
> -----------------------------------------------------------
>
> Key: WFLY-11891
> URL: https://issues.jboss.org/browse/WFLY-11891
> Project: WildFly
> Issue Type: Enhancement
> Components: JPA / Hibernate
> Affects Versions: 16.0.0.Final
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Priority: Minor
> Fix For: 17.0.0.Beta1
>
> Attachments: bytebuddy.log, javassist.log
>
>
> Pick a few unit tests and add the following settings to enable [entity bytecode enhancement|http://docs.jboss.org/hibernate/orm/5.3/userguide/html_single...]:
> {code}
> <property name="hibernate.enhancer.enableDirtyTracking" value="true"/>
> <property name="hibernate.enhancer.enableLazyInitialization" value="true"/>
> <property name="hibernate.enhancer.enableAssociationManagement" value="true"/>
> {code}
> Steps to reproduce:
> * Build WildFly
> * cd testsuite/integration/basic
> * mvn clean install -Dtest=org.jboss.as.test.integration.jpa.transaction.TransactionTestCase
> * mvn clean install -Dtest=org.jboss.as.test.integration.jpa.hibernate.management.ManagementTestCase
> * mvn clean install -Dtest=org.jboss.as.test.integration.jpa.entitylistener.EntityListenersTestCase
> * mvn clean install -Dtest=org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase
> Note that the org.jboss.as.test.integration.jpa.transaction.TransactionTestCase test should pass since javassist is specified in the persistence.xml but that seems to be ignored (we still get the ByteBuddy failure).
> To workaround failures, prestart wildfly via: ./standalone.sh -Dhibernate.bytecode.provider=javassist and then run tests.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (DROOLS-1540) Drools does not work with spring-boot-devtools
by Andy Wilkinson (Jira)
[ https://issues.jboss.org/browse/DROOLS-1540?page=com.atlassian.jira.plugi... ]
Andy Wilkinson commented on DROOLS-1540:
----------------------------------------
I've spent a bit of time stepping through the sample and the root of the problem seems to lie in a combination of {{ProjectClassLoader}} and its delegation model and the split {{ClassLoader}} arrangement that Spring Boot's DevTools uses.
When DevTools is added to the class path, the application's own classes are loaded by the {{RestartClassLoader}} whereas classes from any of the application's dependencies are loaded by the app class loader. The {{RestartClassLoader}} uses the app class loader as its parent. The application's own classes remain visible to the app class loader so it's important that the {{RestartClassLoader}} is used when loading application classes. If it's skipped and an attempt is made to load one of the application's classes using the app class loader, two different versions of the application's class will be loaded. This is what is happening with Drools and is where the {{ProjectClassLoader}} comes into play.
{{ProjectClassLoader}} has a non-null {{droolsClassLoader}} which is the app class loader. {{ProjectClassLoader}}'s parent is the {{RestartClassLoader}}. When available, {{internalLoadClass}} prefers {{droolsClassLoader}}. This results in application classes being loaded by the app class loader rather than the {{RestartClassLoader}}. If {{ProjectClassLoader}} had no {{droolsClassLoader}} or if it didn't use {{droolsClassLoader}} to load non-Drools classes, standard {{ClassLoader}} delegation would result in {{RestartClassLoader}} being used to load the application class and the problem would not occur.
I don't know enough about Drools to identify a reasonable step forward or to be confident that the analysis above is particularly useful. It looks like a {{ProjectClassLoader}} with a {{null}} {{droolsClassLoader}} or that does not delegate to {{droolsClassLoader}} when loading non-Drools classes would solve this particular problem but it may well introduce another one.
I'm happy to help in trying to figure this out if you think there's anything useful in the above.
> Drools does not work with spring-boot-devtools
> ----------------------------------------------
>
> Key: DROOLS-1540
> URL: https://issues.jboss.org/browse/DROOLS-1540
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final
> Reporter: G Xiong
> Assignee: Mario Fusco
> Priority: Critical
> Attachments: complete.zip
>
>
> Drools does work with spring-boot-devtools.
> If you add in pom.xml the following, no rules will be fired in Drools.
> <dependency>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-devtools</artifactId>
> </dependency>
> if you comment out this, then rules will be fired in Drools.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (DROOLS-3946) Create reproducer for kjar issue in Quarkus
by Edoardo Vacchi (Jira)
[ https://issues.jboss.org/browse/DROOLS-3946?page=com.atlassian.jira.plugi... ]
Edoardo Vacchi updated DROOLS-3946:
-----------------------------------
Sprint: 2019 Week 17-19
> Create reproducer for kjar issue in Quarkus
> --------------------------------------------
>
> Key: DROOLS-3946
> URL: https://issues.jboss.org/browse/DROOLS-3946
> Project: Drools
> Issue Type: Task
> Reporter: Edoardo Vacchi
> Assignee: Edoardo Vacchi
> Priority: Major
> Labels: drools-core, submarine
>
> Our Maven plugin uses the custom packaging type kjar and we're getting this error for mvn compile quarkus:dev
> {code}
> [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:0.13.1:dev (default-cli) on project drools-quarkus-example: Failed to run: Failed to resolve Quarkus application model: Failed to resolve dependencies for org.submarine:drools-quarkus-example:kjar:8.0.0-SNAPSHOT: Could not find artifact org.submarine:drools-quarkus-example:kjar:8.0.0-SNAPSHOT -> [Help 1]
> {code}
> the error goes away if I mvn install the project before I mvn quarkus:dev which I assume is unexpected.
> *Deliverable:* create a reproducer and submit an issue to Quarkus
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (DROOLS-3946) Create reproducer for kjar issue in Quarkus
by Edoardo Vacchi (Jira)
Edoardo Vacchi created DROOLS-3946:
--------------------------------------
Summary: Create reproducer for kjar issue in Quarkus
Key: DROOLS-3946
URL: https://issues.jboss.org/browse/DROOLS-3946
Project: Drools
Issue Type: Task
Reporter: Edoardo Vacchi
Assignee: Edoardo Vacchi
Our Maven plugin uses the custom packaging type kjar and we're getting this error for mvn compile quarkus:dev
{code}
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:0.13.1:dev (default-cli) on project drools-quarkus-example: Failed to run: Failed to resolve Quarkus application model: Failed to resolve dependencies for org.submarine:drools-quarkus-example:kjar:8.0.0-SNAPSHOT: Could not find artifact org.submarine:drools-quarkus-example:kjar:8.0.0-SNAPSHOT -> [Help 1]
{code}
the error goes away if I mvn install the project before I mvn quarkus:dev which I assume is unexpected.
*Deliverable:* create a reproducer and submit an issue to Quarkus
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (DROOLS-3946) Create reproducer for kjar issue in Quarkus
by Edoardo Vacchi (Jira)
[ https://issues.jboss.org/browse/DROOLS-3946?page=com.atlassian.jira.plugi... ]
Edoardo Vacchi updated DROOLS-3946:
-----------------------------------
Story Points: 3
> Create reproducer for kjar issue in Quarkus
> --------------------------------------------
>
> Key: DROOLS-3946
> URL: https://issues.jboss.org/browse/DROOLS-3946
> Project: Drools
> Issue Type: Task
> Reporter: Edoardo Vacchi
> Assignee: Edoardo Vacchi
> Priority: Major
> Labels: drools-core, submarine
>
> Our Maven plugin uses the custom packaging type kjar and we're getting this error for mvn compile quarkus:dev
> {code}
> [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:0.13.1:dev (default-cli) on project drools-quarkus-example: Failed to run: Failed to resolve Quarkus application model: Failed to resolve dependencies for org.submarine:drools-quarkus-example:kjar:8.0.0-SNAPSHOT: Could not find artifact org.submarine:drools-quarkus-example:kjar:8.0.0-SNAPSHOT -> [Help 1]
> {code}
> the error goes away if I mvn install the project before I mvn quarkus:dev which I assume is unexpected.
> *Deliverable:* create a reproducer and submit an issue to Quarkus
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (WFCORE-4450) java.rmi is not visible from wildfly.extension.io module
by Tomas Hofman (Jira)
[ https://issues.jboss.org/browse/WFCORE-4450?page=com.atlassian.jira.plugi... ]
Tomas Hofman moved WFLY-12027 to WFCORE-4450:
---------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-4450 (was: WFLY-12027)
Component/s: Server
(was: Server)
Affects Version/s: 9.0.0.Beta3
(was: 16.0.0.Final)
> java.rmi is not visible from wildfly.extension.io module
> --------------------------------------------------------
>
> Key: WFCORE-4450
> URL: https://issues.jboss.org/browse/WFCORE-4450
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Beta3
> Reporter: Tomas Hofman
> Assignee: Tomas Hofman
> Priority: Major
>
> java.rmi is not visible from wildfly.extension.io module
> The CNF is being thrown but not logged on the server side:
> {code}
> (default task-2) [BYTEMAN-1] CNF: java.lang.ClassNotFoundException: java.rmi.dgc.Lease from [Module "org.wildfly.extension.io" version 6.0.12.Final-redhat-00001 from local module loader @6a024a67 (finder: local module finder @7921b0a2 (roots: /tmp/jboss-eap-7.2/modules,/tmp/jboss-eap-7.2/modules/system/layers/base))] (no security manager: RMI class loader disabled)
> (default task-2) java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:97)
> (default task-2) sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:396)
> (default task-2) sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:186)
> (default task-2) java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)
> (default task-2) java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
> (default task-2) sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:219)
> (default task-2) java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868)
> (default task-2) java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
> (default task-2) java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
> (default task-2) java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
> (default task-2) java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
> (default task-2) sun.rmi.transport.DGCImpl_Stub.dirty(DGCImpl_Stub.java:125)
> (default task-2) sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:382)
> (default task-2) sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java:324)
> (default task-2) sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:160)
> (default task-2) sun.rmi.transport.LiveRef.read(LiveRef.java:312)
> (default task-2) sun.rmi.server.UnicastRef.readExternal(UnicastRef.java:489)
> (default task-2) java.rmi.server.RemoteObject.readObject(RemoteObject.java:455)
> (default task-2) sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> (default task-2) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> (default task-2) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> (default task-2) java.lang.reflect.Method.invoke(Method.java:498)
> (default task-2) org.jboss.marshalling.reflect.JDKSpecific$SerMethods.callReadObject(JDKSpecific.java:179)
> (default task-2) org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:212)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1746)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1715)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1715)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1395)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:205)
> (default task-2) org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
> (default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$RemotingInvocationRequest.getRequestContent(EJBServerChannel.java:813)
> (default task-2) org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:130)
> (default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleInvocationRequest(EJBServerChannel.java:451)
> (default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleMessage(EJBServerChannel.java:189)
> (default task-2) org.jboss.remoting3.remote.RemoteConnectionChannel.lambda$handleMessageData$3(RemoteConnectionChannel.java:430)
> (default task-2) org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:949)
> (default task-2) org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> (default task-2) org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> (default task-2) org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> (default task-2) org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> (default task-2) java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (WFLY-12027) java.rmi is not visible from wildfly.extension.io module
by Tomas Hofman (Jira)
Tomas Hofman created WFLY-12027:
-----------------------------------
Summary: java.rmi is not visible from wildfly.extension.io module
Key: WFLY-12027
URL: https://issues.jboss.org/browse/WFLY-12027
Project: WildFly
Issue Type: Bug
Components: Server
Affects Versions: 16.0.0.Final
Reporter: Tomas Hofman
Assignee: Tomas Hofman
java.rmi is not visible from wildfly.extension.io module
The CNF is being thrown but not logged on the server side:
{code}
(default task-2) [BYTEMAN-1] CNF: java.lang.ClassNotFoundException: java.rmi.dgc.Lease from [Module "org.wildfly.extension.io" version 6.0.12.Final-redhat-00001 from local module loader @6a024a67 (finder: local module finder @7921b0a2 (roots: /tmp/jboss-eap-7.2/modules,/tmp/jboss-eap-7.2/modules/system/layers/base))] (no security manager: RMI class loader disabled)
(default task-2) java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:97)
(default task-2) sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:396)
(default task-2) sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:186)
(default task-2) java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)
(default task-2) java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
(default task-2) sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:219)
(default task-2) java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868)
(default task-2) java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
(default task-2) java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
(default task-2) java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
(default task-2) java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
(default task-2) sun.rmi.transport.DGCImpl_Stub.dirty(DGCImpl_Stub.java:125)
(default task-2) sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:382)
(default task-2) sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java:324)
(default task-2) sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:160)
(default task-2) sun.rmi.transport.LiveRef.read(LiveRef.java:312)
(default task-2) sun.rmi.server.UnicastRef.readExternal(UnicastRef.java:489)
(default task-2) java.rmi.server.RemoteObject.readObject(RemoteObject.java:455)
(default task-2) sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
(default task-2) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(default task-2) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(default task-2) java.lang.reflect.Method.invoke(Method.java:498)
(default task-2) org.jboss.marshalling.reflect.JDKSpecific$SerMethods.callReadObject(JDKSpecific.java:179)
(default task-2) org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:212)
(default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1746)
(default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1715)
(default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1715)
(default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1395)
(default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
(default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:205)
(default task-2) org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
(default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$RemotingInvocationRequest.getRequestContent(EJBServerChannel.java:813)
(default task-2) org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:130)
(default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleInvocationRequest(EJBServerChannel.java:451)
(default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleMessage(EJBServerChannel.java:189)
(default task-2) org.jboss.remoting3.remote.RemoteConnectionChannel.lambda$handleMessageData$3(RemoteConnectionChannel.java:430)
(default task-2) org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:949)
(default task-2) org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
(default task-2) org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
(default task-2) org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
(default task-2) org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
(default task-2) java.lang.Thread.run(Thread.java:748)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (WFLY-12026) java.rmi is not visible from wildfly.extension.io module
by Tomas Hofman (Jira)
[ https://issues.jboss.org/browse/WFLY-12026?page=com.atlassian.jira.plugin... ]
Tomas Hofman moved JBEAP-16814 to WFLY-12026:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-12026 (was: JBEAP-16814)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Server
(was: Server)
Affects Version/s: 16.0.0.Final
(was: 7.2.0.GA)
Fix Version/s: (was: 7.2.2.GA)
> java.rmi is not visible from wildfly.extension.io module
> --------------------------------------------------------
>
> Key: WFLY-12026
> URL: https://issues.jboss.org/browse/WFLY-12026
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 16.0.0.Final
> Reporter: Tomas Hofman
> Assignee: Tomas Hofman
> Priority: Major
>
> java.rmi is not visible from wildfly.extension.io module
> The CNF is being thrown but not logged on the server side:
> {code}
> (default task-2) [BYTEMAN-1] CNF: java.lang.ClassNotFoundException: java.rmi.dgc.Lease from [Module "org.wildfly.extension.io" version 6.0.12.Final-redhat-00001 from local module loader @6a024a67 (finder: local module finder @7921b0a2 (roots: /tmp/jboss-eap-7.2/modules,/tmp/jboss-eap-7.2/modules/system/layers/base))] (no security manager: RMI class loader disabled)
> (default task-2) java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:97)
> (default task-2) sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:396)
> (default task-2) sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:186)
> (default task-2) java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)
> (default task-2) java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
> (default task-2) sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:219)
> (default task-2) java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868)
> (default task-2) java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
> (default task-2) java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
> (default task-2) java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
> (default task-2) java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
> (default task-2) sun.rmi.transport.DGCImpl_Stub.dirty(DGCImpl_Stub.java:125)
> (default task-2) sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:382)
> (default task-2) sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java:324)
> (default task-2) sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:160)
> (default task-2) sun.rmi.transport.LiveRef.read(LiveRef.java:312)
> (default task-2) sun.rmi.server.UnicastRef.readExternal(UnicastRef.java:489)
> (default task-2) java.rmi.server.RemoteObject.readObject(RemoteObject.java:455)
> (default task-2) sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> (default task-2) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> (default task-2) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> (default task-2) java.lang.reflect.Method.invoke(Method.java:498)
> (default task-2) org.jboss.marshalling.reflect.JDKSpecific$SerMethods.callReadObject(JDKSpecific.java:179)
> (default task-2) org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:212)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1746)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1715)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1715)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1395)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
> (default task-2) org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:205)
> (default task-2) org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
> (default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$RemotingInvocationRequest.getRequestContent(EJBServerChannel.java:813)
> (default task-2) org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:130)
> (default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleInvocationRequest(EJBServerChannel.java:451)
> (default task-2) org.jboss.ejb.protocol.remote.EJBServerChannel$ReceiverImpl.handleMessage(EJBServerChannel.java:189)
> (default task-2) org.jboss.remoting3.remote.RemoteConnectionChannel.lambda$handleMessageData$3(RemoteConnectionChannel.java:430)
> (default task-2) org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:949)
> (default task-2) org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> (default task-2) org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> (default task-2) org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> (default task-2) org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> (default task-2) java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months
[JBoss JIRA] (DROOLS-3945) Project Indexing error for indexer when restart business central in wildfly
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3945?page=com.atlassian.jira.plugi... ]
Michael Anstis reassigned DROOLS-3945:
--------------------------------------
Assignee: Eder Ignatowicz (was: Michael Anstis)
> Project Indexing error for indexer when restart business central in wildfly
> ---------------------------------------------------------------------------
>
> Key: DROOLS-3945
> URL: https://issues.jboss.org/browse/DROOLS-3945
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor, DSLs Editor, Examples (Workbench)
> Affects Versions: 7.20.0.Final
> Environment: Windows 10 personal version
> Business Central 7.20.0.Final in Wildfly 14.0.1
> Reporter: Peng Yusong
> Assignee: Eder Ignatowicz
> Priority: Major
>
> server.log as follows:
> {code:java}
> 2019-04-29 11:14:03,802 INFO [org.uberfire.ext.metadata.io.BatchIndex] (Thread-183) Starting indexing of MySpace/Test\master ...
> 2019-04-29 11:14:03,802 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-183) Preparing 23 indexers to analyze indexing jobs for cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,803 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-186) Completed indexing 0 events for indexer [id=org.jbpm.designer.server.indexing.BPMN2FileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,803 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-187) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.scorecard.backend.server.indexing.GuidedScoreCardFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,804 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-188) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSXFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,804 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-186) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,805 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-189) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtree.backend.server.indexing.GuidedDecisionTreeFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,805 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-190) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.bpmn.backend.indexing.BpmnFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,805 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-191) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.cm.backend.indexing.CaseManagementFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,805 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-192) Completed indexing 0 events for indexer [id=org.kie.workbench.common.forms.editor.backend.indexing.FormDefinitionIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,806 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-197) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,806 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-196) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.globals.backend.server.indexing.GlobalsFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,806 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-201) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,806 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-204) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,806 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-194) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableGraphFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,807 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-205) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,807 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-195) Completed indexing 0 events for indexer [id=org.optaplanner.workbench.screens.solver.backend.server.indexing.SolverFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,807 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-198) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dsltext.backend.server.indexing.DslFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,808 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-206) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,808 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-202) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDrlFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,809 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-203) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.enums.backend.server.indexing.EnumFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
> 2019-04-29 11:14:03,810 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-185) Indexing error for indexer [id=org.kie.workbench.common.LibraryAssetIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> 2019-04-29 11:14:04,074 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-193) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> 2019-04-29 11:14:04,328 INFO [org.uberfire.ext.metadata.io.BatchIndex] (Thread-193) Starting indexing of MySpace/pingan-auto_article\master ...
> 2019-04-29 11:14:04,328 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-193) Preparing 23 indexers to analyze indexing jobs for cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-206) Completed indexing 0 events for indexer [id=org.kie.workbench.common.LibraryAssetIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-195) Completed indexing 0 events for indexer [id=org.jbpm.designer.server.indexing.BPMN2FileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-201) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSXFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-204) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.bpmn.backend.indexing.BpmnFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-205) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.scorecard.backend.server.indexing.GuidedScoreCardFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-194) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtree.backend.server.indexing.GuidedDecisionTreeFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,330 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-196) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.cm.backend.indexing.CaseManagementFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,331 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-197) Completed indexing 0 events for indexer [id=org.kie.workbench.common.forms.editor.backend.indexing.FormDefinitionIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-192) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableGraphFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-188) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-189) Completed indexing 0 events for indexer [id=org.optaplanner.workbench.screens.solver.backend.server.indexing.SolverFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-191) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.globals.backend.server.indexing.GlobalsFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-186) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dsltext.backend.server.indexing.DslFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-187) Completed indexing 0 events for indexer [id=org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-183) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DrlFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,333 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-206) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.enums.backend.server.indexing.EnumFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,334 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-207) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,335 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-208) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDrlFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,335 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-211) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,336 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-212) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,344 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-210) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,344 INFO [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-209) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
> 2019-04-29 11:14:04,604 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-190) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> 2019-04-29 11:14:04,608 ERROR [org.uberfire.ext.metadata.io.BatchIndex] (Thread-190) Index fails. [@MySpace/pingan-auto_article\master]: java.util.concurrent.CompletionException: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> ... 3 more
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> 2019-04-29 11:14:05,146 INFO [org.uberfire.ext.security.management.BackendUserSystemManager] (default task-4) Using the user management service named 'WildflyCLIUserManagementService'
> 2019-04-29 11:14:06,299 INFO [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (Thread-199) KieModule was added: MemoryKieModule[releaseId=com.myspace:Test:1.0.0-SNAPSHOT]
> 2019-04-29 11:14:06,299 INFO [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (Thread-200) KieModule was added: MemoryKieModule[releaseId=com.myspace:Test:1.0.0-SNAPSHOT]
> 2019-04-29 11:14:06,545 WARN [org.kie.server.common.KeyStoreHelperUtil] (Thread-122) Unable to load key store. Using password from configuration
> 2019-04-29 11:14:06,759 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-199) Indexing error for indexer [id=org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> 2019-04-29 11:14:07,006 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-200) Indexing error for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DrlFileIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> 2019-04-29 11:14:07,010 ERROR [org.uberfire.ext.metadata.io.BatchIndex] (Thread-200) Index fails. [@MySpace/Test\master]: java.util.concurrent.CompletionException: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
> at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
> at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
> at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
> at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> ... 3 more
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
> at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
> at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
> at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
> at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
> at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
> ... 16 more
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 4 months