Solved

Error when trying to start my new jboss server

Posted on 2013-11-01
1
1,155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.

733 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