Populating the cache with VPD tables fails
Using the Add Tables wizard I am trying to add tables to an Oracle Database cache. The tables have had RLS policies applied using the DBMS_RLS package. The Add Tables wizard fails with an ORA-28112 error (failed to execute policy function).
Are there any known problems with cacheing tables of a virtual private database?
Of course we want to cache an entire table, not just a portion as defined by that table's security policy. We have a procedure call that can cause the security policy to return a null predicate (effectively turning off security for all tables). We have set up a logon trigger to run this procedure for the user that populates the cache (we have done this successfully for other users), but we still get the error.
Any help?
Cache system:
SPARC/Solaris 8
9iAS 1.0.2.1
Oracle EE 8.1.7.0
Origin database:
SPARC/Solaris 8
Oracle EE 8.1.7.0
Thanks,
Steve
Steve,
In my opinion you should look first into the trace files. They are generally located under
USER_DUMP_DEST directory. I believe that this error normally generates a trace file. So in the trace file you can see that it was trying to do and what happened. Also this may be happening due to some permission problems as well e.g. logged user versus policy user etc.
HTH
Prakash
null
Similar Messages
-
Purging the cache entries accordingto table and SA
Hi Gurus,
I have few questions on Cache purging
1>How many types of purging.
2>Is it possible to purge the cache based on tables i.e.(if entries are generated on table A only that entries should purge in cache manager).
3>Is it possible to purge the cache based on Subject Areas i.e.(if entries generated on subject area A only that entries should purge in cache manager).
4>supose in cache manager there are 100 entries and i want to purge only selected entries i.e.(if i want to purge 25th, 50th and 75th,100th entries ) how i can achieve this.
Regards,The same you can get it from Helpfile
To purge the cache manually with the Cache Manager facility
Use the Administration Tool to open a repository in online mode.
Select Manage > Cache to open the Cache Manager dialog box.
Select Cache or Physical mode by selecting the appropriate tab in the left pane.
Navigate the explorer tree to display the associated cache entries in the right pane.
Select the cache entries to purge, and then select Edit > Purge to remove them.
In Cache mode, select the entries to purge from those displayed in the right pane.
In Physical mode, select the database, catalog, schema or tables to purge from the explorer tree in the left pane.
In Cache mode, you can purge:
One or more selected cache entries associated with the open repository.
One or more selected cache entries associated with a specified business model.
One or more selected cache entries associated with a specified user within a business model.
In Physical mode, you can purge:
All cache entries for all tables associated with one or more selected databases.
All cache entries for all tables associated with one or more selected catalogs.
All cache entries for all tables associated with one or more selected schemas.
All cache entries associated with one or more selected tables.
SAPurgeCacheByQuery. Purges a cache entry that exactly matches a specified query. For example, using the following query, you would have a query cache entry that retrieves the names of all employees earning more than $100,000:
select lastname, firstname from employee where salary > 100000;
The following call purges the cache entry associated with this query:
Call SAPurgeCacheByQuery('select lastname, firstname from employee where salary > 100000' );
SAPurgeCacheByTable. Purges all cache entries associated with a specified physical table name (fully qualified) for the repository to which the client has connected.
This function takes up to four parameters representing the four components (database, catalog, schema and table name proper) of a fully qualified physical table name. For example, you might have a table with the fully qualified name of DBName.CatName.SchName.TabName. To purge the cache entries associated with this table in the physical layer of the Oracle BI repository, execute the following call in a script:
Call SAPurgeCacheByTable( 'DBName', 'CatName', 'SchName', 'TabName' );
NOTE: Wild cards are not supported by the Oracle BI Server for this function. Additionally, DBName and TabName cannot be null. If either one is null, you will receive an error message.
SAPurgeAllCache. Purges all cache entries. The following is an example of this call:
Call SAPurgeAllCache();
SAPurgeCacheByDatabase. Purges all cache entries associated with a specific physical database name. A record is returned as a result of calling any of the ODBC procedures to purge the cache. This function takes one parameter that represents the physical database name and the parameter cannot be null. The following shows the syntax of this call:
Call SAPurgeCacheByDatabase( 'DBName' );
For Q4:
SAGetSharedRequestKey. An ODBC procedure that takes a logical SQL statement from the Oracle BI Presentation Services and returns a request key value.
The following shows the syntax of this procedure:
SAGetSharedRequestKey('sql-string-literal)
Pls mark if helps -
How to prevent B1 from populating the grid with components?
Hello group,
We have customized a form that pops up when user enters a parent item (of a template-type BOM) in the quotation grid. The form displays the component items and lets the user mark which items to "paste" onto the quotation. However, B1 automatically populates the grid with the component items once focus moves away from the item code column.
<b>How to prevent B1 from populating the grid with components <i>while</i> retaining the parent item in the item code column?</b> I've tried trapping the Validate event, etc. with no success.Instead of setting the parent item up as a template type BOM, you could set up the list of parent/child items on a user table and use this user table to display the items in your pop-up screen. As the parent item would no longer be a template BOM, Business One would no longer automatically popuplate the grid, and you could write your own code to add only the items selected in your pop-up screen into the grid.
John. -
Populating the test data in table of IDES ECC 5.0 in Oracle
Hi Guys,
I have installed IDES ECC 5.0 successfully without any errors. But I don't see the data in tables like PA0001 etc. Can some body give me the steps for populating the tables with test data. I was able to sign on using DDIC in client 000.
Thanks,you are using wrong client, login into client 800. check tcode SCC4 to check which client you want to log into.
-
Dear All,
We have deleted variants in table VARID in order to solve error CKMLRUN112. Error ckmlrun112 in parameters for closing entry definition
But we still get this error in ckmlcp.
Could anyone tell the links with table VARID?
Where we should delete this variants somewhere else too?
With best regards,
Kamila.Sridhar,
While calling the transaction use call transaction tcode using i_bdcdata options from opt message into i_messages.
data: lws_cnt type char2,
lws_field type char15.
LOOP AT i_invoicing_plan INTO wa_invoicing_plan.
lws_cnt = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lws_cnt
IMPORTING
output = lws_cnt .
CONCATENATE 'FPLT-AFDAT(' lws_cnt ')' INTO lws_field.
CONCATENATE wa_invoicing_plan-date+6(2)
wa_invoicing_plan-date+4(2)
wa_invoicing_plan-date+0(4) INTO lws_date
SEPARATED BY '.'.
PERFORM bdc_field USING lws_field lws_date.
CONCATENATE 'FPLT-FPROZ(' lws_cnt ')' INTO lws_field.
lws_perct = wa_invoicing_plan-percentage.
CONDENSE lws_perct.
PERFORM bdc_field USING lws_field lws_perct.
ENDLOOP.
While calling the transaction give like this:
<b>DATA: opt TYPE ctu_params.
opt-dismode = 'N'.
opt-updmode = 'A'.
opt-defsize = 'X'.
CALL TRANSACTION tcode
USING i_bdcdata OPTIONS FROM opt MESSAGES INTO i_messages.
LOOP AT i_messages.
ENDLOOP.</b>
Prakash. -
WD4A with ALV, populating the header with values from the table
I have WDA application that list schedule agreement headers in one ALV and when you select one the line items show in the second ALV2 below. We show quantity and net value in 13 monthly buckets beginning with the validity data. The function returns the month text in columns I want to change the header based on the months returned. So instead of QNTY1, QNTY2 it would be 01/2008, 01/2008 etc. But ALV2 is initialized when the page is built and if I change the ALV2 settings after the line item function call they are not updated. On the page. Is there anyway I can do this???
It tried put the code in the EXECUTE function method, and I tried WDMODIFYVIEW but the ALV is not refreshed.
Thanks
DavidThanks for your help, I know I am probably doing something dumb but it is driving me crazy.
I have debugged I can see the text change in the debugger but it doesn't show up on the screen. I removed the code from from the WDDOINIT. So am doing everything in the ONACTIONGETDETAIL to ensure that it is not being overwritten. I can change the 'number of lines', remove print button, change a field to an icon etc, but the column header doesn't change. If I put the same code in the WDDOINIT the column header does change. Everything else works in both places.
*First ALV config
l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
l_ref_cmp_usage->create_component( ).
ENDIF.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
DATA lo_value TYPE REF TO cl_salv_wd_config_table.
lo_value = lo_interfacecontroller->get_model( ).
*activate extended functions of the alv.
cl_salv_wd_model_table_util=>if_salv_wd_table_util_stdfuncs~set_all(
r_model = lo_value ).
lo_value->if_salv_wd_table_settings~set_visible_row_count( '10' ).
lo_value->if_salv_wd_table_settings~set_selection_mode( '06' ).
lo_value->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
DATA lr_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA lr_column TYPE REF TO cl_salv_wd_column.
DATA lr_column_header TYPE REF TO cl_salv_wd_column_header.
lr_column_settings ?= lo_value.
lr_column = lr_column_settings->get_column( 'VBTYP' ).
lr_column->delete_header( ).
lr_column_header = lr_column->create_header( ).
lr_column_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none ).
lr_column_header->set_text( '200708' ).
*change column to icon
lr_column = lo_value->if_salv_wd_column_settings~get_column( 'AUART_DESC' ).
CREATE OBJECT lr_image.
lr_image->set_source_fieldname( 'AUART_DESC' ).
lr_column->set_cell_editor( lr_image ). "Display images in column
Thanks again.
David -
View with SAP tables fails with "No Owner" error
Dear experts,
We have created a view (VIEW_MARA_MAKT) on Information Steward (4.2 SP1) using SAP tables MARA and MAKT. This view is working perfectly. Next we create another view to join with our previous view (VIEW_MARA_MAKT) to table MARC. The view validates correctly, but when trying to view the data we get the following error:
Data Services execution failed for VIEW_MATERIAL_PLANT. Error :
(14.2) 04-08-14 12:46:21 (E) (0432:6996) RES-020106: |SESSION JOB_VView_736_43f3f6da_b863_46d6_ad64_b4f432a939b0|DATAFLOW EABAPDF_VIEW736_0|STATEMENT <GUID::'4a0dddf9-c993-4577-9e9a-1e0adf2dc9e2::794ee432-24f4-4801-bccf-587ef489e934::65e45615-06f8-426f-abf2-61345f6c252f' READ TABLE ICCDS_21."".MARC OUTPUT(IS_VIEW_RDR_475_0)> Table <MARC> for owner <> was not found in the repository for datastore <ICCDS_21>. Import this table from the external source. If the name is case-sensitive in the database (and not all uppercase), enter the name as it appears in the database and use double-quotation marks around the name to preserve the case. (COR-10690)
It appears that DS is not satisfied that there is no owner name sent from IS, but for SAP connections it is not possible to specify owner names when adding the tables to IS.
Please can you give some recommendations to resolve this error.What you can do is to use a table of record.
And create a block based on stored procedure.
Below is a table of record and procedure for querying from multi-tables.
If you want to update, insert, delete rows, you need to create 3 more procedures on the package. One for updating, another for inserting, and so on.
I never done updaing part before. So I need to spend time for coding.
If you want, I can post later as soon as I got it.
CREATE OR REPLACE PACKAGE TEST5 AS
TYPE REC1 IS RECORD (FIRST TEST1.FIRST%TYPE,
SECOND TEST1.SECOND%TYPE,
THIRD TEST2.THIRD%TYPE);
TYPE TAB1 IS TABLE OF REC1 INDEX BY BINARY_INTEGER;
PROCEDURE TEST1CREATE (P_TAB IN OUT TAB1);
END;
CREATE OR REPLACE PACKAGE BODY TEST5 AS
PROCEDURE TEST1CREATE(P_TAB IN OUT TAB1) IS
CURSOR C IS
SELECT A.FIRST,A.SECOND,B.THIRD
FROM TEST1 A, TEST2 B
WHERE A.FIRST=B.FIRST;
i NUMBER:=0;
BEGIN
OPEN C;
LOOP
EXIT WHEN C%NOTFOUND;
i:=i+1;
FETCH C INTO P_TAB(i).FIRST,P_TAB(i).SECOND,P_TAB(i).THIRD;
END LOOP;
END TEST1CREATE;
END;
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hercules:
<HR></BLOCKQUOTE>
null -
Populating the form with existing product details as a template for new one
In the product creation screen as in the sample application
http://apex.oracle.com/pls/otn/f?p=30267:6:907132591805707::NO:6::
I am trying to add the functionality where user can click on a button (Create from existing) which would populate all the products and when user clicks on one of the products I should populate the create new product screen with this selected record(all the fields), user can further modify the fields as needed and clicks on create to create this new product.
I searched this whole forum but couldnt figure out what I should be doing to acheive this. I looked at some ajax solutions provided but it needs me to define one of the field as list which will let me select from the list , but this is not sutable in my situation since all the fields should be editable once populated.
please point me to right docs which helps solving this.
your help is highly appreciated.
please let me know if any additional information is needed.
Thank you,
Balu.Actually my requirement was to create new product and option to delete the old product using a check box.
This is solved please disregard this thread.
feel free to request the solution should you looking for the same requiremnt.
OAE is amazing many things are so easy with this tool. -
How to obtain the selected rows in the model with af:Table using selectMany
Hi ,
I am using multi select af:Table and it is based on a programmatically populated view. When the table is single select I can use the getCurrentRow at the view implementation. I wonder whether there is a way to get list of selected rows within the view implementation for the multi-select scenario.
I saw some ways of doing it in the page's backing bean but it will be more appropriate if I could do it at the model project.
Thanks
My environment is JDeveloper 10.1.3.3 and jdk 1.4Thanks for your reply.
What you say makes sense. I thought there might be way of setting the selected rows in the model also as we do woth the current row.
But looks like these two different things.
Anyway I am doing it by passing the values through the backing bean.
Thanks -
Parsing an EDI file and populating the data into database table
Hi ,
Please help me in parsing an edi file and getting the required columns.
we get an EDI file from a bank. I need to parse that file and populate the db table with the required columns.
the file is '*' delimited and every line ends with '\'.
The record starts with 'ST*' and ends with 'SE*'.
sample edi file is
ISA*00* *00* *ZZ*043000096820 *ZZ*2156833510 *131202*0710*U*00401*000001204*0*P*>\ ignore first 2 lines
GS*RA*043000096820*2156833510*131202*0710*1204*X*003020\
ST*820*000041031\
BPR*X*270*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\
TRN*1*101036661273032\
DTM*007*131202\
N1*1U*BPS\
N1*BE*MICHAEL DRAYTON*34*159783633\
N1*PE*BPS*ZZ*183383689C2 ABC\
N1*PR*ABC TREAS 310\
SE*9*000041031\ ST*820*000041032\
BPR*X*686*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\
TRN*1*101036661273034\
DTM*007*131202\
N1*1U*BPS\
N1*BE*SAMIA GRAVES*34*892909238\
N1*PE*BPS*ZZ*184545710C5 ABC\
N1*PR*ABC TREAS 310\
SE*9*000041032\
Below is the procedure I am trying to use for parsing that file. but the logic is not working. can you please help me in doing this. its very urgent requirement.
CREATE OR REPLACE package body p1 is
Function parse_spec(p_str varchar2) return t_str_nt is
begin
return regexp_replace(p_str,'\\$',null);
end;
procedure edi( is
l_out_file utl_file.file_type;
l_lin varchar2(200);
field1 number(9);
field2 varchar2(10 byte);
field3 varchar2(15 byte);
field4 varchar2(15 byte);
field5 varchar2(20 byte);
field6 varchar2(20 byte);
field7 varchar2(20 byte);
field8 varchar2(9 byte);
field9 varchar2(15 byte);
field10 varchar2(5 byte);
l_item_nt t_str_nt:=t_str_nt();
begin
l_out_file := utl_file.fopen (file_path, file_name, 'r');
IF utl_file.is_open(l_out_file) THEN
LOOP
BEGIN
l_item_nt:= utl_file.get_line(l_out_file, l_lin);
IF l_item_nt IS NULL THEN
raise no_data_found;
Else
for k in 1..l_item_nt.count loop
case
when l_item_nt(k) like 'ST*%' then
field1:= ltrim(regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3),0);
when l_item_nt(k) like 'BPR*X*%' then
field2 := regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3);
when l_item_nt(k) like 'TRN*1*%' then
field3:= regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3);
when l_item_nt(k) like 'DTM*007*%' then
field4:= regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3);
when l_item_nt(k) like '%*BE*%' then
field5 := regexp_substr(regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3),'[^ ]+', 1, 1);
field6 := regexp_substr(regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3),'[^ ]+', 1, 1);
field7 := regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,5);
when l_item_nt(k) like '%*PE*%*ZZ*%' then
field8:= regexp_substr(regexp_substr(parse_spec(line),'[^*]+',1,5),'[^ ]+',1,1)
field9 := regexp_substr(regexp_substr(parse_spec(line),'[^*]+',1,5),'[^ ]+',1,2);
when l_item_nt(k) like 'SE*%' then
insert into t1(field1,field2,field3,field5,field6,field7,field8,field9)
-- values(field1,field2,field3,field5,field6,field7,field8,field9);
else
dbms_output.put_line ('end of line');
end case;
end loop;
end if;
end loop;
utl_file.fclose(l_out_file);
exception
when no_data_found then
dbms_output.put_line('No data found');
end;I would not use regular expressions for parsing as it is CPU intensive - and standard string processing suffices.
I would break the EDI up into lines. I would tokenise each line. I then have 2d array that can be referenced to find a specific field. E.g. line x and token y is field abc.
Basic approach:
SQL> create or replace type TStrings as table of varchar2(4000);
2 /
Type created.
SQL> -- create a parser that tokenises a string
SQL> create or replace function Tokenise(
2 csvLine varchar2,
3 separator varchar2 default ',',
4 enclosedBy varchar2 default null
5 ) return TStrings is
6 strList TStrings;
7 str varchar2(32767);
8 i integer;
9 l integer;
10 enclose1 integer;
11 enclose2 integer;
12 encloseStr varchar2(4000);
13 replaceStr varchar2(4000);
14
15 procedure AddString( line varchar2 ) is
16 begin
17 strList.Extend(1);
18 strList( strList.Count ) := Replace( line, CHR(0), separator );
19 end;
20
21 begin
22 strList := new TStrings();
23
24 str := csvLine;
25 loop
26 if enclosedBy is not null then
27 -- find the ennclosed text, if any
28 enclose1 := InStr( str, enclosedBy, 1 );
29 enclose2 := InStr( str, enclosedBy, 2 );
30
31 if (enclose1 > 0) and (enclose2 > 0) and (enclose2 > enclose1) then
32 -- extract the enclosed string
33 encloseStr := SubStr( str, enclose1, enclose2-enclose1+1 );
34 -- replace the separator char's with zero char's
35 replaceStr := Replace( encloseStr, separator, CHR(0) );
36 -- and remove the enclosed quotes
37 replaceStr := Replace( replaceStr, enclosedBy );
38 -- change the enclosed string in the big string to the replacement string
39 str := Replace( str, encloseStr, replaceStr );
40 end if;
41 end if;
42
43 l := Length( str );
44 i := InStr( str, separator );
45
46 if i = 0 then
47 AddString( str );
48 else
49 AddString( SubStr( str, 1, i-1 ) );
50 str := SubStr( str, i+1 );
51 end if;
52
53 -- if the separator was on the last char of the line, there is
54 -- a trailing null column which we need to add manually
55 if i = l then
56 AddString( null );
57 end if;
58
59 exit when str is NULL;
60 exit when i = 0;
61 end loop;
62
63 return( strList );
64 end;
65 /
Function created.
SQL>
SQL>
SQL> declare
2 ediDoc varchar2(32767) :=
3 'ISA*00* *00* *ZZ*043000096820 *ZZ*2156833510 *131202*0710*U*00401*000001204*0*P*>\GS*RA*043000096820*2156833510*131202*0710*1204*X*003020\ST*820*000041031\BPR*X*270*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\TRN*1*101036661273032\DTM*007*131202\N1*1U*BPS\N1*BE*MICHAEL DRAYTON*34*159783633\N1*PE*BPS*ZZ*183383689C2 ABC\N1*PR*ABC TREAS 310\SE*9*000041031\ST*820*000041032\BPR*X*686*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\TRN*1*101036661273034\DTM*007*131202\N1*1U*BPS\N1*BE*SAMIA GRAVES*34*892909238\N1*PE*BPS*ZZ*184545710C5 ABC\N1*PR*ABC TREAS 310\SE*9*000041032\';
4
5 lines TStrings;
6 tokens TStrings;
7 begin
8 -- split EDI string into lines
9 lines := Tokenise( ediDoc, '\' );
10
11 -- process line and extract fields
12 for i in 3..lines.Count loop
13 dbms_output.put_line( '***********************' ) ;
14 dbms_output.put_line( 'line=['||lines(i)||']' );
15 tokens := Tokenise( lines(i), '*' );
16
17 for j in 1..tokens.Count loop
18 dbms_output.put_line( to_char(j,'00')||'='||tokens(j) );
19 end loop;
20 end loop;
21 end;
22 /
line=[ST*820*000041031]
01=ST
02=820
03=000041031
line=[BPR*X*270*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202]
01=BPR
02=X
03=270
04=C
05=ACH
06=PPD
07=01
08=101036669
09=
10=
11=9101036669
12=
13=01
14=031000053
15=DA
16=00000008606086714
17=131202
line=[TRN*1*101036661273032]
01=TRN
02=1
03=101036661273032
<snipped> -
Add an item to the Cache with a dependency
We would like to create an XmlDocument during login and reuse it in subsequent logins. We also need a dependency, as with .NET Caching, for when the XML file used to load the XmlDocument changes.
I have read that GetCachingManager.SetEntry is used to put custom objects on the Plumtree Application. Can a dependency be set so the item is automtically removed when the dependency changes?Dear Noor hussain,
Hope theads threads could shed you some lights:
Simulate Copy-From Button Click on Delivery Document
Event of Copy From Button in Purchase Order module
Thanks,
Gordon -
Forwarding an email on the iPhone with an attachment fails
I'm not sure when this problem started but it's been going on for at least a week or two, possibly longer. I am operating at the latest firmware version (2.1).
I do not use Mobile Me.
If I send a pdf, gif, jpg attachment in an email from my work account, for example, to my Yahoo account that works. I go to the Yahoo account email on the iPhone and read the email and view the picture.
If I FORWARD the email to another person and choose to include the attachment, the email does not get sent. I get the error, "Cannot Send Mail - An error occured while delivering this message". The forwarded email sits in the Outbox and the iPhone periodically tries to send it but it never works.
I tried deleting the Yahoo account off the iPhone and then re-adding as was stated in one discussion but this did not work.
Is this an iPhone or Yahoo problem?
Thanks, MattI have the same problem with my email address. It started about a week ago. It won't forward attachments but works fine with just text. If I use my wife's Yahoo address which is a sub account of mine it works fine. Exactly the same settings in both cases.
Even tried it on a different iphone and I get the same result.
My email does work fine though through Webmail and through Mail on the Mac or Outlook.
I'm betting it must be Yahoo though.
Yahoo have been'improving' their SMTP spam protection and I don't know if it has caused something on my Yahoo account to block anything with an attachment that comes from the iphone.
I tried calling them about it and after about an hour I convinced the 'technical support guy' (term used loosely) to see if there something different between the settings on the two accounts or to see if there was a message stuck in the system somewhere causing a blockage from the iphone. That's when the call dropped off and losing the will to live, gave up on talking to them.
I did put it in e-mail and may get a response if they pass it on to a real Technical advisor.
Will post again if I have any luck! -
What is the problem with this table editor code?
im using JButton as TableCellEditor component. When I clicked on button nuthing happens.
Tell me where im wrong?
public class Abc extends AbstractCellEditor implements TableCellEditor{
private JButton btnSearch ;
private BCD ref;
private JTable table;
public DraggedTextSearchEditor(BCD o,JTable tab){
this.ref = o;
this.table = tab;
btnSearch = new JButton();
btnSearch.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
ref.search();
@Override
public Component getTableCellEditorComponent(JTable table,Object value
,boolean isSelected,int row,int col)
return btnSearch;
public Object getCellEditorValue(){
return btnSearch;
// public Object getCellEditorValue(){
// return null;
}You're trying to be too tricky: dynamically linking to an Action Listener. When you compile the object ref = null and later you assign it to your dragged object--Nope, not going to work in the way you think it does. At the time of compile your ref object is null.
-
An Error Occurred while Populating the menu with XL Reporter Reports.
I received the above error when trying to start the XL Reporter.
system error &80004005 (-2147467259). Unspecified error.
i am using SAP B1 2005A Add-On SP01
KCi resolved the error by exrporting all xl reporter files then removing all the reports in XL reporter.
Finally reimport the xl reporter files into XL reporter.
But still could not fix the popup XL Reporter message that said
Runtime error '-2147024882(8007000e)'; etc
KC -
Error when populating cache with data.
Hi,
I am new to Oracle coherence. I was just following the examples at the following link:
http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/toc.htm
I am stuck at the following chapter:
5.2 Populating a Cache with Domain Objects
I am able to run the DataGenerator.java successfully. The contacts.csv file gets created.
When i run the LoaderExample.java, i get the following output:
Work: NE
77596
Yoyodyne Propulsion Systems, Grover's Mill US
330 Lectroid Rd.
Telephone Numbers
work: +11 927 20 4526527
home: +11 633 82 6834859
Birth Date: 1964-01-03
Exception in thread "main" (Wrapped) java.io.NotSerializableException: com.oracle.handson.ContactId
at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:215)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$ConverterKeyToBinary.convert(PartitionedService.CDB:29)
at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getKey(ConverterCollections.java:3387)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.splitEntriesByOwner(PartitionedService.CDB:17)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.ensureRequestTarget(PartitionedCache.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.putAll(PartitionedCache.CDB:34)
at com.tangosol.util.ConverterCollections$ConverterMap.putAll(ConverterCollections.java:1607)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.putAll(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
at com.oracle.handson.LoaderExample.load(LoaderExample.java:105)
at com.oracle.handson.LoaderExample.main(LoaderExample.java:37)
Caused by: java.io.NotSerializableException: com.oracle.handson.ContactId
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2216)
at com.tangosol.util.ExternalizableHelper.writeObjectInternal(ExternalizableHelper.java:2664)
at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2564)
at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:211)
... 10 more
2010-11-15 16:20:04.741/4.812 Oracle Coherence GE 3.6.0.0 <D4> (thread=ShutdownHook, member=4): ShutdownHook: stopping cluster node
2010-11-15 16:20:04.772/4.843 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache left the cluster
Can anyone please help me as to why i am getting this error?
I am unable to move forward to the next example due to this error.
Any ideas would be of great help.
ThanksCan you post the code for the ContactId class? I suspect you have forgotten to implement one of the PortableObject, Serializable, Externalizable, or ExternalizableLite interfaces. If that isn't it are you telling Coherence to use POF?
-Dtangosol.pof.enabled=true -Dtangosol.pof.config=pof-config.xmlEdited by: Willy Myers on 15-Nov-2010 04:02
Maybe you are looking for
-
Issues with using relative links in Captivate 8
Is anyone else having issues with using relative links in Captivate 8? These links all used to work in the previous version of Captivate. And I could have sworn this was fixed already once in Captivate 8 but it's popping up again for us. Here is the
-
Hello all, I need to find my registration information for some Apple products that I purchased online. Of course, there is no email record of a QuickTime Pro purchase and that's what I need. Does anyone know how to find registration information onlin
-
Hi guys, I have used sql extension to invoke my DB function (Sybase) dateDiff. The filter i have sprcified is like ext:sql ('dateDiff(dd, <b>payDate</b>, '<i>(select sysDate.systemDate from SYSTEMDATE sysDate)</i>')') == calculatedAge ) Here payDate
-
Read entry from 2 different recordsets
I have 2 recordset. $row_rsArtist has all the artists (id, nameArtist) $row_rsProject has the projects (id, cat_id, nameProject). To link the artist to a specific project I put $row_rsArtist['cat_id'] the same number as $row_rsProject['id'] . Now I n
-
Hello. I am Greek. Recently our Greek distributor made a custom Greek dictionary for mac os x. This dictionary works great in any application in the mac os x. The question, though, is why I cannot make it work in iwork '09. I choose the language from