1 2 Previous Next 18 Replies Latest reply on Sep 2, 2010 2:41 AM by ceene Go to original post Branched to a new discussion.
      • 15. Re: How to start Jboss 5.1.0 with eclipse
        peterj

        How did you create the server within Eclipse? When you were presented with the list of servers to select from, did you choose one under "JBoss" or under "JBoss Community". If you chose "JBoss AS 5.1" under "JBoss Community", then .laucnh file will be created as the time the Eclipse creates the server.  Mine is at:

         

        workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/JBoss 5.1 Runtime Server.launch

        • 16. Re: How to start Jboss 5.1.0 with eclipse
          ceene

          Ok I found the file and changed it from 768 to 512 but if I will start the jboss it changed back. It loooks like eclipse generate the file new every time I start jboss.

          • 17. Re: How to start Jboss 5.1.0 with eclipse
            peterj

            Was Eclipse running when you changed the file? Try changing the file before starting Eclipse, that worked for me:

             

            07:50:54,739 INFO  [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.
            07:50:54,762 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
            07:50:54,762 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 16.3-b01,Sun Microsystems Inc.
            07:50:54,762 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
            07:50:54,799 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 5.1 Runtime -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:/opt/jbia/jboss-5.1.0.GA/lib/endorsed -Djava.endorsed.dirs=C:\opt\jbia\jboss-5.1.0.GA\lib\endorsed -Dfile.encoding=Cp1252
            07:50:55,078 INFO  [JMXKernel] Legacy JMX core initialized

            • 18. Re: How to start Jboss 5.1.0 with eclipse
              ceene

              I found the solution. Eclipse generate the file every time the jboss starts. To change the start parameters double click in the server tab onto the server. Then click onto the link "Open launch configuration" and there are the start parameters.

               

              Thank you very much for the help.

              1 2 Previous Next