Solved

Error when trying to start my new jboss server

Posted on 2013-11-01
1
1,145 Views
Last Modified: 2013-11-02
I have a new jboss server running on my local desktop - a Windows 7 host with 8 GB memory and i5 processor.

The jboss is version 6.1. When  run the standalone.bat, this is what I get back:

Calling "C:\bin\jboss\jboss-eap-6.1\bin\standalone.conf.bat"
=======================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\bin\jboss\jboss-eap-6.1

  JAVA: C:\Program Files (x86)\Java\jdk1.7.0_40\bin\java

  JAVA_OPTS: -client -Dprogram.name=standalone.bat -Xms512M -Xmx1024M -XX:MaxPer
mSize=256M -XX:MaxHeapSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.
system.pkgs=org.jboss.byteman

========================================================================

Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified



What do I need to do to get it working?
0
Comment
Question by:mdoland
1 Comment
 
LVL 21

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
ID: 39617339
try replacing -XX:MaxPermSize=256M -XX:MaxHeapSize=256m with -XX:MaxPermSize=256M -XX:PermSize=256m

There is no param called MaxHeapSize. Refer http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html for more details on VM options.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 49
varialbe initialization 11 33
Java: How do I open the default windows program for a given file type 3 28
jboss wildfly 10.1 10 89
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question