3 Replies Latest reply on Jul 27, 2005 10:39 PM by Arup Sarkar

    JBoss 4.0.2, Eclipse 3.1, lomboz 3.1 and J2SDK 1.5

    Arup Sarkar Newbie

      Hi,

      I configured my env. as mentioned in the message subject, I am developing a small web project in eclipse, when I trying to Run it on server, the .war file is deployed fine, the JBoss App Server starts but then it stops suddenly.

      Does any body have this problem. If anybody needs any information please let me know.

      Regards
      Arup

        • 2. Re: JBoss 4.0.2, Eclipse 3.1, lomboz 3.1 and J2SDK 1.5
          Arup Sarkar Newbie

          here is the error message...BUT jboss boots perfect when I invoke it from the terminal via sh run.sh command

          00:44:33,619 DEBUG [Server] Failed to create xmbean for: org.jboss.system.server.ServerInfo
          00:44:33,745 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
          00:44:33,749 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_04-b05,Sun Microsystems Inc.
          00:44:33,753 INFO [ServerInfo] OS-System: Linux 2.6.12-1.1398_FC4,i386
          00:44:33,756 DEBUG [ServerInfo] Full System Properties Dump

          I have the following in my serverdefinoiation file:


          org.jboss.Main
          ${serverRootDirectory}/bin
          -c ${serverConfig}
          <!-- -Dprogram.name=run.bat -Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endorsed -Xms128m -Xmx512m -->
          <!-- -Dprogram.name=run.sh -Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endorsed -Xms128m -Xmx512m -->
          -Dprogram.name=eclipse -Xms128m -Xmx512m -Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed
          jboss



          org.jboss.Shutdown
          ${serverRootDirectory}/bin
          -S
          <!-- -Djboss.boot.loader.name=shutdown.bat -->
          <!-- -Djboss.boot.loader.name=shutdown.sh -->

          jboss.shutdown









          Regards
          Arup

          • 3. Re: JBoss 4.0.2, Eclipse 3.1, lomboz 3.1 and J2SDK 1.5
            Arup Sarkar Newbie

            it seems the xml tags got deleted

             <classpath id="jboss.project" >
             <archive path="${classPath}/client/jboss-j2ee.jar" />
             <archive path="${classPath}/server/default/lib/javax.servlet.jar" />
             <archive path="${classPath}/server/default/lib/activation.jar" />
             <archive path="${classPath}/server/default/lib/mail.jar" />
             </classpath>
            
            


             <start>
             <mainClass>org.jboss.Main</mainClass>
             <workingDirectory>${serverRootDirectory}/bin</workingDirectory>
             <programArguments>-c ${serverConfig}</programArguments>
             <!-- <vmParameters>-Dprogram.name=run.bat -Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endorsed -Xms128m -Xmx512m</vmParameters> -->
             <!-- <vmParameters>-Dprogram.name=run.sh -Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endorsed -Xms128m -Xmx512m</vmParameters> -->
             <vmParameters>-Dprogram.name=eclipse -Xms128m -Xmx512m -Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed</vmParameters>
             <classpathReference>jboss</classpathReference>
             </start>
            
             <stop>
             <mainClass>org.jboss.Shutdown</mainClass>
             <workingDirectory>${serverRootDirectory}/bin</workingDirectory>
             <programArguments>-S</programArguments>
             <!-- <vmParameters>-Djboss.boot.loader.name=shutdown.bat</vmParameters> -->
             <!-- <vmParameters>-Djboss.boot.loader.name=shutdown.sh</vmParameters> -->
             <vmParameters></vmParameters>
             <classpathReference>jboss.shutdown</classpathReference>
             </stop>