0 Replies Latest reply on Jul 29, 2003 8:13 PM by Jerry Fowler

    NoSuchMethod exception during execution of messagebean

    Jerry Fowler Newbie

      I get this error upon trying to execute a messagebean onMessage()
      method:

      20:56:58,433 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
      javax.ejb.EJBException: Unexpected Error
      java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpClient.setHostConfiguration(Lorg/apache/commons/httpclient/HostConfiguration;)V

      I am absolutely positive that the appropriate apache commons jar is deployed, and the code runs fine from a command line. I have seen this error in another context with the same message on a class I wrote and deployed, and whose server log consequently even printed a message to the effect that it had found and mapped the method.

      I am stunned to think that one other poster and I are the only ones ever to encounter behavior like this (his was specialized to clustering, mine is not). Can someone kindly tell me what further initiation rites I must undertake to join the cabal?