Discussions

EJB programming & troubleshooting: Help Please on EJB Exception with Weblogic6.1

  1. Help Please on EJB Exception with Weblogic6.1 (4 messages)

    I am getting following exception in Weblogic server -

    (weblogic.jdbc.jts.Connection, HeuristicHazard, (javax.transaction.xa.XAException: Io exception: Connection reset by peer: socket write error))

    at $Proxy101.getUsersList(Unknown Source)

    HERE-
    -getUsersList is a function of stateless session EJB.
    -This exception occurs in some session times out
    -other sessions of users get the same error after this exception

    Please, help me to remove this Exception..
    Thanks in advance.
  2. Hi there

    see the connection setting in connection pool.
    see these parameters like refresh time ,and authentication to the DB layer.

    Cheers
    -Manoj


  3. Hi,
    Thanks for replying.
    I am getting this Heuristic exception not always, but after some time intervals which are not fixed.
    It occurs randomly.
    I had checked Connection pool data for weblogic, but since I am getting database connections it is not a problem I think.
    If you have idea of any other problem Please let me know.

    Thanks.
    Prasanna
  4. Hi Manoj,
    My Connection pool refresh period is 0.
    I have checked Authentication, it is correct.
    Let me know the cause of heuristic Exception I am getting.
  5. Hi there
    please sepcify the Driver name and datasource you are using.
    Manoj