4 Replies Latest reply on Nov 30, 2010 3:42 AM by skrajath

    JBOSS 5. Start Up Problem

    skrajath

      Hi am using JBoss 5.0. When i start server it is throwing this eror. What may be the cause for this error? My project is not moving because of this. Any suggestions is a great help for me and my team. Thank you.

       

      ENC setup failed
      java.lang.IncompatibleClassChangeError
          at org.jnp.interfaces.NamingContext.bind(NamingContext.java:569)
          at org.jnp.interfaces.NamingContext.bind(NamingContext.java:534)
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:466)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4388)
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

        • 1. Re: JBOSS 5. Start Up Problem
          wdfink

          Javadoc say's:

          Thrown when an incompatible class change has occurred to some class definition. The definition of some class, on which the currently executing method depends, has since changed.

           

          This might mean that you deploy a EAR/WAR/... that use libraries with change 'non-static' <==>'static' member.

          A reason can be that your code is not compiled with the actual libraries

          • 2. Re: JBOSS 5. Start Up Problem
            skrajath

            Actual libraries..?  But 1 more thing all the jar files and packages what am using are used in another system. Its working fine there. Is this because of incopatibility of JBoss 5 with the JDK in my system? I have no clue wat is the cause.

            • 3. Re: JBOSS 5. Start Up Problem
              jaikiran

              Are you really using JBoss AS 5.0 version? If yes, then I would recommend that you move to AS 5.1.0 version and give it a try there. AS 5.0 had numerous bugs which were fixed in 5.1.0 and it's really not worth trying to figure out an issue while deploying on 5.0.

              • 4. Re: JBOSS 5. Start Up Problem
                skrajath

                Thanks i shifted to 5.1.0 and its working fine. But i have other problem tat i have posted in thread "http://community.jboss.org/message/573517#573517"

                 

                Thank you guys