Active data framework
Hi
I am in the process of trying to prototype a screen that reflects committed changes made to the database.
For example I have some rows that have theirs status's changed.
I understand the "push" technology is called "active data framework"/
What I need is a small example of how this can be implemented. I can only find a couple of posts on the internet and they are vague.
(see http://matthiaswessendorf.wordpress.com/2009/12/05/adf-faces-and-server-side-push/
and Active data services
They talk about adding components that I cannot see in Jdeveloper (version 11.1.1.2). Also it appears the data must be complient with this push technology too.
I hope this can be acheived easily. I remember listening to a podcast from Duncan Mills. He made it seem so easy.
Any thoughts would help thanks.
regards
darren
Hi
thanks for the links
I am starting simple with trying to get a table to "twinkle".
I thought I would use BAM rather than fuss around with the proxy stuff (at the moment at least).
To create an Oracle BAM connection:
1. Select New from the File main menu in Oracle JDeveloper.
The New Gallery dialog opens.
2. Choose Connections from the General category.
3. Select BAM Connection in the Items list, and click OK.
The BAM Connection wizard opens. .....................................
Unfortunately there is no BAM connection option. I guess is should be between "Application Server Connection" and "Database Connection"
This may really be another post although I guess it is still relevant to the original question of how to set up an easy example of ADS.
Thanks
Darren
Similar Messages
-
ADC exception=BAM-01262: Active Data Cache server exception in openViewset
Hi All,
I am getting the below mentioned error when i try to open a report from Active Studio in BAM.
If i give parameter value ' All ' in the prompt, it shows all the value. But if i give specific values like one parameter value 1007 and other All etc, it gives the below error. I tried giving parameter value ' All ' in the prompt after getting the error, its not showing the values.
The below error is from front end:-
SQL EXCEPTION NULL : Invalid column index
The below error from back end:-
[2012-01-10T06:39:07.916+05:30] [bam_server1] [ERROR] [] [oracle.bam.reportcache] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 83cdf926093045b8:4fde7fa7:134bf505061:-8000-00000000000044f4,0] [APP: oracle-bam#11.1.1] *ReportCache: ReportCacheServer.OpenViewSet: ADC exception=BAM-01262: Active Data Cache server exception in openViewset(). [[*
at oracle.bam.adc.kernel.util.Util.getCacheException(Util.java:101)
at oracle.bam.adc.kernel.util.Util.getCacheException(Util.java:154)
at oracle.bam.adc.kernel.util.Util.getCacheException(Util.java:172)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1110)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:841)
at sun.reflect.GeneratedMethodAccessor702.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:266)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
[2012-01-10T06:39:07.913+05:30] [bam_server1] [ERROR] [] [oracle.bam.adc] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 83cdf926093045b8:4fde7fa7:134bf505061:-8000-00000000000044f4,0] [APP: oracle-bam#11.1.1] ActiveDataCache: Exception occurred in method openViewset(_TPT_PO_HEADER_STG_TBL,0)[[
Exception: java.sql.SQLException: SQLError(17003) SQLState(99999) Invalid column index
at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:6336)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10605)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10518)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11574)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11544)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:249)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:322)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:228)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:151)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:103)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:171)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:154)
Please give me any suggestion on this.
Thanks,
ManikandanThis problem was solved when I installed a new product version.
-
Hi,
In our application, we want to achieve dynamic real-time refresh on a table .But we don't want to see any analytics. Which is the better option -BAM /Active Data Services.
Does usage of Active Data Services guarentee 100% real-time refresh if we set attribute ChangeEventPolicy ='push'.
Please let us know if anyone has come across any prior investigation done by any other team on this. Any pointers would be appreciated.
Thanks,
AngelineHi,
not sure about the AP you use, in JDeveloper 11g R1 PS1 (11.1.1.2) we provide a proxy framework for this, which has a method
* builds the <code>ActiveDataUpdateEvent</code>.
* @param type the change type of the event, could be UPDATE, INSERT,
* DELETE, REFRESH, etc
* @param changeCount the changeCount
* @param key the key of the row (in the CollectionModel case)
* @param insertKey the key to indicate the insert position
* @param genericConversion param passed to the internal call of
* <code>convertKeyPath</code>
* @param names the names of the attributes to be changed
* @param values the values of the attributes to be changed
* @return the ActiveDataUpdateEvent
public static ActiveDataUpdateEvent buildActiveDataUpdateEvent(
ActiveDataEntry.ChangeType type,
int changeCount,
Object[] key,
Object[] insertKey,
String[] names,
Object[] values)
The insertKey can be used to specific the key of the row where the new row should be inserted. I did not work with the API set prior to JDeveloper 11g R1 PS1, so all I can say is that if it works with the procy then it works with the manual API as well
See:
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adv_ads.htm#ADFFD19611
Frank -
Active Data Service settings per component "instance"?
Is there any way to configure active data service settings on a per component "instance" basis? I think it would be very useful to be able to have different polling intervals for different components for example. Especially due to the obvious performance concerns around this type of functionality.
Also regarding Active Services, I see the blurb in the pdf's Section 40 "Using the Active Data Service":
[[Insert xref
to OTN for info on creating data controls and any info about making BC components
work with active data, also xref to JEE book]].
Is there any documentation, info, or examples of using a BC view in conjunction with Active Data Service? In other examples I usually see something triggering the "event", but with a BC is there a mechanism where a data update creates an event (via something built-in - nothing programmatic). I could do some type of listener that checks for data updates and then creates the event, but I'd like to think I can get that for "free" with the framework. -
hey,
I'm using active data services to update a table component with the use of database change notifications. I've been able to display the changes in the database as they take place. The problem is that the newly inserted data will be added at the end of the table and if I want to add it at the beginning or in some other place it would be difficult to change the HashMap (will reduce the performance) to include the new row data (I will have to push the values in the hashmap and add the new at the beginning so that it will be displayed at the beginning of the table).
So the basic question is how can I do it more efficiently?
Is it possible to use some other data structure where it will be possible to add the data to a position which will automatically push the other values?
Edited by: mangun on Nov 19, 2009 5:05 PMHi,
not sure about the AP you use, in JDeveloper 11g R1 PS1 (11.1.1.2) we provide a proxy framework for this, which has a method
* builds the <code>ActiveDataUpdateEvent</code>.
* @param type the change type of the event, could be UPDATE, INSERT,
* DELETE, REFRESH, etc
* @param changeCount the changeCount
* @param key the key of the row (in the CollectionModel case)
* @param insertKey the key to indicate the insert position
* @param genericConversion param passed to the internal call of
* <code>convertKeyPath</code>
* @param names the names of the attributes to be changed
* @param values the values of the attributes to be changed
* @return the ActiveDataUpdateEvent
public static ActiveDataUpdateEvent buildActiveDataUpdateEvent(
ActiveDataEntry.ChangeType type,
int changeCount,
Object[] key,
Object[] insertKey,
String[] names,
Object[] values)
The insertKey can be used to specific the key of the row where the new row should be inserted. I did not work with the API set prior to JDeveloper 11g R1 PS1, so all I can say is that if it works with the procy then it works with the manual API as well
See:
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adv_ads.htm#ADFFD19611
Frank -
Error while activating data loaded into DataStore Object in BI 7.0
Hi Guys,
I am facing the following problem :
When I load data into a Datastore Object, all the records get loaded but the job fails during activation of the data.
Below is the job log :
Activation is running: Data target 0RPM_DS07, from 77 to 77
Overlapping check with archived data areas for InfoProvider 0RPM_DS07
Check not necessary, as no data has been archived for 0RPM_DS07
Data to be activated successfully checked against archiving objects
SQL-END: 14.06.2007 12:33:25 00:00:00
SQL Error: ORA-20000: Insufficient privileges
Parallel processes (for Activation); 000003
Timeout for parallel process (for Activation): 000300
Package size (for Activation): 020000
Task handling (for Activation): Backgr Process
Server group (for Activation): No Server Group Configured
All data fields updated in mode "overwrite"
Resource error. No batch process available. Process terminated
Time limit exceeded. No return of the split processes
Resource error. No batch process available. Process terminated
Request you to kindly help me resolve this issue.
I am runnning the infopackage manually. Should I run it by a process chain??
If I run by process chain, I get the following error in 1st step:
You do not have authorization for InfoSource 0RPM_ITEM_FIN_PLANNING.
Awaiting your replies,
Thanks,
punkuj...Hi,
I think this problem remains unanswered.
The issue behind this problem is, during parellel activation the child jobs acknowledge the parent job about status. If the child job takes long time to read data from active data table, then it times out and fails.
Check the primary index on Active data table and it should be missing in your case. See the se11 index or db02 missing indexes. That is the reason that causes time out. Rebuild the primary index by asking your basis folks and repeat the activation. It should succeed.
Thanks,
Sri. -
Error in Starting Oracle BAM Active Data Cache
I am not able to start "Oracle BAM Active Data Cache" on my machine.
The other two components "Oracle BAM Event Engine" and "Oracle BAM Report Cache" are starting properly.
When I see the event log file of my Computer I could see the details as below:
Event Type: Error
Event Source: Oracle BAM Active Data Cache
Event Category: None
Event ID: 0
Date: 2/7/2007
Time: 3:51:25 PM
User: N/A
Computer: CHNANDA-WXP
Description:
ActiveDataCache: The Oracle BAM Active Data Cache service failed to start. Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in Startup(). ---> Oracle.DataAccess.Client.OracleException ORA-12541: TNS:no listener at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
at Oracle.DataAccess.Client.OracleConnection.Open()
at Oracle.DataAccess.Client.OracleConnection.Open()
at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleStorageEngine.GetServerVersion()
at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleStorageEngine.Startup(IDictionary oParameters)
at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.Startup()
--- End of inner exception stack trace ---
at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.Startup()
at Oracle.BAM.ActiveDataCache.Kernel.Server.Server.Startup()
at Oracle.BAM.ActiveDataCache.Service.DataServer.Run()
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Could anyone pls help me?
Thanks and Regards,
Chinmaya Nandahi Chinmaya -can yoy tell us your companyname,project ? Your problem is very simple.BAM ADC is notable to reachoracle db.fromyour dos prompt- try tnsping <yrDB> [default is oraclebam or orcl ]/ Also see FAQ pages. there is a requirement on dos prompt setting, with <clientforBAM>as 1st parameter
-
"#" in the ODS active data view
Hi all,
I have a question. I load data (text strings) into ODS object. Then I look into new or active data and I can see symbols "#" on the places in strings, where occurs any special character (for example from any language). I do not know wheteher it is stored in SAP (database) in this bad format or wheteher it is only represented in this bad format due to my different encoding ?? Normally special characters are represented in GUI well. Thanks
JJHi JJ,
as you can see them in the middle of the texts, it just the way BW displays these characters.
Siggi -
DSO upload and no data in Active data table
Hi Experts,
I have a strange problem.I have loaded data to DSO from DS in BI7. It has the further uplaod to cube.I have activated the DSO and it went sucessfull and had Request ID generated. It has added and transfer records available like 150000 records as I have done full upload. strangly I cannot see any data in Active data table.
Pls advise how can I check the data I am doing some mistake.I have data mart status for this DSO. the deletion of the DSO and reloading could that create the data not visible in DSO even after activation
Pls advise.
TatiHi,
I believe this got something to do with the display setting.. After displaying the data, get into the settings menu and look for Layout option --> display --> see if there is any default setting applied.. change this setting to something else.. create a setting with all the columns dragged & dropped.. These are the options you can try..
If this did not resolve.. please try displaying the data from SE16 transaction and post us the results..
Thanks,
Naren -
Data not going from active data table to new data table -DSO activation iss
Hi Experts,
Data is going from DSO1 to DSO2. I see some of the records are getting missed in DSO 2 which are supposed to come.
There is start routine from DSO1 TO DSO2 and as per the start routine some records should come but they are getting missed.
Apart from that..to DSO 2 there are 4 other DSO sending data.
I tried to send single record and saw that data is goingHi Experts,
Data is going from DSO1 to DSO2. I see some of the records are getting missed in DSO 2 which are supposed to come.
There is start routine from DSO1 TO DSO2 and as per the start routine some records should come but they are getting missed.
Apart from that..to DSO 2 there are 4 other DSO sending data.
I tried to send single record and saw that data is going to New data table and upon activation it does not go to Active data table.
Please suggest.
Regards
Sudha -
Error while activating data in DSO
Hi Gurus, While activating I am getting these 2 messages "Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER" and the other message is "Fiscal year variant K4 not expected" and in some other Data Packages I am getting "Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER"
Kindly help in this matter.Hi,
Try these threads.
Error when activating data in 0FI_GL_04 ODS (SIDS)
Unable to activate data in DSO
Error when assigning SID : Action VAL_SID _CONVERT table
Can'T Activate ODS Data
FI error in rspc chain
Same issue as yours.
Hope this helps.
Thanks,
JituK -
Error while activating data source in BI
Hello Team
I am facing issues while activating data source. I followed following steps .
a)First i created my target
b)Then i made my Primary key as info provider
c)Then i created one source system under file.
d)Then i went to data source and created one application component
e)In this application component i created my data source
f)In this data source i imported my file and all the settings. Now when i am checking then it is not giving any error . But when i am trying to activate it it is giving error . Please find the supporting screesnhots . Can anyone please suggest me as to what is going wrong .Hi,
Check the gateway settings for
Gateway Host
Gateway service
Also check the UDC connection information.
Check these links:
1 - http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
2 - http://help.sap.com/saphelp_srm40/helpdata/es/54/ddfb3ff778ed28e10000000a1550b0/content.htm
3 - https://encrypted.google.com/url?sa=t&source=web&cd=7&ved=0CCwQFjAG&url=http%3A%2F%2Fwww.bi-
expertonline.com%2Fdownloads%2FSchroeder0604.doc&rct=j&q=ud%20connection%20in%20sap%20bi&ei=WMDnTdm_E4ruvQOEzZWcDg&usg=AFQjCNGvqKuoTq9kypNMNGhis8WrZ-gFCg&cad=rja
Let us know in case the issue still persists.
Debanshu -
Activation date just came, and went..
Hi all,
It's kind of ironic that I decided to come back to BT because I had had enough of Sky. Being increasingly disgruntled with the service that Sky was providing over the last year (I had both line rental and Broadband with them), I literally couldn't wait to leave and come back to BT. So, I signed up with BT on Jan 1st (Through Return to Donor). I wanted to take my phone number with me. I then phoned up Sky a couple of days later and cancelled. At this point, Sky put the cancellation date for January 13th, but my BT activation date was 17th Jan (I think her name was Emily at BT who told me that, and who advised me to get Sky not to cancel on that date, otherwise I would have to pay a connection charge).
I phoned Sky and got them to change the date (After a lot of pushing). BT changed the date to 21st January for activation and so the cancellation date with Sky was also January 21st. So here I am, expecting my Sky Line Rental and Broadband to stop today, and BT to provide the phone service (With me signing up for Broadband once I get paid at the end of the month). I phoned up multiple times prior to today to make sure that there were absolutely no problems. The guy I talked to yesterday said: "There are no problems, sir. Everything is going smoothly with the transfer." I was awake at 8am today, and around 9am, the broadband and phone stop working. Sitting there, I'm expecting the phone to start working sometime soon. 10am comes and goes. 1pm comes and goes. 5pm comes and goes. You get the picture. It's now 9.19pm and no service. But that's not what's irritating me. What's starting to annoy me is that BT have disconnected me on the agreed date as they told me to make in relation to Sky, but haven't reconnected me. And judging by other peoples' stories, that means I'll have to pay a connection charge when I'm not at fault and I did everything that I was asked to do. Also, I dread to think what will happen in relation to the phone number that I've had for a long time.
The phone number to call is 0800 800 150 if you're not connected by 8pm. Since that's long gone, I'll be phoning in the morning. What would you guys advise doing? Get out now? My father had the same problem - He phoned regularly to make sure there were no problems until the day itself, and still got blessed with no working phone line. It took him over 2 months to sort it out, and I'm at University so can't afford to take so long, nor do I have the money to correct problems where I'm not at fault. I'm actually thinking of cancelling the order - Is that possible? Even though I placed the order on Jan 1st, and activation was supposed to be today (21st Jan), no service is being provided.
Any advice would be greatly appreciated. Thanks in advance.Hi QuantumSanctum,
Thanks for the post and welcome to the forum. I am sorry for the delay in activating your BT phone service. I can help you.
Please drop me an email to the email address in my profile. (click on my name and you will find the address under the "about me" section). Include any order details that BT have provided and the link to this thread.
Cheers
Sean
BTCare Community Manager
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
Error while activating Data source
Hi,
I hit an error while activating data source with adapter 'WEB_PUSH web service'.
The error message is 'Generation of conversion exists and PSA update ...' with details 'Error generating Web service /BIC/CZZZ_0010000100 ...' and 'Error when activating DataSource ZZZ_001'.
I can't find much detail on this error.
Has anyone hit this error before and if you did can you please let me know what to check?
Thks & Regards,
BbeeHi,
I am having the same problem. Have you been able to solve the issue since you posted this last year?
Thanks,
TCT -
Error while activating data from new table of DSO to active table
HI,
while activating data from new table of DSO to active table i am getting
error message as "Error occurred while deciding partition number".
Plz any idea hoe to resolve this one.
thanks & regards
KPS MOORTHYHi
You are trying to update/upload the Records which are already been there in the DSO Active Data Table which has the partition.
Try to see the Record Nos already been activated and update/upload with selective, if possible.
You can trace the changes at Change log table for the same.
Hope it helps
Edited by: Aduri on Jan 21, 2009 10:38 AM
Maybe you are looking for
-
How can I control text color in a template?
Hi, I've got a template I'm using to control a simple text navigation menu. The menu is not even a list, it is just the following text with links applied: Page 1 | Page 2 | Page 3 | Page 4 ....etc All the pages on my site use this template to control
-
How to convert the cursor to lens
Hi anyone here can help me I have developed an application which opens the FITS Images(Flexible Image Transform System- which is used to open astronomical images) . Now i need to convert the cursor to lens means as and when the cursor moves on the im
-
Hi all, My requirement is as follows: I hve to create vendor in MDM system and track these vendors in PLM. Can any one suggest me the procedure how to track the vendors list in PLM. If any change in the vendor details(eg: addres) and this data also
-
Re: Desktop view option with Mac OS X 10.7 Lion
After clean istall Lion and back up from time machine I had an issue with my viewing option on the destop files! After setting up the way I want my desktop files (Snap to Grid etc..) although they stay where they are while I am working, however, when
-
Help: My infoobject is locked
Hi, we installed BI technical content in BI7 and I got an error during the installation that 0TCTUSERNM cannot be activated. I tried to activate it manually and found that i can't make any changes because its locked. how do I unlock the infoobject an