Jboss6 在myeclipse控制台没有输出信息

varyall 2011-11-06 05:24:26
我在myeclipse里面启动jboss的时候,为什么在控制台(Console)里面没有任何的打印信息呢?

我要是到了这个目录:D:\SystemFile\jboss-6.1.0.Final\bin

里面双击run.bat 这个的时候,会在命令提示符界面里面有打印信息的,如下:

...全文
2537 19 打赏 收藏 转发到动态 举报
写回复
用AI写文章
19 条回复
切换为时间正序
请发表友善的回复…
发表回复
lyh061619 2013-05-25
  • 打赏
  • 举报
回复
确实是这么一回事,只支持6.0版的,6.0以上版不支持,8.6、8.6等等想用jboss6的话,就去下载6.0final版就可能正常显示启动信息了
SmarkMeng 2013-03-02
  • 打赏
  • 举报
回复
myeclipse最高支持版本是jboss6.0 高版本的jboss会出现这个问题
李阿飞 2013-02-06
  • 打赏
  • 举报
回复

都不是log4j.xml这个问题吧。请查看控制台输出是否被锁。我的是8.6,8.5都可以的。
fpfos 2013-01-08
  • 打赏
  • 举报
回复
我也是,求解啊,而且没有log4j.xml这个文件啊
chenteng_slkj 2012-05-12
  • 打赏
  • 举报
回复
有没有人解决下啊!!!
Mohuanjiaren 2012-03-02
  • 打赏
  • 举报
回复
为什么啊?没人能解决吗
yuquan009 2012-02-06
  • 打赏
  • 举报
回复
学习一下
lyh061619 2012-01-03
  • 打赏
  • 举报
回复
我的也是,8到9版本的myeclipse都遇到上面的问题,配置好启动JBoss6在控制台就是没显示启动信息SOS
xingzhejh 2011-12-21
  • 打赏
  • 举报
回复
不对啊,我用的是myeclipse 9.1,也打印不出来启动信息!请教为什么
varyall 2011-12-19
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 chenhaijing 的回复:]

是不是MyEclipse的版本不支持Jboss6。
[/Quote]

这个有可能,我用的是myeclipse 8.5
varyall 2011-12-19
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 liuhui168168 的回复:]

看看你的server\default\conf\log4j.xml文件中关于控制台显示的xml设置
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->

<appender n……
[/Quote]


这个版本的就没有log4j.xml 此文件,我后来换回jboss5就好了
Derek-Chen 2011-12-14
  • 打赏
  • 举报
回复
是不是MyEclipse的版本不支持Jboss6。
码工码工 2011-12-07
  • 打赏
  • 举报
回复
同样的问题,求解。
sunhuaer123 2011-12-04
  • 打赏
  • 举报
回复
你将jboss插件装进去了没?
liuhui168168 2011-12-02
  • 打赏
  • 举报
回复
看看你的server\default\conf\log4j.xml文件中关于控制台显示的xml设置
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->

<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<param name="Threshold" value="ERROR"/>

<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

是否注释掉了,如果是的话,去掉注释,就可以在myeclipse启动是看到控制台输出信息了
varyall 2011-11-06
  • 打赏
  • 举报
回复
以前用tomcat 6的时候,不管你发布不发布项目,每次在myeclipse 里面启动tomcat的时候,控制台(Console)都会有打印信息的,如下:
2011-11-6 16:57:16 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-11-6 16:57:16 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-11-6 16:57:18 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-9090
2011-11-6 16:57:18 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-11-6 16:57:18 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2949 ms
2011-11-6 16:57:18 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-11-6 16:57:18 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2011-11-6 16:57:18 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-11-6 16:57:19 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-11-6 16:57:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-11-6 16:57:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-11-6 16:57:19 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-11-6 16:57:19 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-11-6 16:57:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-11-6 16:57:20 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-9090
2011-11-6 16:57:20 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2011-11-6 16:57:20 org.apache.catalina.startup.Catalina start
信息: Server startup in 1671 ms







我就想问下,为什么啊,我都是按照网上的一写别人的教程配置的,觉得配置的都是一样的啊,但是就是myeclipse控制台没有打印信息??
varyall 2011-11-06
  • 打赏
  • 举报
回复
Calling D:\SystemFile\jboss-6.1.0.Final\bin\run.conf.bat
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: D:\SystemFile\jboss-6.1.0.Final

JAVA: D:\SystemFile\Java\jdk1.6.0_21\bin\java

JAVA_OPTS: -Dprogram.name=run.bat -Dlogging.configuration=file:logging.propert
ies -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=36000
00 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -se
rver

CLASSPATH: D:\SystemFile\Java\jdk1.6.0_21\lib\tools.jar;D:\SystemFile\jboss-6.
1.0.Final\bin\run.jar

===============================================================================

17:05:53,702 INFO [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/D:/SystemFile/jboss-6.1.0.Final/
Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME\common/
Common Library: $JBOSS_HOME\common/lib/
Server Name: default
Server Base: $JBOSS_HOME\server/
Server Library: $JBOSS_HOME\server/default/lib/
Server Config: $JBOSS_HOME\server/default/conf/
Server Home: $JBOSS_HOME\server/default/
Server Data: $JBOSS_HOME\server/default/data/
Server Log: $JBOSS_HOME\server/default/log/
Server Temp: $JBOSS_HOME\server/default/tmp/

17:05:53,714 INFO [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]
17:05:56,757 INFO [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
17:05:56,760 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (b
uild 1.6.0_21-b07)
17:05:56,761 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 17.0-b17,Sun
Microsystems Inc.
17:05:56,762 INFO [ServerInfo] OS-System: Windows 7 6.1,x86
17:05:56,764 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Dlogging.c
onfiguration=file:logging.properties -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsu
n.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dor
g.jboss.resolver.warning=true -Djava.endorsed.dirs=D:\SystemFile\jboss-6.1.0.Fin
al\lib\endorsed
17:05:56,831 INFO [JMXKernel] Legacy JMX core initialized
17:06:04,347 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server
3.4.1.GA
17:06:05,551 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations:
[Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
17:06:15,237 警告 [FileConfigurationParser] AIO wasn't located on this platfo
rm, it will fall back to using pure Java NIO. If your platform is Linux, install
LibAIO to enable the AIO journal
17:06:15,530 INFO [JMXConnector] starting JMXConnector on host 127.0.0.1:1090
17:06:15,687 INFO [MailService] Mail Service bound to java:/Mail
17:06:16,854 信息 [HornetQServerImpl] live server is starting with configurat
ion HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journal
Directory=D:\SystemFile\jboss-6.1.0.Final\server\default\data/hornetq/journal,bi
ndingsDirectory=D:\SystemFile\jboss-6.1.0.Final\server\default\data/hornetq/bind
ings,largeMessagesDirectory=D:\SystemFile\jboss-6.1.0.Final\server\default\data/
hornetq/largemessages,pagingDirectory=D:\SystemFile\jboss-6.1.0.Final\server\def
ault\data/hornetq/paging)
17:06:16,863 信息 [HornetQServerImpl] Waiting to obtain live lock
17:06:16,981 INFO [JournalStorageManager] Using NIO Journal
17:06:17,101 警告 [HornetQServerImpl] Security risk! It has been detected tha
t the cluster admin user and password have not been changed from the installatio
n default. Please see the HornetQ user guide, cluster chapter, for instructions
on how to do this.
17:06:17,391 INFO [FileLockNodeManager] Waiting to obtain live lock
17:06:17,392 INFO [FileLockNodeManager] Live Server Obtained live lock
17:06:19,673 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r$
{buildNumber} 127.0.0.1:5445 for CORE protocol
17:06:19,714 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r$
{buildNumber} 127.0.0.1:5455 for CORE protocol
17:06:19,725 信息 [HornetQServerImpl] Server is now live
17:06:19,733 信息 [HornetQServerImpl] HornetQ Server version 2.2.5.Final (HQ_
2_2_5_FINAL_AS7, 121) [52be2595-0632-11e1-a1ad-60eb69422ee5] started
17:06:19,905 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
17:06:20,446 INFO [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSST
S_4_14_0_Final) - JBoss Inc.
17:06:20,461 INFO [arjuna] ARJUNA-12324 Start RecoveryActivators
17:06:20,516 INFO [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at 星期日,
6 十一月 2011 17:06:20
17:06:20,699 INFO [arjuna] ARJUNA-12310 Recovery manager listening on endpoint
127.0.0.1:4712
17:06:20,701 INFO [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4
712
17:06:20,713 INFO [jbossatx] ARJUNA-32013 Starting transaction recovery manager

17:06:20,737 INFO [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.
recovery.ActionStatusService on port 4713
17:06:20,776 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.
0.0.1 port: 4713
17:06:20,882 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on por
t 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStat
usService
17:06:20,979 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA vers
ion - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
17:06:21,117 INFO [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectS
tore.
17:06:21,715 INFO [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the java
.library.path: D:\SystemFile\Java\jdk1.6.0_21\bin;.;C:\Windows\Sun\Java\bin;C:\W
indows\system32;C:\Windows;D:\Windows\Sybase\OCS-12_5\dll;D:\Windows\Sybase\OCS-
12_5\bin;D:\Windows\Sybase\SQLRemote\dll;D:\Windows\Sybase\RPL-12_5\bin;D:\Windo
ws\Sybase\JS-12_5\bin;D:\Windows\Sybase\ASE-12_5\dll;D:\Windows\Sybase\ASE-12_5\
bin;D:\SystemFile\oracle\app\oracle\product\10.2.0\server\bin;C:\Windows\system3
2;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32\windowspowershell\v1.0
\;c:\program files\broadcom\broadcom 802.11 network adapter\driver;d:\systemfile
\java\jdk1.6.0_21\bin;c:\program files\ibm\gsk8\lib;D:\SYSTEM~2\IBM\SQLLIB\BIN;D
:\SYSTEM~2\IBM\SQLLIB\FUNCTION;D:\SYSTEM~2\IBM\SQLLIB\SAMPLES\REPL;C:\Program Fi
les\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Microsoft SQL Se
rver\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Prog
ram Files\ATI Technologies\ATI.ACE\Core-Static
17:06:22,063 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final
17:06:22,094 INFO [TomcatDeployment] deploy, ctxPath=/invoker
17:06:22,691 INFO [RARDeployment] Required license terms exist, view vfs:/D:/Sy
stemFile/jboss-6.1.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/r
a.xml
17:06:22,714 INFO [RARDeployment] Required license terms exist, view vfs:/D:/Sy
stemFile/jboss-6.1.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.x
ml
17:06:22,728 INFO [RARDeployment] Required license terms exist, view vfs:/D:/Sy
stemFile/jboss-6.1.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
17:06:22,754 INFO [HornetQResourceAdapter] HornetQ resource adaptor started
17:06:22,764 INFO [RARDeployment] Required license terms exist, view vfs:/D:/Sy
stemFile/jboss-6.1.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
17:06:22,782 INFO [RARDeployment] Required license terms exist, view vfs:/D:/Sy
stemFile/jboss-6.1.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
17:06:22,942 INFO [SimpleThreadPool] Job execution threads will use class loade
r of thread: Thread-2
17:06:23,019 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller of ty
pe: class org.quartz.core.SchedulerSignalerImpl
17:06:23,020 INFO [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
17:06:23,031 INFO [RAMJobStore] RAMJobStore initialized.
17:06:23,038 INFO [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8
.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persis
tence. and is not clustered.

17:06:23,051 INFO [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler'
initialized from an externally opened InputStream.
17:06:23,059 INFO [StdSchedulerFactory] Quartz scheduler version: 1.8.3
17:06:23,071 INFO [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTE
RED started.
17:06:23,704 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
17:06:24,523 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:06:24,923 INFO [xnio] XNIO Version 2.1.0.CR2
17:06:24,961 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2
17:06:25,542 INFO [remoting] JBoss Remoting version 3.1.0.Beta2
17:06:25,846 INFO [TomcatDeployment] deploy, ctxPath=/
17:06:26,093 信息 [HornetQServerImpl] trying to deploy queue jms.queue.Expiry
Queue
17:06:26,265 信息 [HornetQServerImpl] trying to deploy queue jms.queue.DLQ
17:06:26,318 信息 [service] Removing bootstrap log handlers
17:06:26,482 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTT
P/1.1 on http-127.0.0.1-8088
17:06:26,490 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 o
n ajp-127.0.0.1-8009
17:06:26,497 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS
[6.1.0.Final "Neo"] Started in 32s:773ms

6,786

社区成员

发帖
与我相关
我的任务
社区描述
JBoss技术交流
社区管理员
  • JBoss技术交流社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧