它的具体呈现如下:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[
root
@
Jboss1
Jboss
]
# bin/standalone.sh
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
=
JBoss
Bootstrap
Environment
JBOSS_HOME
:
/
Jboss
JAVA
:
java
JAVA_OPTS
:
-
server
-
XX
:
+
UseCompressedOops
-
XX
:
+
TieredCompilation
-
Xms64m
-
Xmx512m
-
XX
:
MaxPermSize
=
256m
-
Djava
.
net
.
preferIPv4Stack
=
true
-
Dorg
.
jboss
.
resolver
.
warning
=
true
-
Dsun
.
rmi
.
dgc
.
client
.
gcInterval
=
3600000
-
Dsun
.
rmi
.
dgc
.
server
.
gcInterval
=
3600000
-
Djboss
.
modules
.
system
.
pkgs
=
org
.
jboss
.
byteman
-
Djava
.
awt
.
headless
=
true
-
Djboss
.
server
.
default
.
config
=
standalone
.
xml
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
===
=
Java
HotSpot
(
TM
)
64
-
Bit
Server
VM
warning
:
ignoring
option
MaxPermSize
=
256m
;
support
was
removed
in
8.0
06
:
24
:
36
,
785
INFO
[
org
.
jboss
.
modules
]
JBoss
Modules
version
1.1.1.GA
06
:
24
:
37
,
121
INFO
[
org
.
jboss
.
msc
]
JBoss
MSC
version
1.0.2.GA
06
:
24
:
37
,
194
INFO
[
org
.
jboss
.
as
]
JBAS015899
:
JBoss
AS
7.1.1.Final
"Brontes"
starting
06
:
25
:
24
,
851
INFO
[
org
.
jboss
.
as
]
JBAS015950
:
JBoss
AS
7.1.1.Final
"Brontes"
stopped
in
0ms
[
root
@
Jboss1
Jboss
]
#
|
如上所示,除非强行中断(Ctrl + c),否则会永久的卡在那里。
——————————————————————————————————————————————————————
这个问题,实际上是由于当前系统的Java版本不适应而引发的。
(反馈信息“Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0”)
发生上述情况的时候,我的Java版本为:1.8。
1
2
3
|
[
root
@
Jboss1
Jboss
]
# rpm -qa | grep jdk
jdk
-
1.8.0_05
-
fcs
[
root
@
Jboss1
Jboss
]
#
|
当更换Java版本为1.7后,问题就解决了。(JBOSS的启动恢复正常)