Is this possible in oracle?
Hi guys,
i was just curious whether this is possible to display in oracle like C?
situation is like. I have to code like, it should ask user to enter the number.
and then it should display the result on screen like this.
e.g. if user enters 3 then it should show like..
1
1 2
1 2 3
1 2
1
i know it's possible in C or C++ very easily. but even if it's not possible in oracle, any logic like keeping the result rows in some table..
regards,
--PD!
Message was edited by: PD(as it's not showing the correct format which i want.)
user640364
How about
SQL> var x number
SQL> exec :x := 4
PL/SQL procedure successfully completed.
SQL> with t1 as (select level l, sys_connect_by_path (level, ' ') triag from dual connect by level <= :x order by 1 asc),
t2 as (select level l, sys_connect_by_path (level, ' ') triag from dual connect by level < :x order by 1 desc)
select lpad(' ', :x - l) || triag triag from t1
union all
select lpad(' ', :x - l) || triag triag from t2
TRIAG
1
1 2
1 2 3
1 2 3 4
1 2 3
1 2
1
7 rows selected.
Similar Messages
-
Is this possible in Oracle Data Gaurd 11g?
Dear All,
I was looking for replication scenerio while this thing came in my mind.
We have setup 2 database servers on 2 different location, thousands of miles apart. Both servers have oracle 11gR1 and are on linux operating system.
We have been facing connectivity problems as users are accessing our application connected to one of these servers from all over the world and when there is connectivity problems applications are no more accessible.
I want to setup a stand by database server, like if there is connectivity problem on one server, or its down due to any reason applications are automatically shift to the second available server. The primary server is obvioulsy the first server and in case of no connectivity or any other problem that should bein use.
In this case we have to keep an exact copy of the primary server on second server. I want to know if Oracle data Gaurd will provide us such a functionality when the servers are on remote locations? How the data will be copied to secondry server?
Kindly let me know if there is any document available to setup such a scenerio. I will be thankful to you.
Regards,
Imran BaigDataGuard Physical standby will keep a copy of your database on a standby server. Utilizing fast start failover with an observer (3rd party) that sees both the primary and standby server will give you the capability to automatically failover to the standby server should connectivity to the primary be interrupted. Fast start failover is configured with a threshold that will determine the amount of time it waits for lost connectivity prior to actually doing the failover allowing you to configure the threshold prior to failover. Your application accessing the database will need to reconnect to the new primary after failover.
-
Oracle forms is this possible?!?
hi, all.
I am a java developer and i am not familiar with oracle forms 10g.
Recently i had a project about digital signing of web forms(on java). So the idea was: We have applet that runs in the client browser, it uses the JSObject to collect all input fields and it's values from CUSTOM web form and create xml document, that must be signed. This applet is like a lib.
I must do the same thing with a oracle form.
Is this possible: collect the oracle form's items on the client??? The form is custom i.e. unspecified items and count items.
If this is possible the next step is to verify the signed xml on the server. So how does oracle forms work. Is there a server side. What is the architecture? Could the xml be passed to the server and how the oracle form's items must be accessed on the server(i need them to verify the xml).
I will be glad if you could help me soon.
Excuse me for my bad english :(.
Best regards.What do you mean? :( As i said i am not very familiar with oracle forms.
Here is simple scenario of usage:
Oracle developer creates a oracle form. In some way i have to deliver for example jar. He adds it to to his project and in some way specifies that that jar signes his form.
The form is in module so i guess i have access to it.
What i learned for now is that there are VBeans that could help to do this(item collection). I found that this beans are graphical components too i.e. we can place awt Componets in them, but may be i don't need to use them. I read that the VBean is on the middle trier, but when i wirte JOptionPane.showMessage(..) it is displayed on the client i can't understand why. I need to collect the items in the form not in the bean.
The question is can i collect in some way the form's items on the client. Oracle form runs in some applet could this help me? Totally confused. The documentation for oracle forms is very unclear for me.
I forgot to say that there are some classes in the oracle forms lib like "RadioButtonItem", TextFieldItem and so on. Are theze coresponding to form items? May do some connection between them?!?
Edited by: user9536806 on Oct 1, 2008 3:06 AM
Edited by: user9536806 on Oct 1, 2008 3:11 AM -
Is this possible to add one page under 2 tabs conditionally in Oracle 10g
Hello All,
Is this possible to add one page under 2 tabs conditionally.
Lets say i have created one page "Page 1" under "Tab 1". Now i want the same page to be displayed fom another tab also.i.e. from "Tab 2" from the same application.I want to avoid creating copy of this page.
Such that when i am in Tab 1 and going to this page ,the newly created page should show tab as Tab1.Similarly if i am going to Page 1 from Tab 2 ,the newly created page should show tab as Tab2.
What can i do for this.
Thanks
SwapnaSwapna,
For Tab1 and Tab2, set the 'tab page' as 1 under 'current for pages' while you edit the tabs. This would add page 1 under two tabs, tab1 and tab2.
Regards,
Hari -
Error in connect to database2EETW169 no connect possible: "DBMS = ORACLE
Dear All,
I am facing probem in sarting the sap after system copy.
Database is up and running .Please find the logs
There error it can connect to database
r3trans log
This is r3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
ra_tnsname = 'TAT'"
r3trans finished (0012).
trc file: "dev_disp", trc level: 1, release: "640"
Wed Jul 22 20:03:18 2009
kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
length of sys_adm_ext is 524 bytes
systemid 560 (PC with Windows NT)
relno 6400
patchlevel 0
patchno 43
intno 20020600
make: multithreaded, Unicode
pid 552
***LOG Q00=> DpSapEnvInit, DPStart (00 552) [dpxxdisp.c 1100]
shared lib "dw_xml.dll" version 43 successfully loaded
shared lib "dw_xtc.dll" version 43 successfully loaded
shared lib "dw_stl.dll" version 43 successfully loaded
shared lib "dw_gui.dll" version 43 successfully loaded
Wed Jul 22 20:03:23 2009
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3886]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: JAVA is not active
DpShMCreate: sizeof(wp_adm) 10528 (1316)
DpShMCreate: sizeof(tm_adm) 2780232 (13832)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpShMCreate: sizeof(comm_adm) 290000 (580)
DpShMCreate: sizeof(vmc_adm) 0 (372)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: SHM_DP_ADM_KEY (addr: 04540040, size: 3192688)
DpShMCreate: allocated sys_adm at 04540040
DpShMCreate: allocated wp_adm at 04541B58
DpShMCreate: allocated tm_adm_list at 04544478
DpShMCreate: allocated tm_adm at 045444A0
DpShMCreate: allocated wp_ca_adm at 047EB0E8
DpShMCreate: allocated appc_ca_adm at 047F0EA8
DpShMCreate: allocated comm_adm_list at 047F2DE8
DpShMCreate: allocated comm_adm at 047F2E00
DpShMCreate: allocated vmc_adm_list at 04839AD0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 04839AF8
DpShMCreate: allocated wall_adm at 04839B00
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 2456 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c 1462]
***LOG Q0K=> DpMsAttach, mscon ( RFCLTEST) [dpxxdisp.c 9736]
Wed Jul 22 20:03:24 2009
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 43
Release check o.K.
Wed Jul 22 20:04:04 2009
ERROR => W0 (pid 2956) died [dpxxdisp.c 12187]
ERROR => W1 (pid 2080) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W2 (pid 3556) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W3 (pid 2604) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W4 (pid 4024) died [dpxxdisp.c 12187]
ERROR => W5 (pid 3816) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W6 (pid 2820) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W7 (pid 1448) died [dpxxdisp.c 12187]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-2956 (SIGUSR2)
ERROR => DpWpKill(2956, SIGUSR2) failed [dpxxtool.c 2468]
killing W1-2080 (SIGUSR2)
ERROR => DpWpKill(2080, SIGUSR2) failed [dpxxtool.c 2468]
killing W2-3556 (SIGUSR2)
ERROR => DpWpKill(3556, SIGUSR2) failed [dpxxtool.c 2468]
killing W3-2604 (SIGUSR2)
ERROR => DpWpKill(2604, SIGUSR2) failed [dpxxtool.c 2468]
killing W4-4024 (SIGUSR2)
ERROR => DpWpKill(4024, SIGUSR2) failed [dpxxtool.c 2468]
killing W5-3816 (SIGUSR2)
ERROR => DpWpKill(3816, SIGUSR2) failed [dpxxtool.c 2468]
killing W6-2820 (SIGUSR2)
ERROR => DpWpKill(2820, SIGUSR2) failed [dpxxtool.c 2468]
killing W7-1448 (SIGUSR2)
ERROR => DpWpKill(1448, SIGUSR2) failed [dpxxtool.c 2468]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=1597
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed Jul 22 20:04:14 2009
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long) Wed Jul 22 14:34:14 2009
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 2956 Ended no 1 0 0
1 DIA 2080 Ended no 1 0 0
2 UPD 3556 Ended no 1 0 0
3 ENQ 2604 Ended no 1 0 0
4 BTC 4024 Ended no 1 0 0
5 BTC 3816 Ended no 1 0 0
6 SPO 2820 Ended no 1 0 0
7 UP2 1448 Ended no 1 0 0
Dispatcher Queue Statistics Wed Jul 22 14:34:14 2009
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
3
2000
10
10
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 13
wake_evt_udp_now 0
wake events total 9, udp 8 ( 88%), shm 1 ( 11%)
since last update total 9, udp 8 ( 88%), shm 1 ( 11%)
Dump of tm_adm structure: Wed Jul 22 14:34:14 2009
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Wed Jul 22 14:34:14 2009
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=1597
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed Jul 22 20:04:19 2009
NiISelect: TIMEOUT occured (5000 ms)
Shutdown server ...
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing process (2004) (SOFT_KILL)
Stop icman
killing process (932) (SOFT_KILL)
Terminate gui connections
[DpProcDied] Process lives (PID:2004 HANDLE:1576)
waiting for termination of gateway
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1597
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed Jul 22 20:04:20 2009
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:2004 HANDLE:1576)
[DpProcDied] Process died (PID:932 HANDLE:1568)
DpHalt: cancel all lcom connections
MPI CancelAll 2 -> 0
MPI DeleteAll 2 -> 0
NiIMyHostName: hostname = 'RFCLTEST'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 163 bytes
NiBufSend starting
NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9962]
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiSelClear: removed hdl 3 from selectset
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
MBUF component DOWN
NiBufClose: clear extensions for hdl 3
NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
NiICloseHandle: shutdown and close hdl 3 / socket 1580
MsIDetach: detach MS-system
EsCleanup ....
***LOG Q05=> DpHalt, DPStop ( 552) [dpxxdisp.c 8495]
Good Bye .....
Regards,Hi,
Yes it is running and in r3trans log error
[dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000 4210 0.068739
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 27 0.068766
4 ETW000 [dev trc ,00000] Try to connect with default password 155 0.068921
4 ETW000 [dev trc ,00000] Connecting as SAPTST/<pwd>@TST on connection 0 ...
4 ETW000 23 0.068944
4 ETW000 [dev trc ,00000] Assigning username to user session 01DF23E0 16 0.068960
4 ETW000 [dev trc ,00000] Assigning password to user session 01DF23E0 24 0.068984
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=01DE8C0C,srvhp=01DE9814,usrhp=01DF23E0)
4 ETW000 27 0.069011
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000 1521 0.070532
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 24 0.070556
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error 1017 performing CON [dblink#1 @ 419]
4 ETW000 4668 0.075224
4 ETW000 [dblink ,00419] **LOG BY0=>ORA-01017: invalid username/password; logon denie*d [dblink#1 @ 419]
4 ETW000 25 0.075249
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'TST'"
REgards, -
select empno,name,sum(sal) from emptable where year=' ' groub by empno order by empno.
this query getting error because i didn't include empname in group by.
But if i include this name, my sum is not correct.
so i want to empno,name but i don't want to include name in group by. Is this possible?
My oracle verion is 8.
IS any other solution to solve this problem?
Thanks in advance.i want to empno,name but i don't want to include name in group by. Is this possible?<br>
<br>
No. It isn't.
<br>
select empno,name,sum(sal) over (partition by empno) <br>
from emptable
<br>where year=' '
<br>
-- <s>groub by empno</s>
<br>
order by empno; -
Forms based on query? Is it possible in Oracle Portal?
here is my code that i want to use
SELECT a.first, a.last, b.Position_CD, c.skill_cd, d.team_name, d.team_country, d.club, e.structure_name
FROM Roster a, Roster_position b, roster_skill c, team d, team_structure e
where (a.Roster_ID = b.roster_id (+) and (b.roster_id = c.roster_id (+) ) and (a.team_cd = d.team_cd(+)) and (a.team_structure_cd = e.team_structure_cd (+)))
order by a.roster_id;
Is it possible for oracle portal to support such a query in a form?
Oracle portal supports single tables or views...master-detal...and forms based on procedures.
Since the above query associates with moro then one table..how might one create a form based on that query? Is their a way in oracle portal to create a form and have its record source be based on such a complex query and be able to update and insert data? I know and have tested that it works in Ms Access and i can update and add data in that above query. Hopefully oracle supports this. (*cross fingers*)
If i cant do what i said above...what advice or suggestions you guys have for me? If i use master-detail it won't work right because i need to involve all 5 tables.
Any help or comments are greatly appreciated!When i made the above query a view and created an oracle portal form. I get this error when I try to retrieve all the records in that view i made above.
An unexpected error occurred: ORA-01445: cannot select ROWID from a join view without a key-preserved table (WWV-16016)
What does the "key-preserved table" mean? -
Is this possible with LOG ERRORS?
I have a procedure which does a bulk insert/update operation using MERGE (running on Oracle 10gR2). We want to silently log any failed inserts/updates but not rollback the entire batch no matter how many inserts fail. So I am logging the exceptions via LOG ERRORS REJECT LIMIT UNLIMITED. This works fine actually.
The one other aspect is the procedure is being called from Java and although we want any and all good data to be committed, regardless of how many rows have bad data, we still want to notify the Java front end that not all records were inserted properly. Even something such as '150 rows were not processed.' So I am wondering if there is anyway to still run the entire batch, log the errors, but still raise an error from the stored procedure.
Here is the working code:
CREATE TABLE merge_table
t_id NUMBER(9,0),
t_desc VARCHAR2(100) NOT NULL
CREATE OR REPLACE TYPE merge_type IS OBJECT
type_id NUMBER(9,0),
type_desc VARCHAR2(100)
CREATE OR REPLACE TYPE merge_list IS TABLE OF merge_type;
-- Create Error Log.
BEGIN
DBMS_ERRLOG.CREATE_ERROR_LOG(
dml_table_name => 'MERGE_TABLE',
err_log_table_name => 'MERGE_TABLE_ERROR_LOG',
END;
CREATE OR REPLACE PROCEDURE my_merge_proc_bulk(p_records IN merge_list)
AS
BEGIN
MERGE INTO merge_table MT
USING
SELECT
type_id,
type_desc
FROM TABLE(p_records)
) R
ON
MT.t_id = R.type_id
WHEN MATCHED THEN UPDATE
SET
MT.t_desc = R.type_desc
WHEN NOT MATCHED THEN INSERT
MT.t_id,
MT.t_desc
VALUES
R.type_id,
R.type_desc
LOG ERRORS INTO MERGE_TABLE_ERROR_LOG ('MERGE') REJECT LIMIT UNLIMITED;
COMMIT;
END;
-- test script to execute procedure
DECLARE
l_list merge_list := merge_list();
l_size NUMBER;
l_start_time NUMBER;
l_end_time NUMBER;
BEGIN
l_size := 10000;
DBMS_OUTPUT.PUT_LINE('Row size: ' || l_size || CHR(10));
l_list.EXTEND(l_size);
-- Create some test data.
FOR i IN 1 .. l_size
LOOP
l_list(i) := merge_type(i,'desc ' || TO_CHAR(i));
END LOOP;
EXECUTE IMMEDIATE 'TRUNCATE TABLE MERGE_TABLE';
EXECUTE IMMEDIATE 'TRUNCATE TABLE MERGE_TABLE_ERROR_LOG';
-- Modify some records to simulate bad data/nulls not allowed for desc field
l_list(10).type_desc := NULL;
l_list(11).type_desc := NULL;
l_list(12).type_desc := NULL;
l_list(13).type_desc := NULL;
l_list(14).type_desc := NULL;
l_start_time := DBMS_UTILITY.GET_TIME;
my_merge_proc_bulk(p_records => l_list);
l_end_time := DBMS_UTILITY.GET_TIME;
DBMS_OUTPUT.PUT_LINE('Bulk time: ' || TO_CHAR((l_end_time - l_start_time)/100) || ' sec. ' || CHR(10));
END;
/I tried this at the end of the procedure, but it does not work, probably because I am not using SAVE EXCEPTIONS:
IF (SQL%BULK_EXCEPTIONS.COUNT > 0) THEN
RAISE_APPLICATION_ERROR(-20105, SQL%BULK_EXCEPTIONS.COUNT || ' rows failed for the batch.' );
END IF;Also the one thing we would like to have is the datetime logged for each failure in the ERROR_LOG table. We may be running several different batches over night. Is this possible to manipulate the table to add this?
Name Null? Type
ORA_ERR_NUMBER$ NUMBER
ORA_ERR_MESG$ VARCHAR2(2000)
ORA_ERR_ROWID$ ROWID
ORA_ERR_OPTYP$ VARCHAR2(2)
ORA_ERR_TAG$ VARCHAR2(2000)
CHANNEL_ID VARCHAR2(4000)
CHANNEL_DESC VARCHAR2(4000)
CHANNEL_CLASS VARCHAR2(4000)Edited by: donovan7800 on Feb 16, 2012 1:14 PM
Edited by: donovan7800 on Feb 16, 2012 1:17 PMAh yes I remember. The guy needing the TABLE(p_records).
Re: Merge possible from nested table?
>
I tried this at the end of the procedure, but it does not work, probably because I am not using SAVE EXCEPTIONS:
IF (SQL%BULK_EXCEPTIONS.COUNT > 0) THEN
RAISE_APPLICATION_ERROR(-20105, SQL%BULK_EXCEPTIONS.COUNT || ' rows failed for the batch.' );
END IF;
>
Correct - you need to use SAVE EXCEPTIONS.
I know there is the FORALL command, but I figured there was a way to do this with MERGE since the procedure does an update if a match is found instead
But you can use MERGE with FORALL and add the SAVE EXCEPTIONS to handle your problem.
I still have a question as to what the source of the PL/SQL table provided by the parameter Is this table being prepared in another PL/SQL procedure, in Java, or how? Are you confident that the number of rows in the table will be small enough to avoid a memory issue?
If in PL/SQL you could pass a ref cursor and then in this proc use a LOOP with a 'BULK COLLECT into' with a LIMIT clause to do the processing. -
Is this possible: images from 9i through ejb physically embedded in jsp
I am trying to determine whether this is possible...
I would like to store a number of images in an Oracle 9i db in CLOB/BLOB
fields. So far everything is ok. Now for the fun part.
Using an EJB I would like to retrieve the image, and embed it in a JSP page,
contents and all. Rather then the image physically being downloaded as a
separate resource, I'd like to embed the contents right in the document. Is
this possible via the object html tag, or some other tag - has anyone done
anything like this? Although the image would be embedded, I would like it
to display as normal in the browser. Please help! In the end, I'd be
looking for a file like:
<body>
<h2>below is the image</h2>
<object params>1294574599445BE3049AAACCEDDAAFFF023...etc</OBJECT>
<h2>above is an image being displayed by the browser</h2>
</body>
It seems like a pretty nutty thing to do, but we have a few requirements,
and large enough connect/teardown time to make it worthwhile if its
possible. Any ideas as to whether this is doable?
Thanks,
ChrisHi Chris,
You may use ServletResponse to setContentType to
image/jpeg
image/gif
image/ief
image/tiff
And then write corresponding binary image data to the stream.
Corresponding tag in the html page could look like
<img src="http://my/image.jsp"/>
Hope this helps,
Slava Imeshev
"Chris Hettinger" <[email protected]> wrote in message
news:[email protected]..
I am trying to determine whether this is possible...
I would like to store a number of images in an Oracle 9i db in CLOB/BLOB
fields. So far everything is ok. Now for the fun part.
Using an EJB I would like to retrieve the image, and embed it in a JSPpage,
contents and all. Rather then the image physically being downloaded as a
separate resource, I'd like to embed the contents right in the document.Is
this possible via the object html tag, or some other tag - has anyone done
anything like this? Although the image would be embedded, I would like it
to display as normal in the browser. Please help! In the end, I'd be
looking for a file like:
<body>
<h2>below is the image</h2>
<object params>1294574599445BE3049AAACCEDDAAFFF023...etc</OBJECT>
<h2>above is an image being displayed by the browser</h2>
</body>
It seems like a pretty nutty thing to do, but we have a few requirements,
and large enough connect/teardown time to make it worthwhile if its
possible. Any ideas as to whether this is doable?
Thanks,
Chris -
Problem starting SAP - 2EETW169 no connect possible: "DBMS = ORACLE
Hi there,
Recently I just restored my QAS database and now, I'm having a problem to start the SAP application.
I'm using ECC6, HPUX B11.23 and Oracle 10.
drqaecc:qasadm 22> R3trans -d
This is R3trans version 6.14 (release 700 - 05.03.09 - 08:28:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'QAS'"
R3trans finished (0012).
What could be the problem here?
Appreciate for any of your help and advice.
Thank you.
- PeterHi All,
I managed to find the trans.log file. Please refer to below output. Thanks.
Sorry, the below output alignment will be out as I could not find any options to keep it together.
4 ETW000 R3trans version 6.14 (release 700 - 05.03.09 - 08:28:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 30.08.2010 - 18:44:33
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Mon Aug 30 18:44:33 2010 281 0.000281
4 ETW000 [dev trc ,00000] db_con_init called 18 0.000299
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 69 0.000368
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/QAS/SYS/exe/run/dboraslib.so' ... 39 0.000407
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/QAS/SYS/exe/run/dboraslib.so), hdl 0 41136 0.041543
4 ETW000 [dev trc ,00000] Library '/usr/sap/QAS/SYS/exe/run/dboraslib.so' loaded 30 0.041573
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/QAS/SYS/exe/run/dboraslib.so
4 ETW000 68 0.041641
4 ETW000 [dev trc ,00000] Version of '/usr/sap/QAS/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.205)
4 ETW000 261 0.041902
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/QAS/SYS/exe/run/dboraslib.so
4 ETW000 35 0.041937
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/QAS/SYS/exe/run/dboraslib.so
4 ETW000 46 0.041983
4 ETW000 [dev trc ,00000] New connection 0 created 74 0.042057
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 38 0.042095
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 79 0.042174
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 17 0.042191
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 34 0.042225
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.1.0' 590 0.042815
4 ETW000 [dev trc ,00000] -->oci_initialize(con_hdl=0, char='', nchar='') 38 0.042853
4 ETW000 [dev trc ,00000] application info callback registered 19 0.042872
4 ETW000 [dev trc ,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 6662 0.049534
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 439 0.049973
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'
4 ETW000 32 0.050005
4 ETW000 [dev trc ,00000] charset='', chset='UTF8', UNI_ASC=FALSE/FALSE 39 0.050044
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 140 0.050184
4 ETW000 [dev trc ,00000] Connecting as /@QAS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)
4 ETW000 38 0.050222
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 95 0.050317
4 ETW000 [dev trc ,00000] 0 UTF8 0x60000000010c5510 0x60000000010cce40 0x60000000010dd7d8
4 ETW000 33 0.050350
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 67 0.050417
4 ETW000 [dev trc ,00000] Allocating server context handle 37 0.050454
4 ETW000 [dev trc ,00000] Attaching to DB Server QAS (con_hdl=0,svchp=0x60000000010dd708,srvhp=0x60000000010e0d38)
4 ETW000 35 0.050489
4 ETW000 [dev trc ,00000] Assigning server context 0x60000000010e0d38 to service context 0x60000000010dd708
4 ETW000 70342 0.120831
4 ETW000 [dev trc ,00000] Allocating user session handle 126 0.120957
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0x60000000010dd708, srvhp=0x60000000010e0d38, usrhp=0x60000000010cd658)
4 ETW000 37 0.120994
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 8457 0.129451
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1033: 187 0.129638
4 ETW000 [dev trc ,00000] ORA-01033: ORACLE initialization or shutdown in progress
4 ETW000 58 0.129696
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x60000000010e0d38) 29 0.129725
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x60000000010dd708,srvhp=0x60000000010e0d38)
4 ETW000 40 0.129765
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x60000000010e0d38 from con_hdl=0
4 ETW000 386 0.130151
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1033' 141 0.130292
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1033 38 0.130330
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1033) 32 0.130362
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1033 110 0.130472
4 ETW000 [dev trc ,00000] ORA-01033: ORACLE initialization or shutdown in progress
4 ETW000 34 0.130506
4 ETW000 [dev trc ,00000] Try to connect with default password 29 0.130535
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@QAS on connection 0 (nls_hdl 0) ... (dbsl 700 220409)
4 ETW000 32 0.130567
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 85 0.130652
4 ETW000 [dev trc ,00000] 0 UTF8 0x60000000010c5510 0x60000000010cce40 0x60000000010dd7d8
4 ETW000 34 0.130686
4 ETW000 [dev trc ,00000] Allocating server context handle 19 0.130705
4 ETW000 [dev trc ,00000] Attaching to DB Server QAS (con_hdl=0,svchp=0x60000000010dd708,srvhp=0x60000000010e0d38)
4 ETW000 35 0.130740
4 ETW000 [dev trc ,00000] Assigning server context 0x60000000010e0d38 to service context 0x60000000010dd708
4 ETW000 71836 0.202576
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0, usrhp=0x60000000010cd658
4 ETW000 32 0.202608
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0, usrhp=0x60000000010cd658
4 ETW000 88 0.202696
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>, svchp=0x60000000010dd708, srvhp=0x60000000010e0d38, usrhp=0x60000000010cd658)
4 ETW000 38 0.202734
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 5277 0.208011
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1033: 120 0.208131
4 ETW000 [dev trc ,00000] ORA-01033: ORACLE initialization or shutdown in progress
4 ETW000 41 0.208172
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x60000000010e0d38) 28 0.208200
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x60000000010dd708,srvhp=0x60000000010e0d38)
4 ETW000 30 0.208230
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x60000000010e0d38 from con_hdl=0
4 ETW000 140 0.208370
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1033' 31 0.208401
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1033 20 0.208421
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1033) 22 0.208443
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1033 110 0.208553
4 ETW000 [dev trc ,00000] ORA-01033: ORACLE initialization or shutdown in progress
4 ETW000 36 0.208589
4 ETW000 [dblink ,00431] ***LOG BY2=>sql error 1033 performing CON [dblink#7 @ 431] 192 0.208781
4 ETW000 [dblink ,00431] ***LOG BY0=>ORA-01033: ORACLE initialization or shutdown in progress [dblink#7 @ 431]
4 ETW000 42 0.208823
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'QAS'"
Edited by: mart1n1 on Aug 30, 2010 12:29 PM -
Calling Forms 6i from Reports 6i. Is this possible. Run Product in Reports
Re: Calling Forms 6i from Reports 6i. Is this possible?
Hello,
I have need programming in Oracle 9.x and using Forms and Reports for about 1.5 years. My ERP application calls a report from a form. I DO NOT have source code for the FORM. But, I DO have source code for the Report. So, from the Report 6i, I would like to call an Oracle Form 6i. Note: Not WEB based. My question is, IS THIS POSSIBLE. I can not find a command like Run Product in Report for calling a Form Application. Can someone please help me. I am under the gun to have this ready in a couple of days. Can I call an Active X Application from Reports..if Oracle Forms DOES NOT WORK. This needs to be a Form Application because of the nature of this request.
Thank you
DennisThank you
...the ERP vendor based on a form icon button will call a report. They will pass a TAG_NUMBER from a database record (that they just inserted) to the report. This tag_number will link to other tables and will display the report. The problem is ??..there is additional information that the user needs to scan into the database BEFORE the report runs. This is part of the business work flow.
I have options.
1) Get the ERP Vendor to call a FORM based on the name I provide to them.(Not really an option since they are unwilling to make custom mod changes.)
2) Have the user key into the REPORTS PARM FORM. And I will update the tables...
3) Call an Active OCX popup FORM from Reports and then update tables. Is this possible from Reports???..I am not sure if I like to introduce ms vb into an oracle application. It just does not seem to be a correct solution/procedure.
4) Pay the ERP Vendor as a custom mod to make the changes for us. (unlikely because they do not like making custom mod changes)
5) ....any more ideas/comments please let me know..
Thank you Again
Dennis Aubrey -
2EETW169 no connect possible: "DBMS = ORACLE
Unable to start database :
error :Database is not available via R3 trans.
sapdev:qr0adm> R3trans -d
This is R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE
ra_tnsname = 'QR0'"
R3trans finished (0012).
sapdev:qr0adm>
Listner is running...
Iam unable to find the solution please help...Thx for the reply .The status of the database is open from sqlplus.
but when i m trying to start sap from sidadm its giving an error database not available via R3trans
Alert_sid.logs.
Starting ORACLE instance (normal)
Sun Oct 9 21:57:58 2011
Specified value of sga_max_size is too small, bumping to 2399141888
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 80
sessions = 160
event = 10191 trace name context forever, level 1
sga_max_size = 2399141888
shared_pool_size = 1174405120
shared_pool_reserved_size= 115964116
filesystemio_options = setall
control_files = /oracle/QR0/origlogA/cntrl/cntrlQR0.dbf, /oracle/QR0/origlogB/cntrl/cntrlQR0.dbf, /oracle/QR0/sapdata1/cntrl/cntrlQR0.dbf
control_file_record_keep_time= 30
db_block_size = 8192
db_cache_size = 1174405120
compatible = 10.2.0
log_archive_dest = /oracle/QR0/oraarch/QR0arch
log_buffer = 14282752
log_checkpoint_interval = 0
db_files = 254
log_checkpoints_to_alert = TRUE
dml_locks = 4000
replication_dependency_tracking= FALSE
undo_management = AUTO
undo_tablespace = PSAPUNDO
inmemory_undo = FALSE
undo_retention = 43200
recyclebin = off
remote_os_authent = TRUE
remote_login_passwordfile= EXCLUSIVE
job_queue_processes = 1
parallel_execution_message_size= 16384
tablelookup_prefetch_size= 0
background_dump_dest = /oracle/QR0/saptrace/background
user_dump_dest = /oracle/QR0/saptrace/usertrace
core_dump_dest = /oracle/QR0/saptrace/background
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = QR0
open_cursors = 20000
sortelimination_cost_ratio= 10
btree_bitmap_plans = FALSE
star_transformation_enabled= true
query_rewrite_enabled = false
indexjoin_enabled = FALSE
optimpeek_user_binds = FALSE
pga_aggregate_target = 1546188226
optimizermjc_enabled = FALSE
PMON started with pid=2, OS id=3602
PSP0 started with pid=3, OS id=3604
MMAN started with pid=4, OS id=3606
DBW0 started with pid=5, OS id=3608
LGWR started with pid=6, OS id=3610
CKPT started with pid=7, OS id=3612
SMON started with pid=8, OS id=3614
RECO started with pid=9, OS id=3616
CJQ0 started with pid=10, OS id=3618
MMON started with pid=11, OS id=3620
MMNL started with pid=12, OS id=3622
Sun Oct 9 21:58:00 2011
ALTER DATABASE MOUNT
Sun Oct 9 21:58:04 2011
Setting recovery target incarnation to 1
Sun Oct 9 21:58:04 2011
Successful mount of redo thread 1, with mount id 631440488
Sun Oct 9 21:58:04 2011
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Sun Oct 9 21:58:04 2011
ALTER DATABASE OPEN
Sun Oct 9 21:58:04 2011
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=14, OS id=3626
Sun Oct 9 21:58:05 2011
ARC0: Archival started
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC1 started with pid=15, OS id=3628
Sun Oct 9 21:58:05 2011
Thread 1 opened at log sequence 6139
Current log# 3 seq# 6139 mem# 0: /oracle/QR0/origlogA/log_g13m1.dbf
Current log# 3 seq# 6139 mem# 1: /oracle/QR0/mirrlogA/log_g13m2.dbf
Successful open of redo thread 1
Sun Oct 9 21:58:05 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sun Oct 9 21:58:05 2011
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
Sun Oct 9 21:58:05 2011
ARC1: Becoming the heartbeat ARCH
Sun Oct 9 21:58:05 2011
SMON: enabling cache recovery
Sun Oct 9 21:58:05 2011
Successfully onlined Undo Tablespace 1.
Sun Oct 9 21:58:05 2011
SMON: enabling tx recovery
Sun Oct 9 21:58:05 2011
Database Characterset is UTF8
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 8
Starting background process QMNC
QMNC started with pid=16, OS id=3632
Sun Oct 9 21:58:05 2011
Completed: ALTER DATABASE OPEN
Sun Oct 9 21:58:06 2011
Incremental checkpoint up to RBA [0x17fb.9b30.0], current log tail at RBA [0x17fb.9b81.0]
Sun Oct 9 22:26:16 2011
Shutting down instance: further logons disabled
Sun Oct 9 22:26:16 2011
Stopping background process QMNC
Sun Oct 9 22:26:16 2011
Stopping background process CJQ0
Sun Oct 9 22:26:18 2011
Stopping background process MMNL
Sun Oct 9 22:26:19 2011
Stopping background process MMON
Sun Oct 9 22:26:20 2011
Shutting down instance (immediate)
License high water mark = 1
Sun Oct 9 22:26:20 2011
Stopping Job queue slave processes, flags = 7
Sun Oct 9 22:26:20 2011
Job queue slave processes stopped
Sun Oct 9 22:26:20 2011
ALTER DATABASE CLOSE NORMAL
Sun Oct 9 22:26:20 2011
SMON: disabling tx recovery
SMON: disabling cache recovery
Sun Oct 9 22:26:20 2011
Shutting down archive processes
Archiving is disabled
Sun Oct 9 22:26:25 2011
ARCH shutting down
ARC1: Archival stopped
Sun Oct 9 22:26:30 2011
ARCH shutting down
ARC0: Archival stopped
Sun Oct 9 22:26:31 2011
Thread 1 closed at log sequence 6139
Successful close of redo thread 1
Sun Oct 9 22:26:31 2011
Completed: ALTER DATABASE CLOSE NORMAL
Sun Oct 9 22:26:31 2011
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Sun Oct 9 22:26:34 2011
Starting ORACLE instance (normal)
Sun Oct 9 22:26:34 2011
Specified value of sga_max_size is too small, bumping to 2399141888
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 80
sessions = 160
event = 10191 trace name context forever, level 1
sga_max_size = 2399141888
shared_pool_size = 1174405120
shared_pool_reserved_size= 115964116
filesystemio_options = setall
control_files = /oracle/QR0/origlogA/cntrl/cntrlQR0.dbf, /oracle/QR0/origlogB/cntrl/cntrlQR0.dbf, /oracle/QR0/sapdata1/cntrl/cntrlQR0.dbf
control_file_record_keep_time= 30
db_block_size = 8192
db_cache_size = 1174405120
compatible = 10.2.0
log_archive_dest = /oracle/QR0/oraarch/QR0arch
log_buffer = 14282752
log_checkpoint_interval = 0
db_files = 254
log_checkpoints_to_alert = TRUE
dml_locks = 4000
replication_dependency_tracking= FALSE
undo_management = AUTO
undo_tablespace = PSAPUNDO
inmemory_undo = FALSE
undo_retention = 43200
recyclebin = off
remote_os_authent = TRUE
remote_login_passwordfile= EXCLUSIVE
job_queue_processes = 1
parallel_execution_message_size= 16384
tablelookup_prefetch_size= 0
background_dump_dest = /oracle/QR0/saptrace/background
user_dump_dest = /oracle/QR0/saptrace/usertrace
core_dump_dest = /oracle/QR0/saptrace/background
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = QR0
open_cursors = 20000
sortelimination_cost_ratio= 10
btree_bitmap_plans = FALSE
star_transformation_enabled= true
query_rewrite_enabled = false
indexjoin_enabled = FALSE
optimpeek_user_binds = FALSE
pga_aggregate_target = 1546188226
optimizermjc_enabled = FALSE
PMON started with pid=2, OS id=3991
PSP0 started with pid=3, OS id=3993
MMAN started with pid=4, OS id=3995
DBW0 started with pid=5, OS id=3997
LGWR started with pid=6, OS id=3999
CKPT started with pid=7, OS id=4001
SMON started with pid=8, OS id=4003
RECO started with pid=9, OS id=4005
CJQ0 started with pid=10, OS id=4007
MMON started with pid=11, OS id=4009
MMNL started with pid=12, OS id=4011
Sun Oct 9 22:26:36 2011
ALTER DATABASE MOUNT
Sun Oct 9 22:26:40 2011
Setting recovery target incarnation to 1
Sun Oct 9 22:26:40 2011
Successful mount of redo thread 1, with mount id 631492636
Sun Oct 9 22:26:40 2011
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Sun Oct 9 22:26:40 2011
ALTER DATABASE OPEN
Sun Oct 9 22:26:40 2011
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=14, OS id=4015
Sun Oct 9 22:26:40 2011
ARC0: Archival started
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC1 started with pid=15, OS id=4017
Sun Oct 9 22:26:40 2011
Thread 1 opened at log sequence 6139
Current log# 3 seq# 6139 mem# 0: /oracle/QR0/origlogA/log_g13m1.dbf
Current log# 3 seq# 6139 mem# 1: /oracle/QR0/mirrlogA/log_g13m2.dbf
Successful open of redo thread 1
Sun Oct 9 22:26:40 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sun Oct 9 22:26:40 2011
ARC1: Becoming the 'no FAL' ARCH
ARC1: Becoming the 'no SRL' ARCH
Sun Oct 9 22:26:40 2011
ARC0: Becoming the heartbeat ARCH
Sun Oct 9 22:26:40 2011
SMON: enabling cache recovery
Sun Oct 9 22:26:41 2011
Successfully onlined Undo Tablespace 1.
Sun Oct 9 22:26:41 2011
SMON: enabling tx recovery
Sun Oct 9 22:26:41 2011
Database Characterset is UTF8
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 8
Starting background process QMNC
QMNC started with pid=16, OS id=4021
Sun Oct 9 22:26:42 2011
Incremental checkpoint up to RBA [0x17fb.a1ef.0], current log tail at RBA [0x17fb.a21b.0]
Sun Oct 9 22:26:42 2011
Completed: ALTER DATABASE OPEN
Sun Oct 9 22:56:42 2011
Incremental checkpoint up to RBA [0x17fb.a489.0], current log tail at RBA [0x17fb.a49e.0]
Sun Oct 9 23:26:43 2011
Incremental checkpoint up to RBA [0x17fb.a9ba.0], current log tail at RBA [0x17fb.a9cf.0]
Sun Oct 9 23:56:44 2011
Incremental checkpoint up to RBA [0x17fb.aa0f.0], current log tail at RBA [0x17fb.b1d7.0]
Mon Oct 10 00:26:44 2011
Incremental checkpoint up to RBA [0x17fb.f11c.0], current log tail at RBA [0x17fb.f125.0]
Mon Oct 10 00:56:45 2011
Incremental checkpoint up to RBA [0x17fb.f16b.0], current log tail at RBA [0x17fb.f16b.0]
Mon Oct 10 01:26:47 2011
Incremental checkpoint up to RBA [0x17fb.f693.0], current log tail at RBA [0x17fb.f69c.0]
Mon Oct 10 01:56:49 2011
Incremental checkpoint up to RBA [0x17fb.f6e1.0], current log tail at RBA [0x17fb.f6e1.0]
Mon Oct 10 02:26:51 2011
Incremental checkpoint up to RBA [0x17fb.faff.0], current log tail at RBA [0x17fb.fb13.0]
Mon Oct 10 02:56:51 2011
Incremental checkpoint up to RBA [0x17fb.fb4d.0], current log tail at RBA [0x17fb.fb5e.0]
Mon Oct 10 03:26:52 2011
Incremental checkpoint up to RBA [0x17fb.ff6e.0], current log tail at RBA [0x17fb.ff8a.0]
Mon Oct 10 03:56:52 2011
Incremental checkpoint up to RBA [0x17fb.ffb1.0], current log tail at RBA [0x17fb.ffc6.0]
Mon Oct 10 04:26:53 2011
Incremental checkpoint up to RBA [0x17fb.10452.0], current log tail at RBA [0x17fb.1046b.0]
Mon Oct 10 04:56:53 2011
Incremental checkpoint up to RBA [0x17fb.104a6.0], current log tail at RBA [0x17fb.104b9.0]
Mon Oct 10 05:26:54 2011
Incremental checkpoint up to RBA [0x17fb.108e3.0], current log tail at RBA [0x17fb.108fc.0]
Mon Oct 10 05:56:55 2011
Incremental checkpoint up to RBA [0x17fb.1092c.0], current log tail at RBA [0x17fb.1093d.0]
Mon Oct 10 06:26:56 2011
Incremental checkpoint up to RBA [0x17fb.10d82.0], current log tail at RBA [0x17fb.10d9b.0]
Mon Oct 10 06:56:56 2011
Incremental checkpoint up to RBA [0x17fb.10dd3.0], current log tail at RBA [0x17fb.10de4.0]
Mon Oct 10 07:26:57 2011
Incremental checkpoint up to RBA [0x17fb.111d8.0], current log tail at RBA [0x17fb.111f1.0]
Mon Oct 10 07:56:57 2011
Incremental checkpoint up to RBA [0x17fb.11220.0], current log tail at RBA [0x17fb.11234.0]
Mon Oct 10 08:26:58 2011
Incremental checkpoint up to RBA [0x17fb.11626.0], current log tail at RBA [0x17fb.1163f.0]
Mon Oct 10 08:56:59 2011
Incremental checkpoint up to RBA [0x17fb.11672.0], current log tail at RBA [0x17fb.11683.0] -
Hi,
Disp+work.exe has been stopped so iam not able to log in.I run the command R3trans -d then i get the
2EETW169 no connect possible: "DBMS=ORACLE ---dbs_ora_tnsname='VMD'" the this message. i stopped the SAP through MMC and stopped DB also and i tried so many times it is not working .
Please advice.
Regards,
AsifHi,
Listner is in running status only.
trc file: "dev_ms", trc level: 1, release: "700"
[Thr 2840] Thu Jun 11 11:39:11 2009
[Thr 2840] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 94
intno 20050900
make: multithreaded, Unicode, optimized
pid 4376
[Thr 2840] Thu Jun 11 11:39:12 2009
[Thr 2840] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 4376) [msxxserv.c 1824]
[Thr 2840] Thu Jun 11 11:39:13 2009
[Thr 2840] load acl file = E:\usr\sap\VMD\SYS\global\ms_acl_info.DAT
[Thr 2840] MsGetOwnIpAddr: my host addresses are :
[Thr 2840] 1 : [10.10.3.155] blrsap002.vmoksha.com (HOSTNAME)
[Thr 2840] 2 : [127.0.0.1] blrsap002.vmoksha.com (LOCALHOST)
[Thr 2840] MsHttpInit: full qualified hostname = blrsap002.vmoksha.com
[Thr 2840] Thu Jun 11 11:39:14 2009
[Thr 2840] HTTP logging is switch off
[Thr 2840] set HTTP state to LISTEN
[Thr 2840] MsHttpOwnDomain: own domain[1] = vmoksha.com
[Thr 2840] ms/icf_info_server : deleted
[Thr 2840] *** I listen to port sapmsVMD (3600) ***
[Thr 2840] *** I listen to internal port 3900 (3900) ***
[Thr 2840] *** HTTP port 8100 state LISTEN ***
[Thr 2840] CUSTOMER KEY: >G1790336528<
[Thr 2840] Thu Jun 11 11:40:42 2009
[Thr 2840] *** ERROR => MsSClientHandle: no server provides service ENQ (4), requested from blrsap002_VMD_00 [msxxserv.c 4679]
[Thr 2840] Thu Jun 11 11:51:03 2009
[Thr 2840] *** ERROR => MsSCheckConnections: no response from client C0 (10.10.3.155) after 300 secs received [msxxserv.c 3165]
[Thr 2840] *** ERROR => MsSCheckConnections: disconnect now [10.10.3.155] [msxxserv.c 3169]
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Thu Jun 11 11:39:34 2009
B create_con (con_name=R/3)
B Loading DB library 'E:\usr\sap\VMD\DVEBMGS00\exe\dboraslib.dll' ...
B Library 'E:\usr\sap\VMD\DVEBMGS00\exe\dboraslib.dll' loaded
B Version of 'E:\usr\sap\VMD\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.92)
B New connection 0 created
M sysno 00
M sid VMD
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 95
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 12948
M
M kernel runs with dp version 224000(ext=109000) (@(#) DPLIB-INT-VERSION-224000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 12948) [dpxxdisp.c 1301]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 18616 (1432)
M DpShMCreate: sizeof(tm_adm) 4232256 (21056)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M DpShMCreate: sizeof(slock_adm) 0 (96)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1520)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06060040, size: 4891728)
M DpShMCreate: allocated sys_adm at 06060040
M DpShMCreate: allocated wp_adm at 06061E80
M DpShMCreate: allocated tm_adm_list at 06066738
M DpShMCreate: allocated tm_adm at 06066768
M DpShMCreate: allocated wp_ca_adm at 0646FBA8
M DpShMCreate: allocated appc_ca_adm at 06475968
M DpShMCreate: allocated comm_adm at 064778A8
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 064F8768
M DpShMCreate: allocated gw_adm at 064F87A8
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 064F87D8
M DpShMCreate: allocated wall_adm at 064F87E0
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Thu Jun 11 11:39:35 2009
M ThInit: running on host blrsap002
M
M Thu Jun 11 11:39:36 2009
M calling db_connect ...
C Prepending E:\usr\sap\VMD\DVEBMGS00\exe to Path.
C Oracle Client Version: '10.2.0.1.0'
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@VMD on connection 0 (nls_hdl 0) ... (dbsl 700 030107)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 05D09338 05D0E8D4 05D0E15C
C Attaching to DB Server VMD (con_hdl=0,svchp=05D0E0A8,srvhp=05D1F974)
C
C Thu Jun 11 11:39:37 2009
C Starting user session (con_hdl=0,svchp=05D0E0A8,srvhp=05D1F974,usrhp=0AAE1B48)
C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
[dboci.c 4500]
C Detaching from DB Server (con_hdl=0,svchp=05D0E0A8,srvhp=05D1F974)
C *** ERROR => CONNECT failed with sql error '1034'
[dbsloci.c 10948]
C Try to connect with default password
C Connecting as SAPSR3/<pwd>@VMD on connection 0 (nls_hdl 0) ... (dbsl 700 030107)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 05D09338 05D0E8D4 05D0E15C
C Attaching to DB Server VMD (con_hdl=0,svchp=05D0E0A8,srvhp=05D1F974)
C Starting user session (con_hdl=0,svchp=05D0E0A8,srvhp=05D1F974,usrhp=0AAE1B48)
C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
[dboci.c 4500]
C Detaching from DB Server (con_hdl=0,svchp=05D0E0A8,srvhp=05D1F974)
C *** ERROR => CONNECT failed with sql error '1034'
[dbsloci.c 10948]
B ***LOG BV3=> severe db error 1034 ; work process is stopped [dbsh#2 @ 1199] [dbsh 1199 ]
B ***LOG BY2=> sql error 1034 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1426]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10240]
M
M Info for wp 0
M
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source =
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M csTrack = 0
M csTrackRwExcl = 0
M csTrackRwShrd = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server blrsap002_VMD_00 on host blrsap002 (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Thu Jun 11 11:39:37 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10439
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M
M Thu Jun 11 11:39:38 2009
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 12948) [dpnttool.c 327] -
Is this possible/advisable
Hellow
We have a running Oracle database 8.0.5 on Sun Microsystem Server (Enterprise 5500). We need to migrate this data into Oracle 10g. Is this possible or advisable to install Oracle 10g Standard Edition on the same server, so parallely users can work on 8.0.5 and we can carry on our development work on 10g and later on completely switch to 10g?
RegardsIf you don't have access to an optical drive, purchase the Mac OS X 10.7 thumbdrive and install it onto a blank partition. There is no 10.7 download outside of the Mac App Store.
(67092) -
I want 2 different layouts- 1 for Macbook and 1 for Thunderbolt display- is this possible?
I have 2 offices and a MacBook Pro w/ Retina. I'd like to use the 27" Thunderbolt display but I don't want to be moving windows around based on if I use the Mac screen or the 27" screen- I want Mavericks to know that which screen I am using and for it to adjust accordingly. I don't want to move things around everytime. Is this possible? thx
Hi,
I think not. IDM generally saved the polled data in XMLDATA objects. SO it should work. You can raise a ORACLE Service request to get a confirmation
Regards
Arjun
Maybe you are looking for
-
HP C4380 software fails to install on Win 7 64 bit
My HP C4380 printer scanner stopped working, so I added another printer with working scanner to my wireless network, but then I could not get my HP C4380 to run even though it was default, so I uninstalled the other printer because I prefer my HP. A
-
Need to find out how many users are using Siebel Application
Hello all, I need to find out how many users are using Siebel Application? Is there a way I can find out? Thanks. yasun
-
Connecting tablet to printer via bluetooth
i have a sony xperia tablet and just bought a hp office jet 100 mobile printer i have paired them no problem but i do not think i have an app. that supports this they are both bluetooth i cannot print anything , there is no print icon or anything
-
Dynamic Text and Resizing Images Inside
Hello. FYI: I'm following the Flash Blogger tutorials listed on http://www.indextwo.net with Flash 8. I've noticed that everything works wonderfully as far as bringing the blog content into the dynamic text field; however, my only problem at the mome
-
11.5.9 Payables User Guide
11.5.9 Payables User Guide pdf cannot be downloaded. I could download other manuals such as ADI User Guide. Is it because of the size of file? Thanks, CiC