1 Reply Latest reply on Apr 24, 2010 2:32 AM by meme

    Jboss 5.1 : javax.management.InstanceNotFoundException

    prakashmvc

      I am getting the following errors while deploying the season-control-2.0.0-.ear file in Jboss 5.1.

      Note: This was working in Jboss 4.2.3 without any exceptions.

      Please find the attached txt file for stack trace.

      It would be great, if any one provides some inputs to resolve this issue.

       

      Thanks,

      Prakash

        • 1. Re: Jboss 5.1 : javax.management.InstanceNotFoundException
          meme

          Hi,

           

          in your stacktrace there is shown that Mands.har:service=Hibernate,type=SeasonControl isn't found. At first I think that you'll should use dependencies in the components you'll deploy within the ear that would give you more control about the order of deploying the artifacts in the ear. Second: The mentioned (missing) service doesn't deploy because of the ClassCastException. This is a point you'll should try to resolve. I think that it might have to do with one or more several jars which are deployed twice (for example in the ear and an included war or in the ear as well as in the classloader of the jboss.)

           

          Marc