6 Replies Latest reply on Apr 4, 2011 11:25 AM by peterj

    JBoss5 start problem

    gjerich

      HI to all,

      a made my own jboss5 profile on virtual machine... server starts in all mode. but it get me following message:

       

      ERROR  AbstractKernelController Error installing to Real: name=vfszip:/opt/jboss-5.1.0.GA/server/volrre/deploy/profileservice-secured.jar/ state=PreReal mode=Manual requiredState=Real.

       

      ps: default profileservice-secured.jar file is there in root directory. what am i doing wrong?

       

       

      can please someone help me.

       

      have a nice day

       

       

      gasper

        • 1. JBoss5 start problem
          wdfink

          How do you start the server and what kind of virtual machine it is?

          Do you check whether unchanged the default or all configuration starts?

          Also you should attach boot and server logfile.

          • 2. Re: JBoss5 start problem
            gjerich

            hi Wolf-Dieter,

            i dont understand what do you mean with question:"what kind of virtual machine it is?"

            hmm my JBoss5 is running on RHEL5 enviroment & start/stop with folloving command (/etc/init.d/jboss file):

             

            # Compose the startup and shutdown commands.

            JBOSS_CMD_START="${JBOSS_HOME}/bin/run.sh -c ${JBOSS_CONF} -b ${JBOSS_HOST}"

            JBOSS_CMD_STOP="${JBOSS_HOME}/bin/shutdown.sh -S"

             

            so here in attachment are the boot and server log messages. hope this help

             

             

            gasper

            • 3. JBoss5 start problem
              wdfink
              i dont understand what do you mean with question:"what kind of virtual machine it is?"

              You talk about 'jboss5 profile on virtual machine....', but I suppose you start a real one.

               

              To localize your problem,

              do you check whether the server starts if you start via shell?

              do you check whether the server starts on boot if you have a standard one (e.g. just copy all||default => volrre)

              • 4. JBoss5 start problem
                peterj

                When analyzing an exception stack trace, always follow the "caused by" trail - the last one identifies the root cause of the exception:

                 

                Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.interceptor.EJB3TCCLInterceptor

                 

                This class is not found anywhere within AS 5.1.0. Where in your code is this class being referenced? I checked the xml config file in profileservice-secured.jar and it does not reference this class.

                • 5. Re: JBoss5 start problem
                  gjerich

                  helo;

                  i found definition for EJB3TCCLInterceptor in deploy/ejb3-interceptors-aop.xml file. definition goes like this:

                   

                  <!-- interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/ -->

                  <interceptor class="org.jboss.ejb3.interceptor.EJB3TCCLInterceptor" scope="PER_VM"/>

                  &

                  <bind pointcut="execution(public * *->*(..))">

                          <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3TCCLInterceptor"/>

                           <interceptor-ref name="org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor"/>

                           <interceptor-ref name="org.jboss.ejb3.BlockContainerShutdownInterceptor"/>

                        </bind>

                   

                  ps: should be defind in profileservice-secured.jar to. sorry for dumb questions.

                  im not an expert for jboss  and server was giving to me for  cleaning mistakes and prepareing it for new jobs.

                   

                  have a nice day.

                   

                   

                  gasper

                  • 6. Re: JBoss5 start problem
                    peterj

                    I'm sorry, but there is no such entry in the ejb3-interceptors-aop.xml in JBoss AS 5.1.0. You need to track down who made this change and why they made it. Either that or you need to redownload JBOss AS 5.1.0.GA and deploy you application to that.