2 Replies Latest reply: Oct 31, 2012 3:34 AM by Birender-Oracle RSS

    WebCenter Adapter for SharePoint - Transport error: 401 Error: Unauthorized

    Shankar
      Hi All,

      Hi,
      I am trying to integrate MS sharepoint with webcentr, In JDeveloper(11.1.1.4.0) i updated oracle.webcenter.content.jcr.sharepoint.ear bundle(11.1.1.4.0), After that I'm createing webcenter portal application. When i'm creating Content Repository Connection with fallowing parameters
      connection name:MySPConn
      Repository type:JCR SharePoint Adapter
      *SahrePoint URL :http://sharepoint.mycompanyname.com/SitePages/Home.aspx
      in Credentials section
      i used External application for this i used fallowing properties
      Application name :myMSSPExtApp
      App Display name: myMSSPExtApp
      login URL:ttp://sharepoint.mycompanyname.com/SitePages/Home.aspx
      UserName/ID field Name:Admin
      PasswordFied Name:Admin@123
      Authentication Method:Basic
      Additional fields:skip
      Sheared Credentials:skip
      Public credentials:skip
      finally finished.
      while testing connection its giving fallowing Errors
      plz give me some solution.where am doing mistake pl z correct me
      Jan 9, 2012 5:11:34 PM oracle.webcenter.concurrent.Submission run
      SEVERE: Submission[id=3, service=oracle.webcenter.content.jcr.login, resource=mpspconnection] caught exception running task
      javax.jcr.LoginException: Transport error: 401 Error: Unauthorized: Transport error: 401 Error: Unauthorized
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory$SharepointConnectionImpl.verify(WindowsAuthenticationConnectionFactory.java:359)
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.createConnection(WindowsAuthenticationConnectionFactory.java:253)
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.create(WindowsAuthenticationConnectionFactory.java:62)
      at com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:218)
      at com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:82)
      at com.day.crx.spi.sharepoint.SharepointRepositoryService.obtain(SharepointRepositoryService.java:253)
      at org.apache.jackrabbit.jcr2spi.RepositoryImpl.login(RepositoryImpl.java:82)
      at com.day.adf.sharepoint.SharePointRepository.login(SharePointRepository.java:142)
      at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
      at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
      at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
      at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
      at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
      at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
      at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
      at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at com.microsoft.wss3.authentication.AuthenticationStub.Mode(AuthenticationStub.java:317)
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory$SharepointConnectionImpl.verify(WindowsAuthenticationConnectionFactory.java:349)
      ... 21 more
      org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
      at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
      at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at com.microsoft.wss3.authentication.AuthenticationStub.Mode(AuthenticationStub.java:317)
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory$SharepointConnectionImpl.verify(WindowsAuthenticationConnectionFactory.java:349)
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.createConnection(WindowsAuthenticationConnectionFactory.java:253)
      at com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.create(WindowsAuthenticationConnectionFactory.java:62)
      at com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:218)
      at com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:82)
      at com.day.crx.spi.sharepoint.SharepointRepositoryService.obtain(SharepointRepositoryService.java:253)
      at org.apache.jackrabbit.jcr2spi.RepositoryImpl.login(RepositoryImpl.java:82)
      at com.day.adf.sharepoint.SharePointRepository.login(SharePointRepository.java:142)
      at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
      at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
      at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
      at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
      at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
      at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
      at java.lang.Thread.run(Thread.java:662)

      javax.jcr.LoginException: Transport error: 401 Error: Unauthorized: Transport error: 401 Error: Unauthorized
      com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory$SharepointConnectionImpl.verify(WindowsAuthenticationConnectionFactory.java:359)
      com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.createConnection(WindowsAuthenticationConnectionFactory.java:253)
      com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.create(WindowsAuthenticationConnectionFactory.java:62)
      com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:218)
      com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:82)
      com.day.crx.spi.sharepoint.SharepointRepositoryService.obtain(SharepointRepositoryService.java:253)
      org.apache.jackrabbit.jcr2spi.RepositoryImpl.login(RepositoryImpl.java:82)
      com.day.adf.sharepoint.SharePointRepository.login(SharePointRepository.java:142)
      o.vcr.jam.LoginTask.call(LoginTask.java:68)
      o.vcr.jam.LoginTask.call(LoginTask.java:29)
      o.webcenter.concurrent.Submission$2.run(Submission.java:484)
      j.security.AccessController.doPrivileged(Native Method)
      o.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      o.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
      o.webcenter.concurrent.Submission.run(Submission.java:424)
      o.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
      j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      j.util.concurrent.FutureTask.run(FutureTask.java:138)
      o.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
      o.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
      j.lang.Thread.run(Thread.java:662)
      Caused by:
      org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
      org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
      org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
      org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
      org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
      org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
      org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
      org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
      org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
      org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      com.microsoft.wss3.authentication.AuthenticationStub.Mode(AuthenticationStub.java:317)
      com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory$SharepointConnectionImpl.verify(WindowsAuthenticationConnectionFactory.java:349)
      com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.createConnection(WindowsAuthenticationConnectionFactory.java:253)
      com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory.create(WindowsAuthenticationConnectionFactory.java:62)
      com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:218)
      com.day.crx.spi.sharepoint.SharepointSessionInfoImpl.login(SharepointSessionInfoImpl.java:82)
      com.day.crx.spi.sharepoint.SharepointRepositoryService.obtain(SharepointRepositoryService.java:253)
      org.apache.jackrabbit.jcr2spi.RepositoryImpl.login(RepositoryImpl.java:82)
      com.day.adf.sharepoint.SharePointRepository.login(SharePointRepository.java:142)
      o.vcr.jam.LoginTask.call(LoginTask.java:68)
      o.vcr.jam.LoginTask.call(LoginTask.java:29)
      o.webcenter.concurrent.Submission$2.run(Submission.java:484)
      j.security.AccessController.doPrivileged(Native Method)
      o.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      o.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
      o.webcenter.concurrent.Submission.run(Submission.java:424)
      o.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
      j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      j.util.concurrent.FutureTask.run(FutureTask.java:138)
      o.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
      o.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
      j.lang.Thread.run(Thread.java:662)