2 Replies Latest reply on Aug 14, 2003 4:54 PM by thubbard

    External Applications

    thubbard
      I've been trying to get the yahoo External Application examples working through a portlet. Through the external application administer page I can successfully log in to the yahoo apps. However when I try to run them through a portlet I end up with a User Authentication Failed error. I'm looking for some clearer documentation on the setup of these things other than the install help files. They don't seem to say much besides directions which are not working in this case. Any help would be appreciated.

      Thanks
      Tom
        • 1. Re: External Applications
          13925
          Hi Tom,

          The only doc we have is what you've seen :(

          Are you behind a firewall? If so, did you start the JPDK containing JVM with the relevant proxyHost and proxyPort system properties?

          Was there a detail message with the AuthenticationException (a stack trace?)?

          Regards,

          Gareth
          (PDK team)
          • 2. Re: External Applications
            thubbard
            Gareth,

            I figured those were the only docs around. I was just hoping form something more explanatory. It would be nice to really know how the process is working behind the scenes. For instance is the provider calling the login app first and then once validated calling the page of the portal specified. This seems a bit of a mystery to me and without knowing that I feel like I'm just left to tinkering until something works.

            As for the specifics of my situation, we are running through a proxy and it seems to be working fine when I test in the external application administrator. It's only when I test the portlet in provider details screen that I get the failure to authenticate message. It leads me to believe that I have simply misconfigured the provider either in the provider administrator or the provider XML. In either case I have followed the directions in the docs.

            The actual error that comes out of portal is this: "User authentication failed. Please use the following link to update the information." followed by a link that goes back to an error page (Unexpected Errors WWC-41400).

            That does produce a stacktrace in the application.log file as such:

            8/14/03 12:44 PM jpdk: [id=(null), instance=(null)] Unhandled exception in SOAP call
            oracle.webdb.provider.v2.utils.soap.SOAPException: Error: Failed to authenticate user with external application
                 at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.initSession(Unknown Source)
                 at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.initSession(Unknown Source)
                 at java.lang.reflect.Method.invoke(Native Method)
                 at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.doMethodCall(Unknown Source)
                 at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.processInternal(Unknown Source)
                 at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.process(Unknown Source)
                 at oracle.webdb.provider.v2.adapter.SOAPServlet.doSOAPCall(Unknown Source)
                 at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
                 at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
                 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
                 at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
                 at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
                 at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
                 at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
                 at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

            Which means very little to me at this point.

            Thanks.
            Tom