Error in executing interface Oracle to Oracle
hello
i am designing an interface to load data from 2 oracle database. i am having the error below while i excute the interface:
in seq :Insert flow into I$ table i get this error ORA-02019: connection description for remote database not found.
i have check on both dataserver, the test is succesfull. what other place i shoould check if connection is wrong. is there a problem in my logical shema
thanks a lot to help ASAP
nazeedah
Which KMs are you using? It sounds like the error which is given when you use the DBLINK knowledge modules and the two databases have not been set up to see eachother.
Similar Messages
-
Error in Executing Interface........
hi,
I am getting this error in when execute interface. I am trying to load the file(Sorce ) to Oracle Table (Taget). both are on same server.
ODI-1217: Session MOBILK (119001) fails with return code 6550.
ODI-1226: Step MOBILK fails after 1 attempt(s).
ODI-1240: Flow MOBILK fails while performing a Integration operation. This flow loads target table MSC_SMS.
ODI-1228: Task MOBILK (Integration) fails on the target ORACLE connection MOBILK_ORACLE.
Caused By: java.sql.SQLException: ORA-06550: line 11, column 39:
PL/SQL: ORA-00905: missing keyword
ORA-06550: line 4, column 1:
PL/SQL: SQL Statement ignored
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
thanks in advancethanks.
All task are executed except that task (Integration)
KM modoules are
LKM: LKM FIle to Oracle (SQLLDR)
IKM: IKM SQL Incremental Update (row by row)
* Task Integration*
Insert flow into I$ table
org.apache.bsf.BSFException: exception from Groovy: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Insert_flow_into_I$_table: 6: unexpected char: '\' @ line 6, column 18.
logFileName = 'C:\Documents and Settings\Administrator\ikm_rowbyrow.log'
^
1 error
at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:110)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2473)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:561)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Insert_flow_into_I$_table: 6: unexpected char: '\' @ line 6, column 18.
logFileName = 'C:\Documents and Settings\Administrator\ikm_rowbyrow.log'
^
1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:143)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:113)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:125)
at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:353)
at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:100)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:72)
at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:249)
at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:159)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:814)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:466)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:300)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:279)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:727)
at groovy.lang.GroovyShell.parse(GroovyShell.java:739)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:574)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:614)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:595)
at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:108)
... 19 more -
Error when executing interface which load data from csv file which has 320
Hi,
Can some one provide a resolution for below error:
I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
using LKM File to SQL, IKM Sql Control Append.
I am getting below error when executing the interface :
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location>
BSF info: Create external table at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
out.print("createTblCmd = r\"\"\"\ncreate table ") ;
out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
"<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022[DEST_WRI_DT]\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t", "","")) ;
out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
out.print("'\n\t\t") ;
out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
out.print("\n\t\tBADFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
out.print("\n") ;
if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])\\t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t\\t\\t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
} else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
out.print("'\n\t\t") ;
if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
} else {out.print("OPTIONALLY ENCLOSED BY '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
out.print("' AND '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
out.print("' ") ;
}out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t\\t\\t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
}out.print("\tLOCATION (") ;
out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
out.print(")\n)\n") ;
out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
out.print("\nREJECT LIMIT ") ;
out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
****** ORIGINAL TEXT ******
createTblCmd = r"""
create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t", "","")%>
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dat_dir
ACCESS PARAMETERS
RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
<%=odiRef.getUserExit("EXT_CHARACTERSET")%>
<%=odiRef.getUserExit("EXT_STRING_SIZE")%>
BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
<% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
FIELDS
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%} else {%>
FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
<% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
<%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
<%=odiRef.getUserExit("EXT_PARALLEL")%>
REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
# Create the statement
myStmt = myCon.createStatement()
# Execute the trigger creation
myStmt.execute(createTblCmd)
myStmt.close()
myStmt = None
# Commit, just in case
myCon.commit().
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)The issue is encountered because the text delimiter used in the source file did not consist of a pair of delimiters.
Please see support Note [ID 1469977.1] for details. -
2499 error while executing a Oracle PL/SQL query
Hi,
Im a newbie, using Oracle 10g enterprise edition, netbeans 6.5. Im unable to execute a SELECT query which contains multiple JOINS & UNIONS(lengthening upto 3800 chars) through code hence It flashes SP2-0027: Input is too long (> 2499 characters) - line ignored.
Earlier i had same problem while executing the query on the web interfaced query browser(isqlplus), sqlplus prompt.
Later on i found a Solution for such queries which are lengthening more than 2499 chars is either to break the query into multiple lines by pressing enter manually or to use M$ Word application (paste the query in a file and save it as a plain text filetype with insert line breaks option checked).
But what about the coding part now?
Please guide me through this.
Regards,
PeterOn sqlplus Oracle can't process lines over 2500 (cero is included on the counting) that's the reason why the error is displayed. To sort out this problem divide your query string into parts smaller than 2500 (2000 is recomended) and just add the next line between them:
CHR(10) || CHR(13)
Since this is gonna be read by the Oracle's engine and embedded into your query line, it will understand that every pair of CHR(10) || CHR(13) is a carriage return command and will drain the buffer processing every line with not errors.
Hope this helps
Edited by: MiloHega on Jan 27, 2009 1:00 PM -
Error while executing interface
Hello Friends
The team is trying to integrate 3 sap standard tables into 1 table.
The have a requirement to interface @ 25 sap standard tables.
with 2 tables joining it works fine.
The 2 interfaces run a ABAP program in the form of background job; in the SAP system which integrates these tables.
While executing the program in the SAP system we get the memory dump as mentioned below;
Runtime Errors TSV_TNEW_BLOCKS_NO_ROLL_MEMORY
Date and Time 24.03.2009 10:27:20
Short text
No roll storage space of length 1994768 available for internal storage.
What happened?
Each transaction requires some main memory space to process
application data. If the operating system cannot provide any more
space, the transaction is terminated.
What can you do?
Try to find out (e.g. by targetted data selection) whether the
transaction will run with less main memory.
If there is a temporary bottleneck, execute the transaction again.
If the error persists, ask your system administrator to check the
following profile parameters:
o ztta/roll_area (1.000.000 - 15.000.000)
Classic roll area per user and internal mode
usual amount of roll area per user and internal mode
o ztta/roll_extension (10.000.000 - 500.000.000)
Amount of memory per user in extended memory (EM)
o abap/heap_area_total (100.000.000 - 1.500.000.000)
Amount of memory (malloc) for all users of an application
server. If several background processes are running on
one server, temporary bottlenecks may occur.
Of course, the amount of memory (in bytes) must also be
available on the machine (main memory or file system swap).
Caution:
The operating system must be set up so that there is also
enough memory for each process. Usually, the maximum address
space is too small.
Ask your hardware manufacturer or your competence center
about this.
In this case, consult your hardware vendor
abap/heap_area_dia: (10.000.000 - 1.000.000.000)
Restriction of memory allocated to the heap with malloc
for each dialog process.
Parameters for background processes:
abap/heap_area_nondia: (10.000.000 - 1.000.000.000)
Restriction of memory allocated to the heap with malloc
for each background process.
Other memory-relevant parameters are:
em/initial_size_MB: (35-1200)
Extended memory area from which all users of an
application server can satisfy their memory requirement.
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
. You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Error analysis
The internal table "\FUNCTION=ZODI_18011_18011\DATA=IT_FINAL[]" could not
enlarged further.
Memory location: "Session memory"
You attempted to extend the data structure for the management of the
memory blocks for table "\FUNCTION=ZODI_18011_18011\DATA=IT_FINAL[]". Howe
the 1994768 bytes required for
this were no longer available in the specified memory area.
The amount of memory requested is no longer available.
How to correct the error
Try to decide by analysis whether this request is
reasonable or whether there is a program error. You should pay
particular attention to the internal table entries listed below.
The amount of storage space (in bytes) filled at termination time was:
Roll area...................... 16192
Extended memory (EM)........... 4189840
Assigned memory (HEAP)......... 0
Short area..................... " "
Paging area.................... 0
Maximum address space.......... " "
System details;
ECC 6.0 SP level 13 Oracle data base release 10.2.0.2.0.
64 bit 16 GB RAM
I have checked with the sap notes but not sure enough with what tuning can be done for the same.
Basis memory checks are performed.
Thanks and Regards
PoojaHi Pooja
your problem is memory consumption problem,
if you want overcume these problem you need to tuning paramateors.
in SAP we have 3 types of memory areas are available
1. Primary memory that is called roll_area
2. Extended memory
3. Heap Memory
above each memory areas has reserved some amount of space
if not enoghf Primary memory for perticular transaction, then it will use extended memory then again not enoghf extended memory then it will go to heap memory, then that time transaction is terminated.
so you need to increase below prametor value in RZ10
ztta/roll_extension
next you need to restart sap other wise it wont effect which your changes values.
regards
Bandla -
Hi all gurus i m getting Error in executing scripts..whn i m installing sap 4.7 ides..can anybody help me toresolve it..Its urgent...thx.
Thx..
Regards.
Nainesh.i m giving u my lof file here..then tell me solution ..
And thx for helping..
Thx a lot..
INFO 2008-02-17 13:03:01
Processing of host operation t_HostInfo_SHARED succeeded.
INFO 2008-02-17 13:03:14
The 'saploc' share exists at directory 'D:\usr\sap'. Choosing drive D: as SAP System drive.
INFO 2008-02-17 13:03:27
Copying file E:/NT/COMMON/OraVolatileDatabaseParameters.xml to: OraVolatileDatabaseParameters.xml.
INFO 2008-02-17 13:03:27
Creating file D:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.xml.
INFO 2008-02-17 13:04:28
Copying file C:/sap-source/exp1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
INFO 2008-02-17 13:04:28
Creating file D:\SAPinst ORACLE KERNEL\DBSIZE.XML.
INFO 2008-02-17 13:04:28
Copying file system node C:\sap-source\exp1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
INFO 2008-02-17 13:04:28
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2008-02-17 13:04:29
Copying file C:/sap-source/exp1/DB/DDLORA.TPL to: DDLORA.TPL.
INFO 2008-02-17 13:04:29
Creating file D:\SAPinst ORACLE KERNEL\DDLORA.TPL.
INFO 2008-02-17 13:04:29
Copying file system node C:\sap-source\exp1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
INFO 2008-02-17 13:04:29
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2008-02-17 13:04:29
Moving file D:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
INFO 2008-02-17 13:04:29
Moving file D:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
INFO 2008-02-17 13:04:29
Removing file D:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
INFO 2008-02-17 13:05:14
Package table created
PHASE 2008-02-17 13:05:49
SAP R/3 Enterprise 4.70 for Oracle
PHASE 2008-02-17 13:05:49
SAP Web Application Server
PHASE 2008-02-17 13:05:49
Request common parameters of SAP System
PHASE 2008-02-17 13:05:49
Create operating system accounts
INFO 2008-02-17 13:05:50
Copying file D:/SAPinst ORACLE KERNEL/keydb.xml to: D:/SAPinst ORACLE KERNEL/keydb.1.xml.
INFO 2008-02-17 13:05:50
Creating file D:\SAPinst ORACLE KERNEL\keydb.1.xml.
INFO 2008-02-17 13:05:51
Copying file D:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.xml to: D:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.1.xml.
INFO 2008-02-17 13:05:51
Creating file D:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.1.xml.
INFO 2008-02-17 13:05:51
Copying file D:/SAPinst ORACLE KERNEL/DBSIZE.XML to: D:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
INFO 2008-02-17 13:05:51
Creating file D:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
INFO 2008-02-17 13:05:51
Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1004 ACCOUNTNAME=nainesh\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2008-02-17 13:05:51
Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1005 ACCOUNTNAME=nainesh\SAP_O02_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2008-02-17 13:05:51
Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1006 ACCOUNTNAME=nainesh\SAP_O02_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2008-02-17 13:05:51
Changing account ACCOUNTID=S-1-5-21-1993962763-1454471165-725345543-1007 ACCOUNTNAME=ORA_O02_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2008-02-17 13:07:20
File system node D:\oracle\O02/sapdata2\roll_1 exists already. Nothing to do.
INFO 2008-02-17 13:07:20
File system node D:\oracle\O02/sapdata3\temp_1 exists already. Nothing to do.
INFO 2008-02-17 13:07:20
File system node D:\oracle\O02/sapdata1\system_1 exists already. Nothing to do.
INFO 2008-02-17 13:07:20
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2008-02-17 13:07:20
Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
INFO 2008-02-17 13:07:21
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2008-02-17 13:07:22
Removing file D:/ORACLE/O02/917/database/initO02.ora.bak.
INFO 2008-02-17 13:07:22
Moving file D:/ORACLE/O02/917/database/initO02.ora to: D:\ORACLE\O02\917/database/initO02.ora.bak.
INFO 2008-02-17 13:07:22
Creating file D:\ORACLE\O02\917\database\initO02.ora.
INFO 2008-02-17 13:07:24
Removing file D:/ORACLE/O02/917/database/initO02.sap.bak.
INFO 2008-02-17 13:07:24
Moving file D:/ORACLE/O02/917/database/initO02.sap to: D:\ORACLE\O02\917/database/initO02.sap.bak.
INFO 2008-02-17 13:07:24
Creating file D:\ORACLE\O02\917\database\initO02.sap.
INFO 2008-02-17 13:07:26
Removing file D:/ORACLE/O02/917/database/initO02.dba.bak.
INFO 2008-02-17 13:07:26
Moving file D:/ORACLE/O02/917/database/initO02.dba to: D:\ORACLE\O02\917/database/initO02.dba.bak.
INFO 2008-02-17 13:07:26
Copying file E:/NT/COMMON/INSTALL/INITSID.DBA to: D:\ORACLE\O02\917/database/initO02.dba.
INFO 2008-02-17 13:07:26
Creating file D:\ORACLE\O02\917\database\initO02.dba.
INFO 2008-02-17 13:07:27
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02_1/o02.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02_2/o02.data2.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02_3/o02.data3.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02_4/o02.data4.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02_5/o02.data5.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02_6/o02.data6.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02_7/o02.data7.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02_8/o02.data8.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02620_1/o02620.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02620_2/o02620.data2.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02620_3/o02620.data3.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02620_4/o02620.data4.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02620_5/o02620.data5.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02620_6/o02620.data6.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02620_7/o02620.data7.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02620_8/o02620.data8.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02620_9/o02620.data9.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02620_10/o02620.data10.
INFO 2008-02-17 13:07:20
File system node D:\oracle\O02/sapdata2\roll_1 exists already. Nothing to do.
INFO 2008-02-17 13:07:20
File system node D:\oracle\O02/sapdata3\temp_1 exists already. Nothing to do.
INFO 2008-02-17 13:07:20
File system node D:\oracle\O02/sapdata1\system_1 exists already. Nothing to do.
INFO 2008-02-17 13:07:20
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2008-02-17 13:07:20
Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
INFO 2008-02-17 13:07:21
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2008-02-17 13:07:22
Removing file D:/ORACLE/O02/917/database/initO02.ora.bak.
INFO 2008-02-17 13:07:22
Moving file D:/ORACLE/O02/917/database/initO02.ora to: D:\ORACLE\O02\917/database/initO02.ora.bak.
INFO 2008-02-17 13:07:22
Creating file D:\ORACLE\O02\917\database\initO02.ora.
INFO 2008-02-17 13:07:24
Removing file D:/ORACLE/O02/917/database/initO02.sap.bak.
INFO 2008-02-17 13:07:24
Moving file D:/ORACLE/O02/917/database/initO02.sap to: D:\ORACLE\O02\917/database/initO02.sap.bak.
INFO 2008-02-17 13:07:24
Creating file D:\ORACLE\O02\917\database\initO02.sap.
INFO 2008-02-17 13:07:26
Removing file D:/ORACLE/O02/917/database/initO02.dba.bak.
INFO 2008-02-17 13:07:26
Moving file D:/ORACLE/O02/917/database/initO02.dba to: D:\ORACLE\O02\917/database/initO02.dba.bak.
INFO 2008-02-17 13:07:26
Copying file E:/NT/COMMON/INSTALL/INITSID.DBA to: D:\ORACLE\O02\917/database/initO02.dba.
INFO 2008-02-17 13:07:26
Creating file D:\ORACLE\O02\917\database\initO02.dba.
INFO 2008-02-17 13:07:27
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02_1/o02.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02_2/o02.data2.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02_3/o02.data3.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02_4/o02.data4.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02_5/o02.data5.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02_6/o02.data6.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02_7/o02.data7.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02_8/o02.data8.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02620_1/o02620.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02620_2/o02620.data2.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/o02620_3/o02620.data3.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02620_4/o02620.data4.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/o02620_5/o02620.data5.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02620_6/o02620.data6.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/o02620_7/o02620.data7.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02620_8/o02620.data8.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02620_9/o02620.data9.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02620_10/o02620.data10.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata4/o02usr_1/o02usr.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata2/roll_1/roll.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata3/temp_1/temp.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/system_1/system.data1.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/sapdata1/cntrl/cntrlO02.dbf.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/saparch/cntrl/cntrlO02.dbf.
INFO 2008-02-17 13:07:36
Removing file D:/oracle/O02/origlogA/cntrl/cntrlO02.dbf.
INFO 2008-02-17 13:07:37
Moving file D:/ORACLE/O02/917/database/initO02.ora to: orig_init_ora_tmp.txt.
INFO 2008-02-17 13:07:37
Moving file D:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\ORACLE\O02\917\database\initO02.ora.
INFO 2008-02-17 13:07:37
Removing file D:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2008-02-17 13:07:38
Creating file D:\SAPinst ORACLE KERNEL\oradim.log.
INFO 2008-02-17 13:07:38
See 'D:\ORACLE\O02\917/bin/oradim -new -sid O02 -STARTMODE auto' output in 'D:\SAPinst ORACLE KERNEL\oradim.log'.
INFO 2008-02-17 13:07:38
'D:\ORACLE\O02\917/bin/oradim -new -sid O02 -STARTMODE auto' returned with '20'.
INFO 2008-02-17 13:07:39
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:07:40
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:07:49
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:08:35
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:08:39
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:09:44
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:09:49
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:14:33
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:14:38
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:14:40
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:14:41
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:14:42
Moving file D:/ORACLE/O02/917/database/initO02.ora to: orig_init_ora_tmp.txt.
INFO 2008-02-17 13:14:42
Moving file D:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\ORACLE\O02\917\database\initO02.ora.
INFO 2008-02-17 13:14:42
Removing file D:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2008-02-17 13:14:43
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:14:43
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:15:58
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:15:59
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:17:11
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:17:12
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:18:24
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:18:25
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:19:03
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:19:04
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:20:15
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:20:16
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:21:29
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:21:30
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:22:43
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:22:44
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:23:58
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:23:58
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:25:11
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:25:12
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:26:32
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:26:35
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:27:17
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:27:20
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:28:32
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:28:35
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:29:46
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:29:49
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:31:02
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:31:05
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:32:16
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:32:19
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:33:31
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:33:34
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:34:46
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:34:46
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:00
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:01
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:04
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:05
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:31
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:32
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:44
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:45
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:46
Moving file D:/ORACLE/O02/917/database/initO02.ora to: orig_init_ora_tmp.txt.
INFO 2008-02-17 13:36:46
Moving file D:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\ORACLE\O02\917\database\initO02.ora.
INFO 2008-02-17 13:36:46
Removing file D:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2008-02-17 13:36:47
Creating file D:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2008-02-17 13:36:50
See 'D:\ORACLE\O02\917/bin/lsnrctl stat' output in 'D:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2008-02-17 13:36:50
'D:\ORACLE\O02\917/bin/lsnrctl stat' returned with '3'.
INFO 2008-02-17 13:36:50
Creating file D:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2008-02-17 13:36:51
See 'D:\ORACLE\O02\917/bin/lsnrctl start' output in 'D:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2008-02-17 13:36:51
'D:\ORACLE\O02\917/bin/lsnrctl start' returned with '0'.
INFO 2008-02-17 13:36:56
Copying file E:/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2008-02-17 13:36:56
Creating file D:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2008-02-17 13:36:57
Changed working directory to D:\SAPinst ORACLE KERNEL.
INFO 2008-02-17 13:36:57
Changed working directory to D:\SAPinst ORACLE KERNEL.
ERROR 2008-02-17 13:37:02
CJS-00084 SQL Statement or Script failed. Error Message: Executable D:\ORACLE\O02\917/bin/sqlplus.exe returns 3.
ERROR 2008-02-17 13:37:02
FJS-00012 Error when executing script.
in this Oracle PreLoad Action my installation is stoped..
Help me to Complete it.. -
CJS-00084 SQL Statement or Script failed. Error Message: Executable
Hello
Hello
I am facing one problem at the time of installing 4.7 IDES can you please guide me on that. Do I need to reinstall system ageing or it can be sort it out in this stage.
ERROR AT THE TIME OF INSTALLING SAP 4.7 IDES ARE
1. CJS-00084 SQL Statement or Script failed. Error Message: Executable
C:\oracle\ora92/bin/sqlplus.exe returns 3.
2. FJS-00012 Error when executing script.
Complete error log :--
INFO 2000-06-15 20:56:57
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
INFO 2000-06-15 20:56:57
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2000-06-15 20:56:57
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
INFO 2000-06-15 20:56:58
Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 20:57:00
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 20:57:00
FJS-00012 Error when executing script.
INFO 2000-06-15 20:56:57
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
INFO 2000-06-15 20:56:57
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2000-06-15 20:56:57
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2000-06-15 20:56:58
See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2000-06-15 20:56:58
'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
INFO 2000-06-15 20:56:58
Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2000-06-15 20:56:58
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 20:56:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 20:57:00
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 20:57:00
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:29
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:29
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:37
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:37
FJS-00012 Error when executing script.
INFO 2000-06-15 21:04:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:04:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:04:51
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:04:51
FJS-00012 Error when executing script.
WARNING 2000-06-15 21:07:00
Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (276), with parameter (C:\oracle\ora92/bin/sqlplus.exe /NOLOG @ora_scr_tmp.sql).
ERROR 2000-06-15 21:07:00
MDB-06029 Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
ERROR 2000-06-15 21:07:00
MDB-06030 A call to the system library failed. System error message: [No such file or directory].
ERROR 2000-06-15 21:07:00
MUT-02011 Internal error: A call to syslib failed. System error message: No such file or directory.
ERROR 2000-06-15 21:07:00
FJS-00012 Error when executing script.
WARNING 2000-06-15 21:11:52
Error 1326 (Logon failure: unknown user name or bad password.
) in execution of a 'LogonUser' function, line (537), with parameter (SAPTRANSHOST\godadm).
ERROR 2000-06-15 21:11:52
MDB-06029 Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
ERROR 2000-06-15 21:11:52
MDB-06030 A call to the system library failed. System error message: [Unknown error].
ERROR 2000-06-15 21:11:52
MUT-02011 Internal error: A call to syslib failed. System error message: Unknown error.
ERROR 2000-06-15 21:11:52
FJS-00012 Error when executing script.
INFO 2000-06-15 21:11:53
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:11:54
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:11:54
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:11:54
FJS-00012 Error when executing script.
INFO 2000-06-15 21:13:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-15 21:13:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-15 21:13:42
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-15 21:13:42
FJS-00012 Error when executing script.
INFO 2000-06-16 02:00:06
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:00:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:00:07
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:00:07
FJS-00012 Error when executing script.
INFO 2000-06-16 02:08:16
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:08:16
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:08:18
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:08:18
FJS-00012 Error when executing script.
INFO 2000-06-16 02:09:48
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:09:49
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:09:49
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:09:49
FJS-00012 Error when executing script.
INFO 2000-06-16 02:14:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2000-06-16 02:14:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2000-06-16 02:14:33
CJS-00084 SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
ERROR 2000-06-16 02:14:33
FJS-00012 Error when executing script.> WARNING 2000-06-15 21:07:00
> Error 2 (The system cannot find the file specified.
> ) in execution of a 'CreateProcess' function, line
> (276), with parameter
> (C:\oracle\ora92/bin/sqlplus.exe /NOLOG
> @ora_scr_tmp.sql).
> ERROR 2000-06-15 21:07:00
> MDB-06029 Caught exception while trying to start
> script executing application:
> [C:\oracle\ora92/bin/sqlplus.exe].
> ERROR 2000-06-15 21:07:00
> MDB-06030 A call to the system library failed.
> System error message: [No such file or directory].
> ERROR 2000-06-15 21:07:00
> MUT-02011 Internal error: A call to syslib failed.
> System error message: No such file or directory.
> ERROR 2000-06-15 21:07:00
> FJS-00012 Error when executing script.
> WARNING 2000-06-15 21:11:52
> Error 1326 (Logon failure: unknown user name or bad
> password.
> ) in execution of a 'LogonUser' function, line (537),
> with parameter (SAPTRANSHOST\godadm).
> ERROR 2000-06-15 21:11:52
> MDB-06029 Caught exception while trying to start
> script executing application:
> [C:\oracle\ora92/bin/sqlplus.exe].
is that file there (sqlplus)?
as which user are you installing?
Markus -
Gettng Error while executing the procedure(oracle 10.2.0.3.0)
Hi all,
I am getting following error While executing the package .
PLS-00103: Encountered the symbol "Truncate" when expecting one of
the following:
* & = - + ; < / > at in is mod remainder not rem return
returning <an exponent (**)> <> or != or ~= >= <= <> and or
like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk
member SUBMULTISET_I have written follwing query in the package body.
EXECUTE IMMEDIATE 'TRUNCATE TABLE FORT ';
EXECUTE IMMEDIATE '
INSERT INTO FORT (CID,CODE,DESC,SCODE,SES,T_DT,SDN,LANG)
SELECT
SERVICES.CID CID,
PROFILE.FUCODE CODE,
TO_DATE(SUBSTR(SERVICES.STAT_CHNG,-7,6),'YYMMDD') T_DT,
PHOR.NUM SDN,
C_ALL.cLANGUAGE LANG
FROM
SERVICES .....Please give me the solution for this .
Thank y ou
Edited by: user636482 on Apr 10, 2009 1:08 AMI am getting following errors if I gave " ' " after not null.
LINE/COL ERROR
42/8 PLS-00103: Encountered the symbol "AND" when expecting one of the
following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-identifier>
<a bind variable> << close current delete fetch lock insert
open rollback savepoint set sql execute commit forall merge
pipe
42/56 PLS-00103: Encountered the symbol "A" when expecting one of the
following:
LINE/COL ERROR
) , * & | = - + < / > at in is mod remainder not rem => ..
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
The symbol ", was inserted before "A" to continue.
42/74 PLS-00103: Encountered the symbol "D" when expecting one of the
following:
* & - + ; / at mod remainder rem return returning
<an exponent (**)> and or || multiset
The symbol "* was inserted before "D" to continue.
LINE/COL ERROR
45/6 PLS-00103: Encountered the symbol "COMMIT"
52/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:
end not pragma final instantiable order overriding static
member constructor map
The symbol "static" was substituted for "PROCEDURE" to continue.
85/8 PLS-00103: Encountered the symbol "AND" when expecting one of the
following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
LINE/COL ERROR
<an identifier> <a double-quoted delimited-identifier>
<a bind variable> << close current delete fetch lock insert
open rollback savepoint set sql execute commit forall merge
pipe
85/56 PLS-00103: Encountered the symbol "A" when expecting one of the
following:
) , * & | = - + < / > at in is mod remainder not rem => ..
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
The symbol ", was inserted before "A" to continue.
LINE/COL ERROR
85/74 PLS-00103: Encountered the symbol "D" when expecting one of the
following:
* & - + ; / at mod remainder rem return returning
<an exponent (**)> and or || multiset
The symbol "* was inserted before "D" to continue.
88/8 PLS-00103: Encountered the symbol "COMMIT"
95/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:
end not pragma final instantiable order overriding static
LINE/COL ERROR
member constructor map
The symbol "static" was substituted for "PROCEDURE" to continue.
133/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:
end not pragma final instantiable order overriding static
member constructor map
The symbol "static" was substituted for "PROCEDURE" to continue.
169/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:with out adding " ' " I am getting the previous error which I mentioned in Previous thread(TRUNCATE)
Thank you -
Fatal Error and NullPointerException in Oracle XML Transformer
Hi,
I'm building a dom tree in memory with oracle xml parser. Then I transform the dom document into a string to send xml to the client. But I get an fatal error on calling transform.
I don't know what could be the problem, because apache and weblogic parser works, an when I create a dom document with org.w3c.dom elements and statements then the xml document can't be invalid,
because the document implementation would throw an exception if wrong nodes or something like this should be inserted...
I'm using oracle xml parser 9.2.0.4 for java, bea weblogic 7.0 and win2k.
Thanks for help.
XSL-1900: (Fatal Error) An internal error condition occurred.
javax.xml.transform.TransformerException: XSL-1900: (Fatal Error) An internal error condition occurred.
at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:681)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:309)
java.lang.NullPointerException
at oracle.xml.parser.v2.XSLSAXPrintDriver.printAttributes(XSLSAXPrintDriver.java:394)
at oracle.xml.parser.v2.XSLSAXPrintDriver.startElement(XSLSAXPrintDriver.java:322)
at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:993)
at oracle.xml.parser.v2.XMLNode.reportChildSAXEvents(XMLNode.java:1014)
at oracle.xml.parser.v2.XMLDocument.reportSAXEvents(XMLDocument.java:942)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:294)Hi,
I'm having that problem to:
I'm getting the following exception
javax.xml.transform.TransformerException: XSL-1900: (Fatal Error) An internal error condition occurred.
at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:723)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:340)
at com.ac.mqif.control.Handler.handleLong(Handler.java:835)
at com.ac.mqif.control.Handler.run(Handler.java:951)
Caused by: java.lang.NullPointerException
at oracle.xml.parser.v2.XPathStep.getSelectedNodes(XPathStep.java:380)
at oracle.xml.parser.v2.PathExpr.getValue(XSLNodeSetExpr.java:483)
at oracle.xml.parser.v2.XSLExprBase.getStringValue(XSLExprBase.java:363)
at oracle.xml.parser.v2.XSLValueOf.processAction(XSLValueOf.java:99)
at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:367)
at oracle.xml.parser.v2.XSLTemplate.processAction(XSLTemplate.java:199)
at oracle.xml.parser.v2.XSLApplyTemplates.processAction(XSLApplyTemplates.java:214)
at oracle.xml.parser.v2.XSLApplyTemplates.processAction(XSLApplyTemplates.java:207)
at oracle.xml.parser.v2.XSLApplyTemplates.processAction(XSLApplyTemplates.java:207)
at oracle.xml.parser.v2.XSLApplyTemplates.processAction(XSLApplyTemplates.java:120)
at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:367)
at oracle.xml.parser.v2.XSLTemplate.processAction(XSLTemplate.java:199)
at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:471)
at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:448)
at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:246)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:327)
... 2 more
when using a stylesheet which has a template match condition of more than 1600 characters.
The second thing is that the Oracle XML transformer is
NOT threadsafe. I was using several threads using different templates to transform an incoming XML simultaneously but was ALWAYS getting internal XSL errors
and Nullpointer Exceptions. I solved this by synchronizing the transformation, but I don't like it.
I'm using the following versions on Windows XP:
Oracle IDE: 9.0.3.10.35
Business Components Version: 9.0.3.10.7
SCM Support Version: 9.0.3.9.4
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Thanx,
Ellcrys -
How To Execute an Oracle 10g SProc using VS 2005, for Reporting Services
Good day! :-)
Anybody who knows the syntax for executing an Oracle Stored Proc thru ODBC connection using VS 2005 for Reporting Services? I am having a problem about this.
I am using the ODBC connection because VS 2005 does not support Oracle Database 10g in its Oracle Database Connection feature (only 7.3, 8i, and 9i), that's y.
While using MS SQL Server 2000, I never encountered any problem. But using Oracle Database 10g, I find it hard to call the stored procedures, an error is generated everytime.
Please click the link below for the screenshots:
http://www.geocities.com/vrcode2/oraError.JPG
http://www.geocities.com/vrcode2/storedProc.JPG
Please help...thank you so much.
FrancisI'll give you updates about the use of the MS SQL Server Reporting Services with VS 2005 and Oracle, this might be helpful for those who will encounter this same ctuation in the future.
I have discovered that if you're going to connect thru ODBC, even if the connection is successful, the user is still prompted to input a password, which should not be the case when using the Reporting Services. Another thing to take note is the issue about REF CURSOR, we're going to have problems with this. And also the syntax on how you're going to call the stored procedures (with or without input parameters).
With modifications made through Oracle Net Manager, and I tried AGAIN connecting through "Oracle (client)" feature of VS 2005 (even if the list only include Oracle 7.3, 8i, and 9i that are supported) with some changes also, you'd still be able to generate correct data with that solution. If the configuration is correct, you just need to call the stored procedure (with or without input parameter), you won't have any problems about the correct syntax.
I suppose VS 2005 was released earlier than Oracle 10g, that's why 10g wasn't included If ever u'd encounter the same ctuation like mine, and u need the details on how to connect, do not hesitate to ask me. -
Hello All,
I am writing this simple program which connects to Oracle DB ( 10.2 ). The Java version I have is 1.5.0_13 . I do have oracle client installed. When I run the below code ...I get error
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at OraThin.main(OraThin.java:13)The code I have is :
import java.io.*;
import java.sql.*;
public class OraThin {
public static void main(String[] args) {
try {
System.out.println(System.getProperty ("java.class.path") );
Connection con=null;
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection(
"jdbc:oracle:thin:@hostname:15282:ServiceName",
"scott",
"tiger");
Statement s=con.createStatement();
s.execute("SELECT SYSDATE FROM DUAL");
s.close();
con.close();
} catch(Exception e){e.printStackTrace();}
} Please suggest as to what am I missing, I am not that well versed with Java.
Thanks in advance,
SamHello Paul,
Thanks for you suggestion. Based on it , I did add the exact jar file in the PATH environmental variable in XP.
Path=C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\oraclexe\a
pp\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Ora
cle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\
client;C:\j2sdk1.4.2_06\bin;Even after adding the specific jar file *("C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar")* ..I am getting the exact same error. moreover, to verify this I also tried to import import oracle.jdbc.driver.*.....and now my code would not even complie and I get error *(c:\Program Files\Java\jdk1.5.0_13\bin\OraThin.java:3: package oracle.jdbc.driver*
does not exist ) . I also rebooted my machine just to make sure ...that didnt work either. Also, I changed these jar to be first in the PATH varibale ..to avoid conflict with any later .jar's classes. The code is :
import java.io.*;
import java.sql.*;
import oracle.jdbc.driver.*;
public class OraThin {
public static void main(String[] args) {
try {
System.out.println(System.getProperty ("java.class.path") );
Connection con=null;
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection(
"jdbc:oracle:thin:@hostname:15282:ServiceName",
"scott",
"tiger");
Statement s=con.createStatement();
s.execute("SELECT SYSDATE FROM DUAL");
s.close();
con.close();
} catch(Exception e){e.printStackTrace();}
}What am I missing here!! ?
Thanks again,
Sam -
Error Deploying a bean Oracle 8i release 2
I cant seem to deploy my EJBBean,
I have not used Oracle before, and have no clue how to proceed.
The error I get when I use deployejb is
D:\Oracle\tmp>deployejb -verbose -user System -password manager -service sess_iiop://localhost:1521:ORCL -descriptor d:/oracle/tmp/meta-inf/ejb-jar.xml -temp d:/oracle/tmp com_optima_agents.jar
Exception in thread "main" org.omg.CORBA.COMM_FAILURE: java.io.IOException: Peer disconnected socket minor code: 0 completed: No
at com.visigenic.vbroker.orb.TcpConnection.read(TcpConnection.java, Compiled Code)
at com.visigenic.vbroker.orb.GiopConnectionImpl.receive_message(GiopConnectionImpl.java:436)
at com.visigenic.vbroker.orb.GiopConnectionImpl.receive_reply(GiopConnectionImpl.java, Compiled Code)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(GiopStubDelegate.java:538)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(GiopStubDelegate.java:479)
at com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:60)
at org.omg.CORBA._st_InitialReferences.get(_st_InitialReferences.java:32)
at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:534)
at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:35)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:128)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(ServiceCtx.java:306)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession(ToolImpl.java:100)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(ToolImpl.java, Compiled Code)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:118)
at oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:496)
nullWhat do you see on the trace log file on your udump directory? If you see a similar message as this:
*** SESSION ID:(7.1) 2000-12-05 10:20:43.648
Error in executing triggers on database startup
*** 2000-12-05 10:20:43.679
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-29540: class oracle/aurora/rdbms/Server does not exist
ORA-06512: at "SYSTEM.DBMS_JAVA", line 0
ORA-06512: at line 2
You will need to run initjvm.sql. It works for me.
null -
Error in Cursors in Oracle 10g
We have a VB program that is running a procedure with a cursor like this:
cursor cleo is select * from tabla1 where campo1='valor1';
leer cleo%rowtype;
begin
open cleo;
loop
fetch cleo into leer;
exit when cleo%notfound;
end loop;
close cleo;
end
Then return rows that not are part of the set given by the select statement.
The problem is given randomly when running the VB program, instead if run the same statement in sqlplus it works fine.
The program works fine against an Oracle 8 database, the error appears against an Oracle 10g database
nullthe code to execute is:
create or replace procedure cpc_jz_aux (dirname varchar2, plan varchar2, error out varchar2) is
file_write sys.utl_file.file_type;
cursor cleo is select *
from oper.plan_hidro_et_per_cpcs
where id_plan = plan
and id_etapa = 1 order by id_hidro,id_per;
leer cleo%rowtype;
BEGIN
error:=NULL;
if sys.utl_file.is_open(file_write) then
sys.utl_file.fclose(file_write);
end if;
file_write := sys.utl_file.fopen(dirname,'cpc_jt3.dat','w');
open cleo;
loop
fetch cleo into leer;
exit when cleo%notfound;
sys.utl_file.put_line(file_write,leer.id_hidro||','||leer.id_per||','||
nvl(leer.ymin,0)||','||nvl(leer.ymax,0)||','||nvl(leer.zmin,0)||
','||nvl(leer.zmax,0));
end loop;
close cleo;
sys.utl_file.fclose(file_write);
exception
when others then
dbms_output.put_line('error:'||sqlcode||' '||sqlerrm);
error := sqlerrm;
if sys.utl_file.is_open(file_write) then
sys.utl_file.fclose(file_write);
end if;
raise;
end cpc_jz_aux;
Message was edited by:
jpastro -
How is sql query executed in oracle
Hi,
I want to know how is sql executed in oracle engine.
Please provide me the link or the document.
For eg: SQL>select * from emp;
how the execution happens from beginning till end.>
I want to know how is sql executed in oracle engine.
Please provide me the link or the document.
For eg: SQL>select * from emp;
how the execution happens from beginning till end.If you are interested in databases in general (and for your
edification) you might want to look at the books below.
http://www.amazon.com/Fundamentals-Database-Systems-Ramez-Elmasri/dp/0321122267
http://infolab.stanford.edu/~ullman/dscb.html
Also, for Oracle, look at Tom Kyte (Expert Database Architecture) and to really
get down and dirty look at Jonathan Lewis's book "Cost Based Oracle". Books
on the Oracle Wait Interface (e.g. http://www.amazon.com/Oracle-Wait-Interface-Performance
-Diagnostics/dp/007222729X/ref=sr_1_1?s=books&ie=UTF8&qid=1317990537&sr=1-1 (link wraps).
It's a massive field. Good luck.
Paul... -
Executing an oracle stored procedure in xMII 11.5
Dear all,
I am facing problem executing an oracle stored procedure using sql query in MII. The SP does not have any input or output parameters & consists of only 2 insert statements. I tried to use Command Mode, FixedQuery & FixedQuery With output mode, but the SP doesn't run.
This is the error i get when i use :
execute InsertTest or exec InsertTest - A SQL Error has occurred on query, ORA-00900: invalid SQL statement
I read in one of the posts to use 'CALL' instead of 'exec' or 'execute'. Even with this i get error which states:
A SQL Error has occurred on query, ORA-06576: not a valid function or procedure name
The syntax i used is CALL InsertTest - 'InsertTest' is the SP name.
I also checked Sam's comment in one of the posts about jdbc driver. We are using oracle 9i, so i guess there is no problem with the version of DB.
The stored procedure is working fine in SQL Developer, How else can i invoke the SP in MII?
Any help would be greatly appreciated.
Thanks,
Sushma.Hi all,
for insert create procedure
CREATE PROCEDURE MII_TEST_INSUPD
(ID_IN IN NUMBER,
NAME_IN IN VARCHAR2)
IS
BEGIN
-- UPDATE ROW
UPDATE TEST SET
NAME = NAME_IN
WHERE
ID = ID_IN;
-- NOT RETURN INSERT NEW LINE IN TABLE
IF SQL%ROWCOUNT = 0 THEN
INSERT INTO TEST (ID, NAME) VALUES (ID_IN, NAME_IN);
END IF;
END;
In MII you create a query template
Mode - Command
FixedQuery - insert the code below
CALL MII_TEST_INSUPD ([Param.1],'[Param.2]')
for returns the grid using procedures in oracle you need create a package on oracle server
CREATE PACKAGE PKG_test IS
TYPE cursortype is ref cursor;
PROCEDURE test (mycursor in out cursortype);
END PKG_test;
CREATE PACKAGE BODY PKG_test IS
PROCEDURE test (mycursor in out cursortype) AS
BEGIN
open mycursor for select * from test;
END;
END PKG_test;
In MII you create a query template
Mode - FixedQueryWithOutput
FixedQuery - insert the code below
CALL PKG_TEST.TEST(?)
Danilo
Maybe you are looking for
-
How to get Report Data of bigger Memory through BI PublicReportService
Hi all, I am trying to get a BI Report which contains large chunks of data , more than 15 MB of data through a Composite . I have created a Composite and using /xmlpserver/services/PublicReportService?wsdl">https://<hostname>/xmlpserver/services/Publ
-
pleassse help im locked out of my ipad2 it tells me to connect to itunes but when i do itunes tells me i need my passcode and it wont let me get into my ipad how can i restore my ipad without having to connect to itunes is there another way
-
IBooks Author 2.2 for Lion
Is there any patch to be able to use iBooks Author 2.2 for Lion? Anyone tried to install? I saw a 'warning' that my version (2.1.3) is going to be outdated. That would be very inconvenient because I can't buy a Mac just because of iBooks Author is no
-
Tabbing through a form with multiple pages!!!!! FIX!!
Hi everyone, I have a fix for this tricky issue of tabbing through a form that has multiple pages. 1. You'll need to go to the "master page" and add as many pages as you have "body pages". 2. Click the Object Veiw Tab and set the Occurence of the pag
-
Stabilization not showing in some clips
Hi Is there a reason the Stabilization checkbox and settings aren't available in some clips? EDIT: Ah, I see it's in a Synced clip, but how do I stabilize without doing the whole clip, which it's just a short excerpt from? best elmer