[JBoss JIRA] (AS7-3521) @ArquillianResource ManagementClient injection does not work in 'manual' container mode
by Ivo Studensky (JIRA)
Ivo Studensky created AS7-3521:
----------------------------------
Summary: @ArquillianResource ManagementClient injection does not work in 'manual' container mode
Key: AS7-3521
URL: https://issues.jboss.org/browse/AS7-3521
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Reporter: Ivo Studensky
Assignee: Andrew Rubinger
Priority: Critical
Fix For: 7.1.1.Final
ManagementClient cannot be injected by @ArquillianResource annotation if the test runs in the manual container mode, i.e. if the test itself controls start/stop actions on the container. In such case the injection fails with ' java.lang.RuntimeException: Could not lookup value for field private org.jboss.as.arquillian.container.ManagementClient'.
See the snippet of output log:
{noformat}
java.lang.RuntimeException: Could not lookup value for field private static org.jboss.as.arquillian.container.ManagementClient org.jboss.jbossts.txbridge.tests.inbound.junit.BasicTests.managementClient
at org.jboss.arquillian.test.impl.enricher.resource.ArquillianResourceTestEnricher.enrich(ArquillianResourceTestEnricher.java:61)
at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
at org.jboss.arquillian.container.test.impl.ClientTestInstanceEnricher.enrich(ClientTestInstanceEnricher.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124)
.
.
.
Caused by: java.lang.RuntimeException: Provider for type class org.jboss.as.arquillian.container.ManagementClient returned a null value: org.jboss.as.arquillian.container.ManagementClientProvider@3d47358f
at org.jboss.arquillian.test.impl.enricher.resource.ArquillianResourceTestEnricher.lookup(ArquillianResourceTestEnricher.java:115)
at org.jboss.arquillian.test.impl.enricher.resource.ArquillianResourceTestEnricher.enrich(ArquillianResourceTestEnricher.java:57)
... 71 more
{noformat}
I've isolated a test-case for this issue into my private branch on github, see:
https://github.com/istudens/jboss-as/compare/inject_mgmt_client
Steps to reproduce the issue:
1. git clone git@github.com:istudens/jboss-as.git
2. cd jboss-as
3. git checkout inject_mgmt_client
4. ./build.sh clean install -Dts.noSmoke -DskipTests
5. cd testsuite/integration/manual
6. mvn clean install
This issue is related to AS7-1415.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (AS7-2496) Replicating CDI bean caused: ISE: Singleton not set for ModuleClassLoader for Module "org.jboss.as.clustering.infinispan:main" from local module loader
by Radoslav Husar (Created) (JIRA)
Replicating CDI bean caused: ISE: Singleton not set for ModuleClassLoader for Module "org.jboss.as.clustering.infinispan:main" from local module loader
-------------------------------------------------------------------------------------------------------------------------------------------------------
Key: AS7-2496
URL: https://issues.jboss.org/browse/AS7-2496
Project: Application Server 7
Issue Type: Bug
Components: Clustering
Affects Versions: No Release
Reporter: Radoslav Husar
Assignee: Paul Ferraro
Priority: Critical
Fix For: 7.1.0.Beta1
Looks like after fixing AS7-1901 the replication now results in:
For steps to reproduce see AS7-1521.
{code}
09:25:38,667 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "weld-numberguess.war"
09:25:57,400 ERROR [org.infinispan.remoting.ReplicationQueue] (Scheduled-replicationQueue-thread-0) ISPN000072: Failed replicating 2 elements in replication queue: org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
at org.infinispan.util.Util.rewrapAsCacheException(Util.java:535) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:114) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:406) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:130) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:158) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.ReplicationQueueImpl.flush(ReplicationQueueImpl.java:159) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.ReplicationQueueImpl$1.run(ReplicationQueueImpl.java:112) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_20]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_20]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.marshallCall(CommandAwareRpcDispatcher.java:213) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:234) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:110) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
... 14 more
Caused by: org.infinispan.CacheException: Unable to marshall value AtomicHashMap{delegate=org.infinispan.util.FastCopyHashMap@6405b42e}
at org.infinispan.marshall.MarshalledValue.serialize0(MarshalledValue.java:129) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.MarshalledValue.serialize(MarshalledValue.java:97) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.MarshalledValue.getRaw(MarshalledValue.java:206) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.MarshalledValue$Externalizer.writeObject(MarshalledValue.java:318) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.MarshalledValue$Externalizer.writeObject(MarshalledValue.java:309) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:389) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:83) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:68) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:56) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:389) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:83) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:123) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:110) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:66) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:389) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:83) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:123) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:110) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:66) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:389) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:59) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:91) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:57) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:85) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:45) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.marshallCall(CommandAwareRpcDispatcher.java:211) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
... 16 more
Caused by: java.lang.IllegalStateException: Singleton not set for ModuleClassLoader for Module "org.jboss.as.clustering.infinispan:main" from local module loader @7b112783 (roots: /tmp/b/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules)
at org.jboss.as.weld.services.ModuleGroupSingletonProvider$TCCLSingleton.get(ModuleGroupSingletonProvider.java:73)
at org.jboss.weld.Container.instance(Container.java:58)
at org.jboss.weld.injection.WeldInjectionPoint$WeldInjectionPointSerializationProxy.<init>(WeldInjectionPoint.java:43)
at org.jboss.weld.injection.FieldInjectionPoint$SerializationProxy.<init>(FieldInjectionPoint.java:216)
at org.jboss.weld.injection.FieldInjectionPoint.writeReplace(FieldInjectionPoint.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
at org.jboss.marshalling.reflect.SerializableClass.callWriteReplace(SerializableClass.java:286) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:190)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:992)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:992)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:992)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:69)
at org.jboss.marshalling.river.BlockMarshaller.writeObjectUnshared(BlockMarshaller.java:64)
at org.jboss.marshalling.MarshallerObjectOutputStream.writeUnshared(MarshallerObjectOutputStream.java:59) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.weld.bean.proxy.util.SerializableProxy.writeObject(SerializableProxy.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:173) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1001)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:585)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159)
at java.util.Collections$SynchronizedCollection.writeObject(Collections.java:1602) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:173) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1001)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:992)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:677)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:64)
at org.jboss.as.clustering.SimpleMarshalledValue.writeObject(SimpleMarshalledValue.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:173) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1001)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:60) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:63) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:47) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:389) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:225) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:222) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:389) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119) [jboss-marshalling-1.3.1.GA.jar:1.3.1.GA]
at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:59) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.VersionAwareMarshaller.objectToObjectStream(VersionAwareMarshaller.java:151) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.AbstractDelegatingMarshaller.objectToObjectStream(AbstractDelegatingMarshaller.java:40) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
at org.infinispan.marshall.MarshalledValue.serialize0(MarshalledValue.java:112) [infinispan-core-5.1.0.BETA2.jar:5.1.0.BETA2]
... 53 more
Caused by: an exception which occurred:
in field injectionPoint
in field randomNumber
in field delegate
in field instance
in field c
in field dependentInstances
in field creationalContext
in object java.util.HashMap@d297c12e
in object org.jboss.as.clustering.SimpleMarshalledValue@d297c12e
in object org.infinispan.util.FastCopyHashMap@6405b42e
in object org.infinispan.atomic.AtomicHashMap@6ce9b75e
in object org.infinispan.marshall.MarshalledValue@6ce9b75e
in object org.infinispan.commands.write.PutKeyValueCommand@6b96ec3e
in object org.infinispan.commands.tx.PrepareCommand@a87938e4
in object org.infinispan.commands.remote.MultipleRpcCommand@d5f2436d
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (AS7-3171) System dependency can not be parsed in jboss-deployment-structure.xml during deployment
by Gonne Martens (Created) (JIRA)
System dependency can not be parsed in jboss-deployment-structure.xml during deployment
---------------------------------------------------------------------------------------
Key: AS7-3171
URL: https://issues.jboss.org/browse/AS7-3171
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.0.CR1b
Environment: Java 1.7.0_01 64bit, Windows 7 64bit
Reporter: Gonne Martens
The system dependency in jboss-deployment-structure.xml can not be parsed during deployment.
{code:xml}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="deployment.system"/>
</dependencies>
</deployment>
<module name="deployment.system">
<dependencies>
<system export="true">
<paths>
<path name="com/sun/net/ssl/internal/ssl"/>
</paths>
</system>
</dependencies>
</module>
</jboss-deployment-structure>
{code}
Error message:
{code}
17:31:03,957 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."merlix-ear.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."merlix-ear.ear".STRUCTURE: Failed to process phase STRUCTURE of deployme
nt "merlix-ear.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_01]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_01]
at java.lang.Thread.run(Thread.java:722) [:1.7.0_01]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Error loading jboss-structure.xml from D:\jboss\jboss-as-7.1.0.CR1b\standalone\deployments\merlix-ear.ear\META-INF\jboss-deployment-structure.xml
at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:265) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:237) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:132) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,10]
Message: Unexpected content of type 'element start' named '{urn:jboss:deployment-structure:1.1}system'
at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.unexpectedContent(JBossDeploymentStructureParser11.java:1072) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseDependencies(JBossDeploymentStructureParser11.java:397) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseModuleStructureSpec(JBossDeploymentStructureParser11.java:314) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.parseModule(JBossDeploymentStructureParser11.java:291) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:215) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:44) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:259) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
... 8 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (AS7-3376) Server started by basic integration testsuite could not be reloaded using reload operation.
by Dominik Pospisil (JIRA)
Dominik Pospisil created AS7-3376:
-------------------------------------
Summary: Server started by basic integration testsuite could not be reloaded using reload operation.
Key: AS7-3376
URL: https://issues.jboss.org/browse/AS7-3376
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.1.0.Final
Reporter: Dominik Pospisil
Assignee: Andrew Rubinger
Server started by basic integration testsuite could not be reloaded using reload management operation. The reload operation fails with the following error in both cases if admin-only parameter is or is not set.
09:42:45,469 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.as.server-controller: org.jboss.msc.service.StartException in service jboss.as.server-controller: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
Caused by: java.lang.AssertionError: profileResourceRegistration is already set
at org.jboss.as.controller.extension.ExtensionRegistry.setProfileResourceRegistration(ExtensionRegistry.java:124) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.server.ServerControllerModelUtil.initOperations(ServerControllerModelUtil.java:343) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.server.ServerService.initModel(ServerService.java:293) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.controller.AbstractControllerService.start(AbstractControllerService.java:147) [jboss-as-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.as.server.ServerService.start(ServerService.java:182) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
... 3 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months