"Error while accessing porting layer for ORACLE database via getSessionId()
Hi,
My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more
Actually, now (after the GRANT described in my reply before) the Exception has changed to:
Caused by: com.sap.sql.log.OpenSQLException: Error while
accessing porting layer for ORACLE database via
<b>getDatabaseHost</b>().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException
(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.
createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.
createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.
ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more
Similar Messages
-
Error while accessing a Table on Oracle Database 10.2
Hi Experts,
We have a table that contains a CLOB datatype in one of its column. However when i tried to access the table i get the below error.
<b>Table Name:</b> discrete_jobs
<b>Error:</b>
(Error starting at line 1 in command:
select * from [email protected]
Error report:
SQL Error: ORA-22992: cannot use LOB locators selected from remote tables
22992. 00000 - "cannot use LOB locators selected from remote tables"
*Cause: A remote LOB column cannot be referenced.
*Action: Remove references to LOBs in remote tables.)
Pleas Help!
Regards,
Ravi RSee some work arounds - "How to select table from remote database having clob field</a>
-
I'm trying to pull data from an Oracle database using SSIS. When I try to select a few fields from the source table, it returns the following error message:
[OLE DB Source [47]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80040E14 Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
The source columns are a combination of numeric and texts, and I've also tried selecting one of them, which didn't work. I'm using the Oracle client 11.2.0.1, and it works fine with any other data sources I have connected to so far. How can I resolve this
error?Hi H.James,
According to your description, the issue is a non-numeric character was found where a numeric was expected while pulling data from an Oracle database in SSIS.
Based on the error message, the issue should be you are comparing a number column to a non-number column in a query. Such as the query below (ConfID is a number, Sdate is a date):
where C.ConfID in (select C.Sdate
from Conference_C C
where C.Sdate < '1-July-12')
Besides, a default behavior for the Oracle OleDb Provider that change the NLS Date Format of the session to 'YYYY-MM-DD HH24:MI:SS can also cause the issue. For more details about this issue, please refer to the following blog:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error while creating datasource userdsn for oracle 10g Errorcode (998)
while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon
Thanks for your reply , Steve.
I noticed that there is a default datasouce on the EM with the following parameters:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="->pwForScott"
url="jdbc:oracle:thin:@localhost:1521:oracle"
inactivity-timeout="30"
/>
The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
What should be the values for location and xa-location attributes from my "test" data source?
Any help will be greatly appreciated.
Thanks,
Shyam -
Error while making connection with remote oracle database
Dear,
I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
DriverManager.getConnection(
"jdbc:oracle:thin:@erp:1521:ORCL", "apps",
"apps");
Pls any body have idea.
Thanks.Thanks for support.
Below is error which i am getting while making connection with remote database.
C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
-------- Oracle JDBC Connection Testing ------
Where is your Oracle JDBC Driver?
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at OracleJDBC.main(OracleJDBC.java:13)
Advice. -
Reg : I am getting an error while Using MicroSoft ODBC For Oracle Driver
I am Using MicroSoft ODBC For Oracle Driver for JDBC. Why i am using this driver is i could not able to get the arabic content if i use the other driver .I Right now i cannot change the NLS Lang because its a production server also it has around 300 gb of data and i can not take risk now by changing the NLS lang.. coming to the below error .i could able to access my data up to 4 Hours after that i am getting this error.If i restart my tomcat i can use my application one more 4 hrs .Please get back to me if u have any solution.Its very very helpful to me......+*
[java.sql.SQLException] [ Microsoft ODBC for Oracle ]
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:3
23)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.iton.eoffice.DatabaseBean.connecteOfficeMoEnq(DatabaseBean.java:4
60)
at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
chMoEnq_jsp.java:434)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:384)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
20)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
ingFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.j
ava:347)
at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBin
derValve.java:209)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:212)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
5)
at java.lang.Thread.run(Thread.java:619)
------------1234-----------
java.lang.NullPointerException
at com.iton.eoffice.DatabaseBean.getSQLRows(DatabaseBean.java:764)
at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
chMoEnq_jsp.java:435)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:384)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
20)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
ingFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by sreenivas navuluri:
Oracle(tm)Client and networking components not found. These components are supplied by Oracle Corporation and part of Oracle Version 7.2 or greater Client software installation. You will be unable to use this driver until these components have been installed . This error occurs while selecting the Microsoft Odbc for Oracle driver from the ODBC in control panel. Pls suggest<HR></BLOCKQUOTE>
null -
Error while configuring Eclipse SDK for Oracle Utilities SDK 2.2
Hi.
I'm installing an Enterprise Taxation Management development workstation. I followed the install guide from top to bottom.
The application server is ok, the SDK seems to be OK.
I executed 'configureEclipse.exe' and made manual configurtions -as the install guide reads-. The eclipse project was created, but it has 2 missing libraries.
When I open eclipse, it shows the following errors:
Project EclipseProject220 is missing required library: 'lib/ojdbc5-11.1.0.6.0.jar'
Project EclipseProject220 is missing required library: 'lib/spl-ccb-2.2.0.jar'
My questions is ¿where do I get those jar files?
About the environement:
The develpment workstation is a laptop running Windows 2003 server, with ETM v2.2.0 Application Server installed. 3rd party SW is installed ok (appropiated versions). Web Server is Apache Tomcat v6.0.13. Eclipse v3.2.2. Oracle Utilities SDK v2.2.0.5 installed.
Database is installed on another computer, running Windows XP with Oracle Database 11i, connected on a LAN.
Thanks in advance.I had these problems too..
I suppouse you're installind TAX (ETM) so the library you need is lib/spl-tax-2.2.0.jar'
On the other hand, the othe 'lib/ojdbc5-11.1.0.6.0.jar' eclipse is asking for. I changed it for 'lib/ojdbc5-11.1.0.7.0.jar'
After change these libs I can run the generator and deploy scripts even when i don't know jet how to develop.
Dou you have some cookbooks for developing (algorithnms, modify native clases, ect) you'd like to share??
Thanks a lot. -
Error while starting App server for Oracle B2B
Hi..
While starting application server, we are getting the below error hi http server log
Start process
/b2b/web_cache/Apache/Apache/bin/apachectl start: execing httpd
/b2b/web_cache/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file
or directory
Because of this even HTTP_Server is not comming up.
Does anyone have any idea on this?
Please help.Hi Cema,
Make sure that httpd.conf file (located at /ORACLE_HOME/Apache/Apache/conf ) has not changed.
Is your AS running on Linux? ".so" is used in case of linux only and for windows extension should be ".dll"
Please use the same if your http server is running on windows. HTTP Server documetation may have more details related to this.
Regards,
Anuj -
Access vba problem with ORACLE database via ODBC
I get a problem when using MS-Access 2007 DAO recordset built on table hosted by an Oracle database 10g and connected thru an ODBC link (the id is generated by a sequence/trigger associated to the table).
The code I use is :
Private Sub Commande0_Click()
Dim rs As DAO.Recordset2
Dim bm As Variant
'Set rs = CurrentDb.OpenRecordset("select * from table1", dbOpenDynaset, dbSeeChanges, dbPessimistic)
Me.Recordset.AddNew
Me.Recordset!libelle = CStr(Rnd)
Me.Recordset!code = “”
Me.Recordset!actif = True
Me.Recordset!idCollege = 1
Me.Recordset.Update
Me.Recordset.MoveFirst
Me.Recordset.Bookmark = Me.Recordset.LastModified
Dim idtemp As Long
idtemp = Me.Recordset.idPartenaire
Me.Requery
Me.Recordset.FindFirst "idPartenaire = " & idtemp
Set rs = Nothing
End Sub
When I run this code, I get an error 3167 (current record is deleted) on the line :
idtemp = Me.Recordset.idPartenaire
If I change the ligne :
Me.Recordset!code = “”
By :
Me.Recordset!code = “xxxx”
Or if I comment this line, the error does not appear and I get the right value in idtemp variable.
I tried also with the same table in a SQL Server database table. In this case it works fine in all cases.
So, I seems that the problem is due to the Oracle ODBC driver.
I search on Internet but I have not found any explanation or solution.
Does anybody experiment the same problem (and find a solution)?
Gilles Roussel.There is a dediacted forum for Oracle ODBC driver issues.
Please post your problem at:
http://forums.oracle.com/forums/categoryHome.jspa?categoryID=84 -
Error while accessing JSP deployed on Oracle AS
Hi,
I have developed an application and deployed in on the oracle AS 10.1.2
In my application i have a Jsp on which i have the following code
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page import="javax.servlet.*"%>
<%@ page import="javax.servlet.http.*"%>
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.net.*"%>
<% String strFileName = request.getParameter("prmFileName");
//String strFileName = "d:\\Report.xls";
response.setContentType( "application/vnd.ms-excel; charset=ISO-8859-1");
PrintWriter out1 = response.getWriter();
//System.out.println(strFileName);
FileReader fread = new FileReader (strFileName);
BufferedReader bfd = new BufferedReader(fread);
String inputLine;
while ((inputLine = bfd.readLine()) != null)
out1.println (inputLine);
bfd.close();
out1.close();
%>
When i access this jsp through the application i get this error..
during developement i had tested this jsp by deploying it on jboss and it worked properly but now i am faced with this error
500 Internal Server Error
java.lang.IllegalStateException: OutputStream already retrieved at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getWriter(EvermindHttpServletResponse.java:1001) at ReportXlsOpen.jspService(_ReportXlsOpen.java:57) [SRC:/ReportXlsOpen.jsp:12] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
Thanks & Regards,
MadhurYou don't need to get the output writer "out1". you can use "out" in your scriplets the same way as "request" and "response".
-
Error While Loading XMl Doc into Oracle Database 10g
Hi all,
I have a task that , I have to make a utillity by which we can load XML Doc into a Table. While searching on Internet i found following Procedure on ASK Tom
CREATE OR REPLACE
procedure insert_xml_emps(
p_directory in varchar2, p_filename in varchar2, vtableName in varchar2 )
as
v_filelocator bfile;
v_cloblocator clob;
l_ctx dbms_xmlsave.ctxType;
l_rows number;
begin
dbms_lob.createtemporary(v_cloblocator,true);
v_filelocator := bfilename(p_directory, p_filename);
dbms_lob.open(v_filelocator, dbms_lob.file_readonly);
DBMS_LOB.LOADFROMFILE(v_cloblocator, v_filelocator,
dbms_lob.getlength(v_filelocator));
l_ctx := dbms_xmlsave.newContext(vTableName);
l_rows := dbms_xmlsave.insertxml(l_ctx,v_cloblocator);
dbms_xmlsave.closeContext(l_ctx);
dbms_output.put_line(l_rows || ' rows inserted...');
dbms_lob.close(v_filelocator);
DBMS_LOB.FREETEMPORARY(v_cloblocator);
end ;
when i try to run this procedure
BEGIN
insert_xml_emps('XML_LOAD','load.xml','IBSCOLYTD');
END;
it gaves me following Error
ORA-29532: java call terminated by uncaught java exception : Oracle.xml.sql.OracleXMLSQLException:No
rows to modify-- the row enclosing tag missing. Specify the correct row enclosing tag.
ORA-06512: at "SYS.DBMS_XMLSAVE", line 115
ORA-06512: at "EXT_TEST.INSERT_XML_EMPS", line 18
ORA-06512: at line 2
Can anyone describe me this error
Thanks.
Best Regards.SQL> /* Creating Your table */
SQL> CREATE TABLE IBSCOLYTD
2 (
3 ACTNOI VARCHAR2 (8),
4 MEMONOI NUMBER (7,0),
5 MEMODTEI DATE,
6 AMOUNTI NUMBER (8,0),
7 BRCDSI NUMBER (4,0),
8 TYPEI NUMBER (4,0),
9 TRANSMONI NUMBER (6,0)
10 );
Table created.
SQL> CREATE OR REPLACE PROCEDURE insert_xml_emps(p_directory in varchar2,
2 p_filename in varchar2,
3 vtableName in varchar2) as
4 v_filelocator BFILE;
5 v_cloblocator CLOB;
6 l_ctx DBMS_XMLSTORE.CTXTYPE;
7 l_rows NUMBER;
8 v_amount_to_load NUMBER;
9 dest_offset NUMBER := 1;
10 src_offset NUMBER := 1;
11 lang_context NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
12 warning NUMBER;
13 BEGIN
14 dbms_lob.createtemporary(v_cloblocator, true);
15 v_filelocator := bfilename(p_directory, p_filename);
16 dbms_lob.open(v_filelocator, dbms_lob.file_readonly);
17 v_amount_to_load := DBMS_LOB.getlength(v_filelocator);
18 --- ***This line is changed*** ---
19 DBMS_LOB.LOADCLOBFROMFILE(v_cloblocator,
20 v_filelocator,
21 v_amount_to_load,
22 dest_offset,
23 src_offset,
24 0,
25 lang_context,
26 warning);
27
28 l_ctx := DBMS_XMLSTORE.newContext(vTableName);
29 DBMS_XMLSTORE.setRowTag(l_ctx, 'ROWSET');
30 DBMS_XMLSTORE.setRowTag(l_ctx, 'IBSCOLYTD');
31 -- clear the update settings
32 DBMS_XMLStore.clearUpdateColumnList(l_ctx);
33 -- set the columns to be updated as a list of values
34 DBMS_XMLStore.setUpdateColumn(l_ctx, 'ACTNOI');
35 DBMS_XMLStore.setUpdateColumn(l_ctx, 'MEMONOI');
36 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'MEMODTEI');
37 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'AMOUNTI');
38 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'BRCDSI');
39 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'TYPEI');
40 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'TRANSMONI');
41 -- Now insert the doc.
42 l_rows := DBMS_XMLSTORE.insertxml(l_ctx, v_cloblocator);
43 DBMS_XMLSTORE.closeContext(l_ctx);
44 dbms_output.put_line(l_rows || ' rows inserted...');
45 dbms_lob.close(v_filelocator);
46 DBMS_LOB.FREETEMPORARY(v_cloblocator);
47 END;
48 /
Procedure created.
SQL> BEGIN
2 insert_xml_emps('TEST_DIR','load.xml','IBSCOLYTD');
3 END;
4 /
PL/SQL procedure successfully completed.
SQL> SELECT * FROM ibscolytd;
ACTNOI MEMONOI MEMODTEI AMOUNTI BRCDSI TYPEI TRANSMONI
28004125 251942 05-SEP-92 400 513 1 0
28004125 251943 04-OCT-92 400 513 1 0
SQL> -
Error while running setup.exe for oracle installation on windows 2003
Hi,
I am trying to install oracle 9.2.0.1 on my windows 2003 machine and when i click on setup.exe nothing happens. when i tried to run it thru command prompt again nothing happens when i check in computer management => event views it throws following error.
The application, C:\DOCUME~1\barb\Local Settings\Temp\1\OraInstall2006-08-11_05-19-46AM\jre\bin\javaw.exe, generated an application error The error occurred on 08/11/2006 @ 05:19:56.356 The exception generated was c0000005 at address 6D4CF9A0 (jvm!JVM_TraceMethodCalls)
can anybody suggest me what could be the problem or i will have to install jvm first and then try installing oracle?
thanks
Chandandid you check the installation guide and Preinstallation Requirements?
http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#i1011417 -
Error while accessing oracle link
Dear Gurus,
I am facing following error while accessing oracle ODBC Link.
I cross varify ODBC connection , its working fine ,
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
SQLSTATE: IM002
SQL System code: 0
Please suggest.Qureshi,
An ODBC connection is not required for Oracle or IBM DB2 because Application Server has internal connections to these databases through Oracle (OCI) or DB2 (CLI).
When you create a new Link ID, you select Oracle (OCI) as the connection type.
In the Link ID properties box specify the additional information needed to connect to the database server. The username and password must be the owner of the CPMS_ tables.
You can find further documentation in the guide Configuration Help Strategy Management 7.5 in Section 3.1.5 Creating a Link ID for Certain Implementations.
This is available on Service Marketplace in Installation Guides for Strategy Management 7.5
Regards,
Bob -
Hi,
This is Sathish, I am trying to create a report and retrieve data through stored procedure using ODBC Connection. When connecting to the Stored Procedure it is showing Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax error or access violation' Error.
CRXI R2, Oracle 9i.
What do i do to solve this issue.
Regards,
SathishHi Satish
It could be an issue with the driver.
You can try with the OLEDB n Oracle native connection to test if the issue persists.
Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
Hope this helps!!
Regards
Sourashree -
Error while accessing Oracle E-Business Suite 11i from Linux/firefox
error while accessing Oracle E-Business Suite 11i from Linux/firefox
OS: SUSE Linux Desktop 11(SLED11)
Web browser: firefox 3.x
Java versions:
# rpm -qa |grep java
java-1_6_0-sun-plugin-1.6.0.u18-0.1.1
java-1_6_0-sun-1.6.0.u18-0.1.1
# java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
when I access the url firefox says
"Additional plugins are required to display all the media on this page"
then I clicked on "Install Missing Plugin" button
then I got the following message
No Suitable Plugins were found
Unknown Plugin (application/x-java-applet;jpi-version=1.4.1)
please help/suggest
RegardsHi user;
Its not certified to login EBS from linux client
Please check:
Linux-cleint (ebs) certification
pluggins
Hope it helps
Regard
Helios
Maybe you are looking for
-
How can I make a disc cleanup on a Mac Book Pro ?
how can I make a disc cleanup on a Mac Book Pro ?
-
How to use multiple ipods with one computer
My 2 kids have an ipod touch each. How do I create their own files so that they do not have to have eachothers choices and games on eachothers device? As well, we have 2 iphones that are connected as well.
-
Optimal DVD drive for G3 beige, e.g. Pioneer DVR-110D
The CD RW drive in my beige DT is on its way out (it will get a directory of an audio CD but won't play audio CDs at all) and I'm thinking I might as well go for a DVD RW drive since they're only slightly more expensive than a CD RW. Many people in t
-
I can only see the top 30 or so songs on my wish list, but i have way more than that
-
Is there a command to sync the end of a region to the playhead or the end of another region?
Is there a command to sync the end of a region to the playhead or the end of another region?