Solved

Error when trying to start my new jboss server

Posted on 2013-11-01
1
1,128 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 20

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
matchUp  challenge 9 71
json example 39 110
where is session ID cache stored 1 38
Groovy:unable to resolve class error 2 28
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now