Oracle Lite Multi Column Updates
I am new to Oracle Lite. I had heard that there is some problem with Oraclelite w.r.t. handling multi column update. Something like this MAY or MAY NOT work:
Update Emp
set ename = 'ABC',
job = 10,
desc = (select 'desc' from dual)
where empno = 10;
Is that true? Any feedback...
Thanks,
SD
I am new to Oracle Lite. I had heard that there is some problem with Oraclelite w.r.t. handling multi column update. Something like this MAY or MAY NOT work:
Update Emp
set ename = 'ABC',
job = 10,
desc = (select 'desc' from dual)
where empno = 10;
Is that true? Any feedback...
Thanks,
SD I have not seen or heard of any multi-column update issues as of 5.0.1
Similar Messages
-
Checking NULL in multi column Update
I have a Update query that updates 2 columns based on the value from other table. Now there may not be a corresponding record in 2nd table and so my first table can be updated with NULL. Now how do i perform a NVL check for this
Query
Update Table1
Set (col2,col3) =
( select col2, col3
from table2
where table2.col1 = table1.col1)
At present i have to repeat the entire condition in SET clause into where clause to avoid this. Is there any better way ?Eric:
The restriction is that each row in table1 must match with only one row in table2 (or none in which case it will be eliminated from the join and, therefore, not updated). Many rows in table1 can match with a single row in table2.
SQL> CREATE TABLE t (id NUMBER, descr VARCHAR2(10));
Table created.
SQL> INSERT INTO t VALUES (1, 'One');
1 row created.
SQL> INSERT INTO t VALUES (1, 'Un');
1 row created.
SQL> INSERT INTO t VALUES (2, 'Two');
1 row created.
SQL> COMMIT;
Commit complete.
SQL> CREATE TABLE t1 (id NUMBER, descr VARCHAR2(10));
Table created.
SQL> ALTER TABLE t1 ADD CONSTRAINT t1_pk PRIMARY KEY (id);
Table altered.
SQL> INSERT INTO t1 VALUES(1, 'Uno');
1 row created.
SQL> INSERT INTO t1 VALUES (3, 'Tres');
1 row created.
SQL> COMMIT;
Commit complete.
SQL> UPDATE (SELECT t.id, t.descr, t1.descr t1descr
2 FROM t, t1
3 WHERE t.id = t1.id)
4 SET descr = t1descr;
2 rows updated.
SQL> SELECT * FROM t;
ID DESCR
1 Uno
1 Uno
2 TwoThe uniqueness of table2 must be declared, it is not determined at runtime,
SQL> ROLLBACK;
Rollback complete.
SQL> ALTER TABLE t1 DROP CONSTRAINT t1_pk;
Table altered.
SQL> UPDATE (SELECT t.id, t.descr, t1.descr t1descr
2 FROM t, t1
3 WHERE t.id = t1.id)
4 SET descr = t1descr;
SET descr = t1descr
ERROR at line 4:
ORA-01779: cannot modify a column which maps to a non key-preserved tableJohn -
Update statement in Oracle Lite
Hi
I'm having a problem when I do an Update on the database.
if I set a column which is a primary key in the table with the same value I get a foreign key error.
Ex: update company set company_id = 1 where company_id = 1;
in Oracle 8i there is no problem ,but when I run it in 8i Lite a get the foreign key error.
I appreciate any helpIs it necessary to update the entire record in Oracle Lite, or should it be possible to update select columns only when performing an update query?
Thanks,
Allen -
Oracle Lite 10.3.0: how to find out the consumed size of a BLOB column
Hi,
we are developing an app that utilizes an Oracle Lite database and so far I have just been unable to find a reasonable way to determine the size of stored binary data.
All the "usual" ways we aware of from "main" Oracle just don't seem to work with OLIte (ie SELECT dbms_lob.getlength(file_data) from APPS.CSL_LOBS) so how does one find out the size of blob objects?
Thanks in advanceAssuming BLOBs are not stored in-line:
SQL> desc pm.print_media
Name Null? Type
PRODUCT_ID NOT NULL NUMBER(6)
AD_ID NOT NULL NUMBER(6)
AD_COMPOSITE BLOB
AD_SOURCETEXT CLOB
AD_FINALTEXT CLOB
AD_FLTEXTN NCLOB
AD_TEXTDOCS_NTAB PM.TEXTDOC_TAB
AD_PHOTO BLOB
AD_GRAPHIC BINARY FILE LOB
AD_HEADER PM.ADHEADER_TYP
SQL> select segment_name,
2 index_name
3 from dba_lobs
4 where owner = 'PM'
5 and table_name = 'PRINT_MEDIA'
6 and column_name = 'AD_COMPOSITE'
7 /
SEGMENT_NAME INDEX_NAME
SYS_LOB0000051988C00003$$ SYS_IL0000051988C00003$$
SQL> select sum(bytes)
2 from dba_segments
3 where owner = 'PM'
4 and segment_name in (
5 'SYS_LOB0000051988C00003$$',
6 'SYS_IL0000051988C00003$$'
7 )
8 /
SUM(BYTES)
262144
SQL> SY. -
Pass a Collection of multi-column records from JAVA to Plsql
Hi,
I need to pass a Collection of multi-column records(say Employee Id, Employee Name and Employee Address) from a JAVA application to an Oracle package/stored procedure
for data processing and updates.
I initially thought of using a pl/sql table as an input parameter, but then I came to know that a pl/sql table can have ONLY one column and an index (can be a String in
the case of an Associative Array). Please let me know if my understanding is wrong here.
I then thought of using a PL/SQL table with a RECORD type as an element. But, I came across a documentation that says that, Oracle JDBC does not support RAW, DATE, and PL/SQL RECORD as element types.
Could you please let me know how I can pass multi-column records from JAVA to an Oracle Stored procedure as an input parameter? Millions of rows would be sent by the JAVA program to the Oracle Stored procedure.
Any help will be highly appreciated.
Regards,
Sunil.There are several examples in the " Working with Oracle Collections" from the "JDBC Developer's Guide and Reference". You can either use a Map to create Java objects that are created with the Oracle objects data or the generic oracle.sql.STRUCT interface.
http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/oraarr.htm#1047581
http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/oraoot.htm#1039477 -
Multi Row Update for Tabular Form
1) I'm trying to understand how the built-in MRU works for tabular forms: While running through every row, does it check for changes before issuing an UPDATE or does it blindly UPDATE every row in the current pagination range?
2) If I need to write my own Multi Row Update process for tabular forms, could someone give me some tips on how to do that?
Thanks,
Pavel1) It stored a checksum for each row that it renders. It calculates the checksum again before processing the rows. The UPDATE statement it issues has a predicate like where old_checksum!=new_checksumSo, it only updates the rows that have at least 1 column value that is different (causing the row checksum to be different)
2) See the howto at http://www.oracle.com/technology/products/database/application_express/howtos/tabular_form.html -
Conflicts resolution methods in Oracle Lite
Can anyone please provide the answers of the following questions?
1_What Methods are used for Conflict detection and resolution for concurrent updates by multiple clients in Oracle lite databases?
2_ Is there any method that extract semantic relation from the concurrent update transactions and create a global update schedule?
3_ Does oracle lite use conflict avoidance mechanism?
4_ What replication method is used by Oracle Lite Database?In terms of conflict resolution with oracle lite, which end do you mean? conflict resolution in the client database (ie: oracle lite) or on the server side when processing client uploads (this is just a standard oracle database), also not sure what you are trying to achieve
*1_What Methods are used for Conflict detection and resolution for concurrent updates by multiple clients in Oracle lite databases?*
I assume in the following that you are talking about dealing with uploads
Depending on how the publication items are defined, the process is quite different.
a) fast refresh publication items
When the client synchronises, the upload data is uploaded as a packed binary file which is then unpacked and inserted into in queue tables in the mobileadmin repsitory (table names begin CFM$ followed by the publication item name). This is the only action that happens during the actual sync process.
A second and independent process, not linked to the actual synchronisation - the MGP process, runs on the mobile server, and this has three phases - apply, process logs and compose that run one after the other. You can set the MGP to only do the apply phase, or all three.
during the apply phase the data in the in queue tables for a particular user/transaction will be applied to the server database. Normally the MGP process is set to have three threads (this can be changed, but three is the default), and therefore three client uploads will be processed in parallel, but each of these threads is independant of the others and therefore should be seen as seperate transactions.
It should be noted that even if you have 50 or 100 users synchronising concurrently, only three upload sets will be processed at any one time, and almost certainly a period of time after the synchronisation has completed (may be many hours depending on the MGP cycle time)
As each of the apply threads is a seperate transaction, there is no concept of concurrency built in, and the only conflict resolution by default is based on the server wins/client wins setting of the publication item. where multiple users are updating the the same server record with 'client wins', the first user will update the data, and then the next user will update the data (just a repeat of the previous one). NOTE also that in the case of an update, ALL columns in the record are updated, there is no column level update.
There are customisation options available to provide finer grained control over the apply process, look at the PLSQL callback packages registered against each publication item for beforeapply, afterapply, beforetranapply and aftertranapply, Apply DML procedures against the publication items and also the CUSTOMIZE package at the MGP level
b) complete refresh publication items
where the publication as a whole has a mixture of fast and complete refresh publication items, these normally work in the same way as the fast refresh described above. Where however you just have complete refresh items the data MAY be written directly to the server table on upload
c) queue based publication items
These work in realtime, rather than with a delay for the MGP process to pick up the data.
When the user synchronises, the uploaded data is is written to the in queue tables in the same way, but when this is completed, a package (defined as part of the publication definition) is called, and the procedure upload_complete is run passing in the user and transaction identifiers. This package needs to be hand crafted, but you have full control over what and how all of the uploaded data is processed, but again this is a single transaction for that user. If you want to look at other sessions running, you need to find a way to implement this.
*2_ Is there any method that extract semantic relation from the concurrent update transactions and create a global update schedule?*
As noted above, the uploads may be processed in parallel, but they are seperate transactions, so no built ins
*3_ Does oracle lite use conflict avoidance mechanism?*
Only the basic oracle stuff, unless you use the customisation options to write your own
*4_ What replication method is used by Oracle Lite Database?*
The different types of publication items select data from the server database for download in different ways
a) fast refresh
change logging tables and triggers are created in the server database. These are scanned during the MGP process logs phase to determine what changes have happened since the last MGP compose, and what publication items they affect. The MGP compose then runs and this uses the same three threads to process the users in alphabetical order using the change keys to populate data in out queue tables (prefixed CMP$) in the repository. These have the PK values for the data, plus a transaction types (insert/update/delete). All the MGP process does is populate these out queue tables.
When the user synchronises, the data in the out queue tables is used as a key list to extract the data from the actual server tables into a packed binary file, and this is sent to the client.
b) complete refresh
there is no pre-preparation in this case, the data is streamed directly from the server database into the packed binary download file
c) queue based items
in real time when the user is synchronising after the apply has been done by the uploade_complete procedure, a second procedure download_init is called. Within this you have to code the data extract, and MUST populate tables (you also need to create them) CTM$<publication item name> these are effectively out queue tables, but contain all of the data, not just the PK values. At the end of the procedure, the data is streamed from these into the binary file for download.
Depending on the definition of your apublication, you could have one or more of the above types (VERY bad idea to mix queue based and fast refresh unless you are very sure about what you are doing) and therefore there may be a mix of different actions happening at different times
In conclusion i would say that try and send seperate data to clients so that they do not interfere with each other, and for inserts use uniqueue keys or sequences. If you MUST send the same data to different clients for update, then the queue based approach provides the best control, but as it is real time is not as scalable for large data sets. -
Oracle LIte Conflict data table details Needed
Hai,
I have a new requirement from client that we have to send mail to user all conflict information between oracle lite and main database after synchronisation. We have taken publication and conclict table details from mobileadmin.C$EQ and wants to know which database table should be used for taking field wise details.
Regards, Palani.R.What do you mean by conflict?
The publication items will by default have a conflict type of 'server wins' or 'client wins'. This comes into play where updates have happened on both the server and the client, and in these cases the rule will be followed, the data updated accordingly and nothing is stored.
If there is an ERROR in the upload processing, then the entire transaction will be put into the error queue (C$EQ), which sounds like what you are looking at.
C$EQ will have a record for each record in the upload transaction, but the first one to cause an error will have the message text as not null (there may be other errors behind this, but only the first one is updated).
If what you are trying to do is send an email when a transaction errors, then i would suggest you
select the user (clientid), transaction (tranid$$) and message_text (this is the actual error) from c$eq
to get the related table then
select pub.owner||'.'||pub.store
from c$all_publications pub
,c$eq eq
where pub.name=eq.publication
This is the schema and object name of the server table the data is going to. The actual error queue table is
select pub.owner||'.CEQ$'||pub.store
from c$all_publications pub
,c$eq eq
where pub.name=eq.publication
ie: object name prefixed by CEQ$ sitting in the main schema
If you want the actual column data, then just use all tab columns inside a bit of dynamic SQL -
Multi-Row Update form with wrapped fields
Hi,
I have a multi-row update form with too many fields to fit on the screen without having to scroll. Is it possible to wrap the extra fields onto a 2nd line.
So each DB record will actually span 2 srceen rows and fit nicely into my browser ??
Thanks for any help,
BrandonIt is possible, but would require some serious work on the report template, to create a custom row template.
I started to do this at http://htmldb.oracle.com/pls/otn/f?p=24317:191 but realized that it is hard work. Also, where would you show the headings for the second part of the row (split onto the next line)?
Instead, I would use the Show/Hide columns technique (client-side scripting) to reduce the number of columns shown. Search for it on this forum. Carl and I have some good examples out there. -
Master detail against Oracle Lite was working, now broken -help?
I have a master detail form running against an Oracle Lite database which was working fine. Today I made several changes - added create method so I could default some values, changed background colors, connected to the rest of the columns in the child entity, changed some display formats.
Now whenever I try to update or insert on the child table I get errors:
DAC-305: DbAccess commitTransaction failed. Session: Session1
JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO CBC(DAY,HORSE_ID,WBC,HGB,HCT,PLT,MCHC,PMN,STAB,BASO,LYMPH,MONO,EOS,FECAL,MY,ALBUMIN,BL) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ".
Unhandled object
on insert, or
DAC-104: ImmediateAccess: setAttribute failed. ColumnView: Hct row: 1
JBO-26080: Error while selecting entity for Cbc
[ODBC S1C00] driver not capable of this operation
on update.
I've undone most of what I did today trying to figure out what broke it. Wish I had a backup! What gives? How do I debug this thing?
Thanks, BryanSolution:
For Oracle Lite anyhow, you must be careful to use the right data types in the BC4J EO (Entity Objects). Timestamp works, Date doesn't. BigDecimal works, number doesn't. If the wrong data type is set the application will read and display data, but attempts to insert new data or update existing data will throw the errors above. -
Personal Oracle and Oracle Lite ??
I'd like to know the difference between Personal Oracle (PO)
and Oracle Lite:
1. PO = multi user ? - Lite = single user ?
2. PO = stronger/bigger database - Lite = small database ?
2. PO = support PL/SQL ? - Lite = no PL/SQL ?
3. Replica:
Lite = Snapshotsite only;
Support basic and advanced replica with
Enterprise Edition (or Oracle 8i server ?)
as Mastersite
PO = Snapshotsite only ?
Basic (read only) replication only ?
Please help !
Wilco Mulder - Inter Act Industrial Automation.
nullWilco Mulder (guest) wrote:
: I'd like to know the difference between Personal Oracle (PO)
: and Oracle Lite:
: 1. PO = multi user ? - Lite = single user ?
: 2. PO = stronger/bigger database - Lite = small database ?
: 2. PO = support PL/SQL ? - Lite = no PL/SQL ?
: 3. Replica:
: Lite = Snapshotsite only;
: Support basic and advanced replica with
: Enterprise Edition (or Oracle 8i server ?)
: as Mastersite
: PO = Snapshotsite only ?
: Basic (read only) replication only ?
: Please help !
: Wilco Mulder - Inter Act Industrial Automation.
Hi,
Hereby are some answers:
1 : PO is personal version of Oracle RDBMS, and available under
Win95/98/NT. It is the same kernel than a normal Oracle RDBMS
without some advanced feature (object, etc). Lite is another
kernel and originally is a ODBMS (object DBMS). Lite is available
under Win95/98/NT/CE, Epoc32 (coming) and Palm OS (coming). Both
products are actually single user products. There will be a lite
mini-server which will support mutli-user access.
2 - Yes, PO is a full Oracle RDBMS and Lite is a foot-print
database. But both database are mutil-sessions, row-level locking
etc.
3 - PO supports PL/SQL and Lite support Java Stored procedures.
Both have database triggers.
4 - For the replication feature, both PO and Lite fully support
basic and advanced replciation. That means: readonly snapshot and
updatable snapshots with subquery and subsettings. They can only
play as snapshot sites. The master site must be Oracle 8 or 8i.
Hope these can help,
Regards,
Xin WU
null -
Multi-column BITMAP index vs. multiple BITMAP indices?
Given the table (simple, made-up example):
CREATE TABLE applicant_diversity_info (
applicant_diversity_id NUMBER(12), PRIMARY KEY(applicant_diversity_id),
apply_date DATE,
ssn_salted_md5 RAW(16),
gender CHAR(1), CHECK ( (gender IS NULL OR gender IN ('M','F')) ),
racial_continent VARCHAR2(30), CHECK ( (racial_continent IS NULL
OR racial_continent IN ('Europe','Africa','America','Asia_Pacific')) ),
ethnic_supergroup VARCHAR2(30), CHECK ( (ethnic_supergroup IS NULL OR ethnic_supergroup IN ('Latin American','Other')) ),
hire_salary NUMBER(11,2),
hire_month DATE,
termination_salary NUMBER(11,2),
termination_month DATE,
termination_cause VARCHAR2(30), CHECK ( (termination_cause IS NULL
OR termination_cause IN ('Resigned','Leave of Absence','Laid Off','Performance','Cause')) )
Oracle (syntactically) allows me to create either one BITMAP index over all four small-cardinality columns
CREATE BITMAP INDEX applicant_diversity_diversity_idx ON applicant_diversity_info (
gender, racial_continent, ethnic_supergroup, termination_reason );
or four independent indexes
CREATE BITMAP INDEX applicant_diversity_gender_idx ON applicant_diversity_info ( gender );
CREATE BITMAP INDEX applicant_diversity_race_idx ON applicant_diversity_info ( raceial_continent );
etc.
What is the difference between the two approaches; is there any meaningful difference in disk-space between the one multi-colum index and the four single-column indexes? Does it make a difference in what the query-planner will consider?
And, if I define one multi-column BITMAP index, does the order of columns matter?>
What is the difference between the two approaches; is there any meaningful difference in disk-space between the one multi-colum index and the four single-column indexes? Does it make a difference in what the query-planner will consider?
And, if I define one multi-column BITMAP index, does the order of columns matter?
>
You may want to read this two-part blog, that answers that exact question, by recognized expert Richard Foote
http://richardfoote.wordpress.com/2010/05/06/concatenated-bitmap-indexes-part-i-two-of-us/
http://richardfoote.wordpress.com/2010/05/12/concatenated-bitmap-indexes-part-ii-everybodys-got-to-learn-sometime/
As with many things Oracle the answer is 'it depends'.
In short the same considerations apply for a concatenated index whether it is bitmap or b-tree: 1) will the leading column usually be in the predicate and 2) will most or all of the index columns be specified in the queries.
Here are some quotes from part 1
>
Many of the same issues and factors in deciding to create a single, multi-column index vs. several, single column indexes apply to Bitmap indexes as they do with B-Tree indexes, although there are a number of key differences to consider as well.
Another thing to note regarding a concatenated Bitmap index is that the potential number of index entries is a product of distinct combinations of data of the indexed columns.
A concatenated Bitmap index can potentially use less or more space than corresponding single column indexes, it depends on the number of index entries that are derived and the distribution of the data with the table.
>
Here is the lead quote from part 2
>
The issues regarding whether to go for single column indexes vs. concatenated indexes are similar for Bitmap indexes as they are for B-Tree indexes.
It’s generally more efficient to access a concatenated index as it’s only the one index with less processing and less throwaway rowids/rows to contend with. However it’s more flexible to have single column indexes, especially for Bitmap indexes that are kinda designed to be used concurrently, as concatenated indexes are heavily dependant on the leading column being known in queries. -
How Can I get multi column values from dynamic search help?
Hi Gurus;
I'm using dynamic search help in my program.
I want to get multi column values from search help. But I dont know solution for this issue.
I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
How Can I get multi column values from dynamic search help?
Thanks.Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
There are like 3 steps.
You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined (just to keep it straight, i will be putting here) data: It_return type standard table of ddshretval.
Next step is to call the function module. Make sure you have values in IT_VALTAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'FLD2'
value_org = 'S'
tables
value_tab = It_VALTAB
return_tab = It_return
dynpfld_mapping = It_dynpfld
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
perform get_selected_fields tables It_return.
endif.
The code within the perform GET_SELECTED_FIELDS - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
I need a internal table as well as a work area here. like,
data: lt_fields type table of dynpread,
la_fields type dynpread.
field-symbols: <fs_return> type ddshretval.
so fill out LT_FIELDS from the IT_RETURN table
loop at lt_return assigning <fs_return>.
la_fields-fieldname = <fs_return>-retfield.
la_fields-fieldvalue = <fs_return>-fieldval.
append la_fields to lt_fields.
clear: la_fields.
endloop.
Call the FM to update the dynpro
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-repid
dynumb = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
tables
dynpfields = lt_fields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
others = 8.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
good luck -
Conditional Select List in a Report maintained using a Multi Row Update
I have a SQL Report that is maintained with a "Multi Row Update" process. One of the columns needs to be ether a "Select List" based on a named LOV or just "Text" (Read Only) based on the value in the column. I have the UI working using a case statement and apex_items in me SQL but the Report Column is not marked "Edit" and the "Multi Row Update" process just ignores changes.
Any help would be great!Just curious, why is the first parameter to in third TEXT_FROM_ITEM invocation NULL instead of 20? Also check your first parameter in your ELSE. Shouldn't it be a global number as well?
Did you try adding a hidden item to your SELECT statement? Something like:
(case
when CSSN.KTTR_BILL_STAT_UID = KT_UTIL_PKG.get_kttr_uid_from_ref_val('SESSION_BILL_STAT','SESSION_BILL_STAT_1') then
apex_item.select_list_from_lov(20,CSSN.KTTR_BILL_STAT_UID,'KTTR_SESSION_BILL_STAT_PRPR','','NO')
when CSSN.KTTR_BILL_STAT_UID = KT_UTIL_PKG.get_kttr_uid_from_ref_val('SESSION_BILL_STAT','SESSION_BILL_STAT_2') then
apex_item.select_list_from_lov(20,CSSN.KTTR_BILL_STAT_UID,'KTTR_SESSION_BILL_STAT_PRPR','','NO')
when CSSN.KTTR_BILL_STAT_UID is null then
apex_item.text_from_lov(20,'KTTR_SESSION_BILL_STAT')
else
apex_item.text_from_lov(20,CSSN.KTTR_BILL_STAT_UID,'KTTR_SESSION_BILL_STAT')
end) as KTTR_BILL_STAT_DISP,
apex_item.hidden(30,CSSN.KTTR_BILL_STAT_UID) MIRRORThen in either an Javascript onBlur event on KTTR_BILL_STAT_DISP or in a Page Process assign the value of KTTR_BILL_STAT_DISP to MIRROR.
Mike -
Install on vista with Oracle Lite Multiuser Service - SERVICE_START_PENDIN
Hi all,
I'm trying to install app server 10.1.3 on Vista, but on Configuration assistant screen, it stops at BPEL process manager configuration manager ,
error in oraInstall.err:
C:\Users\victoria\AppData\Local\Temp>echo updating ODBC.ini
updating ODBC.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>echo updating ODBCINST.ini
updating ODBCINST.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>echo updating POLITE.ini
updating POLITE.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>exit
Oracle JAAS [Mon May 18 08:36:05 GMT 2009] admin password is changed successfully
opmnctl: starting opmn and all managed processes...
OliteService reports the following status:
The service is installed.
OliteService reports the following status:
The service start pending.
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_START_PENDING
Acceptable Control Code : (0x0)
installaction.log:
BUILD SUCCESSFUL
Total time: 3 minutes 35 seconds
C:\product\10.1.3.1\OracleAS_1\bpel\samples>ENDLOCAL
BUILD SUCCESSFUL
Total time: 4 minutes 43 seconds
Exit: 0
TASK: oracle.tip.install.tasks.UpdateConfigFiles
Updating configuration files ...
Exit: 0
TASK: oracle.tip.install.tasks.RegisterOlite
Registering Olite ...
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OB_HOME=C:\product\10.1.3.1\OracleAS_1\bpel
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_LIB=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_BIN=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set PATH=C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\oracle\product\10.2.0\db_1\bin;C:\app\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\product\10.1.3.1\OracleAS_1\MOBILE\sdk\bin;C:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\server
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set CLASSPATH=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olite40.jar;C:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /stop
OliteService reports the following status:
The service stop is pending.
OliteService reports the following status:
The service is stopped.
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_STOPPED
Acceptable Control Code : (0x0)
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /remove
OliteService reports the following status:
The service is removed.
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /install
OliteService reports the following status:
The service is installed.
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /start
OliteService reports the following status:
The service start pending.
OliteService reports the following status:
The service is running...
port = 1531
wdir = C:\Windows\system32
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_RUNNING
Acceptable Control Code : (0x1) SERVICE_ACCEPT_STOP
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>mkdir "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite"
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>del /f "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb"
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>"C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\createdb.exe" orabpel "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb" manager
Database C:\PRODUCT\10.1.3.1\ORACLEAS_1\BPEL\SYSTEM\DATABASE\OLITE\ORABPEL.odb created (VolID = 1736).
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>exit 0
Could Not Find C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb
Oracle Lite CREATEDB Version 10.2.0.2.0.
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Exit: 0
TASK: oracle.tip.install.tasks.DeployApps
Deploy applications and adapters
Port value is 6003
Buildfile: bpminstall.xml
init-midtier:
Trying to override old definition of datatype echoproperties
common_update_server.xml:
Adding shared library apache.junit ...
Adding shared library oracle.db.lite ...
Adding shared library apache.commons 10.1.3 ...
Adding shared library apache.jdom ...
Adding shared library apache.slide ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://victoria-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_admin_client_script_sl.txt
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
update_server.xml:
restart.container:
Stopping home container ...
opmnctl: stopping opmn managed processes...
================================================================================
opmn id=victoria-PC:6200
no processes or applications matched this request
Restarting home container ...
opmnctl: starting opmn managed processes...
================================================================================
opmn id=victoria-PC:6200
0 of 1 processes started.
ias-instance id=oapp1013.victoria-PC
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
default_group/home/default_group/
Error
--> Process (index=1,uid=503452990,pid=3000)
failed to start a managed process after the maximum retry limit
Log:
C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log
init-midtier:
Setting up the dehydration store [olite]...
dehydrationStore:
Configuring data sources for olite dehydration store ...
Deploying ORABPEL Applications...
deploy-applications:
Deploying Oracle BPEL Process Manager ...
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Updating jar: C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib\orabpel.ear
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://my-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
Please advise what's wrong?
thanks
andrewThe following procedure describes the steps required to deploy the DbAdapter.rar file using admin_client.jar:
1. Copy the following libraries from server.xml in an OC4J_SOA container to a server.xml file for a new
container:
oracle.bpel.common
apache.junit
oracle.db.lite
apache.commons
apache.jdom
apache.slide
For example, for oracle.bpel.common, copy the following extract from one server.xml to another and
do the same for all other libraries:
<shared-library name="oracle.bpel.common" version="10.1.3">
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/classes"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-common.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-thirdparty.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bpm-infra.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wdk.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/connector15.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-exts.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-ant.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/ant_1.6.5.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bipres.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bicmn.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/uix2.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/jewt4.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/regexp.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/share.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jdk/lib/tools.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/ldapjclnt10.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/schema"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/config"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/bpm-services.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wfapi.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/fndctx.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/phaos.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/pushapi.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/oracle_http_client.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_api_v3.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/wasp.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_core.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/saaj.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxm.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/builtin_serialization.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/core_services_client.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxrpc.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rl.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rulesdk.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/webdavrc.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/jr_dav.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/webservices/lib/wsif.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/oraesb.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/bpm-ide-common.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rdbms/jlib/xdb.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/ide.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/javatools.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/xmleditor.jar"/>
<import-shared-library name="oracle.dms"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jwsdl"/>
<import-shared-library name="soap"/>
<import-shared-library name="oracle.ws.client"/>
<import-shared-library name="oracle.toplink"/>
<import-shared-library name="apache.junit"/>
<import-shared-library name="oracle.db.lite"/>
<import-shared-library name="apache.commons.logging"/>
<import-shared-library name="oracle.cache"/>
<import-shared-library name="apache.commons"/>
<import-shared-library name="apache.slide"/>
<import-shared-library name="apache.jdom"/>
</shared-library>
2. Restart the container to make sure that server.xml was updated correctly.
3. From the configtools.log file find the opmn port number, for example:
deployer:oc4j:opmn://dimak.au.oracle.com:6012/home
dimak.au.oracle.com - is the machine name and
6012 - port number
4. Launch a new command prompt
and set path and classpath, for example:
set PATH=$ORACLE_HOME\jdk\bin;%PATH%
set classpath=.
where in the classpath there is only one entry - the dot, which stands for the current directory.
5. change directory to the following:
$ORACLE_HOME\j2ee\home
and run the following command (written all on one line) to deploy the DbAdapter:
java -jar admin_client.jar deployer:oc4j:opmn://dimak.au.oracle.com:6012/test oc4jadmin
manager1 -deploy -file $ORACLE_HOME\integration\esb\lib\DBAdapter.rar -deploymentName
DbAdapter2 -parent default
where
* dimak.au.oracle.com should be substituted with your machine name
* 6012 should be substituted with your port which you found in step 3
* test is the name of the container you want to deploy the adapter to
* manager1 should be substituted with your oc4jadmin password
* $ORACLE_HOME\integration\esb\lib\DBAdapter.rar is the location of the DBAdapter.rar file
* deploymentName DbAdapter2 - should be different from DbAdapter, as that name is already used in the OC4J_SOA container.
Maybe you are looking for
-
Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program
Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program
-
it says i need the DHCP for the cable, or the ip address and the router address and all that other stuff for the lan, so could someone please help me
-
827H router web setup not working
We were having problems with our 827H router, so I decided to reset it to the factory defaults and re-run the quick setup. I've done that before with no problems. This time, after it loads the configuration in the web setup, it keeps checking the mod
-
New-MsolUser : Access Denied. You do not have permissions to call this cmdlet.
I am trying to create new user in Azure Active Directoy, New-MsolUser -UserPrincipalName [email protected] -DisplayName "username" -FirstName "fname" -LastName "lname" I am getting this error, New-MsolUser : Access Denied. You do not have permissio
-
Has Anyone sequenced RoboHelp v10 with Appv 5?
Having a license error 213:19 after sequencing RobHelp HTML v 10. . On first launch I get the 213:19 error. I try again and it comes up and I can register it. It seem to create a file in the user profile area. ( This is using PVS images ).. The oth