When I try to boot embedded from trunk I get an NPE from JMS. I suspect this is some
configuration problem with our xml, but as the error message isn't helpful :p I'm
not sure
[testng] WARN [org.jboss.mx.loading.UnifiedLoaderRepository3] Tried to add
non-URLClassLoader. Ignored
| [testng] WARN [org.jboss.aop.deployment.AspectManagerService] Could not find
base-aspects.xml file in the resources of sun.misc.Launcher$AppClassLoader@a39137
| [testng] INFO [org.jboss.aop.deployers.AspectDeployer] Deploying xml into
org.jboss.aop.AspectManager@f26c81 for sun.misc.Launcher$AppClassLoader@a39137
| [testng] INFO [org.jboss.resource.deployers.RARDeployment] Required license terms
exist, view
vfsfile:/Users/pmuir/workspace/jboss-seam/bootstrap-new/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
| [testng] INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI
name 'java:DefaultDS'
| [testng] INFO [org.jboss.resource.deployers.RARDeployment] Required license terms
exist, view
vfsfile:/Users/pmuir/workspace/jboss-seam/bootstrap-new/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
| [testng] INFO [org.jboss.resource.deployers.RARDeployment] Required license terms
exist, view
vfsfile:/Users/pmuir/workspace/jboss-seam/bootstrap-new/deploy/jms-ra.rar/META-INF/ra.xml
| [testng] WARN [org.jboss.jms.server.security.SecurityMetadataStore] WARNING!
POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks
messages from one node to another has not had its password changed from the installation
default. Please see the JBoss Messaging user guide for instructions on how to do this.
| [testng] INFO [org.jboss.jms.server.ServerPeer] JBoss Messaging 1.4.0.SP1 server
[0] started
| [testng] INFO [org.jboss.jms.server.destination.QueueService]
Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
| [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector
bisocket://capercaillie.local:4457 has leasing enabled, lease period 10000 milliseconds
| [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory]
org.jboss.jms.server.connectionfactory.ConnectionFactory@9c62bb started
| [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector
bisocket://capercaillie.local:4457 has leasing enabled, lease period 10000 milliseconds
| [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory]
org.jboss.jms.server.connectionfactory.ConnectionFactory@394344 started
| [testng] INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/DLQ]
started, fullSize=200000, pageSize=2000, downCacheSize=2000
| [testng] WARN [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper]
supportsFailover attribute is true on connection factory:
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
non clustered. So connection factory will *not* support failover
| [testng] WARN [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper]
supportsLoadBalancing attribute is true on connection factory:
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
non clustered. So connection factory will *not* support load balancing
| [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector
bisocket://capercaillie.local:4457 has leasing enabled, lease period 10000 milliseconds
| [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory]
org.jboss.jms.server.connectionfactory.ConnectionFactory@ce2a00 started
| [testng] INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI
name 'java:JmsXA'
| [testng] INFO [org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer] Found
persistence units
[org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@5ff3aa{name=integration}]
| [testng] WARN [org.jboss.xb.builder.runtime.CollectionPropertyHandler]
ClassInfo.getDeclaredConstructor(null) didn't work for
org.jboss.metadata.ejb.spec.InterceptorClassesMetaData, found the default ctor in
ClassInfo.getDeclaredConstructors()
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean:
persistence.units:jar=test-build.jar,unitName=integration with dependencies:
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean:
jboss.j2ee:jar=test-build,name=TestQueueListener,service=EJB3 with dependencies:
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction]
Class:javax.jms.MessageListener
| [testng] INFO [org.jboss.ejb3.EJBContainer] STARTED EJB:
org.jboss.seam.test.integration.MessagingTest$TestQueueListener ejbName:
TestQueueListener
| [testng] WARN [org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory] TIMER
SERVICE IS NOT INSTALLED
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean:
jboss.j2ee:jar=test-build,name=TestTopicListener,service=EJB3 with dependencies:
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| [testng] INFO [org.jboss.ejb3.MCKernelAbstraction]
Class:javax.jms.MessageListener
| [testng] INFO [org.jboss.ejb3.EJBContainer] STARTED EJB:
org.jboss.seam.test.integration.MessagingTest$TestTopicListener ejbName:
TestTopicListener
| [testng] WARN [org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory] TIMER
SERVICE IS NOT INSTALLED
| [testng] INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=integrationDatasource'
to JNDI name 'java:integrationDatasource'
| [testng] INFO [org.jboss.ejb3.entity.PersistenceUnitDeployment] Starting
persistence unit persistence.units:jar=test-build.jar,unitName=integration
| [testng] WARN [jboss.resource.adapter.jms.inflow.JmsActivation] Failure in jms
activation
org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@133ffe(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)ddcf85
destination=queue/testQueue isTopic=false tx=true durable=false reconnect=10
provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15
keepAlive=60000 useDLQ=true
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
| [testng] java.lang.NullPointerException
| [testng] at
org.jboss.jms.client.container.ConnectionAspect.getConnectionState(ConnectionAspect.java:254)
| [testng] at
org.jboss.jms.client.container.ConnectionAspect.handleSetExceptionListener(ConnectionAspect.java:118)
| [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.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:119)
| [testng] at
org.jboss.jms.client.delegate.ClientConnectionDelegate$setExceptionListener_8089029433030319178.invokeNext(ClientConnectionDelegate$setExceptionListener_8089029433030319178.java)
| [testng] at
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| [testng] at
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:106)
| [testng] at
org.jboss.jms.client.delegate.ClientConnectionDelegate$setExceptionListener_8089029433030319178.invokeNext(ClientConnectionDelegate$setExceptionListener_8089029433030319178.java)
| [testng] at
org.jboss.jms.client.delegate.ClientConnectionDelegate.setExceptionListener(ClientConnectionDelegate.java)
| [testng] at
org.jboss.jms.client.JBossConnection.setExceptionListener(JBossConnection.java:116)
| [testng] at
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:142)
| [testng] at
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83)
| [testng] at
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
| [testng] at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:401)
| [testng] at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:339)
| [testng] at
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:692)
| [testng] at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
| [testng] at
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
| [testng] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| [testng] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| [testng] at java.lang.Thread.run(Thread.java:613)
This doesn't seem to cause any great problem when running (except when using JMS ;)
Here is our xml (messaging folder and jms-ra.jar are a copy from server/default/deploy on
trunk):
http://fisheye.jboss.com/browse/JBoss/jboss-seam/bootstrap-new
and the jars we use to build
http://fisheye.jboss.com/browse/JBossAS/trunk/embedded/build.xml?r=67802#...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110370#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...