[JBoss JIRA] (WFLY-5676) Wrong WildFly version when WildFly standalone is started
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFLY-5676?page=com.atlassian.jira.plugin.... ]
ehsavoie Hugonnet commented on WFLY-5676:
-----------------------------------------
I've replied on the forum thread.
> Wrong WildFly version when WildFly standalone is started
> --------------------------------------------------------
>
> Key: WFLY-5676
> URL: https://issues.jboss.org/browse/WFLY-5676
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.2.Final
> Reporter: Stefan Lindner
> Assignee: Jason Greene
>
> See also Bug WFLY-2544
> Wildfly 9.2.0 final reports Version 1.0.2 if asked from within Java-application (consulting org.jboss.as.version.Version):
> AS_VERSION = 1.0.2.Final
> AS_RELEASE_CODENAME = Kenny
> Yes, we could test if it's "kenny" and the aha: 1.0.2 is 9.0.2 but this sounds strange
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-1107) DirectoryNotEmptyException on undeploy of ear
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1107?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-1107:
------------------------------------------
[~ochaloup] Thanks. To reproduce you'd need to deploy two apps whose hash results in the same first two chars, then undeploy one of the two. Emmanuel's pull request includes a unit test that simulates the critical bit.
> DirectoryNotEmptyException on undeploy of ear
> ---------------------------------------------
>
> Key: WFCORE-1107
> URL: https://issues.jboss.org/browse/WFCORE-1107
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Environment: Oracle Solaris SPARC 10, Oracle JDK 1.8.0_45.
> Reporter: Frank Langelage
> Assignee: ehsavoie Hugonnet
> Priority: Critical
> Fix For: 2.0.2.Final (EAP 7)
>
>
> When undeploying my ear by removing the ear file from the standalone/deployments folder I sometimes see this exception at the end:
> 21.06. 16:49:25,674 INFO [org.jboss.as.server.deployment#stop] WFLYSRV0028: Stopped deployment maj2e-langfr-dev.ear (runtime-name: maj2e-langfr-dev.ear) in 3072ms
> 21.06. 16:49:26,034 ERROR [org.jboss.as.repository#removeContent] WFLYDR0010: Couldn't delete content /mbi/tools/jboss/10.0/standalone/data/content/30: java.nio.file.DirectoryNotEmptyException: /mbi/tools/jboss/10.0/standalone/data/content/30
> at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
> at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
> at java.nio.file.Files.deleteIfExists(Files.java:1165)
> at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.removeContent(ContentRepository.java:370)
> at org.jboss.as.server.deployment.DeploymentRemoveHandler$1$1.handleResult(DeploymentRemoveHandler.java:118)
> at org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1420)
> at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1400)
> at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1351)
> at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1311)
> at org.jboss.as.controller.AbstractOperationContext$Step.access$300(AbstractOperationContext.java:1199)
> at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:956)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:904)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:620)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:373)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:349)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1201)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:223)
> at org.jboss.as.controller.ModelControllerImpl$3$1$1.run(ModelControllerImpl.java:747)
> at org.jboss.as.controller.ModelControllerImpl$3$1$1.run(ModelControllerImpl.java:741)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.as.controller.ModelControllerImpl$3$1.run(ModelControllerImpl.java:741)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> 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:745)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> 21.06. 16:49:26,174 INFO [org.jboss.as.repository#removeContent] WFLYDR0002: Content removed from location /mbi/tools/jboss/10.0/standalone/data/content/30/4fee5b5fa782d2a7f04723ccab3e12351d600b/content
> 21.06. 16:49:26,176 INFO [org.jboss.as.server#handleResult] WFLYSRV0009: Undeployed "maj2e-langfr-dev.ear" (runtime-name: "maj2e-langfr-dev.ear")
> The exception seems to be ignored. But the named folder and
> a file /mbi/tools/jboss/10.0/standalone/data/content/30/7cb1f70d08fb375010369eea154c5db479eaba/content are still there.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5676) Wrong WildFly version when WildFly standalone is started
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5676?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar commented on WFLY-5676:
-----------------------------------
Yeah, that is still valid, but since version 9, where we have split WildFly to core and "full" it requires bit different setup.
this is from top of my head on what could be done, not tested or anything.
{code:java}
ProductConfig pc = new ProductConfig(Module.getBootModuleLoader(), System.getProperty("jboss.home.dir"), null);
String version = pc.getProductVersion();
{code}
you will still need the org.jboss.as.version module imported to make this work.
> Wrong WildFly version when WildFly standalone is started
> --------------------------------------------------------
>
> Key: WFLY-5676
> URL: https://issues.jboss.org/browse/WFLY-5676
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.2.Final
> Reporter: Stefan Lindner
> Assignee: Jason Greene
>
> See also Bug WFLY-2544
> Wildfly 9.2.0 final reports Version 1.0.2 if asked from within Java-application (consulting org.jboss.as.version.Version):
> AS_VERSION = 1.0.2.Final
> AS_RELEASE_CODENAME = Kenny
> Yes, we could test if it's "kenny" and the aha: 1.0.2 is 9.0.2 but this sounds strange
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5697) ISPN000136: Execution error: CacheListenerException: ISPN000280: Caught exception StackOverflowError while invoking InfinispanSessionManager.removed
by Jens Piegsa (JIRA)
Jens Piegsa created WFLY-5697:
---------------------------------
Summary: ISPN000136: Execution error: CacheListenerException: ISPN000280: Caught exception StackOverflowError while invoking InfinispanSessionManager.removed
Key: WFLY-5697
URL: https://issues.jboss.org/browse/WFLY-5697
Project: WildFly
Issue Type: Bug
Affects Versions: 10.0.0.CR4
Reporter: Jens Piegsa
Assignee: Jason Greene
I'm not sure, whether this is of any help, because I haven't a clue what exactly triggers the exception below. However, I'd appreciate any suggestions.
{quote}ISPN000136: Execution error: org.infinispan.commons.CacheListenerException: ISPN000280: Caught exception [java.lang.StackOverflowError] while invoking method [public void org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.removed(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent)] on listener instance: org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager@24c4070a
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl$1.run(AbstractListenerImpl.java:291)
at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:21)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl.invoke(AbstractListenerImpl.java:309)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.doRealInvocation(CacheNotifierImpl.java:1213)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1208)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1185)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryRemoved(CacheNotifierImpl.java:350)
at org.infinispan.commands.write.RemoveCommand.notify(RemoveCommand.java:98)
at org.infinispan.commands.write.RemoveCommand.performRemove(RemoveCommand.java:215)
at org.infinispan.commands.write.RemoveCommand.perform(RemoveCommand.java:94)
at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:124)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:181)
at org.infinispan.interceptors.CacheLoaderInterceptor.visitRemoveCommand(CacheLoaderInterceptor.java:166)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:499)
at org.infinispan.interceptors.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:564)
at org.infinispan.interceptors.EntryWrappingInterceptor.visitRemoveCommand(EntryWrappingInterceptor.java:255)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.expiration.impl.ExpirationInterceptor.handleWriteCommand(ExpirationInterceptor.java:60)
at org.infinispan.expiration.impl.ExpirationInterceptor.visitRemoveCommand(ExpirationInterceptor.java:30)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataWriteCommand(PessimisticLockingInterceptor.java:123)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitRemoveCommand(AbstractLockingInterceptor.java:71)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.TxInterceptor.enlistWriteAndInvokeNext(TxInterceptor.java:366)
at org.infinispan.interceptors.TxInterceptor.visitRemoveCommand(TxInterceptor.java:230)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.CacheMgmtInterceptor.visitRemoveCommand(CacheMgmtInterceptor.java:209)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336)
at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1634)
at org.infinispan.cache.impl.CacheImpl.removeInternal(CacheImpl.java:558)
at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:549)
at org.infinispan.cache.impl.DecoratedCache.remove(DecoratedCache.java:452)
at org.infinispan.cache.impl.AbstractDelegatingCache.remove(AbstractDelegatingCache.java:296)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.remove(InfinispanSessionMetaDataFactory.java:103)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.remove(InfinispanSessionMetaDataFactory.java:36)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionFactory.findValue(InfinispanSessionFactory.java:71)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionFactory.findValue(InfinispanSessionFactory.java:41)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.lambda$removed$26(InfinispanSessionManager.java:327)
at org.wildfly.clustering.service.concurrent.StampedLockServiceExecutor.execute(StampedLockServiceExecutor.java:42)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.removed(InfinispanSessionManager.java:324)
at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl$1.run(AbstractListenerImpl.java:286)
at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:21)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl.invoke(AbstractListenerImpl.java:309)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.doRealInvocation(CacheNotifierImpl.java:1213)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1208)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1185)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryRemoved(CacheNotifierImpl.java:350)
at org.infinispan.commands.write.RemoveCommand.notify(RemoveCommand.java:98)
at org.infinispan.commands.write.RemoveCommand.performRemove(RemoveCommand.java:215)
at org.infinispan.commands.write.RemoveCommand.perform(RemoveCommand.java:94)
at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:124)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:181)
at org.infinispan.interceptors.CacheLoaderInterceptor.visitRemoveCommand(CacheLoaderInterceptor.java:166)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:499)
at org.infinispan.interceptors.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:564)
at org.infinispan.interceptors.EntryWrappingInterceptor.visitRemoveCommand(EntryWrappingInterceptor.java:255)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.expiration.impl.ExpirationInterceptor.handleWriteCommand(ExpirationInterceptor.java:60)
at org.infinispan.expiration.impl.ExpirationInterceptor.visitRemoveCommand(ExpirationInterceptor.java:30)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataWriteCommand(PessimisticLockingInterceptor.java:123)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitRemoveCommand(AbstractLockingInterceptor.java:71)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.TxInterceptor.enlistWriteAndInvokeNext(TxInterceptor.java:366)
at org.infinispan.interceptors.TxInterceptor.visitRemoveCommand(TxInterceptor.java:230)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.CacheMgmtInterceptor.visitRemoveCommand(CacheMgmtInterceptor.java:209)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336)
at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1634)
at org.infinispan.cache.impl.CacheImpl.removeInternal(CacheImpl.java:558)
at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:549)
at org.infinispan.cache.impl.DecoratedCache.remove(DecoratedCache.java:452)
at org.infinispan.cache.impl.AbstractDelegatingCache.remove(AbstractDelegatingCache.java:296)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.remove(InfinispanSessionMetaDataFactory.java:103)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.remove(InfinispanSessionMetaDataFactory.java:36)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionFactory.findValue(InfinispanSessionFactory.java:71)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionFactory.findValue(InfinispanSessionFactory.java:41)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.lambda$removed$26(InfinispanSessionManager.java:327)
at org.wildfly.clustering.service.concurrent.StampedLockServiceExecutor.execute(StampedLockServiceExecutor.java:42)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.removed(InfinispanSessionManager.java:324)
at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl$1.run(AbstractListenerImpl.java:286)
at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:21)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl.invoke(AbstractListenerImpl.java:309)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.doRealInvocation(CacheNotifierImpl.java:1213)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1208)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1185)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryRemoved(CacheNotifierImpl.java:350)
at org.infinispan.commands.write.RemoveCommand.notify(RemoveCommand.java:98)
at org.infinispan.commands.write.RemoveCommand.performRemove(RemoveCommand.java:215)
at org.infinispan.commands.write.RemoveCommand.perform(RemoveCommand.java:94)
at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:124)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:181)
at org.infinispan.interceptors.CacheLoaderInterceptor.visitRemoveCommand(CacheLoaderInterceptor.java:166)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:499)
at org.infinispan.interceptors.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:564)
at org.infinispan.interceptors.EntryWrappingInterceptor.visitRemoveCommand(EntryWrappingInterceptor.java:255)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.expiration.impl.ExpirationInterceptor.handleWriteCommand(ExpirationInterceptor.java:60)
at org.infinispan.expiration.impl.ExpirationInterceptor.visitRemoveCommand(ExpirationInterceptor.java:30)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataWriteCommand(PessimisticLockingInterceptor.java:123)
at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitRemoveCommand(AbstractLockingInterceptor.java:71)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.TxInterceptor.enlistWriteAndInvokeNext(TxInterceptor.java:366)
at org.infinispan.interceptors.TxInterceptor.visitRemoveCommand(TxInterceptor.java:230)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.CacheMgmtInterceptor.visitRemoveCommand(CacheMgmtInterceptor.java:209)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336)
at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1634)
at org.infinispan.cache.impl.CacheImpl.removeInternal(CacheImpl.java:558)
at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:549)
at org.infinispan.cache.impl.DecoratedCache.remove(DecoratedCache.java:452)
at org.infinispan.cache.impl.AbstractDelegatingCache.remove(AbstractDelegatingCache.java:296)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.remove(InfinispanSessionMetaDataFactory.java:103)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionMetaDataFactory.remove(InfinispanSessionMetaDataFactory.java:36)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionFactory.findValue(InfinispanSessionFactory.java:71)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionFactory.findValue(InfinispanSessionFactory.java:41)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.lambda$removed$26(InfinispanSessionManager.java:327)
at org.wildfly.clustering.service.concurrent.StampedLockServiceExecutor.execute(StampedLockServiceExecutor.java:42)
at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.removed(InfinispanSessionManager.java:324)
at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl$1.run(AbstractListenerImpl.java:286)
at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:21)
at org.infinispan.notifications.impl.AbstractListenerImpl$ListenerInvocationImpl.invoke(AbstractListenerImpl.java:309)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.doRealInvocation(CacheNotifierImpl.java:1213)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1208)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1185)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryRemoved(CacheNotifierImpl.java:350)
at org.infinispan.commands.write.RemoveCommand.notify(RemoveCommand.java:98)
at org.infinispan.commands.write.RemoveCommand.performRemove(RemoveCommand.java:215)
at org.infinispan.commands.write.RemoveCommand.perform(RemoveCommand.java:94)
at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:124)
at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48)
at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:59){quote}
...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (ELY-161) Deprecated Reflection in security manager
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/ELY-161?page=com.atlassian.jira.plugin.sy... ]
David Lloyd commented on ELY-161:
---------------------------------
The Java 9 replacement API is in the final approval process. It is called StackWalker ([JavaDoc|http://cr.openjdk.java.net/~mchung/jdk9/jep259/api/java/lang/Stac...]).
Once Java 9 is released, we should create a new wildfly-elytron-java9 project which provides just the WildFlySecurityManager and StackInspector classes using StackWalker. Then this should be compiled into a JAR and sucked in to the main Elytron project using Java 9 multi-version JARs, allowing our Elytron JAR to work under both Java 8 and Java 9.
> Deprecated Reflection in security manager
> -----------------------------------------
>
> Key: ELY-161
> URL: https://issues.jboss.org/browse/ELY-161
> Project: WildFly Elytron
> Issue Type: Task
> Components: Security Manager
> Reporter: Jan Kalina
> Priority: Minor
> Fix For: 2.0.0.Alpha1
>
>
> WildFly security manager use deprecated API for getting of caller.
> Currently only public API to look at the call stack as Class instances, which will not be removed in future, is {{SecurityManager.getClassContext()}}, which is inefficient to use in performance critical parts.
> Efficient replacement of this API not exist yet, should be added in Java 9:
> https://bugs.openjdk.java.net/browse/JDK-8043814
> *This task can be resolved only after resolving JDK-8043814.*
> When mentioned enhancement proposial will be implemented, it shoudl replace current {{SecurityManager.getClassContext()}} fallback. But this new API only replace current fallback for Java 9 - deprecated API must stay for Java 8.
> This issue is related to following build warning: (mentioned for search)
> {code}
> WildFlySecurityManager.java:[117,32] getCallerClass(int) in sun.reflect.Reflection has been deprecated
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (ELY-234) Implement SPKM-1 GSS mechanism and GSS-K7XIDASOVRG3BZSQ and GS2-DT4PIK22T6APV2PY SASL mechanisms
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/ELY-234?page=com.atlassian.jira.plugin.sy... ]
David Lloyd commented on ELY-234:
---------------------------------
Further investigation reveals that this mechanism is essentially similar to the IEC/ISO-9798 mechanisms, using X.509 certificate chains for authentication. LIPKEY/SPKM-3 is essentially a password authentication mechanism. So this should be considered "optional".
> Implement SPKM-1 GSS mechanism and GSS-K7XIDASOVRG3BZSQ and GS2-DT4PIK22T6APV2PY SASL mechanisms
> ------------------------------------------------------------------------------------------------
>
> Key: ELY-234
> URL: https://issues.jboss.org/browse/ELY-234
> Project: WildFly Elytron
> Issue Type: Task
> Components: SASL
> Reporter: David Lloyd
> Fix For: 2.0.0.Alpha1
>
>
> Implement the "Simple Private Key" GSSAPI mechanism. This can be done in one of two ways:
> # Implement SPKM as a GSSAPI mechanism, and let the GSSAPI and GS2 SASL mechanism factories automatically pick it out.
> # Implement SPKM directly in SASL as "GS2-DT4PIK22T6APV2PY" and do not provide GSSAPI support for other GSSAPI consumers.
> SPKM-1 supports unilateral and mutual authentication using keys. SPKM-3 supports key-based server authentication and password-based client authentication.
> Background reading:
> * The Simple Public-Key GSS-API Mechanism (SPKM): https://tools.ietf.org/html/rfc2025
> * Using Generic Security Service Application Program Interface (GSS-API) Mechanisms in Simple Authentication and Security Layer (SASL): The GS2 Mechanism Family: https://tools.ietf.org/html/rfc5801
> * LIPKEY - A Low Infrastructure Public Key Mechanism Using SPKM: https://tools.ietf.org/html/rfc2847 (also referred to as SPKM-3)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (ELY-234) Implement SPKM-1 GSS mechanism and GSS-K7XIDASOVRG3BZSQ and GS2-DT4PIK22T6APV2PY SASL mechanisms
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/ELY-234?page=com.atlassian.jira.plugin.sy... ]
David Lloyd updated ELY-234:
----------------------------
Priority: Optional (was: Major)
> Implement SPKM-1 GSS mechanism and GSS-K7XIDASOVRG3BZSQ and GS2-DT4PIK22T6APV2PY SASL mechanisms
> ------------------------------------------------------------------------------------------------
>
> Key: ELY-234
> URL: https://issues.jboss.org/browse/ELY-234
> Project: WildFly Elytron
> Issue Type: Task
> Components: SASL
> Reporter: David Lloyd
> Priority: Optional
> Fix For: 2.0.0.Alpha1
>
>
> Implement the "Simple Private Key" GSSAPI mechanism. This can be done in one of two ways:
> # Implement SPKM as a GSSAPI mechanism, and let the GSSAPI and GS2 SASL mechanism factories automatically pick it out.
> # Implement SPKM directly in SASL as "GS2-DT4PIK22T6APV2PY" and do not provide GSSAPI support for other GSSAPI consumers.
> SPKM-1 supports unilateral and mutual authentication using keys. SPKM-3 supports key-based server authentication and password-based client authentication.
> Background reading:
> * The Simple Public-Key GSS-API Mechanism (SPKM): https://tools.ietf.org/html/rfc2025
> * Using Generic Security Service Application Program Interface (GSS-API) Mechanisms in Simple Authentication and Security Layer (SASL): The GS2 Mechanism Family: https://tools.ietf.org/html/rfc5801
> * LIPKEY - A Low Infrastructure Public Key Mechanism Using SPKM: https://tools.ietf.org/html/rfc2847 (also referred to as SPKM-3)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (ELY-261) Rework (and move) UsernamePasswordHashUtil
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/ELY-261?page=com.atlassian.jira.plugin.sy... ]
David Lloyd commented on ELY-261:
---------------------------------
If this class needs to survive, it should probably be moved to {{o.w.s.mechanism.digest}}.
> Rework (and move) UsernamePasswordHashUtil
> ------------------------------------------
>
> Key: ELY-261
> URL: https://issues.jboss.org/browse/ELY-261
> Project: WildFly Elytron
> Issue Type: Feature Request
> Components: API / SPI, Passwords
> Reporter: Darran Lofthouse
> Fix For: 1.1.0.Beta3
>
>
> Firstly this class is not really SASL specific so should be in a general util package.
> Secondly we now have password specs and a PasswordFactory - if this class still has a future then maybe it should be using those instead of it's own custom implementation.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months