ExecuteUpdate error
Hi
Im having a stupid little error and cant see what it is that is causing it. Im trying to set up an admin to allow user to update values in the DB of an application. However, I was using the executeQuery statement and getting the NoResultSet found error.
I then realised I needed the executeUpdate(). I tried it but getting the following error:
DisplayQueryResults.java [178:1] incompatible types
found : int
required: java.sql.ResultSet
resultSet = statement.executeUpdate( query );
^
Here is the valid piece of code!
private void updateTable(int num, double rate) {
try {
String query = "UPDATE Banks SET Rate = " + rate + " WHERE Id = " + num + "";
statement = connection.createStatement();
resultSet = statement.executeUpdate( query );
displayResultSet( resultSet );
catch ( SQLException sqlex ) {
sqlex.printStackTrace();
JOptionPane.showMessageDialog(null, "Invalid SQL statement, Please try again");
}Anyone have any ideas?
Hi thanx for your input,
However Im still getting that No ResultSet was produced. It updates the DB alright, but throws that error.
Heres the code as it stands...am I doing as you say?
private void updateTable(int num, double rate) {
try {
// Create an updatable result set
Statement stmt = connection.createStatement(
ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
ResultSet resultSet = stmt.executeQuery("UPDATE Banks SET Rate = " + rate + " WHERE Id = " + num + "");
// Move cursor to the row to update
resultSet.first();
resultSet.updateDouble(6, rate);
// Update the row; if auto-commit is enabled, update is committed
resultSet.updateRow();
displayResultSet(resultSet);
catch (SQLException e) { e.printStackTrace(); }
}
Similar Messages
-
ExecuteUpdate error with mysql
Dear All:
i have a wierd error right here, the code is working correctly for the first call to this jsp page but the error come out when second call to this page. the field was update wrongly, credit=credit-1 become credit=credit-2 and Point=Point+1 become Point=Point+2.
I am using the mysql and tomcat
<%
String a1="update studentdetail Set credit=credit-1 where UserID = '"+UserID+"'";//deduct from student
a=statement.executeUpdate(a1);
out.println(a1+" "+a);
String a2="update teacherinfo Set Point=Point+1 where TeacherID = '"+tID+"'";//add into teacherinfo table
a=statement.executeUpdate(a2);
out.println(a2+" "+a);
String a3="update teachersubcription Set Point=Point+1 where ID = '"+myID+"'";//add into teacher subcription table
a=statement.executeUpdate(a3);
out.println(a3+" "+a);
%>
please helpIt's hard to tell from the code you provided, but it sounds like a classic case of not reinitializing variables. Depending on where this code lives and how it gets used, you'll update your database with credit-1 and that credit-1 value which now lives in your DB must be finding it's way back into the credit variable. Check everyplace you set that variable and everyplace you read the DB and I'll bet you find your answer.
Cheers -
How can I insert a row into a table with the foreign key of column ID?
The foreign key link to other unique key of other table.
My code:
Long id = 43850943l;
PreparedStatement persInfUpdate = con.prepareStatement("INSERT INTO PersonalInfo (ID, FirstName, SecondName, Age, GenderMale, Married) VALUES (?, ?, ?, ?, ?, ?)");
persInfUpdate.setLong(1, id);
persInfUpdate.setString(2, personalInfo.getFirstName());
persInfUpdate.setString(3, personalInfo.getLastName());
persInfUpdate.setInt(4, personalInfo.getAge());
persInfUpdate.setBoolean(5, personalInfo.isGenderMale());
persInfUpdate.setBoolean(6, personalInfo.isMarried());
persInfUpdate.executeUpdate();
Error:
INSERT on table 'PERSONALINFO' caused a violation of foreign key constraint 'F1_KEY' for key (0). The statement has been rolled back.The foreign key must already exist before you can do update.
Jamie -
Calling oracle Function from java
first of all ... i don't know english very vell and sorry about it ..... then ...
i've created table in oracle :
create table STUDENT
ID NUMBER,
NAME VARCHAR2(50),
SURNAME VARCHAR2(50),
AGE NUMBER
and than i've wrote function like that :
create or replace function sf_SearchStudent
nID in number
return MyPackage.CursorType is
Result MyPackage.CursorType;
begin
open Result for select * from STUDENT where ID=nID;
return Result;
end sf_SearchStudent;
and it's working fine but in java i wrote code like that :
CallableStatement callst = conn.prepareCall("{?=call sf_SearchStudent(?,?,?,?)}");
callst.registerOutParameter(1, OracleTypes.CURSOR);
callst.setInt(1,id);
callst.setString(2,name);
callst.setString(3,surname);
callst.setInt(4,age);
callst.executeUpdate(); ------->>>>> ERROR Occur
ResultSet res = ((OracleCallableStatement)callst).getCursor(1);
while (res.next())
System.out.println(res.getInt("ID"));
System.out.println(res.getString("NAME"));
System.out.println(res.getString("SURNAME"));
System.out.println(res.getInt("AGE"));
but here is an error and i don't know why :( ....... please help me ..... F!
error type :
java.sql.SQLException: Missing IN or OUT parameter at index:: 5no it's not a problem ........ I so already tried, but a mistake all the same was. After that I a little bit simplified.
ok consequently i did oracle procedure like that :
create or replace function sf_SearchStudent
nID in number
return MyPackage.CursorType is
wCursor MyPackage.CursorType;
begin
open wCursor for Wselect;
return wCursor;
end sf_SearchStudent;
and the java source code looks like that :
CallableStatement callst = conn.prepareCall("{?=call sf_SearchStudent(?,?,?,?)}");
callst.registerOutParameter(1, OracleTypes.CURSOR);
callst.setString(1, name);
callst.executeUpdate(); ------------------>>>>>>>>>> HERE IS AN ERROR ------------<<<<<<<<<<<<
ResultSet res = ( (OracleCallableStatement) callst).getCursor(4);
while (res.next())
System.out.println(res.getInt("ID"));
System.out.println(res.getString("NAME"));
System.out.println(res.getString("SURNAME"));
System.out.println(res.getInt("AGE"));
error type :
java.sql.SQLException: Missing IN or OUT parameter at index:: 3 -
HELP: JBO-29000: java.lang.IllegalArgumentException
em.createQuery("update Planroleinfo o set o.planroleinfo=:planrole where o.planroleinfoid=:planroleid").setParameter("planroleid",planroleid).setParameter("planrole", planrole).executeUpdate();
Error:
1.JBO-29000: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager; nested exception is: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
2.java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager; nested exception is: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
Help me.Did you run out of memory assigned to the VM?
Maybe you should look at increasing it using the -Xmx option.
-SteveA -
Tomcat doesn't report which line is wrong,help,pls!!
when I use tomcat 4.0, it's can report which line is wrong, and also
ere forexample
^
you know , above ^ is where wrong. But when I update to tomcat 5.5, it's can't report exactly which line is wrong in jsp file! Yeah,it's still report someline is wrong, but when i check the jsp file, that's line has nothing. OK, then i change some code, but still report that line is wrong.
it's really drive me crazy. And no ^, tell me which part is wrong. I really don't want to setup tomcat 4.0 again, it's bad feeling.What should i do?OK.just example:
<%@ page import="java.sql.*" %>
<%
String connectionURL = "jdbc:mysql://localhost:3306/test";
Connection connection = null;
Statement statement = null;
%>
<html><body>
<%
Class.forName("com.mysql.jdbc.Driver").newInstance();
connection = DriverManager.getConnection(connectionURL, "root", "dirdir");
String sql;
  sql ="insert into pet(name,owner) values (?,?)";
  PreparedStatement ps=connection.prepareStatement(sql);
  ps.setString(1,"lei");
  ps.setString(2,"dog");
%>
<%
ResultSet rs = ps.executeQuery();
  int c = ps.executeUpdate();
%>
Error report:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 8 in the jsp file: /insert.jsp
Generated servlet error:
Syntax error on tokens, delete these tokens
An error occurred at line: 8 in the jsp file: /insert.jsp
Generated servlet error:
Syntax error on tokens, delete these tokens
An error occurred at line: 8 in the jsp file: /insert.jsp
Generated servlet error:
Syntax error on tokens, delete these tokens
An error occurred at line: 8 in the jsp file: /insert.jsp
Generated servlet error:
Syntax error on tokens, delete these tokens
An error occurred at line: 17 in the jsp file: /insert.jsp
Generated servlet error:
Syntax error on tokens, delete these tokens
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
i don't care what's error in the code, I just want to know why tomcat's error report doesn't tell me which line wrong exactly! And no "^" tell me which part is wrong. now report line number is the line where <% is. -
Error executeUpdate(String,int)
i try execute follow source and obtain error:
Exception in thread "main" java.lang.NoSuchMethodError
at ProbaInsertId.getKey(ProbaInsertId.java:54)
at ProbaInsertId.main(ProbaInsertId.java:19)
import java.util.*;
import java.io.*;
import java.sql.*;
public class ProbaInsertId
public static void main(String args[])
getKey();
public static void getKey(){
int key = 0;
String nume="zzz";
String prenume="fff";
try{
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
catch(Exception e) {
e.printStackTrace();
System.out.println("Eroare incarcare driver!\n" + e);
Connection conn = null;
try{
conn = DriverManager.getConnection( "jdbc:microsoft:sqlserver://mother:1433;DatabaseName=db", "mihai", "mihai");
String sqlQueryInsert = "INSERT INTO proba (nume, prenume) " +
"VALUES(nume, prenume)";
Statement sqlStatementInsert = conn.createStatement();
sqlStatementInsert.executeUpdate(sqlQueryInsert,sqlStatementInsert.RETURN_GENERATED_KEYS);
ResultSet rs = sqlStatementInsert.getGeneratedKeys();
if( rs.next() ){
key = rs.getInt(1);
System.out.println(key);
sqlStatementInsert.close();
conn.close();
catch(Exception e) {
e.printStackTrace();
System.out.println("Eroare select 2!\n" + e);Sounds like that JDBC driver doesn't support getting auto-generated keys. - MOD
-
Error While Running a page on JDeveloper
Hi All ,
I am getting the following error while running a page in Jdeveloper . Can any body help me?
(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier ; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862) at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getMultiSpecificProfileFromDB(ExtendedProfileStore.java:368) at oracle.apps.fnd.common.WebAppsContext.setProfileValues(WebAppsContext.java:4177) at oracle.apps.fnd.common.AppsContext.setDBEnv(AppsContext.java:3407) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2508) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976) at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:2494) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1304) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827) at oracle.apps.fnd.common.AppsContext.(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ">check your DBC file, we have discussed this issue in the forum, search for SERVERRESP_ENABLED_FLAG
-
I get the following error, but don't know why it can't find the file. Is there anything in this script that would call "\" instead of "/"? Is there any line of code that will switch a wayward "\" back?
01-09-24 09:37:02 - path="" :jsp: init
2001-09-24 09:43:42 - path="" :LoginServlet: init
2001-09-24 09:44:15 - path="" :CourseServlet: init
2001-09-24 09:46:48 - path="" :LessonServlet: init
2001-09-24 09:46:54 - path="" :Error: /usr/local/apache/sites/tesco.spinweb.net/htdocs/cmi/courses\Food Service/Intro/AU00.html (No such file or directory)
The script is below. Thanks for any help anyone can provide me.
import cmi.xml.AU;
import cmi.xml.Block;
import cmi.xml.CourseReader;
import cmi.xml.CSFElement;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServlet;
import org.jdom.JDOMException;
public class LessonServlet extends HttpServlet
public void init (ServletConfig config) throws ServletException
super.init (config);
try {
Class.forName (GlobalData.DatabaseDriverName);
_jdbcConnection = DriverManager.getConnection (GlobalData.DatabaseName, "tesco", "scorm");
_jdbcConnection.setAutoCommit (true);
//should I do this?
//_jdbcConnection.setAutoCommit (false);
//load serialized course data
loadCourseData();
catch (Exception xcp) {
xcp.printStackTrace();
getServletContext().log("Error: " + xcp.getMessage());
public void doGet( HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
boolean normalMode = true;
try {
HttpSession session = request.getSession (true);
//can I load the session given the id??
//System.out.println ("Lesson.valid session " + session.getId() + ": " + request.isRequestedSessionIdValid());
response.setContentType ("text/html");
JDBCHelper dbHelper = new JDBCHelper (_jdbcConnection);
//get student ID
Integer studentID = (Integer) session.getAttribute ("studentID");
//get course ID
Integer courseID = (Integer) session.getAttribute ("courseID");
//get lesson ID
String lessonID = request.getParameter ("lessonID");
if (lessonID == null) {
lessonID = (String) session.getAttribute ("lessonID");
if (studentID == null || courseID == null || lessonID == null) {
//reset session data by re-logging the user
sendProfileError (response.getOutputStream());
return;
//store lesson ID in session
session.setAttribute ("lessonID", lessonID);
String auID = request.getParameter ("auID");
String mode = request.getParameter ("mode");
if (mode != null) {
session.setAttribute ("mode", mode);
else {
mode = (String) session.getAttribute ("mode");
if (mode.equalsIgnoreCase ("review")) {
normalMode = false;
else {
normalMode = true;
//synchronize access to course hash table
synchronized (_courseHash)
//make sure _courseHash is in tact
if (_courseHash == null) {
//try reloading it....
loadCourseData();
if (_courseHash == null) {
//error
response.getOutputStream().close();
throw new IOException ("Corrupt course data");
if (! _courseHash.containsKey (courseID.toString())) {
//try reloading it....
loadCourseData();
if (! _courseHash.containsKey (courseID.toString())) {
//error
response.getOutputStream().close();
throw new IOException ("Corrupt course data (course not found)");
if (auID == null) {
//show course menu
Hashtable hash = (Hashtable) _courseHash.get (courseID.toString());
sendAvailableAUs (hash, studentID.intValue(), courseID.intValue(), lessonID, response.getOutputStream(), response, dbHelper);
return;
//if AU has not been attempted, initialize it
Integer auDataID = new Integer (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper));
//if (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper) == -1) {
if (auDataID.intValue() == -1) {
int newID = initializeAUData (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper);
dbHelper.addAUToPath (studentID.intValue(), courseID.intValue(), lessonID, auID);
auDataID = new Integer (newID);
session.setAttribute ("AUID", auID);
session.setAttribute ("AUDataID", auDataID);
sendAU (studentID.intValue(), courseID.intValue(), lessonID, auID, auDataID.intValue(), normalMode, response.getOutputStream(), dbHelper);
//to do: detailed messages should be sent to the client depending on which
// exception was thrown. Don't have one try/catch....have one for each situation
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
public void destroy()
try {
if (_jdbcConnection != null) {
_jdbcConnection.close();
catch (Exception ignored) {}
private int initializeAUData (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
String sqlQuery = null;
ResultSet results = null;
try {
//get student's name
sqlQuery = "SELECT Full_Name" +
" FROM " + GlobalData.StudentTable +
" WHERE Student_ID = " + studentID;
results = dbHelper.doQuery (sqlQuery);
if (! results.next()) {
//error
return -1;
String studentName = results.getString (1);
results.close();
//the lock prevents CMIServlet from reading AU_ID before it's committed
//sqlQuery = "LOCK TABLES " + GlobalData.AUDataTable + " WRITE;";
//System.out.println (sqlQuery);
//dbHelper.executeUpdate (sqlQuery);
sqlQuery = "Insert Into " + GlobalData.AUDataTable +
"(Course_ID, Lesson_ID, AU_ID, student_id, student_name, lesson_location, credit," +
" lesson_status, entry, exit, score_raw, score_max, score_min, total_time," +
" session_time, lesson_mode, suspend_data, launch_data, Evaluation_ID, Objective_ID)" +
" Values (" + courseID + ", '" + lessonID + "', '" + auID + "', " + studentID + ", '" + studentName + "'," +
" 'NA', 'credit'," + " 'not attempted', 'ab-initio', " + "'NA', " + 0 + ", " + 0 + ", " + 0 +
", '00:00:00.0', '00:00:00.0', " + " 'normal'" + ", 'NA', " + "'NA', " + 0 + ", " + 0 + ");";
dbHelper.executeUpdate (sqlQuery);
return getAUDataID (studentID, courseID, lessonID,auID, dbHelper);
//sqlQuery = "UNLOCK TABLES;";
//System.out.println (sqlQuery);
//dbHelper.executeUpdate (sqlQuery);
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
return -1;
private int getAUDataID (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
throws SQLException
String sqlQuery = "SELECT AUData_ID, lesson_status, lesson_mode, exit" +
" FROM " + GlobalData.AUDataTable +
" WHERE student_id = " + studentID +
" AND Course_ID = " + courseID +
" AND Lesson_ID = " + "'" + lessonID + "'" +
" AND AU_ID = '" + auID + "';";
ResultSet results = dbHelper.doQuery (sqlQuery);
if (results.next()) {
return results.getInt ("AUData_ID");
return -1;
private void sendAU (int studentID, int courseID, String lessonID, String auID, int auDataID, boolean normalMode, ServletOutputStream htmlOut, JDBCHelper dbHelper)
throws IOException, ClassNotFoundException
Hashtable hash = null;
synchronized (_courseHash)
hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
if (hash == null) {
loadCourseData();
hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
if (hash == null) {
throw new IOException ("Corrupt course data (course not found)");
AU au = (AU) hash.get (auID);
try {
if (! normalMode) {
dbHelper.setReviewMode (auDataID);
String courseFileName = getFileName (String.valueOf (courseID), dbHelper);
File file = new File (courseFileName);
//create absolute path to file so we can resolve relative URLs
String newFileName = file.getParent() + "\\" + au.getLaunchParams();
BufferedReader buf = new BufferedReader (new FileReader (newFileName));
PrintWriter htmlWriter = new PrintWriter (htmlOut);
String temp;
htmlWriter.write (getAUHtml (au.getLaunchParams()));
htmlWriter.flush();
htmlWriter.close();
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
private String getAUHtml (String path){
path = path.replace ('\\','/');
String response;
response = "<html>\n" +
"<head>\n" +
"</head>\n" +
"<body>\n" +
"<script language=\"JavaScript\">\n" +
"document.location = \"/cmi/courses/" + path + "\"\n" +
//"win = window.open ('','displayWindow','menubar=yes,scrollbars=yes,status=yes,width=300,height=300');\n" +
//"window.onload = \"win.close();\"" +
"</script>\n" +
"</body>\n" +
"</html>\n";
return response;
private void sendAvailableAUs (Hashtable hash, int studentID, int courseID, String lessonID, ServletOutputStream out, HttpServletResponse response, JDBCHelper dbHelper)
StringBuffer buf = new StringBuffer (200);
Block block = (Block) hash.get (lessonID);
AU au = null;
try {
Vector completedAUs = dbHelper.getCompletedAUs (studentID, courseID, lessonID);
buf.append ("<html>\n" +
"<head>\n" +
"<title>" + block.getTitle() + " units</title>\n" +
"<script language=\"JavaScript\">\n" +
"function go() {\n" +
" var form = document.goForm;\n" +
" var index = form.gotoSelect.selectedIndex;\n" +
" if (index == 0) {\n" +
" document.location = \"/servlet/CourseServlet?courseID=" + courseID + "\";\n" +
" }\n" +
" else if (index == 1) {\n" +
" top.restart();\n" +
" }\n" +
"}\n" +
"</script>\n" +
"</head>\n" +
"<body background=\"/cmi/images/marble.jpg\">\n" +
"<center><h1><b><u>" + block.getTitle() + "</u></b></h1></center>\n" +
"<p></p>\n<p></p>\n" +
"<b>" + block.getTitle() + " contains the following units: </b>\n" +
"<dl>\n");
Enumeration enum = block.getChildren();
while (enum.hasMoreElements()) {
String temp = (String) enum.nextElement();
CSFElement element = (CSFElement) hash.get (temp);
if (element.getType().equals ("au")) {
au = (AU) element;
if (completedAUs.contains (au.getID())) {
buf.append ("<dt><p><img src=\"/cmi/images/node2.gif\"><a href=\"/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=review\">" + au.getTitle() + " (<i>review</i>) </a></p></dt>\n");
else {
buf.append ("<dt><p><img src=\"/cmi/images/node.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=normal") + "\">" + au.getTitle() + "</a></p></dt>\n");
else if (element.getType().equals ("block")) {
buf.append ("<dt><p><img src=\"/cmi/images/folder.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + element.getID() + "&mode=normal") + "\">" + element.getTitle() + "</a></p></dt>\n");
buf.append ("</dl>\n" +
"<br><br>\n" +
"<form name=\"goForm\">\n" +
"<select name=\"gotoSelect\">\n" +
" <option value=\"lesson\">Lesson Menu</option>\n" +
" <option value=\"exit\">Exit LMS</option>\n" +
"</select>\n" +
"<input type=\"button\" value=\"Go\" onClick=\"go()\">\n" +
"</form>\n" +
"</body>\n" +
"</html>");
PrintWriter writer = new PrintWriter (out);
writer.write (buf.toString());
writer.flush();
writer.close();
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
private String getFileName (String courseID, JDBCHelper dbHelper)
throws ClassNotFoundException, SQLException
ResultSet results = null;
String fileName = null;
String sqlQuery = "SELECT CourseFile" +
" FROM Course" +
" WHERE Course_ID = " + Integer.parseInt (courseID) + ";";
results = dbHelper.doQuery (sqlQuery);
if (results.next()) {
fileName = results.getString (1);
else {
//need to do more than this :)
System.out.println("crap");
results.close();
return fileName;
private void loadCourseData()
throws IOException, ClassNotFoundException
//load serialized course data
File file = new File (GlobalData.DataFileName);
if (! file.exists()) {
//error
throw new FileNotFoundException (GlobalData.DataFileName + " not found.");
FileInputStream fis = new FileInputStream (GlobalData.DataFileName);
ObjectInputStream ois = new ObjectInputStream (fis);
_courseHash = (Hashtable) ois.readObject();
ois.close();
private void sendProfileError (ServletOutputStream out)
String html = "<html>\n" +
"<body>\n" +
"<p>An error has occurred with your profile. Please " +
"<a href=\"\" onClick=\"top.restart(); return true\">login again</a>" +
"</body>\n" +
"</html>\n";
PrintWriter writer = new PrintWriter (out);
writer.write (html);
writer.flush();
writer.close();
private Connection _jdbcConnection;
private Hashtable _courseHash;I know that is where my error is, but why and where is
the script calling it up way?You wrote it right? check out the sendAU() method, there is line
String newFileName = file.getParent() + "\\" + au.getLaunchParams(); -
Error in using a variable in filter condition in an Interface
Hi All,
I am using a variable in my interface in a filter condition. I have an EMP table of scott schema and want to pull all the records wiht hiredate date lying between 2 dates, incremental pull.For this I have created 2 variables and using them in the filter condition. I am getting an error inthe interface when I run in a package after declaring and refresing the variables.
com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Regards,
KrishnaHi Krishna,
What is the datatype of the Variable lastupdate ?
In my case
Variable
Name : LastUpdateDate
Datatype : Alphanumeric
Action : Historize
Query : select to_char(to_date(sysdate,'DD-MON-YY'),'DD-MON-YY') from sys.dual
Then in filter I used
EMP.HIREDATE>to_date('#LastUpdateDate','DD-MON-YY')
Thanks
Sutirtha -
Error while iserting a image in DB!!!!!
Hello guys,
I want to insert an image in the DB(MySql). I receive a compiling error when i try to insert an image.
I tried to find in the forums.. but i could not find it..
here is my code..
public void insertImage(String name, String path){
try{
ImageIcon icon = new ImageIcon(path);
Image image = icon.getImage();
BufferedImage bImage = new BufferedImage(image.getWidth(null),image.getHeight(null),BufferedImage.TYPE_INT_RGB);
Graphics bg = bImage.getGraphics();
bg.drawImage(image,0,0,null);
bg.dispose();
ByteArrayOutputStream out = new ByteArrayOutputStream();
ImageIO.write(bImage,"jpeg",out);
byte[] buf = out.toByteArray();
ByteArrayInputStream inStream = new ByteArrayInputStream(buf);
try {
String query = "insert into instimage(Name, Image) values ('"+name+"',?)";
PreparedStatement ps = conn.prepareStatement(query);
ps.setBinaryStream(1,inStream,inStream.available());
int count = ps.executeUpdate(query);
}catch (SQLException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
The error is
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near '?)' at line 1I would be grateful, if u guys help me out!!
Thanks
Edited by: frenchiee on Aug 27, 2008 8:16 AMYour query looks like valid. But only if the name variable has good value. If name has value "name with apostrophe'", your code will fail. Try
String query = "insert into instimage(Name, Image) values (?,?)";
PreparedStatement ps = conn.prepareStatement(query);
ps.setString(1,name);
ps.setBinaryStream(2,inStream,inStream.available()); -
Error while deploying a mapping in owb 11.2
Hi,
I am using OWB 11.2 and when i try to deploy a mapping i get the following error. Is it some permission issue.
Please let me know if anyone has faced similar issue. Its very urgent.
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_LOB' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_LOB' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3530)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4718)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1062)
at sqlj.runtime.ExecutionContext$OracleContext.oracleExecuteUpdate(ExecutionContext.java:1570)
at oracle.wh.service.impl.runtime.runtime_access.RuntimeDeploymentDefiner.defineDeployment(RuntimeDeploymentDefiner.java:1094)
at oracle.wh.service.impl.runtime.RuntimePlatformServiceImpl.createDeploymentAuditId(RuntimePlatformServiceImpl.java:1409)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy._internalDeploy(WHRuntimeCommandGenerateDeploy.java:2382)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doDeploymentAsynch(WHRuntimeCommandGenerateDeploy.java:2117)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doDeploymentAsynch(WHRuntimeCommandGenerateDeploy.java:2112)
at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler$3.construct(WHRuntimeCommandHandler.java:1194)
at oracle.wh.ui.runtime.SwingWorker$2.run(SwingWorker.java:124)
at java.lang.Thread.run(Thread.java:595)Hi,
have you tried to grant the user you use for connecting:
GRANT EXECUTE ON DBMS_LOB TO your_usr WITH GRANT OPTIONYou need the "WITH GRANT OPTION" if the sql is executed within some view or package.
Regards,
Carsten. -
Error while calling a workflow process from a JSP
Hi,
I have a workflow program which is havign a process, which in turn calls 2 other processes.
Below given is the procedure which i am using to call the main process.
===========================================================
CREATE OR REPLACE PROCEDURE misProcFromJsp(
Cart_Id in number,
Email_Address varchar2
) IS
itemtype varchar2(35);
WorkflowProcess varchar2(35);
itemkey varchar2(35);
temp varchar2(35);
BEGIN
WorkflowProcess := 'CALLING PROCESS';
itemtype := 'PPCUSTOM';
select ITEM_KEY_SEQ.nextval into temp from dual;
itemkey := temp;
wf_engine.CreateProcess (itemtype => itemtype,
itemkey => itemkey,
process => WorkflowProcess);
wf_engine.SetItemAttrText (itemtype => itemtype,
itemkey => itemkey,
aname => 'CART_ID',
avalue => Cart_Id);
wf_engine.SetItemAttrText (itemtype => itemtype,
itemkey => itemkey,
aname => 'EMAIL ADDRESS',
avalue => Email_Address);
wf_engine.StartProcess(itemtype => itemtype,
itemkey => itemkey);
commit;
END misProcFromJsp;
===========================================================
The JSP page which I used is as follows,
===========================================================
<%-- /* $Header: misasSalesCampaignDem.jsp 115.20 2006/06/22 16:59:55 pnambiar noship $ */ --%>
<!-- METADATA_SOURCE - JRAD -->
<html dir="ltr" lang="en-US-ORACLE9I">
<head>
<%@include file="jtfincl.jsp" %>
<%@page import="java.sql.*, oracle.jdbc.pool.*" %>
<%-- @page import = "oracle.apps.jtf.util.GeneralUtil" --%>
<%-- @page import="oracle.apps.jtf.infrastructure.SecurityUtil" --%>
<%-- @page import="oracle.apps.ibe.util.RequestCtx" --%>
<%@page session = "false" %>
<%-- @page errorPage = "jtfacerr.jsp" --%>
<% // commented by Pradeep 4 DBI
String appName= "MISASFSP";
boolean stateless = false;
%>
<%@ include file="jtfsrnfp.jsp" %>
<head><title>Test Page Stores</title>
<body>
<%
// current user id
Integer loggedUserID;
int userId;
String sUserId;
OracleConnection _connection = null;
try {
loggedUserID = GeneralUtil.getUserID();
userId = loggedUserID.intValue();
sUserId = String.valueOf(loggedUserID.intValue());
_connection = (OracleConnection) TransactionScope.getConnection();
java.sql.Statement stmt = _connection.createStatement();
if ( request.getParameter("CART_ID") != null && !(request.getParameter("CART_ID")).equals("") && !(request.getParameter("CART_ID")).equals("null")) {
int par_cart_ID = Integer.parseInt(request.getParameter("CART_ID"));
String par_email = request.getParameter("EMAIL_ADDRESS");
// For Pagination - Calling teh procedure.. to fetch the number of rows.
java.sql.CallableStatement proc = _connection.prepareCall("{call misProcFromJsp(?,?)}");
//please do keep in mind that the parameter names are the same as defined in teh procedure header.
//Any change in the header requires a change here too.
//registering the in parameters
proc.setInt(1,par_cart_ID);
proc.setString(2,par_email);
proc.execute();
//this particular result will be the total count of all teh records for lead details for the particular search condition.
if ((request.getParameter("showLog")).equals("Y")) {
out.println("Procedure Completed");
%>
<FORM NAME=MYfORM ACTION="misasTextButtonLat.jsp">
<INPUT TYPE="text" NAME="CART_ID" value ='1378477'>
<INPUT TYPE="text" NAME="EMAIL_ADDRESS" value ='[email protected]'>
<INPUT TYPE="submit" value="Go">
</form>
<%
catch ( Exception e )
String errMsg="";
StackTraceElement[] myErr;
myErr = e.getStackTrace();
errMsg = e.getMessage();
out.println("<font color=red> <b><u>Error</u> : " + errMsg + "</b></font><font color=black> " + myErr[4].toString() + myErr[5].toString()+ myErr[6].toString()+myErr[7].toString()+ myErr[8].toString()+ myErr[9].toString()+ "</font><BR>");
out.println("<font color=red> <b><u>Error</u> :</b></font><font color=black> " + myErr[0].toString() + myErr[1].toString() + myErr[2].toString()+ myErr[3].toString() + myErr[4].toString() + "</font><BR>");
%>
</body>
</html>
==========================================================
It is giving the following error
===========================================================
Error : ORA-06550: line 1, column 7: PLS-00201: identifier 'MISPROCFROMJSP' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2185)oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2059)oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2976)oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:656)oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:734)
Error : oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
==========================================================
What went wrong? Please let me know.
ThanksI did some changes and the error now I am getting is,
===========================================================
Error : null oracle.jsp.JspServlet.internalService(JspServlet.java:186)oracle.jsp.JspServlet.service(JspServlet.java:156)javax.servlet.http.HttpServlet.service(HttpServlet.java:588)org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)org.apache.jserv.JServConnection.run(JServConnection.java:294)java.lang.Thread.run(Thread.java:534)
Error : oa_html._Text__Button__Lat._jspService(_Text__Button__Lat.java:712)oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)oracle.jsp.JspServlet.internalService(JspServlet.java:186)
============================================================
Does the middle tier need to be bounced?
Thanks -
Jython error while updating a oracle table based on file count
Hi,
i have jython procedure for counting counting records in a flat file
Here is the code(took from odiexperts) modified and am getting errors, somebody take a look and let me know what is the sql exception in this code
COMMAND on target: Jython
Command on source : Oracle --and specified the logical schema
Without connecting to the database using the jdbc connection i can see the output successfully, but i want to update the oracle table with count. any help is greatly appreciated
---------------------------------Error-----------------------------
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 45, in ?
java.sql.SQLException: ORA-00936: missing expression
---------------------------------------Code--------------------------------------------------
import java.sql.Connection
import java.sql.Statement
import java.sql.DriverManager
import java.sql.ResultSet
import java.sql.ResultSetMetaData
import os
import string
import java.sql as sql
import java.lang as lang
import re
filesrc = open('c:\mm\xyz.csv','r')
first=filesrc.readline()
lines = 0
while first:
#get the no of lines in the file
lines += 1
first=filesrc.readline()
#print lines
## THE ABOVE PART OF THE PROGRAM IS TO COUNT THE NUMBER OF LINES
## AND STORE IT INTO THE VARIABLE `LINES `
def intWithCommas(x):
if type(x) not in [type(0), type(0L)]:
raise TypeError("Parameter must be an integer.")
if x < 0:
return '-' + intWithCommas(-x)
result = ''
while x >= 1000:
x, r = divmod(x, 1000)
result = ",%03d%s" % (r, result)
return "%d%s" % (x, result)
## THE ABOVE PROGRAM IS TO DISPLAY THE NUMBERS
sourceConnection = odiRef.getJDBCConnection("SRC")
sqlstring = sourceConnection.createStatement()
sqlstmt="update tab1 set tot_coll_amt = to_number( "#lines ") where load_audit_key=418507"
sqlstring.executeQuery(sqlstmt)
sourceConnection.close()
s0=' \n\nThe Number of Lines in the File are ->> '
s1=str(intWithCommas(lines))
s2=' \n\nand the First Line of the File is ->> '
filesrc.seek(0)
s3=str(filesrc.readline())
final=s0 + s1 + s2 + s3
filesrc.close()
raise finali changed as you adviced ankit
am getting the following error now
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 37, in ?
java.sql.SQLException: ORA-00911: invalid character
here is the modified code
sourceConnection = odiRef.getJDBCConnection("SRC")
sqlstring = sourceConnection.createStatement()
sqlstmt="update tab1 set tot_coll_amt = to_number('#lines') where load_audit_key=418507;"
result=sqlstring.executeUpdate(sqlstmt)
sourceConnection.close()
Any ideas
Edited by: Sunny on Dec 3, 2010 1:04 PM -
OIM 9.1 : SQL Error while executing SQL DELETE Statement inside Java Adapter
I'm running this DELETE script into an adapter with the following code :
This code is deleting some tasks instances inside a process instance for a user resource.
public boolean clearTaskInstances(String user_key, String process_name, String task_name) throws OIMException {
$logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 1");
tcDataProvider provider = getOIMConnection().getDataBase();
$logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 2");
String query = "DELETE FROM OSI WHERE OSI.MIL_KEY=" +
"(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=" +
"(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME=" +
"'" + process_name + "') AND MIL.MIL_NAME='" + task_name + "'" +
"AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='" + user_key +"'))";
$logger.debug("Utils/clearTaskInstance : Delete Query = " + query);
PreparedStatementUtil preparedStatement = new PreparedStatementUtil();
preparedStatement.setStatement(provider, query);
try {
preparedStatement.executeUpdate();
$logger.debug("Utils/clearTaskInstance : Delete Query executed");
return true;
} catch (Exception e) {
$logger.error("Utils/clearTaskInstance : Error while executing Delete Query : " + e);
return false;
, but this generate 18M of SQL error logs !!
The same SQL request in SQL Dev works fine, the same code with OIM 11gR2 works fine too, the problem seems to be only with OIM 9.1.
The first lines in the logs are :
DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],connection object created
DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received'AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
ERROR,12 Jul 2013 09:03:46,641,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
ERROR,12 Jul 2013 09:03:47,047,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has No Milestone.
ERROR,12 Jul 2013 09:03:47,050,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy60.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
ERROR,12 Jul 2013 09:03:47,051,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy60.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
ERROR,12 Jul 2013 09:03:47,052,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkApprovalProcess encounter some problems: Data Access Error
com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy60.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Data AccessException:
com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
SQL State: 42000Vendor Code: 936Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy60.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Source SQL Exception:
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy60.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
ERROR,12 Jul 2013 09:03:47,054,[XELLERATE.DATABASE],Error: Error Keyword: DAE.UNKNOWN_CODE
Description: An unknown error code was passed.
Remedy: Contact your system adminstrator.
Action: E
Severity: C
Help URL:
Detail:
com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy60.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Data AccessException:
com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
SQL State: 42000Vendor Code: 936Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)Thanks for your quick reply, but I'm still getting the same issue after modifying the code to include the space before the AND, here is the generated log files with SQL debug turned on.
I have already tried with a hard simple delete sql request such as DELETE FROM osi WHERE osi.mil_key = '1440' AND orc_key ='228182' and get same issue !
Thanks for your help !:
DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 1
DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],enter getConnection with OIM TRUST AUTH
DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],initConnection
DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],initConnection1 xlHomeDir=/appl/oim/product/9.1.0.2/xellerate
DEBUG,12 Jul 2013 10:18:32,170,[XELLERATE.CUSTOM],initConnection done.
DEBUG,12 Jul 2013 10:18:32,170,[XELLERATE.CUSTOM],Properties env done={java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory, java.naming.provider.url=t3://mrs-dx-00003.cma-cgm.com:7001}
DEBUG,12 Jul 2013 10:18:32,173,[XELLERATE.CUSTOM],moSignature done.
DEBUG,12 Jul 2013 10:18:32,210,[XELLERATE.CUSTOM],LoginSession UserName=xelsysadm
DEBUG,12 Jul 2013 10:18:32,210,[XELLERATE.CUSTOM],LoginContext Subject=Subject:
Principal: xelsysadm
Principal: User
Private Credential: weblogic.security.auth.login.PasswordCredential@10425ea
Private Credential: weblogic.security.auth.login.PasswordCredential@1555e96
<Jul 12, 2013 10:18:32 AM UTC> <Notice> <LoggingService> <BEA-320400> <The log file /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jul 12, 2013 10:18:32 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log65630. Log messages will continue to be logged in /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log.>
DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],end init for ServiceAccountConnection
DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],connection object created
DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
DEBUG,12 Jul 2013 10:18:32,228,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received' AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
DEBUG,12 Jul 2013 10:18:32,247,[XELLERATE.DATABASE],DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received' AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
INFO,12 Jul 2013 10:18:47,146,[XELLERATE.DATABASE],DB Cache read: select osi_retry_on from osi where 1=2
<Jul 12, 2013 10:18:47 AM UTC> <Notice> <LoggingService> <BEA-320400> <The log file /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jul 12, 2013 10:18:47 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log65631. Log messages will continue to be logged in /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log.>
INFO,12 Jul 2013 10:18:47,173,[XELLERATE.DATABASE],DB read: select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver, osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note from osi osi,sch sch where osi.osi_retry_on <=TO_DATE('2013-07-12 10:18:47', 'YYYY-MM-DD HH24:MI:SS') and osi.sch_key = sch.sch_key and sch.sch_status='R' and osi_retry_counter>0 order by osi.sch_key
DEBUG,12 Jul 2013 10:18:47,186,[XELLERATE.DATABASE],select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver, osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note from osi osi,sch sch where osi.osi_retry_on <=TO_DATE('2013-07-12 10:18:47', 'YYYY-MM-DD HH24:MI:SS') and osi.sch_key = sch.sch_key and sch.sch_status='R' and osi_retry_counter>0 order by osi.sch_key
INFO,12 Jul 2013 10:19:00,240,[XELLERATE.DATABASE],DB Cache read: select osi_retry_for, osi_retry_counter from osi where 1=2
INFO,12 Jul 2013 10:19:00,249,[XELLERATE.DATABASE],DB read: select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404290
DEBUG,12 Jul 2013 10:19:00,253,[XELLERATE.DATABASE],select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404290
INFO,12 Jul 2013 10:19:00,270,[XELLERATE.DATABASE],DB read: select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404297
DEBUG,12 Jul 2013 10:19:00,272,[XELLERATE.DATABASE],select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404297
ERROR,12 Jul 2013 10:19:10,967,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
INFO,12 Jul 2013 10:19:10,968,[XELLERATE.DATABASE],DB read: select mav.spd_key,mav.mav_map_child_table_name, mav.mav_map_to, mav.mav_map_qualifier, mav.mav_map_value, mav.mav_field_length from mav mav, mil mil, adv adv where mav.mil_key = mil.mil_key and mil.mil_key = 5673 and mav.adv_key = adv.adv_key and adv.adv_name = 'Adapter return value' and adv.adp_key = 1021
DEBUG,12 Jul 2013 10:19:10,968,[XELLERATE.DATABASE],select mav.spd_key,mav.mav_map_child_table_name, mav.mav_map_to, mav.mav_map_qualifier, mav.mav_map_value, mav.mav_field_length from mav mav, mil mil, adv adv where mav.mil_key = mil.mil_key and mil.mil_key = 5673 and mav.adv_key = adv.adv_key and adv.adv_name = 'Adapter return value' and adv.adp_key = 1021
INFO,12 Jul 2013 10:19:10,973,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=3934435
DEBUG,12 Jul 2013 10:19:10,973,[XELLERATE.DATABASE],select * from sch where sch_key=3934435
INFO,12 Jul 2013 10:19:10,984,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=3934435
DEBUG,12 Jul 2013 10:19:10,984,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=3934435
INFO,12 Jul 2013 10:19:10,990,[XELLERATE.DATABASE],DB read: select * from osi where sch_key=3934435
DEBUG,12 Jul 2013 10:19:10,990,[XELLERATE.DATABASE],select * from osi where sch_key=3934435
INFO,12 Jul 2013 10:19:11,012,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=5673
DEBUG,12 Jul 2013 10:19:11,012,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=5673
INFO,12 Jul 2013 10:19:11,015,[XELLERATE.DATABASE],DB read: select rsc.rsc_key, sta.sta_status, sta.sta_bucket from rsc rsc, sta sta where sta.sta_key=rsc.sta_key and rsc.rsc_data='false' and rsc.mil_key=5673
DEBUG,12 Jul 2013 10:19:11,015,[XELLERATE.DATABASE],select rsc.rsc_key, sta.sta_status, sta.sta_bucket from rsc rsc, sta sta where sta.sta_key=rsc.sta_key and rsc.rsc_data='false' and rsc.mil_key=5673
DEBUG,12 Jul 2013 10:19:11,069,[XELLERATE.DATABASE],select rgm.mil_key, mil_sequence from rgm rgm, mil mil where rsc_key=? and rgm.mil_key=mil.mil_key order by mil_sequence
INFO,12 Jul 2013 10:19:11,078,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,078,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
INFO,12 Jul 2013 10:19:11,082,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,082,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,086,[XELLERATE.DATABASE],update sch set SCH_STATUS=?, SCH_DATA=?, SCH_ACTUAL_END=?, SCH_UPDATE=?, sch_rowver=? where sch_key=3934435 and sch_rowver=HEXTORAW('0000000000000000')
INFO,12 Jul 2013 10:19:11,104,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,104,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
INFO,12 Jul 2013 10:19:11,107,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,107,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,110,[XELLERATE.DATABASE],update osi set RSC_KEY=?, OSI_UPDATE=?, OSI_CHILD_OLD_VALUE=?, osi_rowver=? where sch_key=3934435 and osi_rowver=HEXTORAW('0000000000000000')
INFO,12 Jul 2013 10:19:11,122,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,123,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
INFO,12 Jul 2013 10:19:11,126,[XELLERATE.DATABASE],DB read: select rvm_recovery_mil_key, mil_sequence from rvm rvm, mil mil where rvm.mil_key=5673 and mil.mil_key=rvm.rvm_recovery_mil_key and rvm_recovery_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
DEBUG,12 Jul 2013 10:19:11,126,[XELLERATE.DATABASE],select rvm_recovery_mil_key, mil_sequence from rvm rvm, mil mil where rvm.mil_key=5673 and mil.mil_key=rvm.rvm_recovery_mil_key and rvm_recovery_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
DEBUG,12 Jul 2013 10:19:11,132,[XELLERATE.DATABASE],select mil_name from mil where mil_key=?
DEBUG,12 Jul 2013 10:19:11,134,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
DEBUG,12 Jul 2013 10:19:11,137,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
DEBUG,12 Jul 2013 10:19:11,139,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
DEBUG,12 Jul 2013 10:19:11,141,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
INFO,12 Jul 2013 10:19:11,143,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=5673 and mst.sta_key=sta.sta_key and sta.sta_status='R' and mst.ost_key=ost.ost_key
DEBUG,12 Jul 2013 10:19:11,143,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=5673 and mst.sta_key=sta.sta_key and sta.sta_status='R' and mst.ost_key=ost.ost_key
INFO,12 Jul 2013 10:19:11,149,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
DEBUG,12 Jul 2013 10:19:11,150,[XELLERATE.DATABASE],select * from orc where orc_key=170417
DEBUG,12 Jul 2013 10:19:11,155,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?) group by sta.sta_bucket
DEBUG,12 Jul 2013 10:19:11,159,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
DEBUG,12 Jul 2013 10:19:11,164,[XELLERATE.DATABASE],select sta_bucket from orc orc, sta sta where orc.orc_key=? and orc.orc_status = sta.sta_status
INFO,12 Jul 2013 10:19:11,166,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,166,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,169,[XELLERATE.DATABASE],update orc set ORC_STATUS=?, ORC_UPDATE=?, orc_rowver=? where orc_key=170417 and orc_rowver=HEXTORAW('0000000000000007')
DEBUG,12 Jul 2013 10:19:11,171,[XELLERATE.DATABASE],select orc_rowver from orc orc where orc_key=?
INFO,12 Jul 2013 10:19:11,174,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=867
DEBUG,12 Jul 2013 10:19:11,174,[XELLERATE.DATABASE],select * from orc where orc_key=867
DEBUG,12 Jul 2013 10:19:11,178,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?) group by sta.sta_bucket
DEBUG,12 Jul 2013 10:19:11,181,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
INFO,12 Jul 2013 10:19:11,183,[XELLERATE.DATABASE],DB read: select orc.orc_key, orc.orc_rowver from orc orc, sta sta, pkd pkd where orc.orc_parent_key =867 and orc.orc_status = sta.sta_status and sta.sta_bucket!='Rejected' and orc.pkh_key=pkd.pkh_key and pkd.pkd_predecessor_pkh_key=0 order by orc.orc_key
DEBUG,12 Jul 2013 10:19:11,183,[XELLERATE.DATABASE],select orc.orc_key, orc.orc_rowver from orc orc, sta sta, pkd pkd where orc.orc_parent_key =867 and orc.orc_status = sta.sta_status and sta.sta_bucket!='Rejected' and orc.pkh_key=pkd.pkh_key and pkd.pkd_predecessor_pkh_key=0 order by orc.orc_key
INFO,12 Jul 2013 10:19:11,186,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,186,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
INFO,12 Jul 2013 10:19:11,188,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
DEBUG,12 Jul 2013 10:19:11,188,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
DEBUG,12 Jul 2013 10:19:11,190,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
INFO,12 Jul 2013 10:19:11,193,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
DEBUG,12 Jul 2013 10:19:11,193,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
INFO,12 Jul 2013 10:19:11,195,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,195,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,197,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
INFO,12 Jul 2013 10:19:11,199,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,199,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,202,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
DEBUG,12 Jul 2013 10:19:11,204,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
INFO,12 Jul 2013 10:19:11,212,[XELLERATE.DATABASE],DB Cache read: select * from oti where 1=2
DEBUG,12 Jul 2013 10:19:11,212,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
DEBUG,12 Jul 2013 10:19:11,215,[XELLERATE.DATABASE],select obj.OBJ_KEY from obj obj , pkg pkg where pkg.obj_key = obj.obj_key and pkg.pkg_key=?
INFO,12 Jul 2013 10:19:11,219,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
DEBUG,12 Jul 2013 10:19:11,220,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
DEBUG,12 Jul 2013 10:19:11,223,[XELLERATE.DATABASE],insert into oti (OTI_KEY, SCH_KEY, SCH_STATUS, SCH_DATA, SCH_PROJ_START, SCH_PROJ_END, SCH_ACTUAL_START, SCH_ACTUAL_END, SCH_OFFLINED, ORC_KEY, MIL_KEY, PKG_KEY, OSI_ASSIGNED_TO_USR_KEY, OSI_ASSIGNED_DATE, ACT_KEY, OSI_ASSIGN_TYPE, PKG_TYPE, STA_BUCKET, OBJ_KEY, OTI_CREATE, OTI_UPDATE, OTI_CREATEBY, OTI_UPDATEBY, OTI_DATA_LEVEL, oti_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG,12 Jul 2013 10:19:11,223,[XELLERATE.DATABASE],select OTI_seq.nextval from dual
INFO,12 Jul 2013 10:19:11,324,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_insert_sequence>0 order by dvt.dvt_post_insert_sequence
DEBUG,12 Jul 2013 10:19:11,324,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_insert_sequence>0 order by dvt.dvt_post_insert_sequence
DEBUG,12 Jul 2013 10:19:11,326,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
INFO,12 Jul 2013 10:19:11,328,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,328,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,332,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
DEBUG,12 Jul 2013 10:19:11,334,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
INFO,12 Jul 2013 10:19:11,335,[XELLERATE.DATABASE],DB read: select * from oti where oti_key=1617371
DEBUG,12 Jul 2013 10:19:11,336,[XELLERATE.DATABASE],select * from oti where oti_key=1617371
DEBUG,12 Jul 2013 10:19:11,343,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
DEBUG,12 Jul 2013 10:19:11,345,[XELLERATE.DATABASE],select obj.OBJ_KEY from obj obj , pkg pkg where pkg.obj_key = obj.obj_key and pkg.pkg_key=?
INFO,12 Jul 2013 10:19:11,347,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,347,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,350,[XELLERATE.DATABASE],update oti set SCH_TYPE=?, OSI_RETRY_FOR=?, OSI_ASSIGNED_TO=?, REQ_KEY=?, OSI_ASSIGNED_TO_UGP_KEY=?, OSI_ASSIGNED_DATE=?, SCH_PROJ_START=?, SCH_PROJ_END=?, SCH_ACTUAL_START=?, SCH_ACTUAL_END=?, SCH_ACTION=?, OTI_CREATE=?, OTI_UPDATE=?, SCH_DATA=?, oti_rowver=? where oti_key=1617371 and oti_rowver=HEXTORAW('0000000000000000')
INFO,12 Jul 2013 10:19:11,357,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,357,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,359,[XELLERATE.DATABASE],select mil_name from mil where mil_key=?
DEBUG,12 Jul 2013 10:19:11,361,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
DEBUG,12 Jul 2013 10:19:11,363,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
DEBUG,12 Jul 2013 10:19:11,365,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
DEBUG,12 Jul 2013 10:19:11,367,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
INFO,12 Jul 2013 10:19:11,368,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1434 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
DEBUG,12 Jul 2013 10:19:11,369,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1434 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
INFO,12 Jul 2013 10:19:11,375,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
DEBUG,12 Jul 2013 10:19:11,375,[XELLERATE.DATABASE],select * from orc where orc_key=170417
DEBUG,12 Jul 2013 10:19:11,379,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?) group by sta.sta_bucket
DEBUG,12 Jul 2013 10:19:11,381,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
INFO,12 Jul 2013 10:19:11,384,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
DEBUG,12 Jul 2013 10:19:11,384,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
DEBUG,12 Jul 2013 10:19:11,386,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
INFO,12 Jul 2013 10:19:11,387,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
DEBUG,12 Jul 2013 10:19:11,387,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
INFO,12 Jul 2013 10:19:11,389,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,389,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,391,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
INFO,12 Jul 2013 10:19:11,393,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,393,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,396,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
INFO,12 Jul 2013 10:19:11,398,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=1715851
DEBUG,12 Jul 2013 10:19:11,398,[XELLERATE.DATABASE],select * from sch where sch_key=1715851
INFO,12 Jul 2013 10:19:11,401,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=1715851
DEBUG,12 Jul 2013 10:19:11,401,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=1715851
INFO,12 Jul 2013 10:19:11,403,[XELLERATE.DATABASE],DB read: select * from osi where sch_key=1715851
DEBUG,12 Jul 2013 10:19:11,403,[XELLERATE.DATABASE],select * from osi where sch_key=1715851
INFO,12 Jul 2013 10:19:11,433,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1447
DEBUG,12 Jul 2013 10:19:11,433,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1447
INFO,12 Jul 2013 10:19:11,436,[XELLERATE.DATABASE],DB read: select ugp.ugp_key, ugp.ugp_name from ugp ugp, usg usg where ugp.ugp_key=usg.ugp_key and usg.usr_key=1
DEBUG,12 Jul 2013 10:19:11,437,[XELLERATE.DATABASE],select ugp.ugp_key, ugp.ugp_name from ugp ugp, usg usg where ugp.ugp_key=usg.ugp_key and usg.usr_key=1
INFO,12 Jul 2013 10:19:11,439,[XELLERATE.DATABASE],DB read: select distinct ugp.ugp_key, ugp.ugp_name from ugp ugp, gpg gpg where ugp.ugp_key = gpg.ugp_key and ( gpg.gpg_ugp_key in (1,11063) )
DEBUG,12 Jul 2013 10:19:11,439,[XELLERATE.DATABASE],select distinct ugp.ugp_key, ugp.ugp_name from ugp ugp, gpg gpg where ugp.ugp_key = gpg.ugp_key and ( gpg.gpg_ugp_key in (1,11063) )
INFO,12 Jul 2013 10:19:11,441,[XELLERATE.DATABASE],DB read: select sel.sel_update_allow from sel sel, dob dob, ugp ugp where dob.dob_key=sel.dob_key and ugp.ugp_key=sel.ugp_key and dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' and (ugp.ugp_key=1 or ugp.ugp_key=11063)
DEBUG,12 Jul 2013 10:19:11,441,[XELLERATE.DATABASE],select sel.sel_update_allow from sel sel, dob dob, ugp ugp where dob.dob_key=sel.dob_key and ugp.ugp_key=sel.ugp_key and dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' and (ugp.ugp_key=1 or ugp.ugp_key=11063)
INFO,12 Jul 2013 10:19:11,443,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,443,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
INFO,12 Jul 2013 10:19:11,446,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,446,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,449,[XELLERATE.DATABASE],update sch set SCH_STATUS=?, SCH_UPDATE=?, sch_rowver=? where sch_key=1715851 and sch_rowver=HEXTORAW('0000000000000001')
INFO,12 Jul 2013 10:19:11,453,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,453,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
INFO,12 Jul 2013 10:19:11,454,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
DEBUG,12 Jul 2013 10:19:11,454,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
INFO,12 Jul 2013 10:19:11,456,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,456,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
INFO,12 Jul 2013 10:19:11,459,[XELLERATE.DATABASE],DB read: select unm_undo_mil_key, mil_sequence from unm unm, mil mil where mil.mil_key=unm.unm_undo_mil_key and unm.mil_key=1447 and unm_undo_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
DEBUG,12 Jul 2013 10:19:11,459,[XELLERATE.DATABASE],select unm_undo_mil_key, mil_sequence from unm unm, mil mil where mil.mil_key=unm.unm_undo_mil_key and unm.mil_key=1447 and unm_undo_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
DEBUG,12 Jul 2013 10:19:11,461,[XELLERATE.DATABASE],select mil_name from mil where mil_key=?
DEBUG,12 Jul 2013 10:19:11,463,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
DEBUG,12 Jul 2013 10:19:11,465,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
DEBUG,12 Jul 2013 10:19:11,468,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
DEBUG,12 Jul 2013 10:19:11,471,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
INFO,12 Jul 2013 10:19:11,474,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1447 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
DEBUG,12 Jul 2013 10:19:11,474,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1447 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
INFO,12 Jul 2013 10:19:11,480,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
DEBUG,12 Jul 2013 10:19:11,480,[XELLERATE.DATABASE],select * from orc where orc_key=170417
DEBUG,12 Jul 2013 10:19:11,486,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?) group by sta.sta_bucket
DEBUG,12 Jul 2013 10:19:11,489,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
INFO,12 Jul 2013 10:19:11,493,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
DEBUG,12 Jul 2013 10:19:11,493,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
DEBUG,12 Jul 2013 10:19:11,495,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
INFO,12 Jul 2013 10:19:11,497,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
DEBUG,12 Jul 2013 10:19:11,497,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
INFO,12 Jul 2013 10:19:11,499,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,499,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
DEBUG,12 Jul 2013 10:19:11,501,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
INFO,12 Jul 2013 10:19:11,502,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,502,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
DEBUG,12 Jul 2013 10:19:11,506,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
INFO,12 Jul 2013 10:19:11,508,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=1748948
DEBUG,12 Jul 2013 10:19:11,508,[XELLERATE.DATABASE],select * from sch where sch_key=1748948
INFO,12 Jul 2013 10:19:11,562,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=1748948
DEBUG,12 Jul 2013 10:19:11,562,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=1748948
INFO,12 Jul 2013 10:19:11,565,[XELLERATE.DATABASE],DB Cache read: select * from osi where 1=2
INFO,12 Jul 2013 10:19:11,566,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=0
DEBUG,12 Jul 2013 10:19:11,566,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=0
INFO,12 Jul 2013 10:19:11,570,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.SCHTM_NO_MIL'
DEBUG,12 Jul 2013 10:19:11,571,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.SCHTM_NO_MIL'
ERROR,12 Jul 2013 10:19:11,579,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has No Milestone.
INFO,12 Jul 2013 10:19:11,579,[XELLERATE.DATABASE],DB read: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
DEBUG,12 Jul 2013 10:19:11,579,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
ERROR,12 Jul 2013 10:19:11,586,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy54.revokeObjects(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
ERROR,12 Jul 2013 10:19:11,587,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
Maybe you are looking for
-
Firefox still freezes for 1 minute when accessing certain webpages,
Only happens on certain web sites,mouse and keyboard totally unresponsive but after waiting for about 1 minute all goes back to normal?
-
Is it possible to unlock a disabled ipad without wiping it clean
Is it possible to unlock a disabled IPad without wiping it clean?
-
Use fitting options on all objects to a locked layer
This will be a easy for some of you. But I'm just a kid at this. I have a layer locked called AD. Not all the ads fit their boxes. So I would love to run a script that would looked at the locked layer by the name of the layer and make all content f
-
Wait for the execution end of a Thread
Hi every body, How to make a program waiting the execution end of a thread, the instruction join did not work fine. Computation c = new Computation(); Thread t = new Thread(c); t.start(); t.join(); // here my thread dead System.out.println("done"); R
-
Mi itunes no reconoce mi iphone 5
my itunes does not recognizes my iphone 5, please help