-
Jboss6 在myeclipse控制台没有输出信息3
我在myeclipse里面启动jboss-6.1.0.Final的时候,为什么在控制台(Console)里面没有任何的打印信息呢?
我要是到了这个目录:D:\SystemFile\jboss-6.1.0.Final\bin
里面双击run.bat 这个的时候,会在命令提示符界面里面有打印信息的,如下:
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
以前用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控制台没有打印信息??
2011年11月06日 17:08
目前还没有答案
相关推荐
### MyEclipse中配置JBoss图文教程 ...通过以上步骤,你可以成功地在MyEclipse中配置并启动JBoss服务器。这为开发基于JBoss的应用程序提供了基础环境。同时,了解这些配置过程也有助于解决可能出现的各种问题。
开发完成后,MyEclipse可以帮助我们将EJB部署到配置好的Jboss服务器上,通过服务器的管理控制台可以监控和管理这些EJB组件。这种方式使得开发者能够快速地进行迭代开发和测试,提高了开发效率。 总的来说,...
在描述中提到,当使用EditPlus打开JBoss的日志文件时,没有出现乱码,而在Myeclipse的控制台中却出现了,这表明日志文件的编码格式与Myeclipse控制台的编码格式不一致。 首先,我们需要理解编码的基本概念。编码是...
- 运行测试代码,观察控制台输出,检查是否有错误信息。 - 如果一切正常,说明EJB3实体Bean已经成功与数据库进行了交互。 #### 七、总结 通过本教程的学习,您不仅掌握了使用Myeclipse 6和JBoss来开发EJB3应用...
【myeclipse+jboss5+shh 搭建框架】是关于集成开发环境Myeclipse、应用服务器JBoss和SSH(Struts1.2、Spring2、Hibernate3.1)三大框架组合使用的教程。以下是详细步骤: 1. **创建Web项目**: 首先,使用...
在项目部署过程中,你需要将Myeclipse中的EJB模块导出到JBoss的相应目录,然后通过JBoss管理控制台或命令行启动服务。 本项目的代码虽然简单,但对于初学者来说,是一个很好的实践平台,可以帮助理解EJB3.0在实际...
在MyEclipse中,开发者可以创建EJB3.0项目,编写实体Bean和会话Bean,然后利用MyEclipse的部署工具将其打包成JAR或EAR文件,最后通过JBoss的管理控制台或者命令行工具部署到JBoss服务器上。 **第三次上机作业解析**...
5. **Java应用开发**:学习如何在MyEclipse中创建和运行Java应用程序,包括控制台应用和Swing图形用户界面应用,以及如何进行单元测试。 6. **Web开发**:理解动态Web项目,创建和配置Servlet、JSP,使用JSTL和EL...
- **监控控制台输出**:在`Console`视图中查看程序运行时的输出,以便于调试。 #### 7. MyEclipse与JBoss的集成 问题描述:在MyEclipse中配置并运行基于JBoss的应用。 **解决方案:** - **配置JBoss服务**:在...
在本文档中,我们将重点讨论如何在MyEclipse6中停用JBoss并启用WebLogic8.1。 首先,为了配置WebLogic,你需要确保已经安装了WebLogic服务器。安装过程可以参考链接提供的教程(由于这是一个过时的链接,实际操作时...
- 通过标准输出日志消息监视应用服务器操作,这些日志消息会被重定向到MyEclipse控制台 - 通过自定义测试客户端或网页浏览器测试已部署的应用程序 - 对已部署的应用代码进行热替换Java调试 - 在符合JSR-045规范...
4. **配置MyEclipse**:在MyEclipse中配置WebSphere服务器的方式与JBoss类似,通过“Window”->“Preferences”->“MyEclipse”->“Application Servers”->“WebSphere”,添加新服务器并填写相应的信息即可。...
打开 MyEclipse,选择 MyEclipse-->preferences 首选项-->servers-->JBoss-->JBoss7.x,选择 enable 在 JBoss home directory 中将你的 JBoss 找到一只到看得到 bin 目录为止点确定,点 ok。 然后,点“JBoss7.x”...
在开始配置WebLogic前,首先需要禁用MyEclipse默认的应用服务器——JBoss。在“窗口首选项”菜单中,展开MyEclipse的"Application Servers"节点,选择JBoss 3并取消选中"Disable"单选按钮,停用它。 2. **启用...
- **日志输出**:利用控制台输出或日志文件记录调试信息。 通过以上步骤,可以有效地在MyEclipse中配置Web服务器、部署应用程序以及进行调试。这对于开发人员来说是非常实用且高效的工作流程,能够帮助他们更快地...
- 服务器启动成功后,可以在控制台查看相关信息。 #### 六、部署应用 最后一步是在 WebLogic 服务器上部署应用程序: - 可以直接将应用程序文件拖拽到 `Application Servers` 视图中的 `WebLogic8` 上。 - 或者,...
在IT领域,尤其是对于Java开发者而言,掌握如何使用MyEclipse和JBoss开发企业级Java Bean(EJB)是至关重要的技能。MyEclipse作为一款功能丰富的集成开发环境(IDE),不仅支持Java开发,还提供了对EJB、Web服务、...