Solved

Error when trying to start my new jboss server

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

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
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 …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

691 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