1.环境:
myeclipse10.5
JBoss7.1.1.Final
2.配置
Windows - Preferences - MyEclipse - Servers - JBoss 7.x,如图:
3.测试
Console输出:
WARNING: -logmodule is deprecated. Please use the system property 'java.util.logging.manager' or the 'java.util.logging.LogManager' service loader. 19:46:41,564 信息 [org.jboss.modules] JBoss Modules version 1.1.1.GA 19:46:43,328 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 19:46:43,566 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 19:46:52,209 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 19:46:52,231 INFO [org.xnio] XNIO Version 3.0.3.GA 19:46:52,328 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA 19:46:52,544 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA 19:46:52,565 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 19:46:52,602 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem 19:46:52,721 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem. 19:46:52,725 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem 19:46:52,724 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem 19:46:52,852 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension 19:46:52,860 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem 19:46:53,354 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final 19:46:54,147 INFO [org.jboss.as.connector] (MSC service thread 1-5) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 19:46:55,387 INFO [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service 19:46:55,434 INFO [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default] 19:46:56,680 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 19:46:57,902 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080 19:47:00,353 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA 19:47:01,535 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) JBAS015012: Started FileSystemDeploymentService for directory E:\myeclipse\jboss-as-7.1.1.Final\standalone\deployments 19:47:01,651 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found ejb_01.jar in deployment directory. To trigger deployment create a file called ejb_01.jar.dodeploy 19:47:01,659 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999 19:47:01,661 INFO [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:4447 19:47:02,377 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 19:47:02,791 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "ejb_01.jar" 19:47:03,458 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean named FirstEjbBean in deployment unit deployment "ejb_01.jar" are as follows: java:global/ejb_01/FirstEjbBean!com.ys.ejb.FirstEjb java:app/ejb_01/FirstEjbBean!com.ys.ejb.FirstEjb java:module/FirstEjbBean!com.ys.ejb.FirstEjb java:jboss/exported/ejb_01/FirstEjbBean!com.ys.ejb.FirstEjb java:global/ejb_01/FirstEjbBean java:app/ejb_01/FirstEjbBean java:module/FirstEjbBean 19:47:04,157 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on http://127.0.0.1:9990 19:47:04,160 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 25759ms - Started 172 of 249 services (76 services are passive or on-demand) 19:47:04,357 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "ejb_01.jar"
作者:linjingj 发表于2013-3-15 19:46:00 原文链接
阅读:0 评论:0 查看评论