Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

.NET Client Failed to Logon to FileNet PE

  • 1.  .NET Client Failed to Logon to FileNet PE

    Posted Sun December 27, 2020 06:23 PM

    I have a legacy application written in .NET C# and I'm upgrading it to work with latest CPE version 5.5.5.*.

    I found PE C Sharp Solution and i am using it to check if I need to make a lot of changes to my application.

    PE C sharp solution is a sample solution in C# from IBM. I set it up in my local environment and things are working ok. Because i do not have SSL certificate trusted and installed in my Woindows 10 machine, so i added the following code to the program so it won't validate the SSL certificate.

    System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => { return true; };

    In client's server (it is Windows Server2019) and SSL certificate is trusted and installed on the server where i run the compiled application.

    However, after i deployed the same solution to client environment, it failed with some error messages.

    The server side error message looks like this below. I am sorry the log is a little long, but it is from the WAS log when i tried logging on PE. I am not sure what is causing the issue and i am looking for some help from the forum here. The PEWS endpoint is in HTTPS url.



    #FileNet
    #Support
    #SupportMigration


  • 2.  RE: .NET Client Failed to Logon to FileNet PE

    Posted Sun December 27, 2020 06:30 PM

    The error message I found when it failed to logon to PE using the HTTPS PEWS is as following.

    2020-12-23T09:35:03.125 73E5D390 WSI FNRCT0046E - ERROR CEWS Listener, unexpected exception (elapsed request time 0 ms)

    com.filenet.api.exception.EngineRuntimeException: FNRCT0046E: TRANSPORT_WSI_START_TOKEN_EXPECTED: The web services opening element was expected, but it was not found. The path where the error was detected: Envelope.

    at com.filenet.apiimpl.wsi.serialization.DeserializerContext.throwException(DeserializerContext.java:587)

    at com.filenet.apiimpl.wsi.serialization.DeserializerContext.nextStartToken(DeserializerContext.java:305)

    at com.filenet.apiimpl.wsi.ServiceSessionNst.bReadPastSoapEnvelope(ServiceSessionNst.java:855)

    at com.filenet.apiimpl.wsi.ServiceSessionNst.sHandleIncomingRequest(ServiceSessionNst.java:1220)

    at com.filenet.engine.wsi.ListenerNst.service(ListenerNst.java:222)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)

    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)

    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)

    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)

    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134)

    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:82)

    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:963)

    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)

    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)

    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)

    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1187)

    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:694)

    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)

    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)



    #FileNet
    #Support
    #SupportMigration