Oracle JDBC receiver error
Hi,
I am trying to setup a file to Oracle JDBC receiver scenario. In this case I am trying to just insert a single line to Oracle. I get no error in SXMB_MONI, no error in the message mapping test, and no error in the Test configuration in the ID.
Here is the error I get in the RWB comm channel monitoring for my adapter:
<i>No "action" attribute found in XML document ("action" attribute missing or wrong XML structure)
MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
Exception caught by adapter framework: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure).</i>
Here is my structure for the oracle receiver:
DTOracleReceiver_INSERT
TEMP_DATA_XI 1
action (attribute) xsd:string
access
NCODE xsd:string 1
VNAME xsd:integer 1
DDATE xsd:date 1
NPRICE xsd:decimal 1
LSTATES xsd:string 1
TEMP_DATA_XI is my table name in Oracle
action is set to constant "INSERT" in the message mapping.
When I look at the payload in the OracleReceiver adapter, this is what shows up:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MTOracleReceiver_INSERT xmlns:ns0="http://test.com/jdbc">
- <TEMP_DATA_XI action="INSERT">
- <access>
<NCODE>200</NCODE>
<VNAME>Inserttest</VNAME>
<DDATE>2007-06-15 09:25:43.0</DDATE>
<NPRICE>20.00</NPRICE>
<LSTATES>test of JDBC receiver</LSTATES>
</access>
</TEMP_DATA_XI>
</ns0:MTOracleReceiver_INSERT>
Any thoughts or ideas on how to fix this error? Any help would be greatly appreciated.
Thanks,
Jake
I now get a different error:
Unable to execute statement for table or stored procedure. 'TEMP_DATA_XI' (Structure 'STATEMENTNAME') due to java.sql.SQLException: ORA-00928: missing SELECT keyword
2007-06-19 10:03:54 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TEMP_DATA_XI' (structure 'STATEMENTNAME'): java.sql.SQLException: ORA-00928: missing SELECT keyword
2007-06-19 10:03:54 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TEMP_DATA_XI' (structure 'STATEMENTNAME'): java.sql.SQLException: ORA-00928: missing SELECT keyword
2007-06-19 10:03:54 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TEMP_DATA_XI' (structure 'STATEMENTNAME'): java.sql.SQLException: ORA-00928: missing SELECT keyword.
My current datatype for the receiver is:
DTOracleReceiver_INSERT 1
STATEMENTNAME 1
TEMP_DATA_XI 1
action (attribute) xsd:string required
Table xsd:string 1
access 0:unbounded
NCODE xsd:string 1
VNAME xsd:integer 1
DDATE xsd:date 1
NPRICE xsd:decimal 1
LSTATES xsd:string 1
action is mapped to "INSERT"
Table is mapped to "TEMP_DATA_XI"
Similar Messages
-
Receiving oracle.jdbc.driver error when trying to connect
Setup:
Windows 7 64bit
4GB ram
SQL Developer 3.2.20.09
Java platform 1.6.0_37
Oracle IDE 3.2.20.09.87
Hello, I'm going to start by saying I'm a rank amateur when it comes to using and understand SQL developer. My entire need for this program is to connect to a virt server at my office and test out my SQL queries against our tables. It's been working great for this purpose until yesterday when I received this error:
An error was encountered performing the requested operation:
oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber()I
Vendor code 0
I did some searching and found a few references to this error but due to my inexperience I was unable to follow the resolutions and fix the error. This connection was working fine until yesterday afternoon which seemed odd. Based on my control panel, here is what I installed yesterday, I believe I installed both Java's after the error occurred seeing if they would alleviate the issue.
MySQL Administrator 1.1
Java SE Development Kit 6 Update 41 (64-bit)
MySQL Workbench 5.2 CE
Java 6 Update 41 (64-bit)
Could one of these be the root of the issue?
Thanks for the help and sorry for the lack of technical expertise, my need is very narrow and up until now this program has worked great for me.
-Brad
Edited by: 998110 on Apr 4, 2013 9:46 AM>
Could one of these be the root of the issue?
>
More likely to be that you are now using the wrong version of the oracle jdbc jar file.
Post the name and version of the JDBC jar file that you think you are using.
Search the pc for ALL such files.
Examine the environment variables (e.g. PATH) to see if they reference jdbc jars other than the ojdbc6 jar you should be using. -
My scenario is Idoc to jdbc..
I m able to successfully send the idoc from R3 and it is received in XI also.
However the message does not reach to database and am getting the following error in RWB of XI.
"Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@172.25.XX.XXX:1521:<SID>': SAPClassNotFoundException: oracle.jdbc.driver.OracleDriver"
Kindly tell me where the problem is.Hi,
refer the below link for step by step process:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
Thnx
Chirag -
Hi,
I'm using a jdbc thin driver to execute a stored procedure that returns
a nested table.
The stored procedure works fine when called from a net8 client (sql worksheet), but when called from a java program it gives me the following error.
java.sql.SQLException: ORA-00600: internal error code, arguments: [kokexiv4], [], [], [], [], [], [], []
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:830)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2391)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
at oracle.sql.ArrayDescriptor.toLengthFromLocator(ArrayDescriptor.java:1453)
at oracle.sql.ArrayDescriptor.toOracleArrayFromLocator(ArrayDescriptor.java:1027)
at oracle.sql.ArrayDescriptor.toOracleArray(ArrayDescriptor.java:826)
at oracle.sql.ARRAY.getOracleArray(ARRAY.java:621)
at oracle.jpub.runtime.MutableArray.getLazyOracleArray(MutableArray.java:1067)
at oracle.jpub.runtime.MutableArray.length(MutableArray.java:1003)
at com.gs.db.objects.observations_nt.getArray(observations_nt.java:73)
at com.gs.objects.examples.Test.getResults(Test.java:495)
at com.gs.objects.examples.Test.main(Test.java:584)
This occurs when i try to get the object array which is a nested table.
ARRAY array = (ARRAY) ((OracleCallableStatement)callStatement).getOracleObject(1);
rsObservations = array.getResultSet();
STRUCT observation = (STRUCT) rsObservations.getObject(2); //throws exception trace
Please help me of anybody encountered a simiar problem. The results are same even with the thick driver.
I also tried with various versions of the oracle jdbc drivers but no luck :(
i read from different mailing lists that an internal error represents an error in the database, but the same call works fine from sql worksheet.
thanks and best regards,
Kalyan DasikaThis error occured because of some changes in the nested table structure that we did. The fix for that was to drop all the fields that uses this nested table and reload it back with the changes to the structure. This fixed the problem. Earlier, we did not drop the field because we assumed that the new field added to the structure will be returned as null when the table is queried. Its wierd though because the sql worksheet client wasnt getting any errors, but the JDBC driver did.
It aint no easy workin with Oracle objects :(
thanks -
Oracle JDBC Jar Error in DtSQL
I installed Oracle in Windows and used a DB Tools ( DtSQL )
connect Oracle.
It receives error. I checked the error message,
it failed when it call the driver to connect the db and does nothing with DtSQL.
Do you guys ever test Oracle JDBC jar file like this ? Or the jar file is not OS independant ?
Any ideas ?
Thanks in advanced.>
I installed Oracle in Windows and used a DB Tools ( DtSQL )
connect Oracle.
It receives error.
>
what error? post error stack
Do you guys ever test Oracle JDBC jar file like this ? we are not Oracle testers
Oracle JDBC jar files are provided by Oracle (and tested by Oracle).
Or the jar file is not OS independant ?It is not correct. jar files are OS independent.
Any ideas ?No ideas until you post error stack
Edited by: Mark Malakanov (user11181920) on Apr 5, 2013 3:09 PM -
Hi XI Guru,
I have problem in JDBC Receiver. My error is
" Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ps_gl_active_acct_' (structure 'Statement'): java.sql.SQLException: ORA-01843: not a valid month "
Currently I am using TransformDate function in graphical mapping.
Source Format : yyyy-mm-dd Type xsd:date
Target format : dd/mm/yyyy. Type xsd:date
I have tried mm/dd/yyyy
Please give me some advise and tips to solve my problem.
Regards,use this function
TO_DATE('<originalDate>','YYYY/MM/DD') : You have to form this string using the concate function in the graphical mapping.
Use the above function in graphical mapping to map the exact date in ORACLE.
You will have to use 'hasquot' attribute and set it to "NO" of the Date field. It will be solved then..
follow this link: /people/alessandro.berta/blog/2005/10/04/datetime-datatypes-and-oracle-database
Regards.
Jeet
Edited by: Jeet Jeswani on Feb 25, 2008 12:44 PM -
JDBC receiver error Cannot establish connection with the registered driver
Hi Expert,
I am constructing a proxy to JDBC scenario. And I am getting error saying "
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection with the registered driver. oracle.jdbc.driver.OracleDriver returns: The Network Adapter could not establish the connection. : SQLException: The Network Adapter could not establish the connection"
I can get into my Oracle database using TOAD with same IP address, user name and password. Could anybody tell me what should I do? Thanks a lot!
CharlesHi,
Check with your network team, network conenction between PI and Data base not working , Network team have to open Data base system ports inorder connect PI System.
check with Basis team about network connectivty,like they are bale to ping Data base server ip or not.
please go through below thread,
SQLException: Io exception: The Network Adapter could not establish the con
regards,
ganesh. -
JDBC receiver error:ORA-06550: line 1, column 7: PL/SQL
Hi,
I am geting this error in JDBC Receiver adapter. when i call the stored procedure.
Last week it works fine.But i today i faced this error.
Error Unable to execute statement for table or stored procedure. 'spec_utilities.SP_DELETE(Structure 'unassign') due to java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE(structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE (structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE'must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored
My stored procedure structure is:
<unassign>
<SP_DELETE action="EXECUTE">
<table>spec_utilities.SP_DELETE</table>
<PAE isInput="true" type="VARCHAR">447848</pAEIC>
<SKEY isInput="true" type="NUMERIC">4548545</pSKEY>
<USER isOutput="true" type="VARCHAR" />
<UNIT isOutput="true" type="VARCHAR" />
<EMAIL isOutput="true" type="VARCHAR" />
</SP_DELETE>
</unassign>
Can you suggest me where is this error.
Thank you
SateeshHi,
if it was executing fine earlier then check the below
1. user permissions level at the database..whether it has access to the required SP or not..
2. Check if there was any change in the SP..which has not been communicated...
HTH
Rajesh -
Hello Friends,
I am using file to JDBC scenario.
i am getting following errors in the JDBC receiver though i have set all the parameters correctly.
the same scenario is working when i used XI server but it is giving errors when i am connecting to remote server.
i used sun.jdbc.odbc.JdbcOdbcDriver driver for the same.
Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//bomwsap020/sugeet/AIP/DATABASE/Flight.mdb': SQLException: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
Please help on this.
thanks in advance.
Best Regards,
Sugeet.hi Sugeet
first check whether your user has the right to access Data base
Then check whether you have deployed the drivers correctly
You have to deploy the required JDBC drivers for the database before making connection. Ask the database provider or your vendor for the drivers That should be deployed using SDM tool
Start visual admin of XI and select service "Deploy" and then select option "Deploy and start" to select file and deploy it
Three option available:
1. Using SDM
2. Using Visual Admin
3. Using NW development studio (Not available for Production)
We will use Visual Admin u201CDeployu201D deploy service to deploy
Steps:
1. Goto VM->Deploy service
2. Select option u201CDeploy and startu201D
3. Select EAR file provided for deployment
4. Restart the service.
5. Done
follow this guide on how to install external libs for JMS/JDBC
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.doc
regards
Sandeep
If helpful reward points -
Oracle.jdbc.driver error using jdk1.2.2 on Win 2k
Im trying to run a jsp page that is dependent on an oricle database. However whenever I try to connect to the database over a thin line client I always get a java.lang.ClassNotFoundException error. I've gone over the path and classpath serveral time, and can't get it to work.
classpath =
C:\jdk1.2.2\lib\tools.jar;C:\Program Files\Tomcat4.0\common\lib\servlet.jar;C:\ORANT\jdbc\lib\classes102.zip;
C:\ORANT\jdbc\lib\classes111.zip;C:\jdk1.2.2\bin\java.exe;
C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2\lib\dt.jar;
path =
C:\WINNT\system32;C:\WINNT\system32;C:\jdk1.2.2\bin\java.exe;C:\ORANT\jdbc\lib;
If anyone knows how to fix this problem Id appreciate it.it doesn't say, it just gives me this error message.
javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:105)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, Compiled Code)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, Compiled Code)
at java.lang.Thread.run(Thread.java:472)
root cause
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, Compiled Code)
at java.lang.Exception.(Exception.java, Compiled Code)
at java.lang.ClassNotFoundException.(ClassNotFoundException.java, Compiled Code)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, Compiled Code)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, Compiled Code)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java, Compiled Code)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java, Compiled Code)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java, Compiled Code)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:87)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, Compiled Code)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, Compiled Code)
at java.lang.Thread.run(Thread.java:472) -
Oracle jdbc driver error: oracle.jdbc.driver.T4C8Oall.getNumRows
Dear All,
I encounter this error in my application when I call storedprocedure with spring helper class: StoredProcedure
and my env is as follow:
spring 2.5.6
oracle 10g
oracle jdbc driver:10.2.0.1
websphere portal 5.1
this error is occur from time to time randomly, when it happens, the only workaround is to restart the portal server..Does anyone have any idea about this error?
ERROR [Thread-Servlet.Engine.Transports : 6] 2010-04-02 03:08:02,063 AuditReportSupportManagerImpl.getAuditReportLink(24) | java.lang.NullPointerException
at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java(Compiled Code))
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:975)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3476)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4400)
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecute(WSJdbcPreparedStatement.java:617)
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.execute(WSJdbcPreparedStatement.java:401)
at org.springframework.jdbc.core.JdbcTemplate$5.doInCallableStatement(JdbcTemplate.java:987)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:936)
at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java(Compiled Code))
at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:117)
at com.hsbc.gbm.grt.raven.gui.procedure.BaseStoredProcedure.getSourceMap(BaseStoredProcedure.java:181)
at com.hsbc.gbm.grt.raven.gui.common.dao.impl.AuditReportSupportDaoImpl.getAuditReportLink(AuditReportSupportDaoImpl.java:21)
at sun.reflect.GeneratedMethodAccessor686.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code))
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code))
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java(Compiled Code))
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code))
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy114.getAuditReportLink(Unknown Source)
at com.hsbc.gbm.grt.raven.gui.common.service.impl.AuditReportSupportManagerImpl.getAuditReportLink(AuditReportSupportManagerImpl.java:21)
at com.hsbc.gbm.grt.raven.gui.common.util.Util.auditReportLinkHelper(Util.java:711)
at com.hsbc.gbm.grt.raven.gui.collateral.web.EligColatMapSumRespPro.doProcess(EligColatMapSumRespPro.java:50)
at com.hsbc.esf.requestprocessing.impl.ResponseProcessor.process(ResponseProcessor.java:42)
at com.hsbc.esf.requestprocessing.eventmapping.impl.ProcessorEventMappingAction.execute(ProcessorEventMappingAction.java:99)
at com.hsbc.esf.requestprocessing.portlet.eventmapping.PortletSuspendEventMappingAction.execute(PortletSuspendEventMappingAction.java:147)
at com.hsbc.esf.requestprocessing.eventmapping.impl.DefaultEventMapping.process(DefaultEventMapping.java:213)
at com.hsbc.esf.requestprocessing.flow.eventmapping.FlowEventMappingHandler.doProcess(FlowEventMappingHandler.java:117)
at com.hsbc.esf.requestprocessing.flow.eventmapping.FlowEventMappingHandler.process(FlowEventMappingHandler.java:70)
at com.hsbc.esf.jsf.requestprocessing.lifecycle.portlet.impl.AbstractLifecycle.render(AbstractLifecycle.java:166)
at com.hsbc.esf.jsf.requestprocessing.eventmapping.portlet.AbstractJSFEventMappingHandler.processRender(AbstractJSFEventMappingHandler.java:315)
at com.hsbc.esf.jsf.requestprocessing.eventmapping.portlet.AbstractJSFEventMappingHandler.process(AbstractJSFEventMappingHandler.java:283)
at com.hsbc.esf.requestprocessing.eventmapping.impl.ProcessorInvokerInterceptor.preProcess(ProcessorInvokerInterceptor.java:54)
at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:45)
at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
at com.hsbc.esf.requestprocessing.impl.InterceptorChain.process(InterceptorChain.java:54)
at com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.processRenderRequest(PortletFrontController.java:213)
at com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.doRenderService(PortletFrontController.java:121)
at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483)
at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:256)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:97)
at com.ibm.wps.pe.pc.std.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:110)
at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:545)
at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:251)
at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:100)
at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:155)
at org.apache.jsp._Control._jspService(_Control.java:1933)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
at com.ibm.wps.composition.elements.Control.render(Control.java:182)
at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
at org.apache.jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:107)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
at org.apache.jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:123)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:397)
at org.apache.jsp._Home._jspService(_Home.java:135)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Compiled Code))
at com.ibm.wps.engine.templates.screens.Default.render(Default.java:91)
at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:61)
at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:89)
at org.apache.jsp._Default._jspService(_Default.java:8805)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Compiled Code))
at com.ibm.wps.engine.templates.themes.Default.render(Default.java:103)
at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67)
at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:312)
at com.ibm.wps.engine.phases.WPRenderPhase.execute(WPRenderPhase.java:135)
at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:93)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:713)no one can help?
-
Connect to an Oracle database by using oracle.jdbc.OracleDriver: error
Hi,
I'm trying to connect to an Oracle database so we can retrieve notes of tables, views and packages.
By using the API of Data Modeler (transformation script) we want to add these notes to corresponding objects in Data Modeler.
I'm starting with this:
importPackage(java.lang);
importPackage(java.awt);
importPackage(java.sql);
java.lang.Class.forName("oracle.jdbc.OracleDriver");
An error occurs when I run this code:
It has to be a Java thing...
Anyone a suggestion?Problem solved! One of my colleagues referred to this post: Import user defined properties from Oracle Designer
More in detail: it's about this couple of lines:
// Copy the ojdbc6.jar file to ..\datamodeler-home\jlib directory
// Add this line to datamodeler.conf
// AddJavaLibFile ../../jlib/ojdbc6.jar
I changed my datamodeler.conf file, restarted DM and now there's no longer an error when I am trying to use the Oracle JDBC drive. -
Oracle JDBC Connection Error code 12505 in J2EE
Hi All,
I'm in a great problem.Could not connect my J2EE server to my Oracle database server.
My config/resource.properties file as follows
================================
jdbcDataSource.5.name=jdbc/iisdb
jdbcDataSource.5.url=jdbc:oracle:thin:@128.51.12.33:15 21:iisals.rsapps;create=true
jdbcDriver.1.name=oracle.jdbc.driver.OracleDriver
My config/default.properties file as follows
================================
jdbcDatasources=jdbc/iisdb|jdbc:oracle:thin:@128.51.12.33:1521:iisals.rsapps
Deployment is successful but while running the application through browser the error is as follows
=======================================
javax.ejb.CreateException: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135286784)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
which is for either SID identification problem or TCP/IP
port problem.
But from my PC the same database can be connected through sql plus.
So I am n't getting where is the problem ??????
Whether any properties file has to be changed ???
Can anyone help me in this regards,Hai everybody,
I do have the same problem. I am trying to connet to the oracle8.1.7 database in linux machine from windows98. I am able to connect to the database thro' sqlplus, but when i try to connect using JDBC i am getting the follg error :
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNU
M=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
can any one rectify this problem. I checked even java.policy file. Everything seems to be ok.
Thx & regards
jagan -
Oracle JDBC Connection Error ?
Hi all .. i have JDeveloper9.0 and oracle database i have created the following page (which is the first !) to test the connection to oracle database,
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<%@ page import="java.sql.*"%>
<%@ page import="oracle.jdbc.driver.*"%>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>
Hello World
</TITLE>
</HEAD>
<BODY>
<%
out.println("good things comes for the ones whos wait");
// testing Database Connection
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.0.24.23:1513:test","ap1s","ap1s");
Statement st = conn.createStatement();
ResultSet rs= st.executeQuery("select * from XX_CNSLTNT");
while(rs.next())
System.out.println(rs.getString(1));
%>
<form method="POST" action="untitled1.jsp">
<p>
<input type="text" name="T1" size="20">
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2">
</p>
</form>
</BODY>
</HTML>
and its generating me this error, when i compile :
Error: cannot access directory oracle\jdbc\driver; verify that directory is reachable from classpath and/or sourcepath
so, does any one have a clue of the problem is ??
thanx in advanceIs ojdbc14.jar or classes12.jar in the Classpath?
-
Tomcat 5.5.20 / Oracle JDBC connection error
Hi All,
I am using Eclipse 3.2/ Tomcat 5.5.20/ Oracle 8i
Inside my java class; right after finding the context, it gives error on line:
conn = dataSource.getConnection();
my server.xml <Resource> settings are proper within one tag...
I am loosing my hair faster... please someone help me..
Error Stack:
javax.servlet.ServletException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
com.nibtt.beans.ConnectionBean.getConnection(ConnectionBean.java:80)
com.nibtt.actions.LoginAction.execute(LoginAction.java:44)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Regards
HepziHi Zadok,
I am going insane. Thank God you replied. I am pasting my code here.
I have setup Tomcat5.5.20 <resource> tag as follows: for connection pooling
<Resource name="jdbc/TestStrutsDB" auth="Container"
type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory"
username="SCOTT" password="TIGER"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@111.1.1.1:1521:TEST"
maxActive="8" maxIdle="4"/>
my application web.xml code:
<resource-ref>
<description>Oracle DB Connection</description>
<res-ref-name>jdbc/TestStrutsDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
my java code:
public Connection getConnection() throws Exception{
Context ctx = new InitialContext();
Context envContext = (Context)ctx.lookup("java:/comp/env");
javax.sql.DataSource dataSource = null;
ResultSet rst = null;
Statement stmt = null;
try {
if(envContext == null ) {
System.out.println( "context is NULL");
} else
System.out.println( "context is NOT NULL");
dataSource = (javax.sql.DataSource)envContext.lookup("jdbc/TestStrutsDB");
if (dataSource != null) {
System.out.println( "before actual connection to database: "+dataSource.toString() );
try {
conn = dataSource.getConnection();
} catch (Exception connEx) {
System.out.println( connEx.getStackTrace());
if(conn != null) {
System.out.println( "Got Connection "+conn.toString());
stmt=conn.createStatement();
rst=stmt.executeQuery("select username from testTomcat");
while(rst.next()){
System.out.println("User Name is: " + rst.getString("username"));
rst.close();
rst = null;
stmt.close();
stmt = null;
conn.close();
conn = null;
// do what you wish with Connection
} catch (SQLException e) {
while((e = e.getNextException()) != null) {
System.out.println("SQLException: " + e.getMessage());
System.out.println("SQLState: " + e.getSQLState());
System.out.println("VendorError: " + e.getErrorCode());
System.out.println(e.getStackTrace());
} finally {
try {
conn.close();
} catch (SQLException ex) {
System.out.println(ex.getStackTrace());
return conn;
} //End of Connection function
Please let me know if had gone wrong somewhere
Thanks in advance
Regards
Hepzi
Maybe you are looking for
-
Installation error Photoshop Cs6 Extended and Maverick
I have a brand new iMac which is operating with Maverick. I have just purchased Adobe Photoshop Extended and tried to install but I get an error straight away saying 'the following disk images could not be opened. Image - Photoshop_13_LS16.dr and the
-
Can the Oracle HTTP Server (OHS) be configured to be used in place of the default web server on XE? I have seen the thread about using Apache as a reverse proxie, but I wanted to simply use the OHS as the only web server for my XE installation. Can s
-
Assign existing company to new Company code
Hi there, we have to integrate a company into another one. How can we block the 'company to be integrated' from being used as partner company in new Customer master in the future ? Can you somehow block this company from being used ? Or is it possibl
-
I am trying to export pdf to word and it fails to convert, It does not offer help to correct the issue. I need to know what could be the issue.
-
Quality of books look like cheap photocopies
Hi, I have been using iPhoto for many years and have been a loyal iPhoto book customer as well. I use the books for all sorts of events such as golf charity fundraisers, weddings, family reunions, etc... The results have been usually great with good