`

You are trying to use a connection factory that has been shut down: ManagedConn

阅读更多

   今天wap那边说连不上数据库,虽然我是改过那个oracle-ds.xml,但是已经测试过了。

 

报错:

2010-05-13 13:09:11,520 ERROR [STDERR] (http-0.0.0.0-8080-30) org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
	at org.hibernate.loader.Loader.doQuery(Loader.java:673)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
	at org.hibernate.loader.Loader.doList(Loader.java:2220)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
	at org.hibernate.loader.Loader.list(Loader.java:2099)
	at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:912)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
	at ejbModule.persistence.rank.RecommendedDaoImpl.getRecommendedControlMsg(RecommendedDaoImpl.java:94)
	at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
	.........
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)
	at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
	at org.hibernate.connection.DatasourceConnectionPr
2010-05-13 13:09:11,520 ERROR [STDERR] (http-0.0.0.0-8080-30) ovider.getConnection(DatasourceConnectionProvider.java:69)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
	... 88 more
Caused by: javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.
	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:393)
	at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
	at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
	... 90 more

  

 

 

 

  在网上查了,没找到具体的信息,有人说是用了一个已经关闭的连接工厂实例,这连接工厂实例是啥玩意?

 

  然后重启一下jboss,错误就没有提示了。

 

具体原因还要再查。

分享到:
评论

相关推荐

    解决Tensorflow2.0 tf.keras.Model.load_weights() 报错处理问题

    4、模型报错:ValueError: You are trying to load a weight file containing 12 layers into a model with 0 layers. 问题分析: 模型创建后还没有编译,一般是在模型加载前调用model.build(input_shape), 但我通过...

    禁止电脑运行英雄联盟V2.cmd

    自写脚本,脚本通过镜像劫持来阻止电脑运行英雄联盟各种进程。所有运行前必须关闭安全软件的自我保护,或卸载安全软件,执行此脚本后再安装。只是一个windows脚本而已,请放心使用。可右键编辑,有提示,如禁止...

    Your page is blocked due to a security的解决方案

    关于Your page is blocked due to a security的解决方案

    删除系统服务解决您的需要

    删除操作系统服务的一款软件,很好的,个人感觉还不错,供大家分享下,xp,win7都可以用

    MySQL远程连接丢失问题解决方法(Lost connection to MySQL server)

    代码如下:Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0 很明显这是连接初始化阶段就丢失了连接的错误。 google半天大多是说的注释掉配置文件中 bind-address = ...

    PHP and MySQL Web Devepopment 4th Edition.pdf

    Unless you are logged on as an administrator of the domain that you are testing, you will have to supply the DCDIAG command with a set of administrative credentials that it can use. As you no doubt ...

    Absolute Beginners Guide to Computing-2016.pdf

    chaos of trying to use a computer. The problem is rarely due to the user not knowing how to use a computer. The problem most often lies with the horrible, confusing, and unnecessarily complicated way ...

    Git-2.21.0-64-bit.zip

    * "git fetch" into a lazy clone forgot to fetch base objects that are necessary to complete delta in a thin packfile, which has been corrected. * The filter_data used in the list-objects-filter ...

    GWT in Action

    The difference between GWT and all...Internet applications in JavaScript, Google has altered the language that we use to write these applications to Java, allowing us to use the tools that already exist.

    CE中文版-启点CE过NP中文.exe

    There is apparently some malware going around that blocks execution of Cheat Engine (Saying file missing, check filename, etc...) If you have been a victim of this then try this windows repair tool to...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Maintaining a uniform style and following conventions means that we can more easily use "pattern-matching" to infer what various symbols are and what invariants are true about them. Creating common, ...

    VclZip pro v3.10.1

    Fixed the SFX code so that it works properly if you use Copy /B to concatenate a zip file to the stub. Due to a Delphi strange behavior sometimes path names for directory only entries would become ...

    Illustrated Guide to Python 3

    Whether you are a programmer coming to Python from another language, managing Python programmers or wanting to learn to program, it makes sense to cut to the chase and learn Python the right way. You...

    scaling_mongodb

    application trying to use the data? If you can get away with a single server, it is much simpler. However, if you want to store a large volume of data or access it at a rate higher than a single ...

    dotProject-2.2.0.tar.gz

    If you are looking for support, to ask a question or to check to see if issues have been raised by others - use the GitHub Issues. PLEASE do not send Private Messages to the site admins or other ...

    Beginning JavaScript with DOM Scripting and Ajax, 2nd Edition

    Beginning JavaScript with DOM Scripting and Ajax, ...Use JavaScript as part of a web methodology that enables you to maintain it independently • without interfering with the other development streams.

    Sakemail

    Thank you, Roger.1.8.0- Well, it seems that I made a mistake, I investigated the previous behavior and it is a fault of the SMTP (RFC 821), so I fixed it.- The IPAddress property has been removed, use...

    Boost.Build_v2_User_Manual.pdf

    If you are about to use Boost.Build on your project, or already using it and have a problem, look at User documentation. If you're trying to build a project which uses Boost.Build, look at ...

    Visual C++ v56.exe

    但是有时有个别的会出现问题,当需要卸载重新安装时,系统提示:Microsoft Visual C++ 2005 Redistributable无法删除,执行修复或重新安装时出现“The Feature You Are Trying to Use Is on a Network Resource That ...

    A Computational Perspective on Visual Attention

    Attention in vision is something that I think has fascinated me since ... I have been trying to understand vision and what the connection between machine and biological vision might be since about 1974.

Global site tag (gtag.js) - Google Analytics