AS is hanging at startup
by Sacha Labourey
30 seconds:
...
15:09:27,671 INFO [JMXKernel] Legacy JMX core initialized
15:09:31,406 INFO [MetaDataAwareProfile] Using profile
root:C:\SVN_HOME\trunk\b
uild\output\jboss-5.0.0.CR2\server\web-profile
15:10:02,062 INFO [TransactionManagerService] JBossTS Transaction Service
(JTA
version) - JBoss Inc.
15:10:02,062 INFO [TransactionManagerService] Setting up property manager
MBean
and JMX layer
...
Any idea why? I am connected to the Internet.
Actually, it doesn't really hang, but doing things pretty slowly and then
there is this:
2008-09-03 15:09:48,562 DEBUG
[org.jboss.classloader.spi.base.BaseClassLoaderDomain] (main)
ClassLoaderDomain@faaa93{vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-5.0.0
.CR2/server/web-profile/deploy/jmx-console.war/} registerClassLoader
BaseClassLoader@d4b411{vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-5.0.0.C
R2/server/web-profile/deploy/jmx-console.war/}
2008-09-03 15:09:49,390 DEBUG
[org.jboss.deployment.OptAnnotationMetaDataDeployer] (main) Deployment is
metadata-complete, skipping annotation processing, ejbJarMetaData=null,
jbossWebMetaData=org.jboss.metadata.web.spec.Web23MetaData@1f,
jbossClientMetaData=null, metaDataCompleteIsDefault=false
2008-09-03 15:09:49,406 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-5.0.0.CR2/server/web-profile/d
eploy/http-invoker.sar/ endpoint mappings:
2008-09-03 15:09:49,406 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
Processing unit=invoker.war, structure:
http-invoker.sar
+invoker.war
2008-09-03 15:09:58,984 DEBUG
[org.jboss.deployment.OptAnnotationMetaDataDeployer] (main) Deployment is
metadata-complete, skipping annotation processing, ejbJarMetaData=null,
jbossWebMetaData=org.jboss.metadata.web.spec.Web23MetaData@1f,
jbossClientMetaData=null, metaDataCompleteIsDefault=false
2008-09-03 15:09:58,984 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
vfsfile:/C:/SVN_HOME/trunk/build/output/jboss-5.0.0.CR2/server/web-profile/d
eploy/ROOT.war/ endpoint mappings:
2008-09-03 15:09:58,984 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main)
Processing unit=ROOT.war, structure:
ROOT.war
2008-09-03 15:09:59,046 DEBUG
[org.jboss.deployment.OptAnnotationMetaDataDeployer] (main) Deployment is
metadata-complete, skipping annotation processing, ejbJarMetaData=null,
jbossWebMetaData=org.jboss.metadata.web.spec.Web23MetaData@1f,
jbossClientMetaData=null, metaDataCompleteIsDefault=false
17 years, 4 months
RE: [jboss-dev] Towards AS5 CR2
by Carlo de Wolf
On Wed, 2008-09-03 at 06:24 -0400, Sacha Labourey wrote:
> Then does it mean we can do the other releases earlier i.e.
>
> First Scott has to do this:
> > jboss-managed/metatype (scott)
>
> Then Adrian could do this:
> > jboss-vfs (ales)
> > jboss-deployers (ales)
> > jboss-microcontainer (ales)
>
> Then, as soon as Paul has refactored, Adrian or Ales can do this:
> > jboss-reflect (ales)
> > jboss-mdr (ales)
>
> Could Scott, Alexey and Andrew comment on when they think this could be
> released?
> > jboss-classloading (scott)
> > jboss-metadata (alexey)
> > jboss-aspects (andrew)
> > ejb3 (carlo)
Right now I have a problem with the stability of security. That needs to
be resolved first before I can do another release.
Anil is looking into it.
Carlo
> I am very much impatient as you can see :)
>
>
> > -----Original Message-----
> > From: jboss-dev-all-bounces(a)redhat.com [mailto:jboss-dev-all-
> > bounces(a)redhat.com] On Behalf Of Kabir Khan
> > Sent: mercredi, 3 septembre 2008 11:58
> > To: Adrian Brock
> > Cc: JBoss AS; R&D All; JBoss.org development list
> > Subject: Re: [jboss-dev] Towards AS5 CR2
> >
> > >
> > > the main issue remaining is Kabir closing (or deferring) the
> > > long standanding AOP integration task:
> > > https://jira.jboss.org/jira/browse/JBMICROCONT-75
> > > which depends upon some open AOP issues:
> > > https://jira.jboss.org/jira/browse/JBAOP-88
> > > https://jira.jboss.org/jira/browse/JBAOP-230
> >
> > Closed
>
17 years, 4 months
Re: [jboss-dev] Towards AS5 CR2
by Andrew Lee Rubinger
Sacha Labourey wrote:
> Could Scott, Alexey and Andrew comment on when they think this could be
> released?
>> jboss-classloading (scott)
>> jboss-metadata (alexey)
>> jboss-aspects (andrew)
>> ejb3 (carlo)
I'll release jboss-aspects after I get a chance to do a clean run on it
(likely tonight/tomorrow). For now I'll upgrade EJB3 to depend on the
latest snapshot.
S,
ALR
>
> I am very much impatient as you can see :)
>
>
>> -----Original Message-----
>> From: jboss-dev-all-bounces(a)redhat.com [mailto:jboss-dev-all-
>> bounces(a)redhat.com] On Behalf Of Kabir Khan
>> Sent: mercredi, 3 septembre 2008 11:58
>> To: Adrian Brock
>> Cc: JBoss AS; R&D All; JBoss.org development list
>> Subject: Re: [jboss-dev] Towards AS5 CR2
>>
>>> the main issue remaining is Kabir closing (or deferring) the
>>> long standanding AOP integration task:
>>> https://jira.jboss.org/jira/browse/JBMICROCONT-75
>>> which depends upon some open AOP issues:
>>> https://jira.jboss.org/jira/browse/JBAOP-88
>>> https://jira.jboss.org/jira/browse/JBAOP-230
>> Closed
>
--
Andrew Lee Rubinger
Sr. Software Engineer
JBoss EJB3
JBoss, a division of Red Hat, Inc.
http://www.jboss.org/jbossejb3/
http://exitcondition.alrubinger.com
17 years, 4 months
Profile Service Tests
by Adrian Brock
The run last night failed because the server was
shutdown before the test finished, see around 03:17:26
http://hudson.jboss.org/hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/849/art...
It's currently failing for me, because of an NPE,
which looks related to Alex's change:
Caused by: java.lang.NullPointerException
at
org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentMetaData.setTrackConnectionByTransaction(ManagedConnectionFactoryDeploymentMetaData.java:5
29)
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at
org.jboss.beans.info.plugins.DefaultPropertyInfo.set(DefaultPropertyInfo.java:143)
at
org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.setValue(AbstractInstanceClassFactory.java:303)
at
org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.setValue(AbstractInstanceClassFactory.java:256)
at
org.jboss.managed.plugins.WritethroughManagedPropertyImpl.setValue(WritethroughManagedPropertyImpl.java:109)
at
org.jboss.resource.deployers.management.DsDataSourceTemplate.writeTemplate(DsDataSourceTemplate.java:154)
at
org.jboss.resource.deployers.management.DsDataSourceTemplate.applyTemplate(DsDataSourceTemplate.java:70)
at
org.jboss.profileservice.management.ManagementViewImpl.applyTemplate(ManagementViewImpl.java:673)
-------- Forwarded Message --------
From: Ales Justin <ales.justin(a)gmail.com>
To: Dimitris Andreadis <dandread(a)redhat.com>
Cc: Adrian Brock <abrock(a)redhat.com>, Scott M Stark <sstark(a)redhat.com>,
Bruno Georges <bgeorges(a)redhat.com>
Subject: Re: vacation
Date: Tue, 26 Aug 2008 15:26:23 +0200
They work for me locally, so I don't see how I can look for what's wrong
test:
[delete] Deleting: C:\DOCUME~1\Ales\LOCALS~1\Temp\test.log
[junit] Running org.jboss.test.profileservice.test.DeployUnitTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 23,953 sec
[junit] Running
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 8,422 sec
[junit] Running
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase
[junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 11,875 sec
BUILD SUCCESSFUL
The cause of this failures below is also weird.
Since it states there is testEjb3xDeployment failure
vfszip:/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/output/jboss-5.0.0.CR2/server/profileservice/deploy/testEjb3xDeployment.jar
-> java.util.zip.ZipException: error in opening zip file
But I don't see this test failing among failures.
So, I'll have to leave this one to Scott.
Who probably has more equivalent env to Hudson than me.
Or if Mladen takes his tax-hidden Ferrari for a ride,
bringing me new Linux based laptop, to mock the tests. :-)
Dimitris Andreadis wrote:
> Ales, can you take a look at the profileservice tests before you go?
>
> They keep failing and make up 50% of the current failures:
> https://jira.jboss.org/jira/browse/JBAS-5625
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-Test...
>
>
> Ales Justin wrote:
>> I'll be finally taking some summer vacation. :-)
>>
>> From this Wednesday 27 Aug till Friday 5 Sept I'll be chilling out
>> at Croatia's Adriatic coast.
>> Laptop stays at home - 1st time after 2 years - but I'll try to write
>> an article about MC/AS5 - targeting demos I started a few weeks ago.
>>
>> When is JBoss5_CR2 planned?
>> If during my absence, then someone else, presumably Adrian,
>> needs to do MCs CR1 releases.
>>
>> I see there are still some JBMICROCONT issues,
>> which I'll fix tomorrow.
>> And I'll also do a bit of JIRA house-cleaning,
>> after the express releases I did to help/fix various TCK issues.
>>
>> I can still be reached on my Gmail (ales.justin(a)gmail.com)
>> as I expect iPhone to work. :-)
>>
>> Cheers,
>> Ales
>
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
17 years, 4 months
ConcurrentModificationException when installing EJBContainer
by Carlo de Wolf
For some reason this pops up:
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:376)
at org.jboss.aop.ClassContainer.makeInterceptorChains(ClassContainer.java:336)
at org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:314)
at org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:139)
at org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:73)
at org.jboss.aop.proxy.container.ClassProxyContainer.initialise(ClassProxyContainer.java:177)
at org.jboss.aop.proxy.container.ContainerCache.createContainer(ContainerCache.java:203)
at org.jboss.aop.proxy.container.ContainerCache.createAndCacheContainer(ContainerCache.java:191)
at org.jboss.aop.proxy.container.ContainerCache.initClassContainer(ContainerCache.java:164)
at org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:92)
at org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:72)
at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:99)
at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:56)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1522)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:898)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1026)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:948)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:738)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:506)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:124)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1522)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:898)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1026)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:948)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:786)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:519)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.deployment.services.DeploymentManagerService.deploy_phase2(DeploymentManagerService.java:412)
at org.jboss.deployment.services.DeploymentManagerService.deploy(DeploymentManagerService.java:295)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
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:585)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:815)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:416)
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:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Carlo
17 years, 4 months
JBAS-4456 "Replace JRMPProxyService with a remoting based bean."
by Ron Sigal
I want to mention that there's an AOP / Aspects / Remoting based
alternative to org.jboss.invocation.jrmp.server.JRMPProxyFactory. It
lives in the jboss-aspects project. Javadoc attached.
The current uses of JRMPProxyFactory in AS 5 seem to be:
./server/{all,default,minimal}/conf/xmdesc/NamingService-xmbean.xml
./server/{all,default}/deploy/jmx-invoker-service.xml: RMIAdapter
./server/all/deploy/transaction-service.xml
./server/default/deploy/transaction-service.xml
./server/default/unified-http-invoker.sar/META-INF/jboss-service.xml
Since I don't know who "owns" these files, I'm just broadcasting.
-Ron
17 years, 4 months