PROBLEM With my procedure (BULK COLLECT)
This s my code
CREATE OR REPLACE PROCEDURE BULK_COLLECT_tipo_per IS
TYPE T_ARRAY_TAB IS TABLE OF tipo_per_22%ROWTYPE
INDEX BY PLS_INTEGER;
T_ARRAY_COL T_ARRAY_TAB;
cursor CUR is
SELECT CIF_ID,
MAX(C1) CL_ORI,
MAX(C2) F_COTI,
MAX(C3) EX_ORI,
MAX(C4) F_EX_MAX
FROM (SELECT /*+ PARALLEL(C,8) */
C.CIF_ID,
MAX(NVL(DECODE(CANAL_ORIGEN, 'INDIRECTO', '1'),
DECODE(CANAL_ORIGEN, 'DIRECTO', '0'))) C1,
NULL C2,
NULL C3,
NULL C4
FROM DBM_PHOTO_POLARIS C
GROUP BY CIF_ID
UNION
SELECT DISTINCT /*+ PARALLEL(C,8) */ C.ID CIF_ID,
NULL C1,
MAX(FECHA_PRESU) C2,
NULL C3,
NULL C4
FROM EMI_PRESU_SOLIC@POLCP C
WHERE FECHA_PRESU > SYSDATE - 730
GROUP BY ID
UNION
SELECT /*+ PARALLEL(C,8)*/
C.CIF_ID,
NULL C1,
NULL C2,
MAX(NVL(DECODE(MAX_BAJA_INDIRECTO, 'S', '1'),
DECODE(MAX_BAJA_DIRECTO, 'S', '0'))) C3,
MAX(FECHA_PROCESO) C4
FROM MX_EX_CLIENTES_5AÑOS C
WHERE FECHA_PROCESO > SYSDATE - 1825
AND (MAX_BAJA_INDIRECTO = 'S' OR MAX_BAJA_DIRECTO = 'S')
GROUP BY CIF_ID)
GROUP BY CIF_ID;
BEGIN
OPEN CUR;
LOOP
FETCH CUR BULK COLLECT
INTO T_ARRAY_COL LIMIT 100;
FORALL I IN 1 .. T_ARRAY_COL.COUNT
INSERT INTO TIPO_PER_2
(CIF_ID , CL_ORI,F_COTI ,EX_ORI ,F_EX_MAX)
VALUES
(T_ARRAY_COL(i).CIF_ID,
T_ARRAY_COL(i).CL_ORI,
T_ARRAY_COL(i).F_COTI,
T_ARRAY_COL(i).EX_ORI ,
T_ARRAY_COL(i).F_EX_MAX);
EXIT WHEN CUR%NOTFOUND;
END LOOP;
COMMIT;
CLOSE CUR;
END;
And this is the errors...
Compilation errors for PROCEDURE MARKETING.BULK_COLLECT_TIPO_PER
Error: PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
Line: 58
Text: (T_ARRAY_COL(i).CIF_ID,
Error: PLS-00382: expression is of wrong type
Line: 58
Text: (T_ARRAY_COL(i).CIF_ID,
Error: PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
Line: 59
Text: T_ARRAY_COL(i).CL_ORI,
Error: PLS-00382: expression is of wrong type
Line: 59
Text: T_ARRAY_COL(i).CL_ORI,
Error: PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
Line: 60
Text: T_ARRAY_COL(i).F_COTI,
Error: PLS-00382: expression is of wrong type
Line: 60
Text: T_ARRAY_COL(i).F_COTI,
Error: PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
Line: 61
Text: T_ARRAY_COL(i).EX_ORI ,
Error: PLS-00382: expression is of wrong type
Line: 61
Text: T_ARRAY_COL(i).EX_ORI ,
Error: PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
Line: 62
Text: T_ARRAY_COL(i).F_EX_MAX);
Error: PLS-00382: expression is of wrong type
Line: 62
Text: T_ARRAY_COL(i).F_EX_MAX);
Error: PL/SQL: ORA-22806: not an object or REF
Line: 58
Text: (T_ARRAY_COL(i).CIF_ID,
Error: PL/SQL: SQL Statement ignored
Line: 55
Text: INSERT INTO TIPO_PER_2
i try to solve this errors but i cant....help please
How about replacing your insert with following
INSERT INTO TIPO_PER_2
VALUES
T_ARRAY_COL(i);
I USED YOUR SUGESTION BUT ....
Compilation errors for PROCEDURE MARKETING.BULK_COLLECT_TIPO_PER
Error: PL/SQL: ORA-00947: not enough values
Line: 63
Text: INSERT INTO TIPO_PER_2
Error: PL/SQL: SQL Statement ignored
Line: 63
Text: INSERT INTO TIPO_PER_2
I NOT UNDERSTAND WHAT IS THE RESTRICTION IN MY CASE?
THANKS---------------------------------------------------------------------
Similar Messages
-
Problem with Assocaite Array & Bulk Collect
Hi All,
I encountered compilation error when I executed the following block. Improper reference of elements in associate array ( at var.party_name (r) in the code ) is giving problems. Please help me in correcting it.
Regards,
Kashif
DECLARE
TYPE record1 IS RECORD (
party_name racsf_cust_pre_staging_int.party_name%TYPE,
shipping_address_1 racsf_cust_pre_staging_int.shipping_address_1%TYPE,
cust_acct_site_id racsf_cust_pre_staging_int.cust_acct_site_id%TYPE
TYPE typ_cust_pre_staging_int IS TABLE OF record1
INDEX BY BINARY_INTEGER;
var typ_cust_pre_staging_int;
BEGIN
SELECT party_name,
shipping_address_1,
cust_acct_site_id
BULK COLLECT INTO var
FROM racsf_cust_pre_staging_int;
FORALL r IN var.FIRST .. var.LAST
UPDATE racsf_cust_pre_staging_int
SET party_name = var.party_name (r),
shipping_address_1 = var.shipping_address_1 (r)
WHERE cust_acct_site_id = var.cust_acct_site_id (r);
END;I thought if i collect BULK collect and update all records, it will avoid context switching b/w SQL & PL/SQL engines and decrease the execution time.Right idea to get rid of FOR loop
But if you can do in a single SQL statement and avoid collections that is best.
How many records in the collection?
Use LIMIT if necessary as already mentioned - 500 to 1000 might be a sensible limit
I believe this is representative of your current error (I'm using insert and new table for simplicity):
SQL> create table t
2 (col1 number
3 ,col2 number);
Table created.
SQL>
SQL> declare
2 cursor c_t
3 is
4 select rownum col1, rownum col2
5 from dual
6 connect by rownum <= 10000;
7 type tt_t is table of t%rowtype index by pls_integer;
8 v_t tt_t;
9 begin
10 open c_t;
11 loop
12 fetch c_t bulk collect into v_t limit 1000;
13 exit when v_t.count = 0;
14 forall i in 1 .. v_t.count
15 insert into t
16 (col1,col2)
17 values
18 (v_t.col1(i), v_t.col2(i));
19 end loop;
20 end;
21 /
(v_t.col1(i), v_t.col2(i));
ERROR at line 18:
ORA-06550: line 18, column 14:
PLS-00302: component 'COL1' must be declared
ORA-06550: line 18, column 27:
PLS-00302: component 'COL2' must be declared
ORA-06550: line 18, column 27:
PLS-00302: component 'COL2' must be declared
ORA-06550: line 18, column 23:
PL/SQL: ORA-00904: "V_T"."COL2": invalid identifier
ORA-06550: line 15, column 9:
PL/SQL: SQL Statement ignored
SQL> If you change to the following you will run into PLS-00436 - a right PITA.
SQL> declare
2 cursor c_t
3 is
4 select rownum col1, rownum col2
5 from dual
6 connect by rownum <= 10000;
7 type tt_t is table of t%rowtype index by pls_integer;
8 v_t tt_t;
9 begin
10 open c_t;
11 loop
12 fetch c_t bulk collect into v_t limit 1000;
13 exit when v_t.count = 0;
14 forall i in 1 .. v_t.count
15 insert into t
16 (col1,col2)
17 values
18 (v_t(i).col1, v_t(i).col2);
19 end loop;
20 end;
21 /
(v_t(i).col1, v_t(i).col2);
ERROR at line 18:
ORA-06550: line 18, column 10:
PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
ORA-06550: line 18, column 10:
PLS-00382: expression is of wrong type
ORA-06550: line 18, column 23:
PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
ORA-06550: line 18, column 23:
PLS-00382: expression is of wrong type
ORA-06550: line 18, column 10:
PL/SQL: ORA-22806: not an object or REF
ORA-06550: line 15, column 9:
PL/SQL: SQL Statement ignoredFor workarounds other than using single arrays per column, see Adrian Billington's article here:
http://www.oracle-developer.net/display.php?id=410
Easiest solution is one array per column:
SQL> declare
2 cursor c_t
3 is
4 select rownum col1, rownum col2
5 from dual
6 connect by rownum <= 10000;
7 type tt_t1 is table of t.col1%type index by pls_integer;
8 type tt_t2 is table of t.col2%type index by pls_integer;
9 v_t1 tt_t1;
10 v_t2 tt_t2;
11 begin
12 open c_t;
13 loop
14 fetch c_t bulk collect into v_t1,v_t2 limit 1000;
15 exit when v_t1.count = 0;
16 forall i in 1 .. v_t1.count
17 insert into t
18 (col1,col2)
19 values
20 (v_t1(i), v_t2(i));
21 end loop;
22 end;
23 /
PL/SQL procedure successfully completed.
SQL> Best solution would have been a single piece of SQL:
SQL> insert into t
2 (col1,col2)
3 select rownum col1, rownum col2
4 from dual
5 connect by rownum <= 10000
6 /
10000 rows created.
SQL> -
People,
I'm having a problem with a procedure in the moment I'm trying to execute it, could someone help.
CREATE OR REPLACE PROCEDURE CARREGA IS
begin
declare
strSQL VARCHAR2(250);
NCham number(9);
cursor n_chamados is
SELECT NumeroChamado, Planta, Instalacao, Defeito,
DescricaoDefeito, Servico, DataChamado,Horas, Minutos
FROM DEFEITOS_AUX;
begin
For reg_chamado in n_chamados
Loop
begin
NCham := reg_chamado.numerochamado;
strSQL := 'SELECT numerochamado FROM Defeitos';
strSQL := strSQL || ' WHERE numerochamado =';
strSQL := strSQL || NCham || ' GROUP BY numerochamado';
EXECUTE IMMEDIATE strSQL;
exception
when no_data_found then
strSQL := 'INSERT INTO Defeitos (';
strSQL := strSQL || 'NumeroChamado, ';
strSQL := strSQL || 'Planta, ';
strSQL := strSQL || 'Instalacao, ';
strSQL := strSQL || 'Defeito, ';
strSQL := strSQL || 'DescricaoDefeito, ';
strSQL := strSQL || 'Servico, ';
strSQL := strSQL || 'DataChamado, ';
strSQL := strSQL || 'Horas, ';
strSQL := strSQL || 'Minutos) ';
strSQL := strSQL || 'VALUES ( ';
strSQL := strSQL || reg_chamado.NumeroChamado || ', ';
strSQL := strSQL || reg_chamado.Planta || ', ';
strSQL := strSQL || reg_chamado.Instalacao || ', ';
strSQL := strSQL || reg_chamado.Defeito || ', ';
strSQL := strSQL || reg_chamado.DescricaoDefeito || ', ';
strSQL := strSQL || reg_chamado.Servico || ', ';
strSQL := strSQL || reg_chamado.DataChamado || ', ';
strSQL := strSQL || reg_chamado.Horas || ', ';
strSQL := strSQL || reg_chamado.Minutos || ')';
EXECUTE Immediate strSQL;
end;
strSQL := 'UPDATE Defeitos SET ';
strSQL := strSQL || 'Planta = ' || reg_chamado.Planta;
strSQL := strSQL || ', Instalacao = ' || reg_chamado.Instalacao;
strSQL := strSQL || ', Defeito = ' || reg_chamado.Defeito;
strSQL := strSQL || ', DescricaoDefeito = ' || reg_chamado.DescricaoDefeito;
strSQL := strSQL || ', Servico = ' || reg_chamado.Servico;
strSQL := strSQL || ', DataChamado = ' || reg_chamado.DataChamado;
strSQL := strSQL || ', Horas = ' || reg_chamado.Horas;
strSQL := strSQL || ', Minutos = ' || reg_chamado.Minutos;
strSQL := strSQL || ' WHERE NumeroChamado = ' || NCham;
EXECUTE Immediate strSQL;
end loop;
end;
end;Hi Erika,
there is no need for dynamic SQL.
I suppose the NumeroChamado is your primary key and has an unique index on it.
Just insert the rows and if there is already an existing row, catch the exception and update the row.
CREATE OR REPLACE PROCEDURE CARREGA IS
CURSOR n_chamados IS
SELECT NumeroChamado,
Planta,
Instalacao,
Defeito,
DescricaoDefeito,
Servico,
DataChamado,
Horas,
Minutos
FROM DEFEITOS_AUX;
BEGIN
FOR reg_chamado IN n_chamados LOOP
BEGIN
INSERT INTO Defeitos (;
NumeroChamado, ';
Planta,
Instalacao,
Defeito,
DescricaoDefeito,
Servico,
DataChamado,
Horas,
Minutos
) VALUES (
reg_chamado.NumeroChamado,
reg_chamado.Planta,
reg_chamado.Instalacao,
reg_chamado.Defeito,
reg_chamado.DescricaoDefeito,
reg_chamado.Servico,
reg_chamado.DataChamado,
reg_chamado.Horas,
reg_chamado.Minutos
EXCEPTIONS
WHEN DUP_VAL_ON_INDEX THEN
UPDATE Defeitos SET
Planta = reg_chamado.Planta,
Instalacao = reg_chamado.Instalacao,
Defeito = reg_chamado.Defeito,
DescricaoDefeito = reg_chamado.DescricaoDefeito,
Servico = reg_chamado.Servico,
DataChamado = reg_chamado.DataChamado,
Horas = reg_chamado.Horas,
Minutos = reg_chamado.Minutos
WHERE NumeroChamado = reg_chamado.NumeroChamado;
END;
END LOOP;
END; -
Hello!
I'm having problems with the Korg Legacy Collection in the new version of Garageband in Mavericks. When I try to load the AU, I get this error message:
"Failed to load Audio Unit, please contact the manufacturer for an updated version or further assistance. (-10110)"
They seem to work fine in Ableton Live 8 Lite, also running in Mavericks. So, I think it is something with Garageband. In addition, Korg updated to 64bit early last year.
Anyone know how to fix the problem? Or is Korg or Apple's problem?
Thanks.They seem to work fine in Ableton Live 8 Lite, also running in Mavericks. So, I think it is something with Garageband. In addition, Korg updated to 64bit early last year.
Have you checked, if you have the newest 64-bit version installed? There may still be an older version sitting around - check both plug-in folders, the one in your Home folder and the one in the system library:
~/Library/Audio/Plug-Ins/
/Library/Audio/Plug-Ins/
Some programs may still be able to use 64-bit plug-ins, but GarageBand will not use them: http://support.apple.com/kb/TS5249 -
Problems with Sybase Database for Collection Manager in SCE2020
We have problems with Sybase Database for Collection Manager in a SCE2020. The status is:
[root@btl-sce-cm log]# ~scmscm/setup/alive.sh STATUS OK [root@btl-sce-cm monitor]# ./monitor.sh -a -d Test: 01db_up.sh. Status: FAIL. Message: DB is not running Test: 02cm_up.sh. Status: PASS. Message: CM is running Test: 03free_db.sh. Status: PASS. Message: 99% free space in data db Test: 04free_log.sh. Status: PASS. Message: 99% free space in log db Test: 05cm_persistent_buffers.sh. Status: FAIL. Message: The following directory/ies have more than 500 files in them - JDBCAdapter TAAdapter [root@btl-sce-cm monitor]# ~scmscm/scripts/dbtables.sh /home/scmscm/scripts/common.sh: line 43: /root/cm/bin/cm: is a directory Executing query ... /home/scmscm/scripts/dbtables.sh: line 83: /root/cm/bin/cm: is a directory [root@btl-sce-cm monitor]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 149559596 138280700 3681636 98% / /dev/sda1 101086 20685 75182 22% /boot none 1036624 0 1036624 0% /dev/shm
We restored the Sybase database, but we have problems to access the database from Collection Manager and we can't obtain reports from SCE 2020.
Here is the info:
Problem Details: The SCA Reporter cannot generate Reports, the CM diagnostics show the following:
[root@btl-sce-cm ~]# ~scmscm/setup/alive.sh STATUS OK
[root@btl-sce-cm ~]# ~scmscm/scripts/dbfree.sh
Name % Data Free % Log Free
Database 55 99
[root@btl-sce-cm ~]# ~scmscm/scripts/dbtables.sh
/home/scmscm/scripts/common.sh: line 43: /root/cm/bin/cm: No such file or directory Executing query ...
/home/scmscm/scripts/dbtables.sh: line 83: /root/cm/bin/cm: No such file or directory
[root@btl-sce-cm ~]# ~scmscm/setup/monitor/monitor.sh -d -a
Test: 01db_up.sh. Status: FAIL. Message: DB is not running
Test: 02cm_up.sh. Status: PASS. Message: CM is running
Test: 03free_db.sh. Status: PASS. Message: 55% free space in data db
Test: 04free_log.sh. Status: PASS. Message: 99% free space in log db
Test: 05cm_persistent_buffers.sh. Status: FAIL. Message: The following directory/ies have more than 500 files in them - JDBCAdapter
Message was edited by: EMILIO MENCIATomo:
we have problems with our reports in Collection Manager again. We reboot the CM, but the problems continue.
This is the log of the CM. What can be the problem? Thanks tomo
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of User Accounts during current sample period: 3.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of User Accounts since startup: 3.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Configured Number of User Connections during current sample period: 200.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Configured Number of User Connections since startup: 200.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Number of User Connections during current sample period: 15.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Number of User Connections since startup: 18.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of user seat licenses used during current sample period: 1.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of user seat licenses used since startup: 3.
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.78 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.86 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.92 server Error: 1608, Severity: 18, State: 4
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.94 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.94 kernel extended error information: hostname: btllt0012 login: pqb_admin
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 server Error: 1608, Severity: 18, State: 4
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel extended error information: hostname: btllt0012 login: pqb_admin
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 server Error: 632, Severity: 20, State: 2
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 server Attempt to move memory with an incorrect length
of -794444483. Maximum allowed length is 16384.
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel ************************************
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel SQL causing error : =
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel ************************************
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel curdb = 4 tempdb = 2 pstat = 0x10000
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel lasterror = 632 preverror = 0 transtate = 3
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel curcmd = 0 program =
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel extended error information: hostname: btl-sce-cm login: pqb_admin
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08d40ca3 pcstkwalk+0x31b(0x9a78fdbc, 0x9a78fb6c, 0x0000270f, 0x00000002, 0x9a78fb6c)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08d40832 ucstkgentrace+0x13a(0x68a4006f, 0x00000002, 0x0000270f, (nil), (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08ce346d ucbacktrace+0x5d((nil), 0x00000001, (nil), 0x00000003, 0x20202020)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x082f19b8 terminate_process+0xa5c((nil), 0xffffffff, 0x9a7904c4, 0x08349a96, 0x00000278)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08349acb close_network+0xf(0x00000002, 0x9ced1ea0, 0x9a790544, 0x0834902e, 0x00000006)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08349aad hdl_default+0x45(0x00000006, 0x00000020, 0x00000014, 0x00000002, 0x9a7904fc)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0834902e ex_raise+0x18a(0x00000006, 0x00000020, 0x00000014, 0x00000002, 0xd0a5bd3d)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08357c9b memmove_error+0x27(0xd0a5bd3d, 0x00004000, 0xffffffff, 0x0896b8a4, 0x9e3d7cfc)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0833e54e recvhost+0xbe(0x9a7909ec, 0xd0a5bd3d, 0x00000018, 0x9e44d5d8, 0x9e44d52c)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08339160 recvchars+0x74(0x9ced2a1c, 0xd0a5bd3d, 0x9a7909ec, 0x000000ff, (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0831e237 tdsrecv_declare+0x207(0x00000010, 0x9cecb914, 0x9a7911b4, 0x0832dd5f, (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel [Handler pc: 0x0x0863eca4 ut_handle installed by the following function:-]
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0832e3a9 conn_hdlr+0xe49(0x00000030, 0x9a7911c8, 0x895eed31, (nil), (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08d33984 kpexit((nil), (nil), (nil), 0x9a020900, 0x00000070)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel end of stack trace, spid 11, kpid 1755578479, suid 3
AFTER RESTART
ov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel SySAM: Checked out license for 1 ASE_CORE (2010.04040/permanent/148F 853E 92A9 E302).
Nov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel This product is licensed to: CISCO SYSTEMS, and OEM license from Sybase, Inc.
Nov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel Checked out license ASE_CORENov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel Adaptive Server Enterprise (Small Business Edition)
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.02 kernel Using config area from primary master device.
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.17 kernel Locking shared memory into physical memory.
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.22 kernel Internal run-time model set for Linux - Native
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Using 1024 file descriptors.
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Adaptive Server Enterprise/15.0.2/EBF 14331/P/Linux Intel/Linux 2.4.21-47.ELsmp i686/ase1502/2486/32-bit/FBO/Thu May 24 08:15:50 2007
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Confidential property of Sybase, Inc.Nov 28 09:19:07 localhost messagebus: messagebus startup succeeded
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Copyright 1987, 2007
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Sybase, Inc. All rights reserved.
Nov 28 09:19:08 localhost rhnsd: Red Hat Network Services Daemon running with check_in interval set to 240 minutes.
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Unpublished rights reserved under U.S. copyright laws.
Nov 28 09:19:08 localhost rhnsd: Red Hat Network Services Daemon running with check_in interval set to 240 minutes.
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel
Nov 28 09:19:08 localhost rhnsd[27742]: Red Hat Network Services Daemon starting up.
Nov 28 09:19:08 localhost rhnsd: rhnsd startup succeeded
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel This software contains confidential and trade secret information of Sybase,
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Inc. Use, duplication or disclosure of the software and documentation by
Nov 28 09:19:09 localhost cups-config-daemon: cups-config-daemon startup succeeded
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel the U.S. Government is subject to restrictions set forth in a license
Nov 28 09:19:09 localhost haldaemon: haldaemon startup succeeded
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel agreement between the Government and Sybase, Inc. or other written
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel agreement specifying the Government's rights to use the software and any
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel applicable FAR provisions, for example, FAR 52.227-19.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Using /opt/sybase as the 'SYBASE' environment variable, found during startup.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Using OCS-15_0 as the 'SYBASE_OCS' environment variable, found during startup.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel ASE booted on Linux release 2.6.9-78.0.13.ELsmp version #1 SMP Wed Jan 7 17:52:47 EST 2009.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel Using '/opt/sybase/ASE-15_0/pqbsyb1.cfg' for configuration information.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel Logging ASE messages in file '/opt/sybase/ASE-15_0/install/pqbsyb1.log'.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel Platform TCP network is forced to IPv4-only.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.32 kernel ASE booted with TCP_NODELAY enabled.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.35 kernel SSL Plus v5.0.4 security modules loaded successfully.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.35 kernel Network and device connection limit is 1009.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.65 server Number of blocks left for proc headers: 12760.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.65 server Proc header memory allocated 2552 pages for each per engine cache
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 server Size of the 16K memory pool: 307200 Kb
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 server Memory allocated for the default data cache cachelet 1: 307200 Kb
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel Enabling Linux Native Kernel asynchronous disk I/O strategy.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel Initializing virtual device 0, '/opt/sybase/data/master.dat' with dsync 'on'.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel Virtual device 0 started using asynchronous i/o.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.17 server Loaded default Unilib conversion handle.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.56 kernel Worker Thread Manager is not enabled for use in ASE.
Nov 28 09:19:12 localhost fstab-sync[28568]: removed all generated mount points
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.58 kernel Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.58 kernel Unix interval timer enabled for sysclk interrupts.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.85 kernel Begin processing to generate RSA keypair.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel Completed processing to generate RSA keypair.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel Encryption provider initialization succeeded on engine 0.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel engine 0, os pid 27618 online
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 server No active traceflags
Nov 28 09:19:13 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.08 kernel libomni1 - Component Integration Services: usin
g 'Sybase Client-Library/15.0/P-EBF14165 ESD #7/DRV.15.0.3/Linux Intel/Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-093/OPT/Wed Dec 13 21:46:44 2006'
Nov 28 09:19:13 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.10 server Opening Master Database ...
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.66 server Loading ASE's default sort order and character set
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.83 server Recovering database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.92 server Started estimating recovery log boundaries for database 'master'.
Nov 28 09:19:14 localhost kernel: mtrr: type mismatch for d8000000,2000000 old: uncachable new: write-combining
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Database 'master', checkpoint=(1831, 20), first=(1831, 20), last=(1831, 32).
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Completed estimating recovery log boundaries for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Started ANALYSIS pass for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Completed ANALYSIS pass for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Log contains all committed transactions until 2011/11/27 13:28:54.20 for database master.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Started REDO pass for database 'master'. The total number of log records to process is 13.
Nov 28 09:19:14 localhost fstab-sync[28716]: added mount point /media/cdrecorder for /dev/scd0
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Redo pass of recovery has processed 4 committed and 0 aborted transactions.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Completed REDO pass for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Recovery of database 'master' will undo incomplete nested top actions.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Started recovery checkpoint for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.38 server Completed recovery checkpoint for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.56 server Started filling free space info for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.24 server Completed filling free space info for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.26 server Started cleaning up the default data cache for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.26 server Completed cleaning up the default data cache for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.42 server Checking external objects.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.40 server Database 'master' is now online.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.40 server The transaction log in the database 'master' will use I/O size of 16 Kb.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.67 server Warning: ASE_HA has no valid license and therefore is not initialized.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.73 server server name is 'pqbsyb1'
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.90 server Activating disk 'sysprocsdev' of size 126976 KB.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 kernel Initializing virtual device 1, '/opt/sybase/data/sysprocs.dat' with dsync 'on'.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 kernel Virtual device 1 started using asynchronous i/o.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 server Activating disk 'systemdbdev' of size 49152 KB.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 kernel Initializing virtual device 2, '/opt/sybase/data/sybsysdb.dat' with dsync 'on'.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 kernel Virtual device 2 started using asynchronous i/o.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 server Activating disk 'apricot_data1' of size 35082660 KB.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 kernel Initializing virtual device 3, '/opt/sybase_data/apticotdata.dat' with dsync 'off'.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 kernel Virtual device 3 started using asynchronous (with DIRECTIO) i/o.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 server Activating disk 'apricot_log1' of size 2980002 KB.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 kernel Initializing virtual device 4, '/opt/sybase_data/apricotlog.dat' with dsync 'off'.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 kernel Virtual device 4 started using asynchronous (with DIRECTIO) i/o.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 server Activating disk 'tempdb_dev' of size 1048576 KB.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.09 kernel Initializing virtual device 5, '/opt/sybase_data/tempdb.dat' with dsync 'off'.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.09 kernel Virtual device 5 started using asynchronous i/o.
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.30 server Recovering database 'sybsystemdb'.
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.32 server Started estimating recovery log boundaries for database 'sybsystemdb'.
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Database 'sybsystemdb', checkpoint=(843, 106), first=(843, 106), last=(843, 106).
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Completed estimating recovery log boundaries for database 'sybsystemdb'.
Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Started ANALYSIS pass for database 'sybsystemdb'.
Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Completed ANALYSIS pass for database 'sybsystemdb'.
Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Log contains all committed transactions until 2011/10/25 09:55:36.72 for database sybsystemdb.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Started REDO pass for database 'sybsystemdb'. The total number of log records to process is 1.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server Completed REDO pass for database 'sybsystemdb'.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server Recovery of database 'sybsystemdb' will undo incomplete nested top actions.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server Started recovery checkpoint for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.46 server Completed recovery checkpoint for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.58 server Started filling free space info for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.69 server Completed filling free space info for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server Started cleaning up the default data cache for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server Completed cleaning up the default data cache for database 'sybsystemdb'.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server Boot Count: 13
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.81 server Checking external objects.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:14.18 server The transaction log in the database 'sybsystemdb' will use I/O size of 16 Kb.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.59 server Completed recovery checkpoint for database 'model'.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.70 server Started filling free space info for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.72 server Completed filling free space info for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.74 server Started cleaning up the default data cache for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.74 server Completed cleaning up the default data cache for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.77 server Checking external objects.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.07 server The transaction log in the database 'model' will use I/O size of 16 Kb.
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server Database 'model' is now online.
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server The logical pagesize of the server is 16 Kb.
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server 0 dump conditions detected at boot time
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server Clearing temp db
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:18.37 server Processed 27 allocation unit(s) out of 262 units (allocation page 6656). 10% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:19.51 server Processed 53 allocation unit(s) out of 262 units (allocation page 13312). 20% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:20.81 server Processed 79 allocation unit(s) out of 262 units (allocation page 19968). 30% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:22.19 server Processed 105 allocation unit(s) out of 262 units (allocation page 26624). 40% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:23.52 server Processed 131 allocation unit(s) out of 262 units (allocation page 33280). 50% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:24.96 server Processed 158 allocation unit(s) out of 262 units (allocation page 40192). 60% completed.
Nov 28 09:19:27 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:27.08 server Processed 184 allocation unit(s) out of 262 units (allocation page 46848). 70% completed.
Nov 28 09:19:29 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:29.94 server Processed 210 allocation unit(s) out of 262 units (allocation page 53504). 80% completed.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.01 server Processed 236 allocation unit(s) out of 262 units (allocation page 60160). 90% completed.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.57 server Processed 262 allocation unit(s) out of 262 units (allocation page 66816). 100% completed.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.84 server The transaction log in the database 'tempdb' will use I/O size of 16 Kb.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.86 server Database 'tempdb' is now online.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.06 server Recovering database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.08 server Started estimating recovery log boundaries for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Database 'sybsystemprocs', checkpoint=(6333, 93), first=(6333, 93), last=(6333, 93).
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Completed estimating recovery log boundaries for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Started ANALYSIS pass for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Completed ANALYSIS pass for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Log contains all committed transactions until 2011/10/25 09:55:36.72 for database sybsystemprocs.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Started REDO pass for database 'sybsystemprocs'. The total number of log records to process is 1.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Completed REDO pass for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Recovery of database 'sybsystemprocs' will undo incomplete nested top actions.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Started recovery checkpoint for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.18 server Completed recovery checkpoint for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.20 server Started filling free space info for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.39 server Completed filling free space info for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.40 server Started cleaning up the default data cache for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.40 server Completed cleaning up the default data cache for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.41 server Checking external objects.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.04 server The transaction log in the database 'sybsystemprocs' will use I/O size of 16 Kb.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.09 server Database 'sybsystemprocs' is now online.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00008:2011/11/28 09:19:34.23 kernel network name localhost.localdomain, interface IPv4, address 10.1.1.33, type tcp, port 4100, filter NONE
Nov 28 09:19:34 localhost sybase_init: 00:00000:00008:2011/11/28 09:19:34.23 kernel network name localhost.localdomain, interface IPv4, address 127.0.0.1, type tcp, port 4100, filter NONE
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the size of '128K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the size of '16K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the '128K' pool in 'default data cache' by changing its 'local async prefetch limit' from 10 to 80. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the '16K' pool in 'default data cache' by changing its 'local async prefetch limit' from 10 to 80. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server The server will recover databases serially.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.81 server Recovering database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.82 server Started estimating recovery log boundaries for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Database 'apricot', checkpoint=(2358271, 12), first=(2358271, 11), last=(2358275, 172).
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Completed estimating recovery log boundaries for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Started ANALYSIS pass for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Completed ANALYSIS pass for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Log contains all committed transactions until 2011/11/28 09:16:20.68 for database apricot.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Started REDO pass for database 'apricot'. The total number of log records to process is 846.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.10 server Redo pass of recovery has processed 2 committed and 138 aborted transactions.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.10 server Completed REDO pass for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.11 server Recovery of database 'apricot' will undo incomplete nested top actions.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.11 server Started recovery checkpoint for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.29 server Completed recovery checkpoint for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.35 server Started filling free space info for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.47 server Completed filling free space info for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.51 server Started cleaning up the default data cache for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.51 server Completed cleaning up the default data cache for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.55 server Checking external objects.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.30 server The transaction log in the database 'apricot' will use I/O size of 16 Kb.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.31 server Database 'apricot' is now online.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.34 server Recovery has restored the value of 'local async prefetch limit' for '128K' pool in 'default data cache' from '80' to 'DEFAULT'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.34 server Recovery has restored the value of 'local async prefetch limit' for '16K' pool in 'default data cache' from '80' to 'DEFAULT'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.40 server Recovery has restored the original size for '128K' pool and '16K' pool in 'default data cache'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.44 server Recovery complete.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server ASE's default unicode sort order is 'binary'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server ASE's default sort order is:
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server 'bin_iso_1' (ID = 50)
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server on top of default character set:
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server 'iso_1' (ID = 1).
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server Master device size: 240 megabytes, or 122880 virtual pages. (A virtual page is 2048 bytes.)
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 kernel Cannot send, host process disconnected: btl-sce-cm suid: 3
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 server Error: 1608, Severity: 18, State: 3
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 kernel extended error information: hostname: btl-sce-cm login: pqb_admin
Nov 28 09:38:27 localhost sshd(pam_unix)[29201]: session opened for user root by (uid=0) -
Hi,
We have a problem with a Oracle procedure call using the Sql Execute
Procedure statement.
The call gives us this error :
SYSTEM ERROR: (This error was converted)
(This error was converted)
OpenCursor failed for SQL statement in project LFB010, class
ClsDemarreLFB010,
method Demarre, methodId 4, line 32, error from database is:
ORA-01036: illegal variable name/num
Class: qqdb_ResourceException
Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
name
instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
0-fonctiondbservice0x196:0x2)
from partition "LFB010_CL0_Client", (partitionId =
D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
[D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
"FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
CentralEnv
Oracle error: 1036, Server: sipre_tcp, UserName: forte
Database Statement: begin
:qqReturnValue := AID_CUMUL_ELTVAL;
end;
Class: qqdb_ResourceException ..........
And this is the TOOL code :
BEGIN TRANSACTION
TmpEtat : IntegerData = new;
TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
FonctionDBService ));
Etat = TmpEtat.Value;
END TRANSACTION;
Our procedure has no parameter and when we put a dummy parameter to the
procedure and pass it in the TOOL SQL statement, it works fine althoug the
Forté help says the parameter list is optionnal !
We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
statement, but it does'nt work because there is a SQL update in the
procedure and it is forbidden by Oracle.
Has anyone seen this error before ?
Any ideas would be greatly appreciated.
Many thanks and regards,
Manuel DEVEAUX
Previade, France
e-mail : deveauxpreviade.frHi,
We have a problem with a Oracle procedure call using the Sql Execute
Procedure statement.
The call gives us this error :
SYSTEM ERROR: (This error was converted)
(This error was converted)
OpenCursor failed for SQL statement in project LFB010, class
ClsDemarreLFB010,
method Demarre, methodId 4, line 32, error from database is:
ORA-01036: illegal variable name/num
Class: qqdb_ResourceException
Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
name
instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
0-fonctiondbservice0x196:0x2)
from partition "LFB010_CL0_Client", (partitionId =
D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
[D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
"FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
CentralEnv
Oracle error: 1036, Server: sipre_tcp, UserName: forte
Database Statement: begin
:qqReturnValue := AID_CUMUL_ELTVAL;
end;
Class: qqdb_ResourceException ..........
And this is the TOOL code :
BEGIN TRANSACTION
TmpEtat : IntegerData = new;
TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
FonctionDBService ));
Etat = TmpEtat.Value;
END TRANSACTION;
Our procedure has no parameter and when we put a dummy parameter to the
procedure and pass it in the TOOL SQL statement, it works fine althoug the
Forté help says the parameter list is optionnal !
We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
statement, but it does'nt work because there is a SQL update in the
procedure and it is forbidden by Oracle.
Has anyone seen this error before ?
Any ideas would be greatly appreciated.
Many thanks and regards,
Manuel DEVEAUX
Previade, France
e-mail : deveauxpreviade.fr -
Problems with the CS6 Master Collection disk image (invalid checksum)
I have problems downloading the trial for CS6 Master Collection for MacOS X.
I've tried downloading using the Download Assistant, both as a privileged and an unprivileged user, and have also tried the direct download as both privileged and unprivileged. Each time I've waited until the download was complete before trying to install, but every time the disk image fails to open, complaining of an "invalid checksum".
I've tried mounting the disk image without validating the checksum, but while I can then run the installer, the installation fails due to lack of privileges – again, this is regardsless of user privileges. I've also tried deleting the preferences and cache-files for Download Assistant, but to no avail.
Can anyone confirm that the english version of the CS6 Master Collecion disk image is working and can be mounted without error on MacOS X 10.7? I have now downloaded and re-downloaded the disk image at least eight times, and while I have a fast Internet-connection, this is getting tedious.I just downloaded the DMG from Adobe.com using the trial and it mounts fine. I was able to start the installation.
I did not get a checksum error or any other error.
However, I found these instructions in another thread:http://forums.adobe.com/message/4370247#4370247
<quote>
If the download is completed in the Adobe Download Assistant you can temporarily turn off the feature to verify the checksum. The following steps will allow you to temporarily disable this feature:
Open the Disk Utility located in Applications/Utilities
Go under the Disk Utility menu and select preferences
Deselect the option to verify checksums
Try mounting your DMG file
I would recommend turning this feature back on though after the installation is complete. Also if you notice this happening on additional files it can indicate a problem with your Internet connection.
</quote>
Could you try these steps and let us know if you were able to proceed. -
Post Author: Ranjith.403
CA Forum: General
Hi,
Am new to crystal reports with stored procedures
am created a report using a stored procedure in oracle. In that Stored Procedure am Using a temporary table.
After inserting values into the table am assigning to ref cursor.
Refcursor having fields like item,onhandstock,purchase rate
This report working fine in oracle version 9.2.0.1.0 where comes to oracle version 9.2.0.8.0 it's giving the varchar values correctly.
The Number values are showing as 0.
Help me to solve it.
Thanks in Advance,
RanjithTry modularising this large procedure into smaller procedures and functions, and determine which part is causing you trouble.
-
Problem with store procedures and Hibernate
I got some problem when I am trying to override INSERT, and UPDATE operations in Hibernate. My delete functions works fine, and everything works when i´m not override with my stored procedure, and I have no idea why. When I am trying to make an INSERT, everything seems to be fine but no data is being insert and no excpetion throws.
When I am trying to make an UPDATE following excpetion throws:
Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not update: [labb6Hibernate.bil#18]
Here is my hbm.xml file:
<hibernate-mapping>
<class catalog="Cars" name="labb6Hibernate.bil" table="Bil">
<id name="idNum" type="java.lang.Integer">
<column name="idNum"/>
<generator class="identity"/>
</id>
<property name="marke" type="string">
<column length="10" name="Marke" not-null="true"/>
</property>
<property name="modell" type="string">
<column length="10" name="Modell" not-null="true"/>
</property>
<property name="arsmodell" type="string">
<column length="4" name="Arsmodell" not-null="true"/>
</property>
<sql-insert callable="true"> { call insertCars(?,?,?) } </sql-insert>
<sql-update callable="true"> { call updateCars(?,?,?) </sql-update>
<sql-delete callable="true"> { call deleteCars(?) } </sql-delete>
</class>
Here is my UPDATE code:
Session session = MyHibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
int s = Integer.parseInt(idTxt.getText());
bil Bil = (bil) session.get(bil.class, s);
Bil.setIdNum(s);
Bil.setMarke(markeTxt.getText());
Bil.setModell(modellTxt.getText());
Bil.setArsmodell(arsmodellTxt.getText());
session.update(Bil);
session.getTransaction().commit();
session.close();
Here is my INSERT code:
Session session = MyHibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
bil Bil = new bil();
Bil.setMarke(markeTxt.getText());
Bil.setModell(modellTxt.getText());
Bil.setArsmodell(arsmodellTxt.getText());
session.save(Bil);
session.getTransaction().commit();
session.close();
Does anyone have an idea what is wrong in my code?I got some problem when I am trying to override INSERT, and UPDATE operations in Hibernate. My delete functions works fine, and everything works when i´m not override with my stored procedure, and I have no idea why. When I am trying to make an INSERT, everything seems to be fine but no data is being insert and no excpetion throws.
When I am trying to make an UPDATE following excpetion throws:
Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not update: [labb6Hibernate.bil#18]
Here is my hbm.xml file:
<hibernate-mapping>
<class catalog="Cars" name="labb6Hibernate.bil" table="Bil">
<id name="idNum" type="java.lang.Integer">
<column name="idNum"/>
<generator class="identity"/>
</id>
<property name="marke" type="string">
<column length="10" name="Marke" not-null="true"/>
</property>
<property name="modell" type="string">
<column length="10" name="Modell" not-null="true"/>
</property>
<property name="arsmodell" type="string">
<column length="4" name="Arsmodell" not-null="true"/>
</property>
<sql-insert callable="true"> { call insertCars(?,?,?) } </sql-insert>
<sql-update callable="true"> { call updateCars(?,?,?) </sql-update>
<sql-delete callable="true"> { call deleteCars(?) } </sql-delete>
</class>
Here is my UPDATE code:
Session session = MyHibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
int s = Integer.parseInt(idTxt.getText());
bil Bil = (bil) session.get(bil.class, s);
Bil.setIdNum(s);
Bil.setMarke(markeTxt.getText());
Bil.setModell(modellTxt.getText());
Bil.setArsmodell(arsmodellTxt.getText());
session.update(Bil);
session.getTransaction().commit();
session.close();
Here is my INSERT code:
Session session = MyHibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
bil Bil = new bil();
Bil.setMarke(markeTxt.getText());
Bil.setModell(modellTxt.getText());
Bil.setArsmodell(arsmodellTxt.getText());
session.save(Bil);
session.getTransaction().commit();
session.close();
Does anyone have an idea what is wrong in my code? -
Problem with luactivate procedure in Solaris 10 Update 5
We are having some issues with Live Upgrade procedures with Solaris 10 Update 5 on SUN Enterprise T5240 servers.
We have successfully performed those procedures earlier on SUN Fire v240 using Solaris 10 Update 3.
Here is the problem statement:
1. Created a Flar image successfully
2. Installed on a 5240 machine from InstallServer and using jumpstart profile using a sysidcfg and flash_prof
3. The first installation is successful and system picks up configuration information from sysidcfg file on the install server.
4. Now we use lucreate to create another BE (Boot Environment) BE_2.
5. BE_2 is upgraded with luupgrade using the same flar as used in step 2.
6. Issuing command:
luactivate -s BE_2
7. After a init 6, system tries to boot from BE_2. This time instead of copying system files from BE_1 due to -s options specified, it instead runs the sysconfig command that asks for all the configuration options again.
8. When we were using these steps in Solaris 10 update 3 on Sun Fire v240, everything was working fine. The system config was available in BE_2 without any issue.
***************************************************************************************************************************************************iMovie10 only works in and exports 16:9 aspect ratio.
The resolution is set by that of the first video clip put in a project timeline. To change your project to 1080p do the following:
Create a new project
Put any known 1080p video clip in the project (it can be removed later)
Select the old project and then Edit - Select All then Edit - Copy
Select the new project and then Edit - Copy
The new project should now be 1080p. You can remove the first clip if you want.
Geoff. -
Problem with Stored Procedure exection in Oracle DB
Hi,
I am facing some problem while creating and executing a store procedure.
Please help me solving my problem.
Here are the details :
My Store Procedure :
PROCEDURE EMP2
(PROCESSED IN VARCHAR2 ) AS
BEGIN
SELECT * FROM EMPLOYEE WHERE PROCESSED ='NO'
UPDATE EMPLOYEE SET PROCESSED='YES' WHERE PROCESSED='NO'
COMMIT;END EMP;
Now I want to execute this SP with the statement,
EXECUTE EMP2('NO');
But When I execute this statement, it prompts with this error :
Error: java.sql.SQLException: ORA-00900: invalid SQL statement
, SQL State: 42000, Error Code:
Please help me to solve this issue with high priority.
Regards,
Vara.surely this is not the case :)
SQL> create or replace PROCEDURE EMP_PROC
(P_PROCESSED IN VARCHAR2 ) AS
BEGIN
for i in (SELECT * FROM EMP WHERE PROCESSED = P_PROCESSED)
loop
UPDATE EMPLOYEE SET PROCESSED='YES' WHERE PROCESSED='NO' and employee.empno=i.empid;
end loop;
COMMIT;
END;
/ 2 3 4 5 6 7 8 9 10
Procedure created.
SQL> exec EMP_PROC('NO');
PL/SQL procedure successfully completed. -
Hello,
using the Guided Procedures I have modeled an approval workflow.
After a requester submits a request, the request should be delegated to an approver.
However, when the requester actually submit the request, I get an error message which reads "Activity could not be read" and the workflow does not continue with the approver.
Does anyone has an idea, what could be wrong?
Best regards
AlexanderHi Fazal,
Check the Callable object in GP design time , whether it is giving u the expected output.
The callable objects work just fine and provide the expected outputs.
Nwa--> Problem management --> Logs and Traces --> Log Viewer.
in the log viewer, u will find the root cause for the error message.
Unfortunately, I cannot find (see below) any other root cause. It seems that the problem occurs either when completing the first or starting the second action. However, both callable objects work fine when tested in the design time.
Edit: It seems that the problem occurs when completing the first action. What could be the reason for that?
Activity could not be read
com.sap.caf.eu.gp.base.exception.EngineException: Activity could not be read
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.createWorkItems(StatusWriter.java:2948)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startAction(StatusWriter.java:2749)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startActivity(StatusWriter.java:1339)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatusSequentialBlock(StatusWriter.java:4368)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatus(StatusWriter.java:3617)
at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.completeAction(StatusWriter.java:286)
at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.LocalWorkflowConnector.completeAction(LocalWorkflowConnector.java:251)
at com.sap.caf.eu.gp.model.pfw.core.impl.ProcessRuntime.completeAction(ProcessRuntime.java:863)
at com.sap.caf.eu.gp.ui.act.container.VContainer.OnExecutionComplete(VContainer.java:509)
at com.sap.caf.eu.gp.ui.act.container.wdp.InternalVContainer.wdInvokeEventHandler(InternalVContainer.java:162)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.caf.eu.gp.ui.co.wd4vc.exec.wdp.InternalCOExecWD4VCInterface.wdFireEventExecutionComplete(InternalCOExecWD4VCInterface.java:170)
at com.sap.caf.eu.gp.ui.co.wd4vc.exec.COExecWD4VC.onSignalOut(COExecWD4VC.java:365)
at com.sap.caf.eu.gp.ui.co.wd4vc.exec.wdp.InternalCOExecWD4VC.wdInvokeEventHandler(InternalCOExecWD4VC.java:171)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:237)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.tc.wd4vc.launcher.wdp.InternalLauncherInterface.wdFireEventSignalOutEvent(InternalLauncherInterface.java:168)
at com.sap.tc.wd4vc.launcher.LauncherView.handleRaiseEndPoint(LauncherView.java:301)
at com.sap.tc.wd4vc.launcher.wdp.InternalLauncherView.wdInvokeEventHandler(InternalLauncherView.java:197)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.wdFireEventRaiseEndPoint(InternalXGLEngineInterface.java:308)
at com.sap.tc.wd4vc.xglengine.XGLEngineInterface.notifyEmbeddersOfEndPoint(XGLEngineInterface.java:231)
at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.notifyEmbeddersOfEndPoint(InternalXGLEngineInterface.java:152)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.notifyEmbeddersOfEndPoint(XGLInterpreter.java:2166)
at com.sap.tc.wd4vc.core.std.relays.java.impl.XGLEndPointRelay.notifyEmbedders(XGLEndPointRelay.java:82)
at com.sap.tc.wd4vc.core.std.relays.java.impl.XGLSignalOutRelay.execute(XGLSignalOutRelay.java:67)
at com.sap.tc.wd4vc.core.std.relays.java.impl.XGLEndPointRelay.execute(XGLEndPointRelay.java:66)
at com.sap.tc.wd4vc.core.std.relays.GenericRelay.execute(GenericRelay.java:226)
at com.sap.tc.wd4vc.core.std.relays.wdp.InternalGenericRelay.execute(InternalGenericRelay.java:138)
at com.sap.tc.wd4vc.core.std.relays.GenericRelayInterface.execute(GenericRelayInterface.java:123)
at com.sap.tc.wd4vc.core.std.relays.wdp.InternalGenericRelayInterface.wdInvokeMethod(InternalGenericRelayInterface.java:150)
at com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterface.invoke(ExternalControllerPI.java:291)
at $Proxy610.execute(Unknown Source)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.doEvaluateRelay(XGLInterpreter.java:1798)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.doEvalStep(XGLInterpreter.java:1777)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.doEvalStep(XGL2_2Interpreter.java:698)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.processStep(XGLInterpreter.java:981)
at com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.processPlan(XGLInterpreter.java:941)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processAtomicActionCall(XGL2_2Interpreter.java:356)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processActionCall(XGL2_2Interpreter.java:311)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processActionCall(XGL2_2Interpreter.java:319)
at com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.processAction(XGL2_2Interpreter.java:290)
at com.sap.tc.wd4vc.xglengine.XGLEngine.processAction(XGLEngine.java:447)
at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.wdInvokeEventHandler(InternalXGLEngine.java:184)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:237)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:478)
at com.sap.tc.wd4vc.core.std.toolbar.wdp.InternalXGLToolbarInterface.wdFireEventGenericEvent(InternalXGLToolbarInterface.java:273)
at com.sap.tc.wd4vc.core.std.toolbar.Generic.onActionGenericAction(Generic.java:271)
at com.sap.tc.wd4vc.core.std.toolbar.Generic.onActionValidatingAction(Generic.java:295)
at com.sap.tc.wd4vc.core.std.toolbar.wdp.InternalGeneric.wdInvokeEventHandler(InternalGeneric.java:161)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
Edited by: Alexander Königs on Mar 4, 2009 10:50 AM -
Problem with a procedure with a type table varchar2
Hey,
I can't seem to call my function with a custom type:
The function:
FUNCTION f_get_urls(v_table IN t_table)
RETURN VARCHAR2
IS
v_urls VARCHAR2(600);
BEGIN
FOR i IN 1..v_table.count LOOP
v_urls := CONCAT(v_urls,v_table(i));
END LOOP;
RETURN v_urls;
END f_get_urls;
t_table is declared in the package header:
TYPE t_table is table of VARCHAR2(100) index by binary_integer;
All goes well if i call the fucntion from within the package, but when i call it from an other package I get the next error:
Error(12,11): PLS-00306: wrong number or types of arguments in call to 'F_GET_URLS'
This is the procedure where i'm caling the fucntion:
PROCEDURE temp1
IS
TYPE t_table is table of VARCHAR2(100) index by binary_integer;
v_tab t_table;
v_temp VARCHAR2(100);
BEGIN
v_tab(1):='test';
v_tab(2):='test2';
v_temp:=pkg_print.f_get_urls(v_tab);
dbms_output.PUT_LINE(v_temp);
END temp1;
Any idea if i made an error or is this just not possible?
ThanksHey,
I can't seem to call my function with a custom type:
The function:
FUNCTION f_get_urls(v_table IN t_table)
RETURN VARCHAR2
v_urls VARCHAR2(600);
GIN
FOR i IN 1..v_table.count LOOP
v_urls := CONCAT(v_urls,v_table(i));
D LOOP;
RETURN v_urls;
END f_get_urls;
t_table is declared in the package header:
TYPE t_table is table of VARCHAR2(100) index by
binary_integer;
All goes well if i call the fucntion from within the
package, but when i call it from an other package I
get the next error:
Error(12,11): PLS-00306: wrong number or types of
arguments in call to 'F_GET_URLS'
This is the procedure where i'm caling the fucntion:
PROCEDURE temp1
IS
TYPE t_table is table of VARCHAR2(100) index by---Dont declare new collection
binary_integer;
> v_tab Yourpackagename.collectionname;
v_temp VARCHAR2(100);
EGIN
v_tab(1):='test';
v_tab(2):='test2';
v_temp:=pkg_print.f_get_urls(v_tab);
dbms_output.PUT_LINE(v_temp);
END temp1;
Any idea if i made an error or is this just not
possible?
ThanksTry it
PROCEDURE temp1
IS
-- TYPE t_table is table of VARCHAR2(100) index by---Dont declare new collection
-- binary_integer;
v_tab Yourpackagename.collectionname;
v_temp VARCHAR2(100);
BEGIN
v_tab(1):='test';
v_tab(2):='test2';
v_temp:=pkg_print.f_get_urls(v_tab);
dbms_output.PUT_LINE(v_temp);
END temp1;
colection types are not compatible even you created 2 diffrent types with the exact defination.
Please paste yours full code here....
Khurram
Whats that
v_temp:=pkg_print.f_get_urls(v_tab);
Message was edited by:
Khurram Siddiqui -
Probleme with stored procedure in oracle 10 g
I create a stored procedure for archiving successfully compile but when I select t_sql_statement i have 0 rows :( :(
create or replace
PROCEDURE p_archive_test(piv_owner varchar2)
is
lv_stmt varchar2(2000) := 'insert /*+ append */ into TABLE1 (COLUMNS)
select INS_COLUMNS
from TABLE2 tab2@db1
where not exists (select null
from TABLE1 tab1
where PKCOLUMNS
cursor c_tab is
select tab.table_name,'ERR$_'||tab.table_name ERR_TABLE
from all_tables tab
where tab.owner = piv_owner
-- and tab.table_name = 'action'
--order by atb.TABLE_ORDER
-- For each table get the primary key columns
cursor c_pk(civ_table_name in all_tables.TABLE_NAME%type)
is
select acl.COLUMN_NAME
from all_cons_columns acl
,all_constraints acn
where acn.OWNER = piv_owner
and acn.CONSTRAINT_TYPE = 'P'
and acn.TABLE_NAME = civ_table_name
and acl.OWNER = acn.OWNER
and acl.TABLE_NAME = acn.table_name
and acl.CONSTRAINT_NAME = acn.CONSTRAINT_NAME
order by acl.POSITION;
-- For each table get the corresponding table columns names
cursor c_ins_cols(civ_table_name in all_tab_columns.TABLE_NAME%type)
is
select 'tab2.'||atc.COLUMN_NAME column_name
from all_tab_columns atc
where atc.OWNER = piv_owner
and atc.TABLE_NAME = civ_table_name
order by atc.COLUMN_ID;
-- For each table get the columns names excluding the primary key columns
cursor c_upd_cols(civ_table_name in all_tab_columns.TABLE_NAME%type)
is
select 'tab1.'||atc.COLUMN_NAME||'=tab2.'||atc.column_name column_name
from all_tab_columns atc
where atc.OWNER = piv_owner
and atc.TABLE_NAME = civ_table_name
and not exists (select 1
from all_cons_columns acl
,all_constraints acn
where acl.OWNER = atc.owner
and acl.TABLE_NAME = atc.TABLE_NAME
and acl.column_name = atc.column_name
and acn.OWNER = acl.OWNER
and acn.TABLE_NAME = acl.TABLE_NAME
and acn.constraint_type = 'P')
order by atc.COLUMN_ID;
-- For each table get the columns names
cursor c_cols(civ_table_name in all_tab_columns.COLUMN_NAME%type)
is
select
--'tab1.'||
atc.COLUMN_NAME column_name
from all_tab_columns atc
where atc.owner = piv_owner
and atc.TABLE_NAME = civ_table_name
order by atc.COLUMN_ID;
lv_cols varchar2(4000);
lv_pk_cols varchar2(4000);
lv_ins_cols varchar2(4000);
lv_upd_cols varchar2(4000);
BEGIN
for r_tab in c_tab
loop
lv_cols := '';
lv_pk_cols := '';
lv_ins_cols := '';
lv_upd_cols := '';
for r_pk in c_pk(civ_table_name => r_tab.table_name)
loop
lv_pk_cols := lv_pk_cols||'tab1.'||r_pk.column_name||'=tab2.'||r_pk.column_name||' and ';
end loop r_pk_loop;
lv_pk_cols := substr(str1 => lv_pk_cols
,pos => 1
,len => length(ch => lv_pk_cols) - 5);
for r_ins_cols in c_ins_cols(civ_table_name => r_tab.table_name)
loop
lv_ins_cols := lv_ins_cols||r_ins_cols.column_name||',';
end loop r_ins_cols_loop;
lv_ins_cols := substr(str1 => lv_ins_cols
,pos => 1
,len => length(ch => lv_ins_cols) - 1);
for r_upd_cols in c_upd_cols(civ_table_name => r_tab.table_name)
loop
lv_upd_cols := lv_upd_cols||r_upd_cols.column_name||',';
end loop r_upd_cols_loop;
lv_upd_cols := substr(str1 => lv_upd_cols
,pos => 1
,len => length(ch => lv_upd_cols) - 1);
for r_cols in c_cols(civ_table_name => r_tab.table_name)
loop
lv_cols := lv_cols||r_cols.column_name||',';
end loop r_cols_loop;
lv_cols := substr(str1 => lv_cols
,pos => 1
,len => length(ch => lv_cols) - 1);
lv_stmt := replace(replace(replace(replace(replace(replace(replace(lv_stmt
,'TABLE1'
,r_tab.table_name)
,'TABLE2'
,'DIST_'||r_tab.table_name)
,'PKCOLUMNS'
,lv_pk_cols)
,'UPD_COLUMNS'
,lv_upd_cols)
,'INS_COLUMNS'
,lv_ins_cols)
,'COLUMNS'
,LV_COLS)
,'TABLE3'
,R_TAB.ERR_TABLE);
-- here It highy advisable to store the sql statement that will be submitted
-- to the SQL engine before executing it dynamically
insert into t_sql_statement values (lv_stmt);
execute immediate lv_stmt;
end loop ;
commit;
exception
when others then
rollback;
raise;
end p_archive_test;Welcome to the forum!
Unfortunately you have posted to the wrong forum. This question is not about sql developer and is more appropriate for the sql and pl/sql forum
PL/SQL
Please
1. repost the question in the SQL and PL/SQL forum
2. edit this question to tell people to followup in the other forum - post the link to the question in the other forum
3. mark this question answered so people will followup in the other forum.
Read the FAQ in the other forum (there will be link at the top right of the page) for how to post a question and the information you need to provide. In particular use 'code' tags (see FAQ for explanation) before and after posted code and always provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
Before you post the new thread I suggest you perform some additional testing by
1. Modify your code so that it creates the statements but does not execute them. With dynamic sql the most common problem is incorrect syntax and until you have verified that the syntax is both correct and exactly what you want it is a waste of time to execute the statements.
2. Modify your code to only create one statement (add WHERE ROWNUM = 1 to the main query). If the syntax is wrong it will be wrong for all of the statements so until the code works correctly for one loop it is a waste of time perform 10's or 100' of loops.
3. Currently you are not committing the creation of the statement itself but only after it is executed. Thus if the execution fails the query that failed won't be available for you to examine. Either commit the INSERT or, at a minimum capture the query into a global variable and add a DBMS_OUTPUT to the exception handler to display the failed query so you can examine and test it to fix any problem.
Also, by just blindly using the data in ALL_TAB_COLS you are not taking into account that Oracle creates hidden (see the hidden column) and virtual columns that will cause your processing to fail for any tables that use them since you cannot use them directly in queries like you are creating. -
Please tell me what's the problem with my procedure ..
Hi all,
Below is my procedure i created into a form.( i can't create procedure into table or vieew because there is already negative value )
PROCEDURE REVERSE_money IS
nCnt number(10);
WS_VALID_USER_ID Varchar2(3);
USER__VIEW_BUF USER_VIEW%ROWTYPE;
PAYMENT_VIEW_BUF PAYMENT_VIEW%ROWTYPE;
Cursor USER_VIEW_QRY is
select * from USER_VIEW
where USER_ENTERED_CASHIER = USER_VIEW_BUF.USER_ENTERED_CASHIER;
Cursor PAYMENT_VIEW_QRY is
select * from PAYMENT_VIEW
where TOTAL = :PAYMENT_VIEW_SINGLE.TOTAL;
BEGIN
if nvl(:PAYMENT_VIEW_SINGLE.TOTAL,' ') = (:pAYMENT_VIEW_SINGLE.TOTAL*-1) then
SELECT COUNT(*) INTO nCnt
FROM cashier_auth
WHERE cashier = UPPER(NVL(USER_VIEW_BUF.CASHIER,' '));
IF (nCnt > 0) THEN
WS_VALID_USER_ID := 'YES';
ELSE
WS_VALID_USER_ID := 'NO';
END IF;
end if;
IF nvl(WS_VALID_USER_ID,' ') = 'NO' THEN
MESSAGE(USER || ' is not authorized to enter nagative value to this cash transaction.');
SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
RAISE FORM_TRIGGER_FAILURE;
END IF;
END;
there is no error in this procedure when i compile it , but this procedure is not validating as i wanted, what i meant is is still let any user enter ('-') value.
someone plese help me.Hi,
pl/sql baby wrote:
Hi all,
Below is my procedure i created into a form.( i can't create procedure into table or vieew because there is already negative value ) Sorry, I don't understand this part.
In fact, I don't understand the whole problem.
Please explain what the procedure is supposed to do, and what's wrong with it.
For example
"The procedure is supposed to show a message and raise an error if ...
That should happen when the USER is ... and PAYMENT_VIEW_SINGLE.TOTAL < 0, but it is not."
Post SQL statements to create and populate the tables and views used (such as cashier_auth table). Include enough rows to re-create the problem.
What are you trying to do in this line?
if nvl(:PAYMENT_VIEW_SINGLE.TOTAL,' ') = (:pAYMENT_VIEW_SINGLE.TOTAL*-1) thenWhat is the data type of (:PAYMENT_VIEW_SINGLE.TOTAL? If it's a NUMBER, then the second argument of NVL should also be a NUMBER.
Don't post unformatted code. Type {code} before and after the parts of your message containing code, to preserve spacing.
Maybe you are looking for
-
Got my Mac back from Apple Repair... now TimeMachine is messed up!
I'm hoping this is something "routine" and some of you smart folks can help me out. I recently had to send my MacBook Pro to Apple Care for repair (a whole other story! The LCD died...), when I got it back I noticed a couple of strange things: 1. my
-
WebHelp doesn't display in IE8 after applying IE10 fix
We're using RoboHTML 9 to generate WebHelp. We've applied the IE10 fixes to the output; however, after copying and replacing the 2 files, the Help does not display in IE8. We are running the Help locally in a Windows 7 system. Tons of js errors appea
-
HorizontalAlign being ignored?
I've run into a small problem that has me somewhat vexed @ the moment. I'm wondering if anyone else has encountered this and could maybe point me towards a solution. I'm building a custom Dialog based on a VBox. Inside the VBox is a Canvas that holds
-
ORA:01013 with Duplicate Database - RMAN
Hi, I havea demo database on server1 and am creating a clone database on server2 with RMAN duplicate command. I have the catalog on server1 itself. I created the backups of the database and executed RMAN command from server2 with server1 in open stat
-
Oracle Apps Data Dictionary Poster
Does anyone know where I can find an Oracle Applications Data Dictionary Poster to buy online like the DBA V$ or regular Data Dictionary posters that you can find online trough some companies? I'm looking for something other than what I can find on M