No announcement yet.

Exception when triggering Manual Invoice Match process

  • Filter
  • Time
  • Show
Clear All
new posts

  • Exception when triggering Manual Invoice Match process

    Hi there,

    I am getting a java.rmi exception -Unable to reach host when triggering the manual match invoice process on the match errors screen for an invoice that has match errors. I have turned on the logs and am unable to figure out from the stuff that has been logged.


  • #2
    Re: Exception when triggering Manual Invoice Match process

    I receive the following exception:

    Generic Remote Exception

    java.rmi.ConnectException: Unable to reach host
    From the Stack Trace:

    At2008-02-06 22:53:27.454Generic_Remote_Exception
    java.rmi.ConnectException: Unable to reach host

    java.rmi.ConnectException: Unable to reach host
    at weblogic.rmi.internal.BasicRemoteRef.getOutboundRe quest(
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR
    at glog.ejb.invoice.ejb_Invoice_tnpbf2_HomeImpl_814_W LStub.findByPrimaryKey(Unknown Source)
    at glog.webserver.uic.GetShipmentNote.getDocument(Get
    at glog.webserver.util.QueryResponseServlet.getDocume nt(
    at glog.webserver.util.AbstractServletProducer.proces s(
    at glog.webserver.util.BaseServlet.service(BaseServle
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at ternalDoFilter(
    at Filter(
    at glog.webserver.screenlayout.ClientSessionTracker.d oFilter(
    at ternalDoFilter(
    at Filter(
    at glog.webserver.util.SetCharacterEncodingFilter.doF ilter(
    at ternalDoFilter(
    at Filter(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo
    at org.apache.jk.common.HandlerRequest.invoke(Handler
    at org.apache.jk.common.ChannelSocket.invoke(ChannelS
    at org.apache.jk.common.ChannelSocket.processConnecti on(
    at org.apache.jk.common.SocketConnection.runIt(Channe
    at org.apache.tomcat.util.threads.ThreadPool$ControlR

    This error seems like, it is masking something else (i.e. some other error message)

    When searching through oracle support I found the following:
    57322.5.0 ISS00020134 Cannot use the action 'approve invoice' : Generic_Remote_Exception java.rmi.ConnectException: Unable to reach host The manual invoice action Approve Invoice currently checks the invoice status to determine if it should follow an approval or adjustment process flow. Fixed an error where this status check sometimes caused a "Generic_Remote_Exception,
    Unable to reach host" error.
    [FONT=tahoma,verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif]I am not too sure why this exception is happening for all the invoices. It could be data issue or something else.
    I have checked the sql logged in the logs.



    • #3
      Re: Exception when triggering Manual Invoice Match process


      This message shows that the RMI call is unable to connect to Knowing a little bit about your architecture, this may be due to a couple of things:

      1) Since reverse-proxies are in place ahead of the OTM application, they may not be handling the redirects correctly -- for instance the link should have an associated URL prefix that allows the reverse-proxy to identify the correct back-end system.

      2) There may be a bug in the OTM software, that is causing it not to correctly "reverse-proxy enable" this action.

      3) It may be that https is not enabled internally and that http needs to be used. For instance, I know that you use https coming into the reverse-proxy, but use http for everything behind that. As a result, I'm not sure if your basic OTM instance is https enabled.