Error when running domain.bat for cluster
ohmygod Nov 19, 2013 2:34 AMI am trying to configure the cluster on Jboss EAP 6.1.0.Alpha1 version. And got following errors when running domain.bat.
[Host Controller] 15:22:47,792 INFO [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on 192.168.1.2:9999 [Host Controller] 15:22:49,409 INFO [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010922: Starting server server-one 15:22:49,421 INFO [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012017: Starting process 'Server:server-one' [Server:server-one] Error occurred during initialization of VM [Server:server-one] Could not reserve enough space for object heap 15:22:49,488 ERROR [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012006: Failed to send data bytes to process 'S erver:server-one' input stream: java.io.IOException: 管道已结束。 at java.io.FileOutputStream.writeBytes(Native Method) [rt.jar:1.6.0_07] at java.io.FileOutputStream.write(FileOutputStream.java:260) [rt.jar:1.6.0_07] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) [rt.jar:1.6.0_07] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) [rt.jar:1.6.0_07] at org.jboss.as.process.ManagedProcess.sendStdin(ManagedProcess.java:160) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1- redhat-4] at org.jboss.as.process.ProcessController.sendStdin(ProcessController.java:183) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.A lpha1-redhat-4] at org.jboss.as.process.ProcessControllerServerHandler$InitMessageHandler$ConnectedMessageHandler.handleMessage(ProcessControllerServerHandler .java:140) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] at org.jboss.as.process.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:269) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4. jar:7.2.0.Alpha1-redhat-4] at org.jboss.as.process.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:223) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0. Alpha1-redhat-4] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [rt.jar:1.6.0_07] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [rt.jar:1.6.0_07] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_07] at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final] 15:22:49,498 INFO [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) JBAS012010: Process 'Server:server-one' finished wit h an exit status of 1 15:22:49,496 ERROR [org.jboss.as.protocol.connection] (ProcessController-threads - 3) JBAS016610: Failed to read a message: java.io.IOException: 管道 已结束。 at java.io.FileOutputStream.writeBytes(Native Method) [rt.jar:1.6.0_07] at java.io.FileOutputStream.write(FileOutputStream.java:260) [rt.jar:1.6.0_07] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) [rt.jar:1.6.0_07] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) [rt.jar:1.6.0_07] at org.jboss.as.process.ManagedProcess.sendStdin(ManagedProcess.java:160) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1- redhat-4] at org.jboss.as.process.ProcessController.sendStdin(ProcessController.java:183) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.A lpha1-redhat-4] at org.jboss.as.process.ProcessControllerServerHandler$InitMessageHandler$ConnectedMessageHandler.handleMessage(ProcessControllerServerHandler .java:140) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] at org.jboss.as.process.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:269) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4. jar:7.2.0.Alpha1-redhat-4] at org.jboss.as.process.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:223) [jboss-as-process-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0. Alpha1-redhat-4] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [rt.jar:1.6.0_07] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [rt.jar:1.6.0_07] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_07] at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final] [Host Controller] 15:22:49,500 INFO [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) JBAS010926: Unregistering server server-o ne
I did not modify any java heap paramter and the default options are being used.
in domain.conf.bat:
set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M"
in host.xml:
<jvms> <jvm name="default"> <heap size="64m" max-size="512m"/> <permgen size="256m" max-size="256m"/> <jvm-options> <option value="-server"/> </jvm-options> </jvm> </jvms> <servers> <server name="server-one" group="main-server-group"> <!-- Remote JPDA debugging for a specific server <jvm name="default"> <jvm-options> <option value="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"/> </jvm-options> </jvm> --> </server> <server name="server-two" group="main-server-group" auto-start="true"> <!-- server-two avoids port conflicts by incrementing the ports in the default socket-group declared in the server-group --> <socket-bindings port-offset="150"/> </server> <server name="server-three" group="other-server-group" auto-start="false"> <!-- server-three avoids port conflicts by incrementing the ports in the default socket-group declared in the server-group --> <socket-bindings port-offset="250"/> </server> </servers>
Any place needs to be modified to eliminatethis kind of error?