2010-02-01 16:39:15,096 ERROR
[org.i2cat.slee.precompiler.profile.ProfileCreator] (pool-17-thread-1)
Failed to create Example8's Events Profiles!
javax.management.MBeanException
at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions
(ReflectedDispatcher.java:184)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:165)
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:597)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke
(InvokerAdaptorService.java:263)
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.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:180)
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.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.local.LocalInvoker$MBeanServerAction.invoke
(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:
118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal
(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke
(InvokerInterceptor.java:195)
at
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke
(InvokerAdaptorClientInterceptor.java:66)
at org.jboss.proxy.SecurityInterceptor.invoke
(SecurityInterceptor.java:68)
at org.jboss.proxy.ClientMethodInterceptor.invoke
(ClientMethodInterceptor.java:74)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy312.invoke(Unknown Source)
at
org.mobicents.slee.container.management.jmx.SleeCommandInterface.invokeCommand
(SleeCommandInterface.java:112)
at
org.mobicents.slee.container.management.jmx.SleeCommandInterface.invokeOperation
(SleeCommandInterface.java:314)
at org.i2cat.slee.precompiler.profile.ProfileCreator.newProfile
(ProfileCreator.java:126)
at org.i2cat.slee.precompiler.profile.ProfileCreator.addProfiles
(ProfileCreator.java:113)
at
org.mobicents.slee.training.example8.common.SubscriptionProfileSbb.newProfile
(SubscriptionProfileSbb.java:124)
at org.i2cat.slee.precompiler.RootSbb.onStartServiceEvent
(RootSbb.java:35)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:670)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.routeQueuedEvent
(EventRoutingTask.java:351)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.run
(EventRoutingTask.java:111)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.slee.management.ManagementException:
BaseTransaction.checkTransactionState -
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated]
[com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated]
thread is already associated with a transaction!
at
org.mobicents.slee.container.management.jmx.ProfileProvisioningMBeanImpl.createProfile
(ProfileProvisioningMBeanImpl.java:142)
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.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:157)
... 57 more
Btw, check the Timer example in SLEE 2.x SVN (/trunk/servers/jain-slee/
examples/timer), the only hack the example uses is for the profile
table creation.
-- Eduardo
I will try it
javax.slee.facilities.FacilityException: JAIN SLEE 1.1 Specs forbidden
the usage of this method on SLEE 1.1 Profile Tables
at
org.mobicents.slee.runtime.facilities.profile.ProfileFacilityImpl.getProfileByIndexedAttribute
(ProfileFacilityImpl.java:304)
at org.i2cat.slee.precompiler.common.SubscriptionProfileSbb.lookup
(SubscriptionProfileSbb.java:195)
at org.i2cat.slee.precompiler.RootSbb.onStartServiceEvent
(RootSbb.java:33)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:670)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.routeQueuedEvent
(EventRoutingTask.java:351)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.run
(EventRoutingTask.java:111)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.slee.facilities.FacilityException: JAIN SLEE 1.1
Specs forbidden the usage of this method on SLEE 1.1 Profile Tables
at
org.mobicents.slee.runtime.facilities.profile.ProfileFacilityImpl.getProfileByIndexedAttribute
(ProfileFacilityImpl.java:283)
... 12 more
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco