Couldn't store job: Driver's Blob representation is of an unsupported type: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
2010-05-11 23:27
826 查看
Problem:
javax.faces.FacesException: #{arptReportSubmit.submitReportAction}: java.lang.RuntimeException: org.quartz.JobPersistenceException: Couldn't store job: Driver's Blob representation is of an unsupported type: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB [See nested exception: java.sql.SQLException: Driver's Blob representation is of an unsupported type: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB]
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
在提交报表时出现了以上的错误,原因为修改了quartz.properties的配置文件,将连接数据库的方式由url改成了jndi连接方式,jndi所托管的server容器为weblogic,而配置文件还是用了oracle的代理所致。
解决方法:
将org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
改为:
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.WebLogicDelegate
重启weblogic后,问题解决
javax.faces.FacesException: #{arptReportSubmit.submitReportAction}: java.lang.RuntimeException: org.quartz.JobPersistenceException: Couldn't store job: Driver's Blob representation is of an unsupported type: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB [See nested exception: java.sql.SQLException: Driver's Blob representation is of an unsupported type: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB]
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
在提交报表时出现了以上的错误,原因为修改了quartz.properties的配置文件,将连接数据库的方式由url改成了jndi连接方式,jndi所托管的server容器为weblogic,而配置文件还是用了oracle的代理所致。
解决方法:
将org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
改为:
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.WebLogicDelegate
重启weblogic后,问题解决
相关文章推荐
- java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
- weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB cannot be cast to oracle.sql.BLOB 不改程序解决方法
- java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
- All About JAVA java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB 异常
- weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB转换成String
- com.microsoft.sqlserver.jdbc.SQLServerException: 对象名 ‘xxx' 无效
- Oracle (触发器)execute immediate 'sql语句'
- Insert BLOB && CLOB from PL/SQL and JDBC
- Cannot load JDBC driver class 'oracle.jdbc.drive
- 【SQL Server 2005 的问题】com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。该用户与可信 SQL Server 连接无关联。
- unity3d中asset store couldn't decompress the package
- Running Oracle's SQL Plus in Linux Ubuntu
- 040908 R Oracle & SqlServer 's ORDER -->select top & where rownum <= 3
- com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'sa' 登录失败。
- com.microsoft.sqlserver.jdbc.SQLServerException: 对象名 ‘xxx' 无效
- org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.jdbc.sq
- Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
- Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 关键字 'user' 附近有语法错误
- java.sql.SQLNonTransientConnectionException: Database 'TempStatsStore' shutdown. java.sql.SQLExcept
- SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' 解决办法