`

JBoss启动出现Error listenerStart错误

阅读更多
19:42:10,429 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
19:42:10,469 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
19:42:11,629 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
19:42:11,935 INFO  [A] Bound to JNDI name: queue/A
19:42:11,940 INFO  [B] Bound to JNDI name: queue/B
19:42:11,940 INFO  [C] Bound to JNDI name: queue/C
19:42:11,940 INFO  [D] Bound to JNDI name: queue/D
19:42:11,940 INFO  [ex] Bound to JNDI name: queue/ex
19:42:11,960 INFO  [testTopic] Bound to JNDI name: topic/testTopic
19:42:11,960 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
19:42:11,960 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
19:42:11,965 INFO  [testQueue] Bound to JNDI name: queue/testQueue
19:42:12,030 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
19:42:12,100 INFO  [DLQ] Bound to JNDI name: queue/DLQ
19:42:12,280 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
19:42:14,090 INFO  [TomcatDeployer] deploy, ctxPath=/auth, warUrl=.../deploy/auth.war/
19:42:15,631 ERROR [StandardContext] Error listenerStart
19:42:15,642 ERROR [StandardContext] Context [/auth] startup failed due to previous errors
19:42:15,677 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=auth.war,id=-1715647574
org.jboss.deployment.DeploymentException: URL file:/D:/Program Files/jboss-4.0.5.GA/server/default/deploy/auth.war/ deployment failed
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
	at org.jboss.web.WebModule.startModule(WebModule.java:83)
	at org.jboss.web.WebModule.startService(WebModule.java:61)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor2.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 $Proxy38.start(Unknown Source)
	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
	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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
	at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
	at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
	at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
	at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
	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 $Proxy39.start(Unknown Source)
	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.GeneratedMethodAccessor55.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 $Proxy8.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.GeneratedMethodAccessor2.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:490)
	at java.lang.Thread.run(Thread.java:619)
19:42:15,677 ERROR [MainDeployer] Could not start deployment: file:/D:/Program Files/jboss-4.0.5.GA/server/default/deploy/auth.war/

 

启动JBoss出现打包错误,不知道哪儿错了,请遇到过的留下脚印,谢谢!!

 

 

 

 

靠,今天将web服务器换成了tomcat,错误信息一目了然,是因为少了jar包,加入两个jar文件后,服务启动成功,再换成用jboss部署,同样成功,以后报错信息很模糊,要多试啊。

分享到:
评论

相关推荐

    JBoss启动 JBoss启动

    - 查看日志找出启动失败的原因,如依赖库缺失、配置错误等。 - 使用`jboss-cli.sh`执行命令检查服务器状态,如`/subsystem=ee:read-resource recursive=true`。 9. **热部署**: 改动部署在`deploy`目录下的应用...

    JBOSS启动顺序、JBOSS占用的端口

    理解这个启动顺序有助于我们分析启动时遇到的问题,例如,如果某个服务未启动,可能是因为配置错误或依赖项缺失。 **JBoss占用的端口** JBoss在运行时会占用多个端口,用于不同的服务和通信: 1. **HTTP/HTTPS...

    Jboss启动报Failed to parse WEB-INFweb.xml; - nested throwable错误

    从错误日志中可以看到,Jboss在启动时抛出了一个DeploymentException异常,该异常的原因是Jboss无法正确地解析web.xml文件。进一步分析错误日志,我们可以看到,Jboss抛出了一个 Duplicate throwable nesting of ...

    解决jboss中启动的优先级的问题

    在JBoss应用服务器中,管理和控制应用的启动顺序是一个关键任务,特别是在大型的企业级系统中,各个组件和服务的启动优先级直接影响到整个系统的稳定性和功能完整性。标题提及的"解决jboss中启动的优先级的问题"是...

    在jboss同时启动两个实例

    ### 如何在JBoss上同时启动两个实例 在企业级应用服务器JBoss中,有时我们需要在同一台物理机器上运行多个独立的JBoss实例。这在测试环境或开发环境中非常常见,尤其是在进行集成测试或者需要模拟多节点集群环境时...

    jboss如何在windows系统服务中启动

    对于Windows用户来说,将JBoss配置为系统服务可以实现自动启动,避免每次开机时手动开启,从而提高工作效率。本文将详细介绍如何在Windows系统中将JBoss设置为一个系统服务。 首先,我们需要准备以下工具: 1. ...

    Linux下安装jboss,并设置自启动服务.txt

    ### Linux下安装JBoss并设置自启动服务 在Linux环境下安装JBoss并配置其作为系统服务自启动是一项常见的任务,特别是在部署Java应用服务器时。本文将详细介绍如何在Linux环境中完成这些步骤,包括JDK的安装、环境...

    JBoss启动注册为Windows系统服务 .txt|JBoss启动注册为Windows系统服务&javaService.zip

    3. **创建服务脚本**:在JBoss的根目录下创建一个批处理文件(如`start-jboss-service.bat`),用于启动JBoss服务。这个脚本应该包含启动JBoss的命令,例如: ``` "C:\jboss\bin\standalone.bat" -c standalone....

    \Linux下配置JBoss自动启动(JBoss V4.0)

    ### Linux下配置JBoss自动启动(JBoss V4.0) #### 概述 在Linux环境中,JBoss作为一款广泛使用的应用服务器,在企业级开发中扮演着重要角色。为了提高系统的稳定性和可用性,通常会将JBoss配置为开机自启动服务。...

    linux启动jboss

    Linux 启动 JBoss 服务器详解 Linux 作为一种流行的开源操作系统,在企业应用中广泛应用,其中 JBoss 服务器作为 Java EE 企业级应用服务器,在 Linux 平台上运行非常常见。因此,本篇文章将详细介绍如何在 Linux ...

    JBoss 3.0 Quick Start Guide

    - **管理服务**:使用 `net start jboss` 和 `net stop jboss` 命令来启动或停止服务。 ##### Unix 服务安装 - **配置 init 脚本**:在 `/etc/init.d` 目录下创建名为 `jbossserver` 的脚本来实现。 - **添加到系统...

    JBoss启动与运行过程的研究

    本章将详细介绍JBoss的相关知识,包括其启动过程、配置文件的调用以及运行过程的分析。 1. JBoss简介 JBoss是由Red Hat公司开发的一个开放源代码的应用服务器,它支持Java EE的各种组件和服务,如EJB(Enterprise ...

    JBOSS4.2 自定义服务器(同一IP启动多个实例)

    ### JBoss 4.2 自定义服务器(在同一 IP 启动多个实例)配置方法详解 在企业级应用开发中,为了提高服务器资源利用率以及更好地进行应用程序的隔离与管理,经常需要在同一台物理服务器上部署多个独立的应用服务器...

    jboss一启动除开一闪而过.txt

    JBoss自身的问题也可能导致启动失败,包括但不限于配置文件错误、依赖库缺失或冲突等。解决策略包括: - **检查配置文件**:审查`standalone.xml`(或集群模式下的`domain.xml`)配置文件,确保没有语法错误或不当...

    JBoss服务设置开机自启(Linux)

    service jboss-eap-rhel start ``` - **停止服务**:使用`service`命令停止JBoss服务。 ```bash service jboss-eap-rhel stop ``` 通过以上步骤,可以有效地配置JBoss服务在Linux(CentOS 7)环境中实现开机...

    linux 下jdk ,jboss的安装和jboss的自启动.txt

    ### Linux下JDK与JBoss的安装及JBoss自启动设置 #### JDK的安装步骤 在Linux环境下安装JDK是部署Java应用的基础。本部分将详细介绍如何在Linux系统上安装JDK。 1. **下载JDK安装包**: - 通常推荐从Oracle官网...

    jboss配置MySql的JNDI

    在IT领域,特别是Java应用服务器环境下,JBoss与MySQL数据库的集成是常见需求之一,而JNDI(Java Naming and Directory Interface)在此过程中扮演着关键角色。本文将深入解析如何在JBoss中配置MySQL的JNDI数据源,...

Global site tag (gtag.js) - Google Analytics