SAP Knowledge Base Article - Preview

1831684 - Attempting to post DCN to Sybase Unwired Platform 2.2.x receives HTTP 403 Error

Symptom

Attempting to post DCN to Sybase Unwired Platform (SUP) 2.2.x receives HTTP 403 Error.  Review of SUP Server log with MMS and Dataservices tracing set to debug shows error:

2013-03-05 14:34:03.158 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.ldap.LDAPLoginModule] [] [] Error retrieving password expiration date: null
java.lang.NumberFormatException: null
  at java.lang.Long.parseLong(Long.java:375)
  at java.lang.Long.<init>(Long.java:678)
  at com.sybase.security.ldap.LDAPTools.getPwdExpirationDateUsingUserAccountControlAttr(LDAPTools.java:1257)
  at com.sybase.security.ldap.LDAPTools.getPasswordExpirationDate(LDAPTools.java:1219)
  at com.sybase.security.ldap.LDAPQueryHelper.getPasswordExpirationDate(LDAPQueryHelper.java:273)
  at com.sybase.security.ldap.LDAPLoginModule.login(LDAPLoginModule.java:277)
  at com.sybase.security.internal.SecSubjectImpl.login(SecSubjectImpl.java:395)
  at com.sybase.security.internal.SecContextImpl.internalLogin(SecContextImpl.java:1505)
  at com.sybase.security.internal.SecContextImpl.ensureAuthenticationAttempted(SecContextImpl.java:1428)
  at com.sybase.security.internal.SecContextImpl.getSubject(SecContextImpl.java:539)
  at com.sybase.security.integration.easerver6.CSIAuthServiceImpl.checkSession(CSIAuthServiceImpl.java:228)
  at com.sybase.djc.security.SecurityDomain.ctsAuthLogin(SecurityDomain.java:2472)
  at com.sybase.djc.security.SecurityDomain_DJC.access$001(SecurityDomain_DJC.java:4)
  at com.sybase.djc.security.SecurityDomain_DJC$1.invoke(SecurityDomain_DJC.java:411)
  at com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:682)
  at com.sybase.djc.transaction.TransactionManager.invokeBeanManaged(TransactionManager.java:623)
  at com.sybase.djc.security.SecurityDomain_DJC.ctsAuthLogin(SecurityDomain_DJC.java:415)
  at com.sybase.djc.security.SecurityDomain.checkPassword(SecurityDomain.java:1026)
  at com.sybase.djc.security.SecurityDomain_DJC.checkPassword(SecurityDomain_DJC.java:323)
  at com.sybase.djc.security.User.login(User.java:458)
  at com.sybase.djc.server.jetty.UserRealm.authenticate(UserRealm.java:150)
  at org.mortbay.jetty.security.BasicAuthenticator.authenticate(BasicAuthenticator.java:62)
  at com.sybase.djc.server.jetty.AutoAdaptionAuthenticator.authenticate(AutoAdaptionAuthenticator.java:35)
  at org.mortbay.jetty.security.SecurityHandler.check(SecurityHandler.java:441)
  at org.mortbay.jetty.security.SecurityHandler.checkSecurityConstraints(SecurityHandler.java:269)
  at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:191)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
  at com.sybase.djc.server.jetty.SybSessionHandler.handle(SybSessionHandler.java:169)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
  at com.sybase.djc.server.jetty.SybWebAppContext.handle(SybWebAppContext.java:157)
  at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
  at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
  at org.mortbay.jetty.Server.handle(Server.java:322)
  at com.sybase.djc.server.jetty.JettyServer.handle(JettyServer.java:168)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
  at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
  at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
  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:662)
2013-03-05 14:34:03.166 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.ldap.LDAPConfig] [] [] storing shared config from provider com.sybase.security.ldap.LDAPLoginModule
2013-03-05 14:34:03.166 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.integration.easerver6.CSIAuthServiceImpl] [] [] successful authentication
2013-03-05 14:34:03.169 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.integration.easerver6.CSIRoleServiceImpl] [] [] CSIRoleService: Try to get security context...
2013-03-05 14:34:03.169 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.integration.easerver6.CSIRoleServiceImpl] [] [] Found context
2013-03-05 14:34:03.169 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.core.RoleCheckAuthorizer] [] [] RoleCheckAuthorizer.checkRole(DCNRole)
2013-03-05 14:34:03.169 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.ldap.LDAPConfig] [] [] looking for shared/authenticated configuration
2013-03-05 14:34:03.178 WARN    Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.security.ldap.LDAPAttributer] [] [] Ignored non-string value of type [B for attribute thumbnailPhoto
2013-03-05 14:34:03.179 DEBUG   Security     pool-3-thread-30 - /dcn/HttpAuthDCNServlet?cmd=dcn&username=jdmcgrew&password=<secret>&domain=default&package=HWC_Valid ator:3.0&dcn_request={"pkg":"HWC_Validator:3.0","messages":[{"id":"1%20","mbo":"PipeListDCN","op":":upsert","cols":{"pipe":" S"}}]} [com.sybase.sup.server.security.providers.userrole.UserRoleAuthorizer] [] [] UserRoleAuthorizer.checkRole(roleName=DCNRole,subject.getName()=jdmcgrew




Read more...

Environment

  • Sybase Unwired Platform 2.2.2
  • Windows 2008r2
  • DCN

Product

Sybase Unwired Platform 2.2

Keywords

  • 403
  • DCN
, KBA , MOB-SUP-DCN , Sybase Data Change Notification , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.