匿名通过本文主要向大家介绍了服务器, jBoss7.1.1,MySql5.7.16等相关知识,希望本文的分享对您有所帮助
服务器-jBoss7.1.1 as final与MySql5.7.16的配置
服务器mysqljava eejboss
由于学年论文设计的缘由,现在开始零基础学Java EE。在最近的一段时间内,我搭建了java EE的开发环境,我用的JDK和Eclipse环境分别是jdk-7u79-windows-i586 、eclipse-jee-kepler-SR2-win32,jboss的环境是jboss-as-7.1.1.Final,配置好环境后,jboss可以正常启动,然后,我安装了Mysql,环境是mysql-5.7.16-win32.zip,通过命令行配置后Mysql可以正常启动。最后是jboss与Mysql的配置启动,其中jboss中的standalone.xml文件如下:
在D:\jboss7.1.1\modules\com\mysql\main中,文件配置如下:
鉴于我是初学者,不懂配置,求大神指导,以解决问题。
回复内容:
http://blog.csdn.net/u012705000/article/details/51408007
初次使用jboss7.1.1.final部署项目,遇到了很多困难,最终通过查看官方文档和网上资料得以解决,特此记录一下。
error information
2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: ############################################################# 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: JRebel Legacy Agent 6.4.2a (201604061405) 2016-05-12 12:53:20 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu. 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: Over the last 5 days JRebel prevented 2016-05-12 12:53:20 JRebel: at least 386 redeploys/restarts saving you about 15.7 hours. 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: Licensed to Lei Zhang (sinosoft) 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: License type: evaluation 2016-05-12 12:53:20 JRebel: Valid from: April 26, 2016 2016-05-12 12:53:20 JRebel: Valid until: May 10, 2016 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: Trial License expired. 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: To extend your evaluation or purchase a license, 2016-05-12 12:53:20 JRebel: contact sales@zeroturnaround.com. 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: If you think this is an error, contact support@zeroturnaround.com. 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: ############################################################# 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: 2016-05-12 12:53:20 JRebel: A newer version '6.4.3' is available for download 2016-05-12 12:53:20 JRebel: from http://zeroturnaround.com/software/jrebel/download/ 2016-05-12 12:53:20 JRebel: WARNING: -logmodule is deprecated. Please use the system property 'java.util.logging.manager'or the ' java.util.logging.LogManager' service loader. 12:53:22,705 信息 [org.jboss.modules] JBoss Modules version 1.1.1.GA 12:53:22,941 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 12:53:23,032 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 12:53:29,465 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 12:53:29,514 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 12:53:29,531 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 52) JBAS010280: Activating Infinispan subsystem. 12:53:29,561 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 47) JBAS016200: Activating ConfigAdmin Subsystem 12:53:29,563 INFO [org.jboss.as.security] (ServerService Thread Pool -- 65) JBAS013101: Activating Security Subsystem 12:53:29,591 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 59) JBAS011800: Activating Naming Subsystem 12:53:29,593 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 69) JBAS015537: Activating WebServices Extension 12:53:29,611 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 60) JBAS011940: Activating OSGi Subsystem 12:53:29,613 INFO [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service 12:53:29,624 INFO [org.jboss.as.security] (MSC service thread 1-7) JBAS013100: Current PicketBox version=4.0.7.Final 12:53:29,770 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default] 12:53:29,945 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA 12:53:43,605 INFO [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.3.GA 12:53:43,612 INFO [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.0.3.GA 12:53:43,623 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.3.GA 12:53:50,679 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 12:53:50,912 WARN [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015005: Reliable deployment behaviour is not possible when auto-deployment of exploded content is enabled (i.e. deployment without use of ".dodeploy"' marker files). Configuration of auto-deployment of exploded content is not recommended in any situation where reliability is desired. Configuring the deployment scanner's auto-deploy-exploded setting to "false" is recommended. 12:53:50,916 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory E:\Server\jboss-as-7.1.1.Final\standalone\deployments 12:53:50,925 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment CTPro.war 12:53:50,938 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447 12:53:50,938 INFO [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on /127.0.0.1:9999 12:53:51,410 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-9090 12:53:59,503 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies: service jboss.jdbc-driver.com_oracle (missing) dependents: [service jboss.data-source.java:jboss/datasources/sinosoftDataSource] 12:53:59,515 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Operation ("add") failed - address: ([("deployment" => "CTPro.war")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"CTPro.war\")]" 12:53:59,517 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back 12:53:59,519 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014803: Duplicate resource [(\"deployment\" => \"CTPro.war\")]"}} 12:53:59,588 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10990 12:53:59,589 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 37474ms - Started 129 of 206 services (2 services failed or missing dependencies, 74 services are passive or on-demand)
此时我的配置文件如下:
module.xml
<module xmlns=