Mobicents presence service beta 5 subscription error..

11 views
Skip to first unread message

shax

unread,
Dec 3, 2009, 11:21:46 AM12/3/09
to mobicents-public
Hello,

I am working on a sip j2me softphone for location based services for
mobicents, I have chosen the mobicents presence service to handle the
presence processing.. the initial Registration, publication and
subscription works well and the server actually accepts this requests.
the refreshing the registrations and the publications also works.
However when I try and refresh an existing subscription I get the
error shown below.. I tested my softphone with openSER and the
subscriptions are refreshed without a problem.. Please help!!


Received Request:
SUBSCRIBE sip:mos...@146.231.123.109:5060 SIP/2.0
Call-ID: f7ebb0dcb15c8818...@146.231.123.109
CSeq: 2 SUBSCRIBE
To: <sip:mos...@146.231.123.109:5060>
Max-Forwards: 70
From: <sip:alb...@146.231.123.109>;tag=1853413641
Expires: 3600
Event: presence
Accept: application/pidf+xml
Contact: <sip:mos...@146.231.123.109>
Via: SIP/2.0/UDP
146.231.123.109:5070;branch=z9hG4bK496533dbc8ae010f8227ee73121e2f17
Content-Length: 0


2009-12-03 17:59:00,156 ERROR
[org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb]
failed to bind a name to dialog's aci
javax.slee.facilities.NameAlreadyBoundException: Name already bound !
SubscriptionKey:callId=f7ebb0dcb15c8818...@146.231.123.109,remoteTag=1853413641,eventPackage=presence,eventId="
at
org.mobicents.slee.runtime.facilities.ActivityContextNamingFacilityImpl.bind
(ActivityContextNamingFacilityImpl.java:104)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.newSipSubscriptionAuthorization
(NewSipSubscriptionHandler.java:287)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.newSubscriptionAuthorization
(SubscriptionControlSbb.java:490)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbbLocalObjectImpl.newSubscriptionAuthorization
(SubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sippresence.server.subscription.PresenceSubscriptionControl.isSubscriberAuthorized
(PresenceSubscriptionControl.java:100)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbb.isSubscriberAuthorized
(IntegratedSubscriptionControlSbb.java:148)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbbLocalObjectImpl.isSubscriberAuthorized
(IntegratedSubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.authorizeNewSipSubscription
(NewSipSubscriptionHandler.java:174)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.newSipSubscription
(NewSipSubscriptionHandler.java:116)
at
org.mobicents.slee.sipevent.server.subscription.sip.SipSubscriptionHandler.processRequest
(SipSubscriptionHandler.java:139)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.onSubscribeOutOfDialog
(SubscriptionControlSbb.java:341)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:759)
at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent
(EventRouterImpl.java:933)
at org.mobicents.slee.runtime.EventRouterImpl.access$100
(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run
(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2009-12-03 17:59:00,156 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] Received
Request:
NOTIFY sip:mos...@146.231.123.109 SIP/2.0
Via: SIP/2.0/UDP
146.231.123.109:5060;branch=z9hG4bKcafd1d638fd3361ac2a2622d5ed5cd81,SIP/
2.0/UDP 146.231.123.109:5060
CSeq: 1 NOTIFY
Call-ID: f7ebb0dcb15c8818...@146.231.123.109
To: <sip:alb...@146.231.123.109>;tag=1853413641
From: <sip:mos...@146.231.123.109:5060>;tag=fff5c481
Expires: 3600
Contact: <sip:146.231.123.109:5060;transport=udp>
Event: presence
Max-Forwards: 70
Subscription-State: pending;expires=3600
P-Charging-Vector: icid-
value=z9hG4bK05f45ecdbded0c689c511f00fefca7bf1259846940156;orig-
ioi=mobicents.org
Content-Length: 0


2009-12-03 17:59:00,187 INFO
[org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb]
Created subscription:
subscriber=sip:alb...@146.231.123.109,notifier=sip:mos...@146.231.123.109:5060,resourceList=false,eventPackage=presence,eventId=null,status=pending
2009-12-03 17:59:00,203 WARN
[org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState:
null
2009-12-03 17:59:00,203 ERROR
[org.hibernate.util.JDBCExceptionReporter] failed batch
2009-12-03 17:59:00,203 ERROR
[org.hibernate.event.def.AbstractFlushingEventListener] Could not
synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC
batch update
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert
(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch
(AbstractBatcher.java:253)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
237)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions
(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush
(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.ejb.AbstractEntityManagerImpl.flush
(AbstractEntityManagerImpl.java:296)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.newSubscriptionAuthorization
(SubscriptionControlSbb.java:504)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbbLocalObjectImpl.newSubscriptionAuthorization
(SubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sippresence.server.subscription.PresenceSubscriptionControl.isSubscriberAuthorized
(PresenceSubscriptionControl.java:100)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbb.isSubscriberAuthorized
(IntegratedSubscriptionControlSbb.java:148)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbbLocalObjectImpl.isSubscriberAuthorized
(IntegratedSubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.authorizeNewSipSubscription
(NewSipSubscriptionHandler.java:174)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.newSipSubscription
(NewSipSubscriptionHandler.java:116)
at
org.mobicents.slee.sipevent.server.subscription.sip.SipSubscriptionHandler.processRequest
(SipSubscriptionHandler.java:139)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.onSubscribeOutOfDialog
(SubscriptionControlSbb.java:341)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:759)
at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent
(EventRouterImpl.java:933)
at org.mobicents.slee.runtime.EventRouterImpl.access$100
(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run
(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.BatchUpdateException: failed batch
at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
at
org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeBatch
(CachedPreparedStatement.java:476)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch
(WrappedStatement.java:774)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch
(AbstractBatcher.java:246)
... 38 more
2009-12-03 17:59:00,250 ERROR
[org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb]
Error processing new subscription authorization
javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Could not execute JDBC
batch update
at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException
(AbstractEntityManagerImpl.java:629)
at org.hibernate.ejb.AbstractEntityManagerImpl.flush
(AbstractEntityManagerImpl.java:299)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.newSubscriptionAuthorization
(SubscriptionControlSbb.java:504)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbbLocalObjectImpl.newSubscriptionAuthorization
(SubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sippresence.server.subscription.PresenceSubscriptionControl.isSubscriberAuthorized
(PresenceSubscriptionControl.java:100)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbb.isSubscriberAuthorized
(IntegratedSubscriptionControlSbb.java:148)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbbLocalObjectImpl.isSubscriberAuthorized
(IntegratedSubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.authorizeNewSipSubscription
(NewSipSubscriptionHandler.java:174)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.newSipSubscription
(NewSipSubscriptionHandler.java:116)
at
org.mobicents.slee.sipevent.server.subscription.sip.SipSubscriptionHandler.processRequest
(SipSubscriptionHandler.java:139)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.onSubscribeOutOfDialog
(SubscriptionControlSbb.java:341)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:759)
at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent
(EventRouterImpl.java:933)
at org.mobicents.slee.runtime.EventRouterImpl.access$100
(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run
(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.hibernate.exception.GenericJDBCException: Could not
execute JDBC batch update
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert
(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch
(AbstractBatcher.java:253)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
237)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions
(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush
(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.ejb.AbstractEntityManagerImpl.flush
(AbstractEntityManagerImpl.java:296)
... 32 more
Caused by: java.sql.BatchUpdateException: failed batch
at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
at
org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeBatch
(CachedPreparedStatement.java:476)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch
(WrappedStatement.java:774)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch
(AbstractBatcher.java:246)
... 38 more
2009-12-03 17:59:00,281 INFO
[org.mobicents.slee.xdm.server.InternalXDMClientControlSbb]
Retreiving /org.openmobilealliance.pres-rules/users/
sip:mos...@146.231.123.109:5060/pres-rules
2009-12-03 17:59:00,281 WARN
[org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState:
null
2009-12-03 17:59:00,281 ERROR
[org.hibernate.util.JDBCExceptionReporter] Transaction is not active:
tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:739
status: ActionStatus.ABORT_ONLY >; - nested throwable:
(javax.resource.ResourceException: Transaction is not active:
tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:739
status: ActionStatus.ABORT_ONLY >)
2009-12-03 17:59:00,296 ERROR
[org.mobicents.slee.runtime.EventRouterImpl] Failure while routing
event; second phase. DeferredEvent [EventTypeID
[javax.sip.message.Request.SUBSCRIBE#net.java.slee#1.2], #137]
javax.slee.TransactionRolledbackLocalException: Invocation resulted in
exception !
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:79)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbbLocalObjectImpl.isSubscriberAuthorized
(IntegratedSubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.authorizeNewSipSubscription
(NewSipSubscriptionHandler.java:174)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.newSipSubscription
(NewSipSubscriptionHandler.java:116)
at
org.mobicents.slee.sipevent.server.subscription.sip.SipSubscriptionHandler.processRequest
(SipSubscriptionHandler.java:139)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.onSubscribeOutOfDialog
(SubscriptionControlSbb.java:341)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:759)
at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent
(EventRouterImpl.java:933)
at org.mobicents.slee.runtime.EventRouterImpl.access$100
(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run
(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.slee.TransactionRolledbackLocalException: Invocation
resulted in exception !
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:79)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.xdm.server.XDMClientControlSbbLocalObjectImpl.get
(XDMClientControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sippresence.server.subscription.PresenceSubscriptionControl.isSubscriberAuthorized
(PresenceSubscriptionControl.java:104)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbb.isSubscriberAuthorized
(IntegratedSubscriptionControlSbb.java:148)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
... 17 more
Caused by: javax.slee.TransactionRolledbackLocalException: Invocation
resulted in exception !
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:79)
at org.openxdm.xcap.server.slee.RequestProcessorSbbLocalObjectImpl.get
(RequestProcessorSbbLocalObjectImpl.java)
at org.mobicents.slee.xdm.server.InternalXDMClientControlSbb.get
(InternalXDMClientControlSbb.java:128)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
... 26 more
Caused by: javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection
at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException
(AbstractEntityManagerImpl.java:629)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
at
org.mobicents.slee.xdm.server.datasource.jpa.JPADataSource.getDocument
(JPADataSource.java:69)
at
org.openxdm.xcap.server.slee.resource.datasource.DataSourceSbbInterface.getDocument
(DataSourceSbbInterface.java:89)
at org.openxdm.xcap.server.slee.RequestProcessorSbb.get
(RequestProcessorSbb.java:590)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
... 33 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open
connection
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert
(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnection
(ConnectionManager.java:426)
at org.hibernate.jdbc.ConnectionManager.getConnection
(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement
(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:
1547)
at org.hibernate.loader.Loader.doQuery(Loader.java:673)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections
(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at org.hibernate.hql.ast.QueryTranslatorImpl.list
(QueryTranslatorImpl.java:338)
at org.hibernate.engine.query.HQLQueryPlan.performList
(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
... 41 more
Caused by: org.jboss.util.NestedSQLException: Transaction is not
active: tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:
739 status: ActionStatus.ABORT_ONLY >; - nested throwable:
(javax.resource.ResourceException: Transaction is not active:
tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:739
status: ActionStatus.ABORT_ONLY >)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:95)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection
(DatasourceConnectionProvider.java:69)
at org.hibernate.jdbc.ConnectionManager.openConnection
(ConnectionManager.java:423)
... 55 more
Caused by: javax.resource.ResourceException: Transaction is not
active: tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:
739 status: ActionStatus.ABORT_ONLY >
at
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection
(TxConnectionManager.java:319)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection
(BaseConnectionManager2.java:402)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.java:849)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:89)
... 57 more
2009-12-03 17:59:00,359 INFO
[org.mobicents.slee.runtime.EventRouterImpl] Caught RuntimeException
in invoking SLEE originated invocation
javax.slee.TransactionRolledbackLocalException: Invocation resulted in
exception !
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:79)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbbLocalObjectImpl.isSubscriberAuthorized
(IntegratedSubscriptionControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.authorizeNewSipSubscription
(NewSipSubscriptionHandler.java:174)
at
org.mobicents.slee.sipevent.server.subscription.sip.NewSipSubscriptionHandler.newSipSubscription
(NewSipSubscriptionHandler.java:116)
at
org.mobicents.slee.sipevent.server.subscription.sip.SipSubscriptionHandler.processRequest
(SipSubscriptionHandler.java:139)
at
org.mobicents.slee.sipevent.server.subscription.SubscriptionControlSbb.onSubscribeOutOfDialog
(SubscriptionControlSbb.java:341)
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.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler
(SbbEntity.java:759)
at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent
(EventRouterImpl.java:933)
at org.mobicents.slee.runtime.EventRouterImpl.access$100
(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run
(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.slee.TransactionRolledbackLocalException: Invocation
resulted in exception !
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:79)
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnvoid
(SbbLocalObjectInterceptor.java:113)
at
org.mobicents.slee.xdm.server.XDMClientControlSbbLocalObjectImpl.get
(XDMClientControlSbbLocalObjectImpl.java)
at
org.mobicents.slee.sippresence.server.subscription.PresenceSubscriptionControl.isSubscriberAuthorized
(PresenceSubscriptionControl.java:104)
at
org.mobicents.slee.sippresence.server.integrated.subscription.IntegratedSubscriptionControlSbb.isSubscriberAuthorized
(IntegratedSubscriptionControlSbb.java:148)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
... 17 more
Caused by: javax.slee.TransactionRolledbackLocalException: Invocation
resulted in exception !
at
org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:79)
at org.openxdm.xcap.server.slee.RequestProcessorSbbLocalObjectImpl.get
(RequestProcessorSbbLocalObjectImpl.java)
at org.mobicents.slee.xdm.server.InternalXDMClientControlSbb.get
(InternalXDMClientControlSbb.java:128)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
... 26 more
Caused by: javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection
at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException
(AbstractEntityManagerImpl.java:629)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
at
org.mobicents.slee.xdm.server.datasource.jpa.JPADataSource.getDocument
(JPADataSource.java:69)
at
org.openxdm.xcap.server.slee.resource.datasource.DataSourceSbbInterface.getDocument
(DataSourceSbbInterface.java:89)
at org.openxdm.xcap.server.slee.RequestProcessorSbb.get
(RequestProcessorSbb.java:590)
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.mobicents.slee.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject
(SbbLocalObjectInterceptor.java:72)
... 33 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open
connection
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert
(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnection
(ConnectionManager.java:426)
at org.hibernate.jdbc.ConnectionManager.getConnection
(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement
(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:
1547)
at org.hibernate.loader.Loader.doQuery(Loader.java:673)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections
(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at org.hibernate.hql.ast.QueryTranslatorImpl.list
(QueryTranslatorImpl.java:338)
at org.hibernate.engine.query.HQLQueryPlan.performList
(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
... 41 more
Caused by: org.jboss.util.NestedSQLException: Transaction is not
active: tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:
739 status: ActionStatus.ABORT_ONLY >; - nested throwable:
(javax.resource.ResourceException: Transaction is not active:
tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:739
status: ActionStatus.ABORT_ONLY >)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:95)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection
(DatasourceConnectionProvider.java:69)
at org.hibernate.jdbc.ConnectionManager.openConnection
(ConnectionManager.java:423)
... 55 more
Caused by: javax.resource.ResourceException: Transaction is not
active: tx=TransactionImple < ac, BasicAction: -6d188493:660:4b17bada:
739 status: ActionStatus.ABORT_ONLY >
at
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection
(TxConnectionManager.java:319)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection
(BaseConnectionManager2.java:402)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.java:849)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:89)
... 57 more
2009-12-03 17:59:02,296 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] SIP Transaction
z9hG4bKe13bae413152e0ba83b198a4863df6f9 terminated
2009-12-03 17:59:02,828 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] SIP Transaction
z9hG4bKa1fa6a0209b6f6fbb15f3be1bea5162c terminated
2009-12-03 17:59:02,890 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] SIP Transaction
z9hG4bK27e8f48a9878af08b26053ebb10854b5 terminated
2009-12-03 17:59:02,921 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] Client
transaction z9hG4bKc7d6b977102ed72e828f3e1560c8f585 timer expired
2009-12-03 17:59:03,031 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] Client
transaction z9hG4bK48a28853da2a832c255cba00f6217c65 timer expired
2009-12-03 17:59:03,421 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] SIP Transaction
z9hG4bKc7d6b977102ed72e828f3e1560c8f585 terminated
2009-12-03 17:59:03,531 INFO
[org.mobicents.slee.resource.sip11.SipResourceAdaptor] SIP Transaction
z9hG4bK48a28853da2a832c255cba00f6217c65 terminated
2009-12-03 17:59:10,140 INFO [org.mobicents.slee.resourc

aayush bhatnagar

unread,
Dec 3, 2009, 12:05:38 PM12/3/09
to mobicent...@googlegroups.com
From the SUBSCRIBE request you pasted, it looks to me as an initial
subscribe request, as it does not have a dialog usage. To tag is
absent. How come??

However, it is wanting to be processed as an in dialog subscribe. So
you get the error..as the aci name is already bound (caused by a
previous initial subscribe request which must have created the dialog)
--
aayush
http://in.linkedin.com/in/abhatnagar19
======

Eduardo Martins

unread,
Dec 3, 2009, 12:55:42 PM12/3/09
to mobicent...@googlegroups.com
A network sip message dump woudl help, but at least can we start with a full server log since startup? :-)

-- Eduardo

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco

shax

unread,
Jan 26, 2010, 9:35:54 AM1/26/10
to mobicents-public
thanks for your help.. sorted out the problem by matching the "To"
header tag to that from the server response.. So the server does not
start a new dialog on refresh requests anymore..
Reply all
Reply to author
Forward
0 new messages