Deployment issues in JBoss-Embedded

View: New views
5 Messages — Rating Filter:   Alert me  

Deployment issues in JBoss-Embedded

by Marek Novotny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 first I know that JBoss Embedded is not supported, but anyway if
somebody can help me, I'd appreciate it very much.

I get the attached exception in seam integration testsuite. Sometimes it
is thrown without java.util.ConcurrentModificationException stacktrace.

What was changed in JBoss Embedded? I upgraded hibernate libs:
hibernate-core to 3.3.1.GA
hibernate-annotations to 3.4.0.GA
hibernate-commons-annotations to 3.1.0.GA
hibernate entitymanager to 3.4.0.GA
hibernate-validator to 3.1.0.GA

in test-build dir which is in classpath is the following
destinations-service configuration:
<server>
        <mbean code="org.jboss.mq.server.jmx.Topic"
                   name="jboss.mq.destination:service=Topic,name=testTopic">
                <depends optional-attribute-name="ServerPeer">
                        jboss.messaging:service=ServerPeer
                </depends>
                <depends>jboss.messaging:service=PostOffice</depends>
        </mbean>
       
        <mbean code="org.jboss.mq.server.jmx.Queue"
                   name="jboss.mq.destination:service=Queue,name=testQueue">
                <depends optional-attribute-name="ServerPeer">
                        jboss.messaging:service=ServerPeer
                </depends>
                <depends>jboss.messaging:service=PostOffice</depends>
        </mbean>
</server>


Thanks in advance,

--
Marek Novotny
--
JBoss Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: mnovotny@...
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230

------------------------------------------------------
Looking to carve out IT costs?
www.europe.redhat.com/promo/carveoutcosts/

test:
Trying to override old definition of task testng
Trying to override old definition of task junit-converter
   [testng] [Parser] Running:
   [testng]   /home/mnovotny/workspaces/jboss/jboss-seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/testng.xml
   [testng]
   [testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=persistence.units:jar=test-build.jar,unitName=integration state=PreInstall
   [testng] java.util.ConcurrentModificationException
   [testng] at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
   [testng] at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:384)
   [testng] at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:383)
   [testng] at java.util.HashMap.putAllForCreate(HashMap.java:481)
   [testng] at java.util.HashMap.<init>(HashMap.java:219)
   [testng] at java.util.LinkedHashMap.<init>(LinkedHashMap.java:192)
   [testng] at org.jboss.aop.Domain.getBindings(Domain.java:157)
   [testng] at org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:251)
   [testng] at org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:130)
   [testng] at org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:66)
   [testng] at org.jboss.aop.proxy.container.ClassProxyContainer.initialise(ClassProxyContainer.java:172)
   [testng] at org.jboss.aop.proxy.container.ContainerCache.createContainer(ContainerCache.java:188)
   [testng] at org.jboss.aop.proxy.container.ContainerCache.createAndCacheContainer(ContainerCache.java:176)
   [testng] at org.jboss.aop.proxy.container.ContainerCache.initClassContainer(ContainerCache.java:159)
   [testng] at org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:92)
   [testng] at org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:72)
   [testng] at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:97)
   [testng] at org.jboss.classadapter.plugins.BasicClassAdapter.getDependencies(BasicClassAdapter.java:80)
   [testng] at org.jboss.beans.info.plugins.AbstractBeanInfo.getDependencies(AbstractBeanInfo.java:211)
   [testng] at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:53)
   [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)
   [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)
   [testng] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
   [testng] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
   [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
   [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
   [testng] at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
   [testng] at org.jboss.system.ServiceController.start(ServiceController.java:431)
   [testng] at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:149)
   [testng] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:107)
   [testng] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
   [testng] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
   [testng] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   [testng] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
   [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
   [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
   [testng] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
   [testng] at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)
   [testng] at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
   [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)
   [testng] at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1024)
   [testng] at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:915)
   [testng] at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng] at java.lang.reflect.Method.invoke(Method.java:585)
   [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
   [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
   [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
   [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
   [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:261)
   [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
   [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
   [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
   [testng] at org.testng.TestNG.run(TestNG.java:699)
   [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
   [testng] at org.testng.TestNG.main(TestNG.java:802)
   [testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Configured: name=jboss.mq.destination:name=testTopic,service=Topic state=Instantiated mode=Manual requiredState=Configured
   [testng] org.jboss.deployment.DeploymentException: No Attribute found with name: ServerPeer for jboss.mq.destination:service=Topic,name=testTopic, attributes: [TopicName, DurableMessageCount, InMemory, State, RedeliveryDelay, RecoveryRetries, SecurityConf, NonDurableMessageCount, NonDurableSubscriptionsCount, DurableSubscriptionsCount, JNDIName, MessageCounter, SecurityManager, AllMessageCount, RedeliveryLimit, StateString, MessageStatistics, ReceiversImpl, MaxDepth, ExpiryDestination, Name, MessageCounterHistoryDayLimit, DestinationManager, AllSubscriptionsCount]
   [testng] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:130)
   [testng] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:102)
   [testng] at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
   [testng] at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
   [testng] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
   [testng] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
   [testng] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
   [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
   [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
   [testng] at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
   [testng] at org.jboss.system.ServiceController.install(ServiceController.java:272)
   [testng] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98)
   [testng] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
   [testng] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
   [testng] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   [testng] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
   [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
   [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
   [testng] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
   [testng] at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)
   [testng] at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
   [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)
   [testng] at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1024)
   [testng] at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:915)
   [testng] at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng] at java.lang.reflect.Method.invoke(Method.java:585)
   [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
   [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
   [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
   [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
   [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:261)
   [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
   [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
   [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
   [testng] at org.testng.TestNG.run(TestNG.java:699)
   [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
   [testng] at org.testng.TestNG.main(TestNG.java:802)
   [testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Real: name=vfsfile:/home/mnovotny/workspaces/jboss/jboss-seam_2_2/src/test/integration/test-build/ state=PostClassLoader mode=Manual requiredState=Real
   [testng] org.jboss.deployment.DeploymentException: No Attribute found with name: ServerPeer for jboss.mq.destination:service=Topic,name=testTopic, attributes: [TopicName, DurableMessageCount, InMemory, State, RedeliveryDelay, RecoveryRetries, SecurityConf, NonDurableMessageCount, NonDurableSubscriptionsCount, DurableSubscriptionsCount, JNDIName, MessageCounter, SecurityManager, AllMessageCount, RedeliveryLimit, StateString, MessageStatistics, ReceiversImpl, MaxDepth, ExpiryDestination, Name, MessageCounterHistoryDayLimit, DestinationManager, AllSubscriptionsCount]
   [testng] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:130)
   [testng] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:102)
   [testng] at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
   [testng] at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
   [testng] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
   [testng] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
   [testng] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
   [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
   [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
   [testng] at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
   [testng] at org.jboss.system.ServiceController.install(ServiceController.java:272)
   [testng] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98)
   [testng] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
   [testng] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
   [testng] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   [testng] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
   [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
   [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
   [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
   [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
   [testng] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
   [testng] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
   [testng] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
   [testng] at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)
   [testng] at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
   [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)
   [testng] at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1024)
   [testng] at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:915)
   [testng] at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng] at java.lang.reflect.Method.invoke(Method.java:585)
   [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
   [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
   [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
   [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
   [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:261)
   [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
   [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
   [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
   [testng] at org.testng.TestNG.run(TestNG.java:699)
   [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
   [testng] at org.testng.TestNG.main(TestNG.java:802)



_______________________________________________
seam-dev mailing list
seam-dev@...
https://lists.jboss.org/mailman/listinfo/seam-dev

signature.asc (204 bytes) Download Attachment

Re: Deployment issues in JBoss-Embedded

by Carlo de Wolf-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 From a glance you're mixing JBoss Messaging and JBoss MQ.
I haven't got a clue whether the old embedded has a compatibility bridge.

Carlo

Marek Novotny wrote:

> Hi,
>
>  first I know that JBoss Embedded is not supported, but anyway if
> somebody can help me, I'd appreciate it very much.
>
> I get the attached exception in seam integration testsuite. Sometimes it
> is thrown without java.util.ConcurrentModificationException stacktrace.
>
> What was changed in JBoss Embedded? I upgraded hibernate libs:
> hibernate-core to 3.3.1.GA
> hibernate-annotations to 3.4.0.GA
> hibernate-commons-annotations to 3.1.0.GA
> hibernate entitymanager to 3.4.0.GA
> hibernate-validator to 3.1.0.GA
>
> in test-build dir which is in classpath is the following
> destinations-service configuration:
> <server>
> <mbean code="org.jboss.mq.server.jmx.Topic"
>   name="jboss.mq.destination:service=Topic,name=testTopic">
> <depends optional-attribute-name="ServerPeer">
> jboss.messaging:service=ServerPeer
> </depends>
> <depends>jboss.messaging:service=PostOffice</depends>
> </mbean>
>
> <mbean code="org.jboss.mq.server.jmx.Queue"
>   name="jboss.mq.destination:service=Queue,name=testQueue">
> <depends optional-attribute-name="ServerPeer">
> jboss.messaging:service=ServerPeer
> </depends>
> <depends>jboss.messaging:service=PostOffice</depends>
> </mbean>
> </server>
>
>
> Thanks in advance,
>
>  

_______________________________________________
seam-dev mailing list
seam-dev@...
https://lists.jboss.org/mailman/listinfo/seam-dev

Re: Deployment issues in JBoss-Embedded

by Christian Bauer-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jun 16, 2009, at 11:59 , Marek Novotny wrote:

> first I know that JBoss Embedded is not supported, but anyway if
> somebody can help me, I'd appreciate it very much.
>
> I get the attached exception in seam integration testsuite.  
> Sometimes it
> is thrown without java.util.ConcurrentModificationException  
> stacktrace.

Just to clarify: That is the situation in Seam 2.2 branch in SVN,  
right? Because I'm also getting this exception now on all tests and I  
want to make sure it's not some of the changes I made last week to my  
local working copy. (I'm switching out the mock classes with better  
ones, which broke all tests of course.)

IIRC that was the reason why we never upgraded Hibernate in Seam,  
because JBoss Embedded wasn't maintained and had problems.
_______________________________________________
seam-dev mailing list
seam-dev@...
https://lists.jboss.org/mailman/listinfo/seam-dev

Re: Deployment issues in JBoss-Embedded

by Marek Novotny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christian Bauer píše v Út 16. 06. 2009 v 12:56 +0200:

> On Jun 16, 2009, at 11:59 , Marek Novotny wrote:
>
> > first I know that JBoss Embedded is not supported, but anyway if
> > somebody can help me, I'd appreciate it very much.
> >
> > I get the attached exception in seam integration testsuite.  
> > Sometimes it
> > is thrown without java.util.ConcurrentModificationException  
> > stacktrace.
>
> Just to clarify: That is the situation in Seam 2.2 branch in SVN,  
> right? Because I'm also getting this exception now on all tests and I  
> want to make sure it's not some of the changes I made last week to my  
> local working copy. (I'm switching out the mock classes with better  
> ones, which broke all tests of course.)
>
> IIRC that was the reason why we never upgraded Hibernate in Seam,  
> because JBoss Embedded wasn't maintained and had problems.
Right Christian, this is big struggle in releasing of Seam 2.2 with
upgraded hibernate libs. As Carlo wrote, I will try to figure out if I
can fix the use of messaging component in jboss embedded.

--
Marek Novotny
--
JBoss Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: mnovotny@...
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230

------------------------------------------------------
Looking to carve out IT costs?
www.europe.redhat.com/promo/carveoutcosts/


_______________________________________________
seam-dev mailing list
seam-dev@...
https://lists.jboss.org/mailman/listinfo/seam-dev

signature.asc (204 bytes) Download Attachment

Re: Deployment issues in JBoss-Embedded

by Marek Novotny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Carlo de Wolf píše v Út 16. 06. 2009 v 12:02 +0200:
> From a glance you're mixing JBoss Messaging and JBoss MQ.
> I haven't got a clue whether the old embedded has a compatibility bridge.

I thought it, so somehow the build of jboss-embedded decided to choose
the wrong messaging component, That is weird thing because I changed
only build-thirdparty.xml definitions for hibernate dependencies.

Anyway thanks for assurance about it.

>
> Carlo
>
> Marek Novotny wrote:
> > Hi,
> >
> >  first I know that JBoss Embedded is not supported, but anyway if
> > somebody can help me, I'd appreciate it very much.
> >
> > I get the attached exception in seam integration testsuite. Sometimes it
> > is thrown without java.util.ConcurrentModificationException stacktrace.
> >
> > What was changed in JBoss Embedded? I upgraded hibernate libs:
> > hibernate-core to 3.3.1.GA
> > hibernate-annotations to 3.4.0.GA
> > hibernate-commons-annotations to 3.1.0.GA
> > hibernate entitymanager to 3.4.0.GA
> > hibernate-validator to 3.1.0.GA
> >
> > in test-build dir which is in classpath is the following
> > destinations-service configuration:
> > <server>
> > <mbean code="org.jboss.mq.server.jmx.Topic"
> >   name="jboss.mq.destination:service=Topic,name=testTopic">
> > <depends optional-attribute-name="ServerPeer">
> > jboss.messaging:service=ServerPeer
> > </depends>
> > <depends>jboss.messaging:service=PostOffice</depends>
> > </mbean>
> >
> > <mbean code="org.jboss.mq.server.jmx.Queue"
> >   name="jboss.mq.destination:service=Queue,name=testQueue">
> > <depends optional-attribute-name="ServerPeer">
> > jboss.messaging:service=ServerPeer
> > </depends>
> > <depends>jboss.messaging:service=PostOffice</depends>
> > </mbean>
> > </server>
> >
> >
> > Thanks in advance,
> >
> >  
>
--
Marek Novotny
--
JBoss Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: mnovotny@...
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230

------------------------------------------------------
Looking to carve out IT costs?
www.europe.redhat.com/promo/carveoutcosts/


_______________________________________________
seam-dev mailing list
seam-dev@...
https://lists.jboss.org/mailman/listinfo/seam-dev

signature.asc (204 bytes) Download Attachment