`
gyfmp5
  • 浏览: 96682 次
社区版块
存档分类
最新评论

jboss数据链接出错

    博客分类:
  • Java
 
阅读更多
** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException
        at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1934)
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2380)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2909)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
        at com.mysql.jdbc.Connection.execSQL(Connection.java:3020)
        at com.mysql.jdbc.Connection.execSQL(Connection.java:2949)
        at com.mysql.jdbc.Statement.executeQuery(Statement.java:959)
        at cn.busytrade.bops.dao.customer.impl.BopsClientInfoDAO.getBopsClientInfo(BopsClientInfoDAO.java:916)
        at cn.busytrade.bops.dao.customer.impl.BopsClientInfoDAO.getBopsClient(BopsClientInfoDAO.java:443)
        at cn.busytrade.bops.action.customer.ClienterTrainingAction.getResultList(ClienterTrainingAction.java:256)
        at cn.busytrade.bops.action.customer.ClienterTrainingAction.getClienterRefers(ClienterTrainingAction.java:167)
        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 com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
        at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
        at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
        at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
        at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)
        at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:619)


** END NESTED EXCEPTION **



Last packet sent to the server was 3 ms ago.
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2592)
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2909)
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.Connection.execSQL(Connection.java:3020)
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.Connection.execSQL(Connection.java:2949)
20:18:30,126 INFO  [STDOUT]     at com.mysql.jdbc.Statement.executeQuery(Statement.java:959)
20:18:30,126 INFO  [STDOUT]     at cn.busytrade.bops.dao.customer.impl.BopsClientInfoDAO.getBopsClientInfo(BopsClientInfoDAO.java:916)
20:18:30,126 INFO  [STDOUT]     at cn.busytrade.bops.dao.customer.impl.BopsClientInfoDAO.getBopsClient(BopsClientInfoDAO.java:443)
20:18:30,126 INFO  [STDOUT]     at cn.busytrade.bops.action.customer.ClienterTrainingAction.getResultList(ClienterTrainingAction.java:256)
20:18:30,126 INFO  [STDOUT]     at cn.busytrade.bops.action.customer.ClienterTrainingAction.getClienterRefers(ClienterTrainingAction.java:167)
20:18:30,127 INFO  [STDOUT]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:18:30,127 INFO  [STDOUT]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:18:30,127 INFO  [STDOUT]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:18:30,127 INFO  [STDOUT]     at java.lang.reflect.Method.invoke(Method.java:597)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
20:18:30,127 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)
20:18:30,128 INFO  [STDOUT]     at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
20:18:30,129 INFO  [STDOUT]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
20:18:30,129 INFO  [STDOUT]     at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
20:18:30,129 INFO  [STDOUT]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
20:18:30,129 INFO  [STDOUT]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
20:18:30,129 INFO  [STDOUT]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
20:18:30,130 INFO  [STDOUT]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
20:18:30,130 INFO  [STDOUT]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
20:18:30,130 INFO  [STDOUT]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
20:18:30,130 INFO  [STDOUT]     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
20:18:30,130 INFO  [STDOUT]     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
20:18:30,130 INFO  [STDOUT]     at java.lang.Thread.run(Thread.java:619)
20:18:32,566 INFO  [Server] Runtime shutdown hook called, forceHalt: true
20:18:32,567 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
20:18:32,569 INFO  [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
20:18:32,587 INFO  [TomcatDeployer] undeploy, ctxPath=/BopsBeta2, warUrl=.../deploy/BopsBeta2.war/
20:18:32,596 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' from JNDI name 'java:MySqlDS'
20:18:32,605 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA'
20:18:32,617 INFO  [testTopic] Unbinding JNDI name: topic/testTopic
20:18:32,618 INFO  [securedTopic] Unbinding JNDI name: topic/securedTopic
20:18:32,618 INFO  [testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
20:18:32,619 INFO  [testQueue] Unbinding JNDI name: queue/testQueue
20:18:32,621 INFO  [A] Unbinding JNDI name: queue/A
20:18:32,622 INFO  [B] Unbinding JNDI name: queue/B
20:18:32,623 INFO  [C] Unbinding JNDI name: queue/C
20:18:32,623 INFO  [D] Unbinding JNDI name: queue/D
20:18:32,624 INFO  [ex] Unbinding JNDI name: queue/ex
20:18:32,627 INFO  [DLQ] Unbinding JNDI name: queue/DLQ
20:18:32,628 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS'
20:18:33,410 INFO  [HypersonicDatabase] Database standalone closed clean
20:18:33,449 INFO  [MailService] Mail service 'java:/Mail' removed from JNDI
20:18:33,456 INFO  [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
20:18:33,534 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
20:18:33,542 INFO  [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
20:18:36,623 INFO  [Http11Protocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
20:18:36,698 ERROR [Connector] Protocol handler pause failed
java.net.ConnectException: Connection refused
分享到:
评论

相关推荐

    Jboss数据源配置总结[归纳].pdf

    ### JBoss数据源配置知识点详解 #### 一、引言 在进行软件开发时,特别是涉及到多数据库操作的场景下,正确配置JBoss中的数据源显得尤为重要。本文将基于《Jboss数据源配置总结[归纳].pdf》的内容,详细介绍如何在...

    jboss、eclipse的jpa连接mysql不成熟的例子

    描述中提到的"jboss7 mysql5 eclipse luna应用JPA报错",可能意味着在JBoss 7版本上运行的一个应用,使用了MySQL 5数据库,但在Eclipse Luna(一个特定的Eclipse版本)中通过JPA进行数据访问时出现了错误。...

    JBoss程序及源码GarageSale

    5. **调试与修复**:解决此类问题通常需要逐步排查,包括检查数据库连接参数、验证驱动兼容性、确保JBoss服务配置正确、更新或修复源码中的错误,以及测试修复后的应用程序是否能够正常运行。 6. **源码分析**:...

    jboss日志发邮件需要替换的jar包

    例如,可能只在出现错误或严重警告时发送邮件。 3. **JBoss配置**:确保JBoss能够读取并应用新的Log4j配置。这可能需要在`standalone.xml`或`domain.xml`配置文件中指定配置文件的位置。 4. **测试与调试**:启动...

    关于JBoss5加载项目的完整过程以及相关错误解决

    4. **错误解决**:可能出现的问题通常与JDK版本不兼容、Spring框架版本过低或其他框架如JBPM、Hibernate的冲突有关。对于Spring与JBoss的冲突,可以尝试升级Spring版本到与JBoss更兼容的版本。另外,注意查看readme....

    JBoss7和容器轻量化研究报告

    - 应用启动过程中进行license验证时,因JBoss 7.x使用的虚拟文件系统导致获取的jar路径错误。解决方法是修改`PrivateUtil`类以使用正确的路径。 4. **Web标签定义文件(tld文件)解析出错** - JBoss 7.x使用tld ...

    JbossESB4.6 程序开发

    - **异常处理机制**:设计合理的错误处理流程,确保在转换过程中出现问题时能及时恢复或通知。 #### 3. 基于JMS的SOA 实现机制 JMS(Java消息服务)是Java平台上一种消息中间件技术的标准,用于在两个应用程序之间...

    jboss-native-2.0.8-windows-ssl

    可能需要处理任何出现的错误或警告,如证书不信任问题、端口冲突等。 标签 "jboss-native-2.0.8-windows-ssl" 再次强调了这个话题的重点,即Windows平台上的JBoss Native与SSL的集成。 尽管压缩包中包含的“新建...

    Eclipse使用JBOSS服务器时配置MYSQL数据库的方法[参照].pdf

    如果出现任何问题,检查JBOSS的日志文件以获取错误信息,这将有助于诊断和解决问题。 总的来说,配置Eclipse中的JBOSS服务器连接MySQL数据库涉及多个配置文件的修改,包括数据源定义、JMS服务配置、EJB定时器服务、...

    Jboss集群配置httpd-v2.2.18+mod_jk-1.2.27-httpd-2.2.10.so+jboss-4.2.3

    2. **配置负载均衡器**:如Apache HTTPD服务器,并安装mod_jk模块,设置mod_jk配置文件(`workers.properties`和`jk.conf`)以连接到各个JBoss实例。 3. **配置session复制**:在JBoss的`jboss-service.xml`和`jboss...

    JBOSS常见问题.docx

    当并发执行时,服务器可能出现随机错误,这可能是由于线程不安全的代码导致的。使用嗅探器(fiddler, ethereal, tcpdump)来检查客户端和服务器之间的通信,确认发包和接收包的正确性。若发现问题源自内部变量未同步...

    JBoss应用

    9. **故障排查**:当应用出现异常时,JBoss的日志系统(如`server.log`)会记录详细的错误信息,帮助开发者定位问题。此外,还可以使用JMX(Java Management Extensions)进行远程管理和监控。 10. **持续集成与...

    CentOS+Jdk+Jboss+dubbo+zookeeper集群配置教程

    【CentOS+Jdk+Jboss+dubbo+zookeeper集群配置教程】 在进行大规模分布式系统开发时,集成多种组件是常见的需求。本教程将详细介绍如何在CentOS...记得在每个步骤中仔细检查配置,避免出现错误,影响整个系统的稳定性。

    Jboss-ESB学习笔记.doc

    如果处理过程中出现错误,文件会被移动到错误目录并添加特定的扩展名。如果处理成功,文件会被移动到输出目录,同时扩展名也会改变。 总之,JBoss ESB 的 File Gateway 结合 JMS 提供了一个强大的工具,可以轻松地...

    配置Jbpm注意问题

    同时,还要在创建Jbpm相关的数据库和表时,指定字符集为`utf8mb4`,并确保数据连接URL中包含`useUnicode=true&characterEncoding=utf8mb4`参数。 其次,配置Jboss服务器是Jbpm运行的基础。Jboss是一个流行的Java...

    EJB视频教程 3.开发EJB的客户端 4.把jboss集成进eclipse

    6. **错误排查**:学习如何识别和解决在Eclipse中开发EJB应用时可能出现的各种问题。 通过本教程,开发者不仅可以深化对EJB技术的理解,还能掌握在Eclipse中高效开发和管理EJB应用的技巧,为实际的企业级项目开发...

    配置ODBC数据源.rar

    4. **测试连接**:配置完成后,记得测试数据源是否可以成功连接到数据库,这一步可以帮助你在早期发现并解决问题。 5. **Java中的JDBC-ODBC桥接**: 在Java中,可以通过JDBC-ODBC桥接来利用配置好的ODBC数据源。你...

    Jboss下开发ejb应用之一消息驱动bean的应用

    在"Jboss下开发ejb应用之一消息驱动bean的应用.doc"文档中,可能包含了关于如何在Jboss环境中创建、配置和测试MDB的详细步骤,包括具体的代码示例、配置文件内容和可能出现的问题及解决方案。建议详细阅读此文档,以...

    解决MyEclipse下启动项目时JBoss内存溢出的问题

    如果应用的内存需求超过这个限制,就会出现内存溢出错误。 配置2: -c default -b 0.0.0.0 -Xmx1024M -Xms512M -XX:MaxPermSize=256m 在这个配置中,`-Xmx`和`-Xms`的值分别提升到了1024MB和512MB,意味着更大的...

    02-07年系统分析师案例

    对于一个需要符合工业标准并支持多平台的电子商务系统,可以选择Java EE应用服务器,如JBoss、WebLogic或Tomcat。这些产品提供跨平台的兼容性,支持Java标准接口,如EJB(Enterprise JavaBeans)、Servlet和JSP,...

Global site tag (gtag.js) - Google Analytics