NotAuthorizedRequestException with Mobicents XDMS BETA5 on every Put and Get

4 views
Skip to first unread message

Mosiuoa Tsietsi

unread,
Nov 18, 2009, 2:40:47 AM11/18/09
to mobicent...@googlegroups.com
Hi,

I provisioned users through the JMX Console on JBOSS and setup the corresponding accounts on my Mercuro client. When Mercuro loads it tries a series of GETs and PUTs for the various AUIDs Mobicents supports. Every GET or PUT however according to the wireshark trace is followed by a 401 Unauthorized and in the Mobicents console, I see entries like the following:

09:31:34,403 INFO  [AggregationProxySbb] get(resourceSelector=/resource-lists/users/sip:heze...@open-ims.test/index)
09:31:34,405 ERROR [AggregationProxySbb] Error processing onGet()
org.openxdm.xcap.common.error.NotAuthorizedRequestException
    at org.openxdm.xcap.server.slee.RequestProcessorSbb.get(RequestProcessorSbb.java:587)
    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.container.deployment.interceptors.SbbLocalObjectInterceptor.invokeAndReturnObject(SbbLocalObjectInterceptor.java:72)
    at org.openxdm.xcap.server.slee.RequestProcessorSbbLocalObjectImpl.get(RequestProcessorSbbLocalObjectImpl.java)
    at org.openxdm.xcap.server.slee.AggregationProxySbb.onGet(AggregationProxySbb.java:287)
    at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
    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: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:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
09:31:34,422 INFO  [AggregationProxySbb] put(resourceSelector=/resource-lists/users/sip:heze...@open-ims.test/index,mimetype=application/resource-lists+xml,eTagValidator=null,xcapRoot=/mobicents)
09:31:34,422 ERROR [AggregationProxySbb] Error processing onPut()
org.openxdm.xcap.common.error.NotAuthorizedRequestException
    at org.openxdm.xcap.server.slee.RequestProcessorSbb.put(RequestProcessorSbb.java:834)

etc etc;

I am sure I am not getting the account names and passwords wrong. Can someone point me in the right direction? Thanks,

Mos
trace.txt
Mobicents-console.txt

Eduardo Martins

unread,
Nov 18, 2009, 4:16:33 AM11/18/09
to mobicent...@googlegroups.com
Please note that the username is the whole sip:heze...@open-ims.test , was that what you provisioned?

-- Eduardo

Mosiuoa Tsietsi

unread,
Nov 18, 2009, 4:54:53 AM11/18/09
to mobicent...@googlegroups.com
Yes, that was my mistake, I was provisioning hezekiah and passing hezekiah as an XDM username. Setting sip:heze...@open-ims.test both in JMX and the client makes it work nicely. Sorry for the bother, but if anything at least it confirms that XDM works properly with the Mercuro client. Thanks.

Mos

2009/11/18 Eduardo Martins <emma...@gmail.com>

Eduardo Martins

unread,
Nov 18, 2009, 5:04:22 AM11/18/09
to mobicent...@googlegroups.com
You're welcome. 

-- Eduardo
Reply all
Reply to author
Forward
0 new messages