2 cristian05 cristian05 于 2014.03.10 11:04 提问

集成ssh时出错,求大神解

JBOSS已启动,使用的是7.1.1的服务器

错误描述:

10:58:00,574 信息 [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:58:00,853 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:58:00,920 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
10:58:02,140 INFO [org.xnio] XNIO Version 3.0.3.GA
10:58:02,140 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
10:58:02,150 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
10:58:02,160 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
10:58:02,232 INFO [org.jboss.as.connector.subsystems.datasources] JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
10:58:02,237 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
10:58:02,290 INFO org.jboss.as.configadmin JBAS016200: Activating ConfigAdmin Subsystem
10:58:02,297 INFO org.jboss.as.osgi JBAS011940: Activating OSGi Subsystem
10:58:02,363 INFO org.jboss.as.naming JBAS011800: Activating Naming Subsystem
10:58:02,375 INFO org.jboss.as.security JBAS013101: Activating Security Subsystem
10:58:02,382 INFO org.jboss.as.webservices JBAS015537: Activating WebServices Extension
10:58:02,393 INFO org.jboss.as.clustering.infinispan JBAS010280: Activating Infinispan subsystem.
10:58:02,413 INFO org.jboss.as.naming JBAS011802: Starting Naming Service
10:58:02,415 INFO org.jboss.as.security JBAS013100: Current PicketBox version=4.0.7.Final
10:58:02,535 INFO org.jboss.as.connector JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
10:58:02,621 INFO org.jboss.as.mail.extension JBAS015400: Bound mail session [java:jboss/mail/Default]
10:58:02,638 INFO org.jboss.ws.common.management.AbstractServerConfig JBoss Web Services - Stack CXF Server 4.0.2.GA
10:58:03,251 INFO org.jboss.as.server.deployment.scanner JBAS015012: Started FileSystemDeploymentService for directory D:\软件\JAVA\jboss-as-7.1.1.Final\standalone\deployments
10:58:03,309 INFO org.jboss.as.remoting JBAS017100: Listening on localhost/127.0.0.1:4447
10:58:03,327 INFO org.jboss.as.remoting JBAS017100: Listening on /127.0.0.1:9999
10:58:03,384 INFO org.apache.coyote.http11.Http11Protocol Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
10:58:03,488 INFO org.jboss.as.server.deployment.scanner JBAS015003: Found ssh.war in deployment directory. To trigger deployment create a file called ssh.war.dodeploy
10:58:03,491 INFO org.jboss.as.server.deployment.scanner JBAS015003: Found testEJB.jar in deployment directory. To trigger deployment create a file called testEJB.jar.dodeploy
10:58:03,493 ERROR org.jboss.as.server.deployment.scanner JBAS015010: The deployment scanner found a directory named META-INF that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the D:\软件\JAVA\jboss-as-7.1.1.Final\standalone\deployments directory, which is a user error. The META-INF directory will not be scanned for deployments, but it is possible that the scanner mayfind other files from the unzipped archive and attempt to deploy them, leading to errors.
10:58:03,553 INFO org.jboss.as.connector.subsystems.datasources JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
10:58:03,582 INFO org.jboss.as.server.deployment JBAS015876: Starting deployment of "helloWord"
10:58:04,300 INFO org.jboss.as.server JBAS018559: Deployed "helloWord"
10:58:04,630 INFO org.jboss.as JBAS015951: Admin console listening on http://127.0.0.1:9990
10:58:04,632 INFO org.jboss.as JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4583ms - Started 153 of 230 services (76 services are passive or on-demand)
10:58:26,666 ERROR org.jboss.as.controller.management-operation JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "ssh.war")]): java.util.NoSuchElementException: No child 'runtime-name' exists
at org.jboss.dmr.ModelValue.requireChild(ModelValue.java:362) [jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.dmr.ObjectModelValue.requireChild(ObjectModelValue.java:298) [jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.dmr.ModelNode.require(ModelNode.java:812) [jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.as.server.deployment.DeploymentDeployHandler.execute(DeploymentDeployHandler.java:69)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.CompositeOperationHandler.execute(CompositeOperationHandler.java:85) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:287) [jboss-as-protocol-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:487) [jboss-as-protocol-7.1.1.Final.jar:7.1.1.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

版本:struts2.3.6+hibernate4.3.2+spring4.0.0
换过spring2.3.16也同样的错误

applicationcontext的配置
class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
。。。

————————————————————————————————
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
。。。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!