1 Reply Latest reply on Oct 22, 2003 1:37 PM by Allen Schell

    Bug in JBoss hot deploy?

    Allen Schell Newbie

      I'm running JBoss 3.2.2.RC4 on a RedHat 9.0 machine. I created a very simple entity bean and jar'd up the classes. When I copied the jar file to the deploy directory when JBoss is running, I get a error stating that the ejbPostCreate( ... ) method cannot be found and the deployment terminates. (And yes, the method does exist :-) ).

      Setting the to false in the jboss-service.xml file gets past this error but then the deploy fails with a NoSuchMethodFoundException when the ejbPostCreate(...) method is to be loaded.

      After resetting the back to true, I deleted the deployed jar, stopped JBoss, re-copied the jar back to the deploy directory, and restarted JBoss. Everything went fine; the log stated that the Entity Bean deploy just fine.

      So...is there something different that must be done to beans so that they can be deployed while JBoss is running, or is something else going on???

      Thanks in advance .... afschell