Couldn't store job: Driver's Blob representation is of an unsupported type: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB

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后,问题解决

你可能感兴趣的:(oracle,sql,exception,数据库,weblogic,nested)