Error 1064
HI All,
I imported my tables in offline mode. I added in "instance config.ini"
STAR=TEST1.RPD ,DEFAULT ;
When I try to re-start my BI server with i'm getting an error.
Error:1064: An exception occurred in the service when handling the control request.
But when I use the samplesales and paint i'm able to restart my BIserver in services.
Could you help me to resolve this issue
Here are my details:
DB:10G
Obiee version: 10.1.3.4.1
OS: Windows XP
Here is my log file details
2012-03-21 17:43:27
[36007] Loading repository C:\OracleBI\server\Repository\test_a.rpd.
2012-03-21 17:43:28
[14053] Subject area test_a is unavailable.
2012-03-21 17:43:28
[nQSError: 15014] No subject area is available in the repository Star. Remove the repository from NQSConfig.ini and restart the server.
Thanks & regards
pallis
Edited by: pallis on Mar 21, 2012 5:40 PM
Thanks satya for reply.
Here are the things
1.RPD is corrupted.
I jsut want to know how to find that my RPD is corupted.This is the second time i used the same tables with new RPD.
2: I copied the repos name and pasted in NQSConfig.ini.
Could you tell me what should I do to rectify if my rpd is corrupted.
In log its always saying that "Subject area Test_a is unavailable
Similar Messages
-
MS Services error 1064 when trying to start Oracle BI Scheduler service
I am trying to configure Oracle BI Scheduler. After working through the config routines the Oracle BI Scheduler Service needs to be re-started. The Microsoft error message I get in the Services dialog is both consistent and persistent: "Could not start the Oracle BI Scheduler on local computer. Error 1064: An exception occurred in the service when handling the control request." This error seems to be well-known among users of this product, but the solution - if there is one - is not at all well-known... at least to me. Any help?
Follow this article and make sure you defined all the steps. If any of these steps are wrong, the service throws the error.
http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
and also check is scheduler database is up and running.
- Madan -
Error 1064 while starting the Oracle BI Scheduler in Windows 7 - 32 bit
Hi Everyone,
When starting the OBIEE Version 10.1.3.3.3 's BI Scheduler, the following error has been retreived. ( I have installed newly and the rpd and the webcat has been placed in the corresponding folders newly. Before placing the rpd newly , when i started the Oracle BI Server , the same error has been retreived. But after replacing, its coming only for the Oracle BI Scheduler.
Error 1064 : An exception Occurred in the service when handling the control request
Please let me know your points to fix it in my local machine. ( The server mentioned above are installed in my local windows 7 operating system)
Thanks,
Madasamy M.Well first of all, Oracle 8 is 15 years old, so im not surprised at all it doesnt work properly on a much newer OS.
%windir%/SYSWOW64/odbcad32.exe is for 32-bit drivers
%windir%/system32/odbcad32.exe is for 64-bit drivers and this is the one being executed when running from control panel
(logical, isnt it?...)
The registry keys containing information about these are:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
in /ODBC/ODBCINST.INI/"ODBC Drivers" key, there is a list of the drivers, while ODBC/ODBCINST.INI/<driver_name> contains the details
for example:
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraDb11g_home2]
"APILevel"="1"
"CPTimeout"="60"
"ConnectFunctions"="YYY"
"Driver"="C:\\oracle\\base\\product\\db11202\\BIN\\SQORA32.DLL"
"DriverODBCVer"="03.51"
"FileUsage"="0"
"Setup"="C:\\oracle\\base\\product\\db11202\\BIN\\SQORAS32.DLL"
"SQLLevel"="1"based on this info, you can try to repair it in the registry manually as according to the error it doesnt have the correct path specified, however i would just install a newer, supported version -
BI scheduler error, 1064: An exception occurred in the service
I am getting an error below while trying to restart BI scheduler,
"could not start the oracle bi scheduler service on local computer, error 1064: An exception occurred in the service when handling the control request".
Obiee is running on windows 2003 server. Scheduler was working fine until env went down, when l tried to restart it, suddenly i get this error message. The other services restart fine. Answers, dboard work fine. Its only the scheduler.
I tried a couple suggested things on the Forum,
1) l tried to connect the scheduler user using sqlplus, i get an error, ORA-12560: TNS:protocol adapter error. i cant connect. checked with the DB the user is not locked.
2) I checked the tnsnames.ora everything is fine.
3) I tried tns ping the user from cmd line i get an error TNS-03505: Failed to resolve the name.
The scheduler log details are below
2010-09-24 07:44:01
[68008] Scheduler Error:
Current Table: S_NQ_JOB.
[nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
at OCI call OCIServerAttach.
[nQSError: 17014] Could not connect to Oracle database.
Current Table: S_NQ_JOB_PARAM.
[nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
at OCI call OCIServerAttach.
[nQSError: 17014] Could not connect to Oracle database.
Current Table: S_NQ_INSTANCE.
[nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
at OCI call OCIServerAttach.
[nQSError: 17014] Could not connect to Oracle database.
Current Table: S_NQ_ERR_MSG.
[nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
at OCI call OCIServerAttach.
[nQSError: 17014] Could not connect to Oracle database.
If enable tracing on sqlnet.ora i get
(4472) [24-SEP-2010 09:10:14:390] nnftmlf_make_system_addrfile: entry
(4472) [24-SEP-2010 09:10:14:390] nnftmlf_make_system_addrfile: system names file is E:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
(4472) [24-SEP-2010 09:10:14:390] nnftmlf_make_system_addrfile: exit
(4472) [24-SEP-2010 09:10:14:390] nnftboot: exit
(4472) [24-SEP-2010 09:10:14:390] nnftrne: entry
(4472) [24-SEP-2010 09:10:14:390] nnftrne: Original name: S_NQ_SCHED
(4472) [24-SEP-2010 09:10:14:390] nnfttran: entry
(4472) [24-SEP-2010 09:10:14:390] nnfgrne: Query unsuccessful, skipping to next adapter
(4472) [24-SEP-2010 09:10:14:390] nnfgrne: exit
(4472) [24-SEP-2010 09:10:14:390] nnfun2a: address for name "S_NQ_SCHED" not found
(4472) [24-SEP-2010 09:10:14:390] niqname: Return code from nnfsn2a is 1
(4472) [24-SEP-2010 09:10:14:390] nigtrm: Count in the NI global area is now 0
Thanks
Faraihi,
I tried tns ping the user from cmd line i get an error TNS-03505: Failed to resolve the name.Is there any whitespaces in your DSN name or in tnsnames(.ora) file ? please check it once
Confirm this ,are you using same DB connection in Job manager and connection pool settings ??
thanks,
Saichand.v -
Hello All ,
I have installed OBIEE Plus and when i am trying to start BI Server Service , it's giving Error - 1064 .
1. I didn't made any changes in NQLConfig file.
2. At time of installation , Everything went perfectly.
3. RPD files is also compiled and woring .
I have checked all above things but still it's giving error.
Please
Thanks,
Sachin SethiAre you upgrading or installing on a different server? If you're installing it on your local machine, you might have to modify the NQSConfig file to point to the right directories (C:\OracleBI whereas on the server it might have been D:\OracleBI etc).
-
ERROR 1064 (42000): You have an error in your SQL syntax;
Folks,
I stucked here while granting the permissions.
could you please throw any ideas why this...
mysql> GRANT SELECT, INSERT, DELETE ON database TO prod@localhost IDENTIFIED BY
'Welcome1'
-> FLUSH PRIVILEGES;
ERROR 1064 (42000): 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 'datab
ase TO prod@localhost IDENTIFIED BY 'Welcome1'
FLUSH PRIVILEGES' at line 1
mysql> \qwrong forum mate ! need to post in SQL forums
-
Error 1064 An exception occurred in the service when handling the control
Hi all,
I downloaded Oracle Business Intelligence 10.1.3.4.1 on windows XP successfully, once I try to start any service of Oracle BI [scheduler/server]. This error is shown *1064 An exception occurred in the service when handling the control request*.
Could anyone help me out?
Thanks in advance
MaithaI checked the file
[68008] Scheduler Error: [nQSError: 67042] The Scheduler Configuration is incorrect.
[nQSError: 67004] Registry value for SchedulerScriptPath not set.
How the issue can be resolved ? -
Problems with java and mysql error: 1064
Hello,
I have been struggling with the following java code for a day. I ALWAYS get the following error code : 1064 and I just can't figure out why. I am trying to insert data into a mysql table.
Can anyone please help?
Thanks in advance,
Julien.
package com.newedgegroup.pnr.misc;
import java.sql.BatchUpdateException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
* @author Julien Martin
public class RunDataCopy {
public static void main(String[] args) throws ClassNotFoundException, Exception , ParseException {
Class.forName("com.ibm.as400.access.AS400JDBCDriver");
String url_source = "jdbc:as400://as400a.calyonfinancial.com";
Connection con_source = DriverManager.getConnection(url_source, "upload", "upload");
Class.forName("com.mysql.jdbc.Driver");
String url_target = "jdbc:mysql://localhost:3306/pnr";
Connection con_target = DriverManager.getConnection(url_target, "root", "");
Statement stat_source = con_source.createStatement();
// ResultSet rs_source = stat_source.executeQuery("select * from QS36F.GMIST4F1 po");
String query = "SELECT " +
" sum (po.PGROSS) AS OPTION_PREMIUM, " +
"po.PFIRM, " +
"po.POFFIC, " +
"po.PACCT, " +
"po.PTDATE, " +
"po.PRR, " +
"po.PEXCH, " +
"po.PSUBEX, " +
"po.PFC, " +
"po.PSYMBL, " +
"po.PCLASS, " +
"po.PSUBCL, " +
"po.PSUBTY, " +
"po.PSDSC1, " +
"po.PCTYM, " +
"po.PSTRIK, " +
"po.PCLOSE, " +
"po.PUNDCP, " +
"po.PCURSY, " +
"po.PEXPDT, " +
"po.PLTDAT, " +
"po.PMULTF, " +
"po.PPTYPE, " +
"po.PBS " +
"FROM QS36F.GMIST4F1 as po " +
"WHERE " +
"0 = 0 " +
"AND po.PFIRM = 'I' " +
"AND po.POFFIC = '349' " +
"AND po.PRECID in ('T','B','Q') " +
"AND po.PSUBTY != ' ' " +
"AND po.PCMNT1 != ' E' " +
"AND po.PCMNT1 != ' A' " +
"GROUP BY " +
"po.PFIRM, " +
"po.POFFIC, " +
"po.PACCT, " +
"po.PTDATE," +
"po.PRR, " +
"po.PEXCH, " +
"po.PSUBEX," +
"po.PFC, " +
"po.PSYMBL, " +
"po.PCLASS, " +
"po.PSUBCL, " +
"po.PSUBTY, " +
"po.PSDSC1, " +
"po.PCTYM, " +
"po.PSTRIK, " +
"po.PCLOSE, " +
"po.PUNDCP, " +
"po.PCURSY, " +
"po.PEXPDT, " +
"po.PLTDAT, " +
"po.PMULTF, " +
"po.PPTYPE, " +
"po.PBS ";
// System.out.println(query);
ResultSet rss = stat_source.executeQuery(query);
StringBuffer sb = new StringBuffer("");
SimpleDateFormat df_s = new SimpleDateFormat("yyyyMMdd");
SimpleDateFormat df_t = new SimpleDateFormat("yyyy-MM-dd");
con_target.setAutoCommit(false);
Statement stat_target = con_target.createStatement();
int i = 0;
try {
while (rss.next()) {
i++;
sb.append("INSERT INTO `pnr`.`pnr_transaction` (").append("\n");
sb.append("`FIRM_ID`,").append("\n");
sb.append("`OFFICE_NUMBER`,").append("\n");
sb.append("`ACCOUNT_NUMBER`,").append("\n");
sb.append("`SALESMAN`,").append("\n");
sb.append("`EXCHANGE_CODE`,").append("\n");
sb.append("`SUBEXCHANGE`,").append("\n");
sb.append("`FUTURES_CODE`,").append("\n");
sb.append("`SYMBOL`,").append("\n");
sb.append("`ACCOUNT_CLASS_CODE`,").append("\n");
sb.append("`SUB_CLASS_CODE`,").append("\n");
sb.append("`SECURITY_SUB_TYPE`,").append("\n");
sb.append("`SECURITY_DESCRIPTION_LINE`,").append("\n");
sb.append("`CONTRACT_YR_MON`,").append("\n");
sb.append("`STRIKE_PRICE`,").append("\n");
sb.append("`CLOSING_MARKET_SETTLEMENT_PRICE`,").append("\n");
sb.append("`UNDERLYING_CLOSE_PRICE`,").append("\n");
sb.append("`PRODUCT_CURRENCY_SYMBOL`,").append("\n");
sb.append("`EXPIRATION_DATE`,").append("\n");
sb.append("`LAST_TRADING_DATE`,").append("\n");
sb.append("`MULTIPLICATION_FACTOR`,").append("\n");
sb.append("`PRODUCT_TYPE_CODE`,").append("\n");
sb.append("`CATEGORY_ID`,").append("\n");
sb.append("`MARKET_TYPE_ID`,").append("\n");
sb.append("`TAX_STATUS_ID`,").append("\n");
sb.append("`AMOUNT`").append("\n");
sb.append(") VALUES (").append("\n");
sb.append("'").append(rss.getString("PFIRM")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("POFFIC")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PACCT")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PRR")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PEXCH")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PSUBEX")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PFC")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PSYMBL")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PCLASS")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PSUBCL")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PSUBTY")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PSDSC1")).append("'").append(",").append("\n");
sb.append("'").append(rss.getString("PCTYM")).append("'").append(",").append("\n");
sb.append(rss.getString("PSTRIK")).append(",").append("\n");
sb.append(rss.getString("PCLOSE")).append(",").append("\n");
sb.append(rss.getString("PUNDCP")).append(",").append("\n");
sb.append("'").append(rss.getString("PCURSY")).append("'").append(",").append("\n");
sb.append("'").append(df_t.format(df_s.parse(rss.getString("PEXPDT")))).append("'").append(",").append("\n");
sb.append("'").append(df_t.format(df_s.parse(rss.getString("PLTDAT")))).append("'").append(",").append("\n");
sb.append(rss.getString("PMULTF")).append(",").append("\n");
sb.append("'").append(rss.getString("PPTYPE")).append("'").append(",").append("\n");
//sb.append(rss.getString("PBS")).append(",");
sb.append("1").append(",").append("\n");
sb.append("1").append(",").append("\n");
sb.append("1").append(",").append("\n");
sb.append(rss.getString("OPTION_PREMIUM")).append("").append("\n");
// sb.append(df_t.format(df_s.parse(rss.getString("PTDATE")))).append(",");
sb.append(") ").append("\n");
System.out.println(sb.toString());
// stat_target.executeUpdate(sb.toString());
stat_target.addBatch(sb.toString());
// stat_target.executeUpdate(sb.toString());
if (i == 2) {
break;
stat_target.executeBatch();
con_target.commit();
} catch (BatchUpdateException be) {
System.out.println("be: "+be.getErrorCode());
System.out.println("be: "+be.getMessage());
be.printStackTrace();
System.out.println("be: "+i);
} catch (SQLException se) {
System.out.println("se: "+se.getErrorCode());
System.out.println("se: "+i);
}What is the error message?
I advice you to use prepared statement for batch inserting. -
OT: MySQL Error #1064
I used phpMyAdmin to insert several new rows in a database
table, then I
suddenly hit a brick wall with this error message:
MySQL said:
#1064 - 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 '(`Key2`, `ID`, `Site2`, `Articles`, `Contents`,
`Links`) VALUES
('19', 'China'' at line 1
I think this is the same error message I used to get on my PC
every now
and then. It doesn't offer any clues as to the nature of the
problem,
and it isn't easy to track down via Google.
I think I either fixed it or found a workaround once before,
but I can't
recall the solution. I don't know if it was a related problem
or
something entirely different, but I think I recall a
situation where my
database table's cardinality was limited to a certain number,
and it
wouldn't allow me to insert any additional rows for some
reason. But I
don't know if that's the problem in this case or not.
Does anyone have any suggestions?David Powers wrote:
> David Blomstrom wrote:
>> I used phpMyAdmin to insert several new rows in a
database table, then
>> I suddenly hit a brick wall with this error message:
>>
>> MySQL said:
>> #1064 - 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 '(`Key2`, `ID`, `Site2`, `Articles`,
`Contents`, `Links`) VALUES
>> ('19', 'China'' at line 1
>>
>> I think this is the same error message I used to get
on my PC every
>> now and then. It doesn't offer any clues as to the
nature of the problem,
>
> The error message has nothing to do with PC or Mac. It's
a MySQL error
> message, and it's very precise. It not only tells you
that you have a
> syntax error in your SQL query; it tells you exactly
where the error is:
> near '(`Key2`, `ID`,...'
>
> In other words, the syntax error immediately precedes
(`Key2`, `ID`,...
>
> You need to examine the SQL itself to determine the
nature of the syntax
> error.
>
Thanks for the tip, though I'm still confused. I simply used
phpMyAdmin
to insert a new row, then began by typing "19" into the first
available
space. There is nothing before that. I don't know how to
examine the
"SQL itself," as there is none that I'm aware of.
I simply inserted a few values, as I had done on several
previous
occasions. I then experimented by NOT inserting certain
values and by
inserting different values, but nothing worked.
I tracked "1064" through Google, and the problems appear to
be all over
the map. One guy said his database table was too big, and he
solved the
problem by breaking it up into several smaller tables.
At any rate, I finally created a new table and imported a CSV
file that
automatically filled a few fields for several hundred rows.
That
automatically created the rows I need, and I was then able to
insert
articles where needed.
Thanks. -
CREATE TABLE 'geodata' (
'Id' char(16) NOT NULL,
'Type' smallint(6) DEFAULT NULL,
'Description' varchar(200) DEFAULT NULL,
'Url' varchar(400) DEFAULT NULL,
'Location' point DEFAULT NULL,
PRIMARY KEY ('Id')
ERROR 1064:
'Id' char(16) NOT NULL,
'Type' smallint(6) DEFAULT NULL, at line1.
i dont know whats wrong with the table i created.Hi,
This is a forum for MS SQL Server. You should ask this question on a MySQL forum to get better answer to your question.
I haven't worked with MySQL, but I think SMALLINT does not need length to be specified. Try using below:
'Type' SMALLINT DEFAULT NULL,
- Vishal
SqlAndMe.com -
iam new to OBIEE, while iam starting the services of Oracle BI Server, then display an error as
"Could not start the Oracle BI Server sercice on Local Computer.
Error 1064: An expception occurred in the service when handling the control request."
why this error occurs, is there any problem in installation or in any other else....Hi,
I have faced this before. When you change the NQSconfig file to add a new RPD created by you and change the INSTANCECONFIG.XML file with the services in started state you get this error. To rectify the issue please stop the BI SERVER and presentation server and JAVA host services. Then chnage the NQSCONFIG.INI file and INSTANCECONFIG.XML file. Then you start the services it will start without an error. -
Error while starting the Oracle BI Server
Hi ,
I am getting the services.msc error while starting the Oracle BI Server as -
Error handling the control request.
Please help me out ..
Thanks and Regards ,It is actually Windows services error that I am facing ....
while starting the BI server after making any changes to NQS config file ..
Could not start the Oracle BI Server service on Local Computer
Error 1064: An exception occured in the service when handling the control request
Message was edited by:
user460211
Message was edited by:
user460211 -
Error while starting BI Scheduler
Hi,
I have done my configuration according to the below mentioned url :
http://gerardnico.com/wiki/dat/obiee/bi_scheduler/obiee_scheduler_configuration
After doing this when I try to start the Scheduler Service I am getting the following error :
*1064 : An Exception occurred in the service when handling the control request.*
I checked NQScheduler.log and it is giving following error :
*2009-06-29 11:30:04*
*[16020] Metadata Database Type: Oracle 10g R1*
Data Source Name: obieedev.tpcsed.com
Data Source Type: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pro
*2009-06-29 11:30:04*
*[68008] Scheduler Error: [nQSError: 12002] Socket communication error at call=: (Number=10048) Only one usage of each socket address (protocol/network address/port) is normally permitted.*
Can anyone please help me with this issue.
Regards,
Vikasthanks for replying.
yes, i am trying on this server machine.We have two different servers.(Test and development).When i have followed the same steps in test server it worked fine.But when i am doing this in development server this is giving the above mentioned error.
I have already checked the tables.They are created perfectly.
Please let me know if u need any other information.
Regards,
Vikas -
While starting the services an error occurs.
hai,
iam new to OBIEE, while iam starting the services of Oracle BI Server, then display an error as
"Could not start the Oracle BI Server sercice on Local Computer.
Error 1064: An expception occurred in the service when handling the control request."
why this error occurs, is there any problem in installation or in any other else....
please say in detail.........
Thanks in advancethanks naresh meda and vency,
ur suggestions are helpful to me.
i checked my syntax in nqsconfig.ini. and set the path in the instanceconfig.xml. Then it is solved.
yah! i started services mannually .
thanks for ur suggestions.
Edited by: user10915889 on Mar 17, 2009 11:16 PM -
Hi,
Can someone help me please.
I am new to ODI and trying to work with it.
My source DB = MS SQL 2005 Server
Target DB = MySQL5.1
I created a new project and models. I have the physical and logical architecture and all the connections are working.
I brought a source table in the diagram ara and a target table(its a empty table in mysql)
for the source, the LKM is : LKM SQL to SQL
and for target lKM is : lKM SQL Append
I am able to execute fine, when I go to operator, in the Integration step, I get the below error:
1050 : 42S01 : com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'tbl_dim_store' already exists
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'tbl_dim_store' already exists
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
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)
Can someone please help me. I have been trying to solve this error for more than a week now.
Thank youHi,
Yes, the create target table option was set to true and the target table exists in the target DB. So, I made the create target table option to default No. Now during execution it I see:
1) Drop table - done
2) create table - done
3) load data - done (but i dont see any data in the table)
*4) Integration - Fails with error:*
1064 : 42000 : 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 'from testingodi.C$_0tbl_dim_store where (1=1)' at line 1
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 'from testingodi.C$_0tbl_dim_store where (1=1)' at line 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
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)
When I go the description column of step 4 I see the following:
insert into testingodi.tbl_dim_store
Store_Num,
Order_Status,
Store_Desc,
Merch_Div_Num,
Status,
Status_Desc,
Open_Date,
Close_Date,
Division_Num,
Division,
Region_Num,
District_Num,
Market_Area_Num,
Market_Type,
Ad_Area_Num,
Ad_Area_Desc,
Center_Desc,
City,
Zip_Code,
State,
Mgr_Name,
FRP_Flag,
LTA_Days,
LTA_Ship_Day,
PI_Inventory_Date,
FLR_Flag,
Add_DTime,
UPD_DTime,
UPD_User_ID,
Replen_Type,
Store_Phone,
Square_Feet,
Addr_Line1,
Addr_Line2,
Callout_Ind,
Close_Reason_Code,
County_Name,
Demograph_Mkt_Seq,
Fax,
Fin_Dist_Num,
Fin_Div_Num,
Fin_Inventory_Date,
Fixture_Type,
FRP_Invntry_Date,
Grand_Open_Date,
Latitude,
Linear_Ft,
Longitude,
Manual_Order_Date,
Market_Locn_Code,
Merch_Dist_Num,
Office_Phone,
On_Hand_Upd_Date,
Open_Code,
Proj_Sales_Amt,
Project_Code,
Prototype_Ind,
Remodel_Date,
Sales_Qty,
San_ID,
Sign_Color,
Time_Card_Code,
Trade_Convsn_Num,
Vacate_Date,
Vol_Class_Code,
Wage_Plan_Code,
Zip_Code_Ext,
PI_Schedule_Date,
PI_Music_Inv_Date,
PI_Music_Schd_Date,
Last_Modified_Date
select
C1_STORE_NUM,
C2_ORDER_STATUS,
C3_STORE_DESC,
C4_MERCH_DIV_NUM,
C5_STATUS,
C6_STATUS_DESC,
C7_OPEN_DATE,
C8_CLOSE_DATE,
C9_DIVISION_NUM,
C10_DIVISION,
C11_REGION_NUM,
C12_DISTRICT_NUM,
C13_MARKET_AREA_NUM,
C14_MARKET_TYPE,
C15_AD_AREA_NUM,
C16_AD_AREA_DESC,
C17_CENTER_DESC,
C18_CITY,
C19_ZIP_CODE,
C20_STATE,
C21_MGR_NAME,
C22_FRP_FLAG,
C23_LTA_DAYS,
C24_LTA_SHIP_DAY,
C25_PI_INVENTORY_DATE,
C26_FLR_FLAG,
C27_ADD_DTIME,
C28_UPD_DTIME,
C29_UPD_USER_ID,
C30_REPLEN_TYPE,
C31_STORE_PHONE,
C32_SQUARE_FEET,
C33_ADDR_LINE1,
C34_ADDR_LINE2,
C35_CALLOUT_IND,
C36_CLOSE_REASON_CODE,
C37_COUNTY_NAME,
C38_DEMOGRAPH_MKT_SEQ,
C39_FAX,
C40_FIN_DIST_NUM,
C41_FIN_DIV_NUM,
C42_FIN_INVENTORY_DATE,
C43_FIXTURE_TYPE,
C44_FRP_INVNTRY_DATE,
C45_GRAND_OPEN_DATE,
C46_LATITUDE,
C47_LINEAR_FT,
C48_LONGITUDE,
C49_MANUAL_ORDER_DATE,
C50_MARKET_LOCN_CODE,
C51_MERCH_DIST_NUM,
C52_OFFICE_PHONE,
C53_ON_HAND_UPD_DATE,
C54_OPEN_CODE,
C55_PROJ_SALES_AMT,
C56_PROJECT_CODE,
C57_PROTOTYPE_IND,
C58_REMODEL_DATE,
C59_SALES_QTY,
C60_SAN_ID,
C61_SIGN_COLOR,
C62_TIME_CARD_CODE,
C63_TRADE_CONVSN_NUM,
C64_VACATE_DATE,
C65_VOL_CLASS_CODE,
C66_WAGE_PLAN_CODE,
C67_ZIP_CODE_EXT,
C68_PI_SCHEDULE_DATE,
C69_PI_MUSIC_INV_DATE,
C70_PI_MUSIC_SCHD_DATE,
from testingodi.C$_0tbl_dim_store
where
(1=1)
There is a "," before from clause. I am not sure how it came, but I tried to manually delete it here and restart session, it still fails.
Please help me understand and solve the problem.
Thank you.
Maybe you are looking for
-
I have just migrated to a new laptop and have set up Thunderbird with various work and personal accounts. All the gmail accounts work fine, but the I am experiencing some problems with my btinternet account. 1. When it sends an email if gets stuck at
-
Mini 311 - RAM and OS question (UK based)
I'm very interested in the Mini 311, because it is one of the few netbooks with both HDMI and VGA outputs that is in my price range (with decent enough graphics to do what I want with it). But being in the UK, there is not yet any sign of a Windows 7
-
How to implement a connection pooling in servlet
hi all, how to implement a connection pooling in servlet.i want to know how to implement it in tomcat in a struts based environment. any input to the topic is appreciated. Thanks Sudha
-
If you are on the Monthly view and you create an event that spans multiple days but have specific start and end times (i.e. not "All Day Events"), for example, 9am Tuesday to 1pm Wednesday, then iCal fails to display the event spanning the days. It o
-
After applying 'pacman -Syu' today I no longer have a local printer on my system. Did I miss some message during my 'pacman -Syu' today about having to change some configuration?