jboss7添加了jboss-deployment-structure也不能切换到自定义的日志

jboss7添加了jboss-deployment-structure也不能切换到自定义的日志,依然走的JBOSS自带的日志

如下是我的配置文件:

<?xml version="1.0" encoding="UTF-8"?>















1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Jboss启动项目报错 以下是错误信息:
13:34:38,808 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extensionClasses=org.codehaus.groovy.jsr223.ScriptExtensions,org.codehaus.groovy.runtime.NioGroovyMethods,org.codehaus.groovy.runtime.SqlGroovyMethods,org.codehaus.groovy.runtime.SwingGroovyMethods,org.codehaus.groovy.runtime.XmlGroovyMethods' for service type 'org.codehaus.groovy.runtime.ExtensionModule' 13:34:38,808 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'staticExtensionClasses=org.codehaus.groovy.jsr223.ScriptStaticExtensions' for service type 'org.codehaus.groovy.runtime.ExtensionModule' 13:34:39,098 WARN [org.jboss.as.ee] (MSC service thread 1-15) JBAS011006: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.http.server.ServletServerHttpAsyncRequestControl at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:607) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final] at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:80) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] 13:34:39,100 WARN [org.jboss.as.ee] (MSC service thread 1-15) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:607) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final] at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:80) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] 13:34:39,155 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-15) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 13:34:39,185 INFO [org.jboss.web] (ServerService Thread Pool -- 74) JBAS018210: Register web context: /test.activity 13:34:39,193 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/test.activity]] (ServerService Thread Pool -- 74) No Spring WebApplicationInitializer types detected on classpath 13:34:39,664 WARNING [org.apache.myfaces.webapp.AbstractFacesInitializer] (ServerService Thread Pool -- 74) No mappings of FacesServlet found. Abort initializing MyFaces. 谢谢诸位.
启动jboss出现异常求解决方案
弹出窗口Source not found for org.jboss.msc.service.StartException 并出现如下异常 JBAS014777: Services which failed to start: service jboss.persistenceunit."lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#batchPU": org.jboss.msc.service.StartException in service jboss.persistenceunit."lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#batchPU": Failed to start service service jboss.persistenceunit."lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#defaultPU": org.jboss.msc.service.StartException in service jboss.persistenceunit."lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#defaultPU": Failed to start service 09:54:22,975 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#batchPU\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#batchPU\": Failed to start service","jboss.persistenceunit.\"lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#defaultPU\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"lmsp-wmsp-bl-ear.ear/lmsp-wmsp-bl.jar#defaultPU\": Failed to start service"}}}} 09:54:22,990 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back 09:54:23,006 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
jboss7.1和eclipse4.3+jdk1.7部署項目運行出錯
1. 14:56:37,166 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-11) MSC00001: Failed to start service jboss.deployment.unit."ABSAppian.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ABSAppian.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "ABSAppian.jar" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51] 2. Caused by: java.lang.RuntimeException: Error getting reflective information for class com.nmg.service.contract.ContractReportService with ClassLoader ModuleClassLoader for Module "deployment.ABSAppian.jar:main" from Service Module Loader at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 5 more 3. Caused by: java.lang.NoClassDefFoundError: jxl/biff/DisplayFormat at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_51] at java.lang.Class.privateGetDeclaredFields(Class.java:2397) [rt.jar:1.7.0_51] at java.lang.Class.getDeclaredFields(Class.java:1806) [rt.jar:1.7.0_51] at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 10 more 4. Caused by: java.lang.ClassNotFoundException: jxl.biff.DisplayFormat from [Module "deployment.ABSAppian.jar:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA] ... 15 more 注:jxl包我已經放在lib下了,但還是報錯。
jboss7部署web项目启动报错,劳驾高手指点
16:25:27,433 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC0000 1: Failed to start service jboss.deployment.unit."edup.war".POST_MODULE: org.jbo ss.msc.service.StartException in service jboss.deployment.unit."edup.war".POST_M ODULE: Failed to process phase POST_MODULE of deployment "edup.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo ymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886) [rt.jar:1.6.0_10-rc2] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) [rt.jar:1.6.0_10-rc2] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_10-rc2] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA S011093: Could not load component class com.hwas.common.util.upload.RequestUploa dClassesServlet at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.pr ocessComponentConfig(InterceptorAnnotationProcessor.java:113) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.de ploy(InterceptorAnnotationProcessor.java:54) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo ymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] ... 5 more Caused by: java.lang.ClassNotFoundException: com.hwas.common.util.upload.Request UploadClassesServlet from [Module "deployment.edup.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java: 190) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(Con currentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(Concu rrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentCl assLoader.java:398) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoad er.java:120) [jboss-modules.jar:1.1.1.GA] at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.pr ocessComponentConfig(InterceptorAnnotationProcessor.java:111) ... 7 more
jboss-eap的发布项目的问题,报了很多错误,不知道是什么原因。
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed :" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.module.s ervice.\"deployment.itoo-basic-teacher-ear.ear.itoo-tool.jar\".main" => "org.jbo ss.msc.service.StartException in service jboss.module.service.\"deployment.itoo- basic-teacher-ear.ear.itoo-tool.jar\".main: WFLYSRV0179: Failed to load module: deployment.itoo-basic-teacher-ear.ear.itoo-tool.jar:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-base.jar\".ma in" => "org.jboss.msc.service.StartException in service jboss.module.service.\"d eployment.itoo-basic-teacher-ear.ear.itoo-base.jar\".main: WFLYSRV0179: Failed t o load module: deployment.itoo-basic-teacher-ear.ear.itoo-base.jar:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-basic-teacher -core.jar\".main" => "org.jboss.msc.service.StartException in service jboss.modu le.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-basic-teacher-core.jar\" .main: WFLYSRV0179: Failed to load module: deployment.itoo-basic-teacher-ear.ear .itoo-basic-teacher-core.jar:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear\".main" => "org.jb oss.msc.service.StartException in service jboss.module.service.\"deployment.itoo -basic-teacher-ear.ear\".main: WFLYSRV0179: Failed to load module: deployment.it oo-basic-teacher-ear.ear:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-excelV2.0-api .jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.se rvice.\"deployment.itoo-basic-teacher-ear.ear.itoo-excelV2.0-api.jar\".main: WFL YSRV0179: Failed to load module: deployment.itoo-basic-teacher-ear.ear.itoo-exce lV2.0-api.jar:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-cloud-api.jar \".main" => "org.jboss.msc.service.StartException in service jboss.module.servic e.\"deployment.itoo-basic-teacher-ear.ear.itoo-cloud-api.jar\".main: WFLYSRV0179 : Failed to load module: deployment.itoo-basic-teacher-ear.ear.itoo-cloud-api.ja r:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-basic-teacher -web.war\".main" => "org.jboss.msc.service.StartException in service jboss.modul e.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-basic-teacher-web.war\".m ain: WFLYSRV0179: Failed to load module: deployment.itoo-basic-teacher-ear.ear.i too-basic-teacher-web.war:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-basic-api.jar \".main" => "org.jboss.msc.service.StartException in service jboss.module.servic e.\"deployment.itoo-basic-teacher-ear.ear.itoo-basic-api.jar\".main: WFLYSRV0179 : Failed to load module: deployment.itoo-basic-teacher-ear.ear.itoo-basic-api.ja r:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main", "jboss.module.service.\"deployment.itoo-basic-teacher-ear.ear.itoo-authority-api .jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.se rvice.\"deployment.itoo-basic-teacher-ear.ear.itoo-authority-api.jar\".main: WFL YSRV0179: Failed to load module: deployment.itoo-basic-teacher-ear.ear.itoo-auth ority-api.jar:main Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.netty:main"} }}}
jboss-EAP启动上下文的问题
16:17:55,489 ERROR [org.jboss.as.server] (management-handler-thread - 6) JBAS015 870: 部署 "itoo-basic-teacher-ear-full.ear" 的部署被回滚并带有下列错误消息: {"JBAS014671: 失败的服务" => {"jboss.web.deployment.default-host./itoo-basic-tea cher-web" => "org.jboss.msc.service.StartException in service jboss.web.deployme nt.default-host./itoo-basic-teacher-web: org.jboss.msc.service.StartException in anonymous service: JBAS018040: 启动上下文失败 Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS01 8040: 启动上下文失败"}} 16:17:55,596 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 80) JBAS0114 03: 停止 Persistence Unit 服务 'itoo-basic-teacher-ear-full.ear/itoo-excelV2.0-a pi.jar#MT_HOTEL_SERVICE' 16:17:55,599 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 71) JBAS0114 03: 停止 Persistence Unit 服务 'itoo-basic-teacher-ear-full.ear/itoo-basic-teach er-web.war#MT_HOTEL_SERVICE' 16:17:55,598 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 81) JBAS0114 03: 停止 Persistence Unit 服务 'itoo-basic-teacher-ear-full.ear/itoo-basic-api.j ar#MT_HOTEL_SERVICE' 16:17:55,597 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 65) JBAS0114 03: 停止 Persistence Unit 服务 'itoo-basic-teacher-ear-full.ear/itoo-authority-a pi.jar#MT_HOTEL_SERVICE' 16:17:55,604 INFO [stdout] (ServerService Thread Pool -- 80) [EL Warning]: 2017 -03-05 16:17:55.603--Thread(Thread[ServerService Thread Pool -- 80,5,ServerServi ce ThreadGroup])--session_manager_no_partition 16:17:55,615 INFO [stdout] (ServerService Thread Pool -- 65) [EL Config]: 2017- 03-05 16:17:55.614--ServerSession(800566064)--Connection(1500604457)--Thread(Thr ead[ServerService Thread Pool -- 65,5,ServerService ThreadGroup])--disconnect 16:17:55,618 INFO [stdout] (ServerService Thread Pool -- 65) [EL Info]: 2017-03 -05 16:17:55.617--ServerSession(800566064)--Thread(Thread[ServerService Thread P ool -- 65,5,ServerService ThreadGroup])--/vfs:/D:/tools/jboss-eap-6.2-itoo4.0/bi n/content/itoo-basic-teacher-ear-full.ear/itoo-authority-api.jar/_MT_HOTEL_SERVI CE logout successful 16:17:55,622 INFO [stdout] (ServerService Thread Pool -- 65) [EL Warning]: 2017 -03-05 16:17:55.621--Thread(Thread[ServerService Thread Pool -- 65,5,ServerServi ce ThreadGroup])--session_manager_no_partition 16:17:55,625 INFO [stdout] (ServerService Thread Pool -- 81) [EL Config]: 2017- 03-05 16:17:55.624--ServerSession(171065381)--Connection(1423559114)--Thread(Thr ead[ServerService Thread Pool -- 81,5,ServerService ThreadGroup])--disconnect 16:17:55,627 INFO [stdout] (ServerService Thread Pool -- 81) [EL Info]: 2017-03 -05 16:17:55.627--ServerSession(171065381)--Thread(Thread[ServerService Thread P ool -- 81,5,ServerService ThreadGroup])--/vfs:/D:/tools/jboss-eap-6.2-itoo4.0/bi n/content/itoo-basic-teacher-ear-full.ear/itoo-basic-api.jar/_MT_HOTEL_SERVICE l ogout successful 16:17:55,630 INFO [stdout] (ServerService Thread Pool -- 81) [EL Warning]: 2017 -03-05 16:17:55.63--Thread(Thread[ServerService Thread Pool -- 81,5,ServerServic e ThreadGroup])--session_manager_no_partition 16:17:55,635 INFO [stdout] (ServerService Thread Pool -- 71) [EL Config]: 2017- 03-05 16:17:55.632--ServerSession(1481767078)--Connection(2138480062)--Thread(Th read[ServerService Thread Pool -- 71,5,ServerService ThreadGroup])--disconnect 16:17:55,637 INFO [stdout] (ServerService Thread Pool -- 71) [EL Info]: 2017-03 -05 16:17:55.637--ServerSession(1481767078)--Thread(Thread[ServerService Thread Pool -- 71,5,ServerService ThreadGroup])--/vfs:/D:/tools/jboss-eap-6.2-itoo4.0/b in/content/itoo-basic-teacher-ear-full.ear/itoo-basic-teacher-web.war/WEB-INF/li b/itoo-basic-api-0.0.2-SNAPSHOT.jar/_MT_HOTEL_SERVICE logout successful 16:17:55,640 INFO [stdout] (ServerService Thread Pool -- 71) [EL Warning]: 2017 -03-05 16:17:55.64--Thread(Thread[ServerService Thread Pool -- 71,5,ServerServic e ThreadGroup])--session_manager_no_partition 16:17:55,650 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA S015877: Stopped deployment null (runtime-name: itoo-base.jar) in 159ms 16:17:55,653 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA S015877: Stopped deployment null (runtime-name: itoo-excelV2.0-api.jar) in 162ms 16:17:55,653 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBA S015877: Stopped deployment null (runtime-name: itoo-basic-api.jar) in 162ms 16:17:55,652 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBA S015877: Stopped deployment null (runtime-name: itoo-basic-teacher-core.jar) in 161ms 16:17:55,651 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA S015877: Stopped deployment null (runtime-name: itoo-authority-api.jar) in 160ms 16:17:55,659 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA S015877: Stopped deployment null (runtime-name: itoo-tool.jar) in 168ms 16:17:55,654 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBA S015877: Stopped deployment null (runtime-name: itoo-cloud-api.jar) in 162ms 16:17:55,940 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA S015877: Stopped deployment null (runtime-name: itoo-basic-teacher-web.war) in 4 48ms 16:17:56,046 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA S015877: Stopped deployment itoo-basic-teacher-ear-full.ear (runtime-name: itoo- basic-teacher-ear-full.ear) in 557ms
jboss启动报错,求救,谢谢
WARNING: -logmodule is deprecated. Please use the system property 'java.util.logging.manager' or the 'java.util.logging.LogManager' service loader. 11:28:14,865 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 11:28:15,021 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 11:28:15,068 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting 11:28:15,754 INFO [org.xnio] XNIO Version 3.0.3.GA 11:28:15,754 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 11:28:15,754 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA 11:28:15,755 INFO [org.jboss.remoting] JBoss Remoting version 3.2.2.GA 11:28:15,755 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 11:28:15,771 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem 11:28:15,786 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem. 11:28:15,817 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem 11:28:15,849 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension 11:28:15,864 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem 11:28:15,864 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem 11:28:15,880 INFO [org.jboss.as.security] (MSC service thread 1-8) JBAS013100: Current PicketBox version=4.0.6.final 11:28:15,895 INFO [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final) 11:28:15,958 INFO [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service 11:28:15,958 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 11:28:15,958 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.1.GA 11:28:15,958 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default] 11:28:16,192 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--0.0.0.0-8090 11:28:16,285 INFO [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999 11:28:16,285 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /0.0.0.0:4447 11:28:16,285 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. 11:28:16,285 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory E:\Oracle Client\jboss-as-7.1.0.Final\jboss-as-7.1.0.Final\standalone\deployments 11:28:16,348 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 11:28:16,363 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.0.Final "Thunder" started in 1732ms - Started 133 of 204 services (70 services are passive or on-demand) 11:28:16,363 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "ecr.war" 11:28:21,013 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."ecr.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ecr.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "ecr.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class com.ecar.ecr.platform.servlet.BeanLocatorInitServlet at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:113) at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final] ... 5 more Caused by: java.lang.ClassNotFoundException: com.ecar.ecr.platform.servlet.BeanLocatorInitServlet from [Module "deployment.ecr.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA] at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111) ... 7 more 11:28:21,029 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ecr.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ecr.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ecr.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"ecr.war\""}} 11:28:21,092 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ecr.war in 70ms 11:28:21,092 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."ecr.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ecr.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "ecr.war"
大神帮忙看看吧,JBOSS7.1发布报错
18:04:05,475 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."fbds2.1.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."fbds2.1.war".PARSE: Failed to process phase PARSE of deployment "fbds2.1.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/C:/jboss-as-7.1.1.Final/bin/content/fbds2.1.war/WEB-INF/jboss-web.xml" at [4,1] at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:77) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 5 more Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,1] Message: Unexpected element 'class-loading' encountered at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:108) at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:211) at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:69) ... 6 more 18:04:05,497 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on http://127.0.0.1:9990 18:04:05,499 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "fbds2.1.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"fbds2.1.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"fbds2.1.war\".PARSE: Failed to process phase PARSE of deployment \"fbds2.1.war\""}} 18:04:05,499 ERROR [org.jboss.as] (MSC service thread 1-3) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 18896ms - Started 135 of 211 services (1 services failed or missing dependencies, 74 services are passive or on-demand) 18:04:15,336 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment fbds2.1.war in 9835ms 18:04:15,340 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."fbds2.1.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."fbds2.1.war".PARSE: Failed to process phase PARSE of deployment "fbds2.1.war" 18:04:15,348 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"fbds2.1.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"fbds2.1.war\".PARSE: Failed to process phase PARSE of deployment \"fbds2.1.war\""}}}}
在jboss7中,怎么部署消息驱动bean?
本人在学习EJB,使用的是jboss7 【环境】MyEclipse10 + jboss7.1.1 写了一个消息驱动bean发布到jboss7,并启动是报错? 代码如下: @MessageDriven ( activationConfig = { @ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination",propertyValue="queue/myqueue") } ) public class MyQueueMDBean implements MessageListener { @Override public void onMessage(Message message) { TextMessage msg = (TextMessage) message; try { System.out.println("消息bean: MyQueueMDBean被调用了" + msg.getText()); } catch (JMSException e) { e.printStackTrace(); } } } 报错内容如下: 23:22:18,024 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.deployment.unit."ejbLearn03.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ejbLearn03.jar".PARSE: Failed to process phase PARSE of deployment "ejbLearn03.jar" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_13] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_13] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_13] Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:447) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:273) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:153) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:58) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 5 more
jboss-as-7.1.0.Final启动问题?请大神解答
启动standalone.bat时出现以下情况,就一直停滞在那里不动,是啥情况。 ------------------------------------------------------------------------------ Calling "G:\jboss-as-7.1.0.Final\bin\standalone.conf.bat" =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: G:\jboss-as-7.1.0.Final JAVA: E:\Java\jdk1.8.0\bin\java JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx51 2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c onfig=standalone.xml =============================================================================== Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256M; support wa s removed in 8.0 Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this releas e. 20:35:34,503 信息 [org.jboss.modules] JBoss Modules version 1.1.1.GA 20:35:34,830 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 20:35:34,895 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" sta rting --------------------------------------------------------------------------------------
Jboss4 项目移植到Jboss7
各位大神,以前项目都在jboos4上面运行,且上面的项目都是相当于文件夹中含有.war的名字,现在要把这些项目部署到jboss7上面要怎么部署,Jboss上面的项目,好像需要用maven打包成整个文件,如果这样的话,以后修改项目中的某些配置文件不就修改不了了吗,或者需要重新在打一次包?
jboss7 启动后不生成.deployed文件
war包放到jboss7的standalone\deployments目录下了,但启动后,不生成deployed文件,哪位大神帮忙解决下
64位windows7下,jboss-eap-4.3.0 报错
高手们,请问一下: 在64位windows7下,安装32位jdk6u24 在启动jboss-eap-4.3.0时,报如下错误,折腾了很久,不知道为什么,谢谢各位了: 011-03-03 13:50:00,398 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging:service=PersistenceManager 2011-03-03 13:50:00,398 DEBUG [org.jboss.messaging.core.jmx.JDBCPersistenceManagerService] Starting jboss.messaging:service=PersistenceManager 2011-03-03 13:50:00,418 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] Failed to execute: CREATE TABLE JBM_DUAL (DUMMY INTEGER) java.sql.SQLException: Table already exists: JBM_DUAL in statement [CREATE TABLE JBM_DUAL] at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:186) at org.jboss.messaging.core.impl.JDBCSupport.createSchema(JDBCSupport.java:294) at org.jboss.messaging.core.impl.JDBCSupport.start(JDBCSupport.java:160) at org.jboss.messaging.core.impl.JDBCPersistenceManager.start(JDBCPersistenceManager.java:133) at org.jboss.messaging.core.jmx.JDBCPersistenceManagerService.startService(JDBCPersistenceManagerService.java:92) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy42.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:662)
为什么我用ANT打包一个war包,总是会出现两个重复的META-INF文件夹?
我用jar tf XXX.war 测试了一下这个包: META-INF/ META-INF/MANIFEST.MF WEB-INF/ WEB-INF/web.xml META-INF/jboss-deployment-structure.xml META-INF/messaging-jssss.xml WEB-INF/lib/ WEB-INF/lib/ismapi.jar WEB-INF/lib/log4j-1.2.8.jar WEB-INF/classes/ META-INF/jboss-deployment-structure.xml META-INF/messaging-jssss.xml WEB-INF/classes/conf.properties ...... 可以看到META-INF出现了两次。这就带来一个问题, 后面我想修改war包里面的配置文件做其他测试就会抛重复文件的异常 比如我要修改WEB-INF/classes/conf.properties 我先将其取出来 jar xf abc.war WEB-INF/classes/conf.properties 然后改了内容, 再 jar uf abc.war WEB-INF/classes/conf.properties 加入进去,在其他的jar包测试都可以,但是由于我这个war包里面有重复,就会抛异常。结果无法更新。。。 大家知道怎么来让META这个文件夹不加两次呢。。
JBOSS启动时报错New missing/unsatisfied dependencies:
``` 21:24:39,205 信息 [org.jboss.modules] JBoss Modules version 1.1.1.GA 21:24:39,379 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 21:24:39,414 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 21:24:40,138 INFO [org.xnio] XNIO Version 3.0.3.GA 21:24:40,138 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http) 21:24:40,147 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA 21:24:40,155 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA 21:24:40,188 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers 21:24:40,195 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem 21:24:40,203 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem. 21:24:40,213 INFO [org.jboss.as.connector] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final) 21:24:40,220 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem 21:24:40,218 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem 21:24:40,228 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem 21:24:40,243 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension 21:24:40,261 INFO [org.jboss.as.security] (MSC service thread 1-6) JBAS013100: Current PicketBox version=4.0.7.Final 21:24:40,294 INFO [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service 21:24:40,297 INFO [org.jboss.as.mail.extension] (MSC service thread 1-16) JBAS015400: Bound mail session [java:jboss/mail/Default] 21:24:40,330 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 21:24:40,374 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.driver.OracleDriver (version 11.1) 21:24:40,419 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-12) JBoss Web Services - Stack CXF Server 4.0.2.GA 21:24:40,743 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-8) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080 21:24:40,879 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-16) JBAS015012: Started FileSystemDeploymentService for directory E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\deployments 21:24:40,881 INFO [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on localhost/127.0.0.1:9999 21:24:40,881 INFO [org.jboss.as.remoting] (MSC service thread 1-11) JBAS017100: Listening on localhost/127.0.0.1:4447 21:24:41,012 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 21:24:41,230 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:/fss2_cq] 21:24:41,259 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 21:24:41,262 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 2315ms - Started 134 of 217 services (2 services failed or missing dependencies, 78 services are passive or on-demand) ```如上,不管有没有部署项目,启动则报New missing/unsatisfied dependencies,我在百度上也试过前人们所提的方法,无一适用,跪求大佬指点。
JBOSS7怎么部署多个项目
JBOSS7的部署单个项目时是在\jboss-as-7.1.1.Final\standalone\deployments下放项目文件,如果要部署多个项目,请问该怎么操作,求大神解答!
JBoss部署web项目启动报错
JBoss6.0 final,没有项目时正常启动,部署项目就会报错 20:07:12,070 INFO [AbstractJBossASServerBase] Server Configuration: JBOSS_HOME URL: file:/F:/DevelopTools/jboss-6.0.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/ 20:07:12,070 INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"] 20:07:13,381 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc. 20:07:13,381 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) 20:07:13,381 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.3-b02,Sun Microsystems Inc. 20:07:13,381 INFO [ServerInfo] OS-System: Windows Vista 6.1,x86 20:07:13,381 INFO [ServerInfo] VM arguments: -Djboss.home=F:\DevelopTools\jboss-6.0.0.Final -Djava.library.path=F:\DevelopTools\MyEclipse\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin -Djava.endorsed.dirs=F:\DevelopTools\jboss-6.0.0.Final\lib\endorsed -Xms128m -Xmx512m -XX:MaxPermSize=256m 20:07:13,429 INFO [JMXKernel] Legacy JMX core initialized 20:07:17,438 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA 20:07:18,094 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0] 20:07:20,902 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/hr_manager.war state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/hr_manager.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA] at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA] at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA] at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA] at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA] at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final] at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2] at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2] at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA] at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2] at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2] at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2] at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2] at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2] at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2] at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final] at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at java.lang.Thread.run(Thread.java:619) [:1.6.0_13] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/hr_manager.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/META-INF/struts-tags.tld@9,37 at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA] at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA] at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA] at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA] at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:64) [:6.0.0.Final] at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:38) [:6.0.0.Final] at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA] at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.handleMultipleFiles(AbstractVFSParsingDeployer.java:446) [:2.2.0.GA] at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:319) [:2.2.0.GA] at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:376) [:2.2.0.GA] ... 47 more Caused by: org.xml.sax.SAXException: cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'. @ vfs:///F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/hr_manager.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/META-INF/struts-tags.tld[9,37] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.error(SaxJBossXBParser.java:416) [jbossxb.jar:2.0.3.GA] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209) [jbossxb.jar:2.0.3.GA] ... 57 more 20:07:20,981 警告 [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 20:07:23,134 警告 [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 20:07:23,275 INFO [JMXConnector] starting JMXConnector on host 127.0.0.1:1090 20:07:23,384 INFO [MailService] Mail Service bound to java:/Mail 20:07:24,336 信息 [HornetQServerImpl] live server is starting.. 20:07:24,384 INFO [JournalStorageManager] Using NIO Journal 20:07:24,399 警告 [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this. 20:07:25,023 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5445 for CORE protocol 20:07:25,039 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5455 for CORE protocol 20:07:25,039 信息 [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started 20:07:25,086 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 20:07:25,242 INFO [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc. 20:07:25,242 INFO [arjuna] ARJUNA-12324 Start RecoveryActivators 20:07:25,257 INFO [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at 星期一, 20 十月 2014 20:07:25 20:07:25,616 INFO [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712 20:07:25,616 INFO [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712 20:07:25,616 INFO [jbossatx] ARJUNA-32013 Starting transaction recovery manager 20:07:25,632 INFO [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713 20:07:25,632 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713 20:07:25,695 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 20:07:25,742 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc. 20:07:25,789 INFO [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore. 20:07:25,960 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: F:\DevelopTools\MyEclipse\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin 20:07:26,070 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final 20:07:26,085 INFO [TomcatDeployment] deploy, ctxPath=/invoker 20:07:26,428 INFO [RARDeployment] Required license terms exist, view vfs:/F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 20:07:26,444 INFO [RARDeployment] Required license terms exist, view vfs:/F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 20:07:26,460 INFO [RARDeployment] Required license terms exist, view vfs:/F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml 20:07:26,460 INFO [HornetQResourceAdapter] HornetQ resource adaptor started 20:07:26,475 INFO [RARDeployment] Required license terms exist, view vfs:/F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml 20:07:26,475 INFO [RARDeployment] Required license terms exist, view vfs:/F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 20:07:26,569 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2 20:07:26,616 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 20:07:26,616 INFO [QuartzScheduler] Quartz Scheduler v.1.8.3 created. 20:07:26,616 INFO [RAMJobStore] RAMJobStore initialized. 20:07:26,616 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 persistence. and is not clustered. 20:07:26,616 INFO [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream. 20:07:26,616 INFO [StdSchedulerFactory] Quartz scheduler version: 1.8.3 20:07:26,616 INFO [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started. 20:07:27,427 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 20:07:27,631 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 20:07:27,755 INFO [xnio] XNIO Version 2.1.0.CR2 20:07:27,771 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2 20:07:27,911 INFO [remoting] JBoss Remoting version 3.1.0.Beta2 20:07:27,989 INFO [TomcatDeployment] deploy, ctxPath=/ 20:07:28,021 信息 [service] Removing bootstrap log handlers 20:07:28,083 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "vfs:///F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/hr_manager.war" is in error due to the following reason(s): org.xml.sax.SAXException: cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'. @ vfs:///F:/DevelopTools/jboss-6.0.0.Final/server/default/deploy/hr_manager.war/WEB-INF/lib/struts2-core-2.1.8.1.jar/META-INF/struts-tags.tld[9,37] at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA] at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA] at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final] at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final] at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at java.lang.Thread.run(Thread.java:619) [:1.6.0_13] 20:07:28,099 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 20:07:28,099 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 20:07:28,099 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 16s:29ms
jBoss7.1.1 as final与MySql5.7.16的配置
由于学年论文设计的缘由,现在开始零基础学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文件如下:![图片说明](https://img-ask.csdn.net/upload/201612/04/1480819262_987081.png) 在D:\jboss7.1.1\modules\com\mysql\main中,文件配置如下: ![图片说明](https://img-ask.csdn.net/upload/201612/04/1480819289_266636.png) ![module.xml](https://img-ask.csdn.net/upload/201612/04/1480819313_232474.png)![服务器启动报错](https://img-ask.csdn.net/upload/201612/04/1480819326_518811.png) 鉴于我是初学者,不懂配置,求大神指导,以解决问题。
启动上下文失败——启动jboss失败,求大神解答,谢谢!
12:33:40,155 WARN [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016012: 部署 deployment "itoo-basic-coursearrangement-ear.ear" 包含 CDI 注解但未找到 beans.xml。 12:33:40,169 WARN [org.jboss.as.ee] (MSC service thread 1-5) JBAS011006: 由于有异常抛出(请启用 DEBUG 日志级别以查看原因),没有安装可选组件 net.bull.javamelody.MonitoringFilter。 12:33:40,170 WARN [org.jboss.as.ee] (MSC service thread 1-5) JBAS011006: 由于有异常抛出(请启用 DEBUG 日志级别以查看原因),没有安装可选组件 net.bull.javamelody.SessionListener。 12:33:40,426 INFO [org.jboss.web] (ServerService Thread Pool -- 69) JBAS018210: 注册 web 上下文 /itoo-basic-coursearrangement-web 12:33:40,472 INFO [org.apache.catalina.core] (ServerService Thread Pool -- 69) JBWEB001093: The listener com.sun.faces.config.ConfigureListener is already configured for this context, the duplicate definition has been ignored 12:33:40,510 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/itoo-basic-coursearrangement-web]] (ServerService Thread Pool -- 69) JBWEB000285: Error configuring application listener of class net.bull.javamelody.SessionListener: java.lang.ClassNotFoundException: net.bull.javamelody.SessionListener from [Module "deployment.itoo-basic-coursearrangement-ear.ear.itoo-basic-coursearrangement-web.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2] at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:74) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3294) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60] at org.jboss.threads.JBossThread.run(JBossThread.java:122) 12:33:40,513 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/itoo-basic-coursearrangement-web]] (ServerService Thread Pool -- 69) JBWEB000286: Skipped installing application listeners due to previous error(s) 12:33:40,513 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 69) JBWEB001103: Error detected during context /itoo-basic-coursearrangement-web start, will stop it 12:33:40,521 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 69) MSC000001: Failed to start service jboss.web.deployment.default-host./itoo-basic-coursearrangement-web: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./itoo-basic-coursearrangement-web: org.jboss.msc.service.StartException in anonymous service: JBAS018040: 启动上下文失败 at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_60] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60] at org.jboss.threads.JBossThread.run(JBossThread.java:122) Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: 启动上下文失败 at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) ... 6 more 12:33:41,204 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: 已部署的 "itoo-basic-coursearrangement-ear.ear"(runtime-name: "itoo-basic-coursearrangement-ear.ear") 12:33:41,205 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: 已部署的 "Container-V1.0.jar"(runtime-name: "Container-V1.0.jar") 12:33:41,209 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: 服务状态报告 JBAS014775: 新的缺失的/未满足的依赖关系: service jboss.binding.management-http (缺失的)依赖关系: [service jboss.serverManagement.controller.management.http] JBAS014777: 启动失败的服务: service jboss.web.deployment.default-host./itoo-basic-coursearrangement-web: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./itoo-basic-coursearrangement-web: org.jboss.msc.service.StartException in anonymous service: JBAS018040: 启动上下文失败
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、PDF搜索网站推荐 对于大部
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 顺便拉下票,我在参加csdn博客之星竞选,欢迎投票支持,每个QQ或者微信每天都可以投5票,扫二维码即可,http://m234140.nofollow.ax.
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入  假设现有4个人
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 欢迎 改进 留言。 演示地点跳到演示地点 html代码如下`&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;music&lt;/title&gt; &lt;meta charset="utf-8"&gt
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐厅的约会 餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”我楞了一下,心里想女朋友今天是怎么了,怎么突然问出这么专业的问题,但做为一个专业人士在女朋友面前也不能露怯啊,想了一下便说:“我先给你讲讲我前同事老王的故事吧!” 大龄程序员老王 老王是一个已经北漂十多年的程序员,岁数大了,加班加不动了,升迁也无望,于是拿着手里
经典算法(5)杨辉三角
写在前面: 我是 扬帆向海,这个昵称来源于我的名字以及女朋友的名字。我热爱技术、热爱开源、热爱编程。技术是开源的、知识是共享的。 这博客是对自己学习的一点点总结及记录,如果您对 Java、算法 感兴趣,可以关注我的动态,我们一起学习。 用知识改变命运,让我们的家人过上更好的生活。 目录一、杨辉三角的介绍二、杨辉三角的算法思想三、代码实现1.第一种写法2.第二种写法 一、杨辉三角的介绍 百度
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
SQL-小白最佳入门sql查询一
一 说明 如果是初学者,建议去网上寻找安装Mysql的文章安装,以及使用navicat连接数据库,以后的示例基本是使用mysql数据库管理系统; 二 准备前提 需要建立一张学生表,列分别是id,名称,年龄,学生信息;本示例中文章篇幅原因SQL注释略; 建表语句: CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // dosho
【图解经典算法题】如何用一行代码解决约瑟夫环问题
约瑟夫环问题算是很经典的题了,估计大家都听说过,然后我就在一次笔试中遇到了,下面我就用 3 种方法来详细讲解一下这道题,最后一种方法学了之后保证让你可以让你装逼。 问题描述:编号为 1-N 的 N 个士兵围坐在一起形成一个圆圈,从编号为 1 的士兵开始依次报数(1,2,3…这样依次报),数到 m 的 士兵会被杀死出列,之后的士兵再从 1 开始报数。直到最后剩下一士兵,求这个士兵的编号。 1、方
致 Python 初学者
文章目录1. 前言2. 明确学习目标,不急于求成,不好高骛远3. 在开始学习 Python 之前,你需要做一些准备2.1 Python 的各种发行版2.2 安装 Python2.3 选择一款趁手的开发工具3. 习惯使用IDLE,这是学习python最好的方式4. 严格遵从编码规范5. 代码的运行、调试5. 模块管理5.1 同时安装了py2/py35.2 使用Anaconda,或者通过IDE来安装模
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,
程序员:我终于知道post和get的区别
IT界知名的程序员曾说:对于那些月薪三万以下,自称IT工程师的码农们,其实我们从来没有把他们归为我们IT工程师的队伍。他们虽然总是以IT工程师自居,但只是他们一厢情愿罢了。 此话一出,不知激起了多少(码农)程序员的愤怒,却又无可奈何,于是码农问程序员。 码农:你知道get和post请求到底有什么区别? 程序员:你看这篇就知道了。 码农:你月薪三万了? 程序员:嗯。 码农:你是怎么做到的? 程序员:
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
      11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI 算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下
日均350000亿接入量,腾讯TubeMQ性能超过Kafka
整理 | 夕颜出品 | AI科技大本营(ID:rgznai100) 【导读】近日,腾讯开源动作不断,相继开源了分布式消息中间件TubeMQ,基于最主流的 OpenJDK8开发的
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
面试官如何考察你的思维方式?
1.两种思维方式在求职面试中,经常会考察这种问题:北京有多少量特斯拉汽车? 某胡同口的煎饼摊一年能卖出多少个煎饼? 深圳有多少个产品经理? 一辆公交车里能装下多少个乒乓球? 一
相关热词 c#处理浮点数 c# 生成字母数字随机数 c# 动态曲线 控件 c# oracle 开发 c#选择字体大小的控件 c# usb 批量传输 c#10进制转8进制 c#转base64 c# 科学计算 c#下拉列表获取串口
立即提问