Mantis - Quercus
Viewing Issue Advanced Details
3018 minor always 10-21-08 11:16 10-21-08 11:16
nam  
 
normal  
new 3.2.1  
open  
none    
none  
0003018: at com.caucho.quercus.lib.db.OracleModule.oci_error() ClassCastException
(rep by mark926)

can any one help me to solve this issue. ( I am able to use ocilogin function through normal php setup)

My environment is
oracle client 9i installed in local machine
weblogic 9.2

I am gettign the below error when i am trying to use ocilogin function

java.lang.ClassCastException: java.lang.Boolean
at com.caucho.quercus.lib.db.OracleModule.oci_error(OracleModule.java:714)
at com.caucho.quercus.lib.db.OracleModule.ocierror(OracleModule.java:1889)
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:585)
at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:129)
at com.caucho.quercus.env.JavaInvoker.callMethod(JavaInvoker.java:604)
at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:539)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182)
at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126)
at com.caucho.quercus.program.EchoStatement.execute(EchoStatement.java:57)
at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:81)
at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:272)
at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:70)
at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
at com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:165)
at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:355)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

There are no notes attached to this issue.