今天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,错误就没有提示了。
具体原因还要再查。
分享到:
相关推荐
4、模型报错:ValueError: You are trying to load a weight file containing 12 layers into a model with 0 layers. 问题分析: 模型创建后还没有编译,一般是在模型加载前调用model.build(input_shape), 但我通过...
但是有时有个别的会出现问题,当需要卸载重新安装时,系统提示:Microsoft Visual C++ 2005 Redistributable无法删除,执行修复或重新安装时出现“The Feature You Are Trying to Use Is on a Network Resource That ...
例如,在轉換過程中可能會出現錯誤信息,例如 Warning: ddUpdateLibList: It appears that you are trying to run an OA executable on CDB data. 這些錯誤信息通常是由於 CDB 格式的資料與 OA 格式的資料之間的不...
完美解决win7 32位提示Microsoft Visual C++ 2005 Redistributable无法删除,The Feature You Are Trying to Use Is on a Network Resource That Is Unavailable的问题。 1.解压出里面的vcredist.msi这个文件,这个...
自写脚本,脚本通过镜像劫持来阻止电脑运行英雄联盟各种进程。所有运行前必须关闭安全软件的自我保护,或卸载安全软件,执行此脚本后再安装。只是一个windows脚本而已,请放心使用。可右键编辑,有提示,如禁止...
关于Your page is blocked due to a security的解决方案
例如:"We are trying to save the earth!" 此句即为现在进行时,表示我们正在努力拯救地球。 2. **被动语态**:被动语态用于强调动作的承受者,而非执行者,构成形式为"be + 过去分词"。例如:"The environment is...
删除操作系统服务的一款软件,很好的,个人感觉还不错,供大家分享下,xp,win7都可以用
代码如下:Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0 很明显这是连接初始化阶段就丢失了连接的错误。 google半天大多是说的注释掉配置文件中 bind-address = ...
文章目录1. 按2. 安装CorelDRAW_X4_SP2精简增强版后如何再安装其他高版本的CDR 1. 按 若ShellExt....The feature you are trying to use is on a network resource that is unavailable. Click OK to try
* "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 ...
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...
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, ...
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...
微软软件卸载工具,全称为Microsoft Install Clean Up Utility(简称MSICUU2),是微软提供的一款专门用于解决软件卸载问题的工具。它主要用于帮助用户彻底卸载那些通过Windows Installer安装但常规卸载方法无法完全...
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 ...
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, ...Use JavaScript as part of a web methodology that enables you to maintain it independently • without interfering with the other development streams.
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...