Cannot Lock Base Entity
Hi,
We are having an issues with one of the base entity locking it. When we try to Lock the entity, it doesn't do anything. It just says "Requesting Data from Server" and then disappears.
The ENtity is consolidated. No Phase Submission enabled and no Out of Balance. Still not able to LOCK. Version is 11.1.1.3
Any thoughts?
Thanks,
P
Hi there,
It seems like an application issue.
Do you have the same issue with other entities? In other years? Can you Lock the entity on another application?
Regards,
Thanos
Similar Messages
-
Error: 1012704 Dynamic Calc processor cannot lock more than [25] ESM blocks
Dear All,
I get the Following Error in the Essbase console when I try to Execute any CalcScript.
Error: 1012704 Dynamic Calc processor cannot lock more than [25] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting)_+
Please find the detailed output of the Statics of my Planning Applications Database and outline.
please help guys........
GetDbStats:
-------Statistics of AWRGPLAN:Plan1 -------
Dimension Name Type Declared Size Actual Size
===================================================================
HSP_Rates SPARSE 11 11
Account DENSE 602 420
Period DENSE 19 19
Year SPARSE 31 31
Scenario SPARSE 6 6
Version SPARSE 4 4
Currency SPARSE 10 10
Entity SPARSE 28 18
Departments SPARSE 165 119
ICP SPARSE 80 74
LoB SPARSE 396 344
Locations SPARSE 57 35
View SPARSE 5 5
Number of dimensions : 13
Declared Block Size : 11438
Actual Block Size : 7980
Declared Maximum Blocks : 3.41379650304E+015
Actual Maximum Blocks : 1.87262635317E+015
Number of Non Missing Leaf Blocks : 10664
Number of Non Missing Non Leaf Blocks : 2326
Number of Total Blocks : 12990
Index Type : B+ TREE
Average Block Density : 0.01503759
Average Sparse Density : 6.936782E-010
Block Compression Ratio : 0.001449493
Average Clustering Ratio : 0.3333527
Average Fragmentation Quotient : 19.3336
Free Space Recovery is Needed : No
Estimated Bytes of Recoverable Free Space : 0
GetDbInfo:
----- Database Information -----
Name : Plan1
Application Name : AWRGPLAN
Database Type : NORMAL
Status : Loaded
Elapsed Db Time : 00:00:05:00
Users Connected : 2
Blocks Locked : 0
Dimensions : 13
Data Status : Data has been modified
since last calculation.
Data File Cache Size Setting : 0
Current Data File Cache Size : 0
Data Cache Size Setting : 3128160
Current Data Cache Size : 3128160
Index Cache Size Setting : 1048576
Current Index Cache Size : 1048576
Index Page Size Setting : 8192
Current Index Page Size : 8192
Cache Memory Locking : Disabled
Database State : Read-write
Data Compression on Disk : Yes
Data Compression Type : BitMap Compression
Retrieval Buffer Size (in K) : 10
Retrieval Sort Buffer Size (in K) : 10
Isolation Level : Uncommitted Access
Pre Image Access : No
Time Out : Never
Number of blocks modified before internal commit : 3000
Number of rows to data load before internal commit : 0
Number of disk volume definitions : 0
Currency Info
Currency Country Dimension Member : Entity
Currency Time Dimension Member : Period
Currency Category Dimension Member : Account
Currency Type Dimension Member :
Currency Partition Member :
Request Info
Request Type : Data Load
User Name : admin@Native Directory
Start Time : Mon Aug 15 18:35:51 2011
End Time : Mon Aug 15 18:35:51 2011
Request Type : Customized Calculation
User Name : 6236@Native Directory
Start Time : Tue Aug 16 09:44:10 2011
End Time : Tue Aug 16 09:44:12 2011
Request Type : Outline Update
User Name : admin@Native Directory
Start Time : Tue Aug 16 10:50:02 2011
End Time : Tue Aug 16 10:50:02 2011
ListFiles:
File Type
Valid Choices: 1) Index 2) Data 3) Index|Data
>>Currently>> 3) Index|Data
Application Name: AWRGPLAN
Database Name: Plan1
----- Index File Information -----
Index File Count: 1
File 1:
File Name: C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\APP\AWRGPLAN\Plan1\ess00001.ind
File Type: INDEX
File Number: 1 of 1
File Size: 8,024 KB (8,216,576 bytes)
File Opened: Y
Index File Size Total: 8,024 KB (8,216,576 bytes)
----- Data File Information -----
Data File Count: 1
File 1:
File Name: C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\APP\AWRGPLAN\Plan1\ess00001.pag
File Type: DATA
File Number: 1 of 1
File Size: 1,397 KB (1,430,086 bytes)
File Opened: Y
Data File Size Total: 1,397 KB (1,430,086 bytes)
File Size Grand Total: 9,421 KB (9,646,662 bytes)
GetAppInfo:
-------Application Info-------
Name : AWRGPLAN
Server Name : GITSHYPT01:1423
App type : Non-unicode mode
Application Locale : English_UnitedStates.Latin1@Binary
Status : Loaded
Elapsed App Time : 00:00:05:24
Users Connected : 2
Data Storage Type : Multidimensional Data Storage
Number of DBs : 3
List of Databases
Database (0) : Plan1
Database (1) : Plan2
Database (2) : Plan3ESM Block Issue
Cheers..!! -
Dynamic domain-based entity creation and relation to base entity
Hi everyone -
My first post here... I have a base entity (PROJECT) with an attribute called RecordType (a domain-based attribute). Depending on the value of RecordType, the business wants to use that result set as input for another reference entity, and then
relate them together in a possible {one|many}-to-many relationship. For example:
If RecordType = Strategy, then there is a need to create a separate entity called STRATEGY with the results of that filter. The PROJECT entity and STRATEGY now need to be related together in a PROJECT_STRATEGY relationship table.
There seem to be a couple of options, but none are elegant, and some simply don't work:
Option #1 (doesn't work): I create the relationship table (PROJECT_STRATEGY) with a domain-based attribute of the PROJECT entity and a second domain-based attribute of the PROJECT entity (but called Strategy), and then try to create a business
rule that limits the selection of the second domain-based attribute by RecordType. MDS tells me I can't use a domain-based attribute in the business rule.
Option #2: I create a SQL Server view called STRATEGY (which is a query based on the PROJECT entity - "where RecordType = 'Strategy') and use that as the reference set. However, there is now no way to utilize that result set inside MDS.
In other words, I cannot use it as a domain-based attribute in the PROJECT_STRATEGY relationship table. This means that an external system/UI would need to enable the relationship selection and write back into the PROJECT_STRATEGY relationship table
inside MDS.
Option #3: I create a STRATEGY entity that is auto-updated (via SQL Server job) every 10 minutes or so from the PROJECT entity (can't figure out how to load a reference entity based on a result set from an existing entity). This allows me to create
two domain-based attributes in the PROJECT_STRATEGY table (as described in Option #1), but is also what I call a non-standard customization, so I have been reticent to go this route.
So, my questions/comments are:
Is there any way to make Option #1 work (using business rules)?
Option #2: Our development team doesn't want to create a separate system/UI to relate the list of PROJECTs to the list of STRATEGYs and then write them back into the PROJECT_STRATEGY relationship table. This also limits the ability to maintain the
PROJECT_STRATEGY table inside MDS since the STRATEGY domain-based attribute would become a free-form attribute at that point. Is there any way to register a view as a reference entity?
Should I explore Option #3? Non-standard, non-native functionality introduced into MDS (any system, really) is something I wanted to avoid, but only from a purity and possible upgrade standpoint. Should I get over this?
I have looked at derived and explicit hierarchies for the PROJECT entity, but they do not seem to apply in the scenario above.
Has anyone tried to create {one|many}-to-many relationships between a base entity and a subset of that base entity without resorting to non-standard customizations within MDS? Is this as bizarre as it sounds?
Any help would be greatly appreciated.
Thanks.Hi,
I f you are going with rtti approach.... for dynamic creation....you can assign the checktable field in field cat
ls_fcat-ref_table = space.
ls_fcat-ref_table = 'ZST_DISTRIBUTED_EFFORT'.
ls_fcat-ref_field = 'WORK_EFFORT'.
ls_fcat-rollname = 'DPR_TV_EFFORT'.
ls_fcat-domname = 'DPR_WORK'.
ls_fcat-reptext = ls_fcat-fieldname.
ls_fcat-scrtext_l = ls_fcat-fieldname.
ls_fcat-scrtext_m = ls_fcat-fieldname.
ls_fcat-scrtext_s = ls_fcat-fieldname.
ls_fcat-emphasize = me->gc_flag_enable.
ls_fcat-col_pos = lv_counter.
ls_fcat-checktable = ' '.
APPEND ls_fcat TO lt_fcat.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt_fcat
IMPORTING
ep_table = et_dynamic_table
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2.
IF sy-subrc NE 0.
es_message-id = sy-msgid.
es_message-type = sy-msgty.
es_message-number = sy-msgno.
es_message-message_v1 = sy-msgv1.
es_message-message_v2 = sy-msgv2.
es_message-message_v3 = sy-msgv3.
es_message-message_v4 = sy-msgv4.
Thanks,
Shailaja Ainala. -
Hi,
Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
I have done some Google and found that we need to add something in Essbase.cfg file like below.
1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
Possible Problems
Analytic Services could not lock enough blocks to perform the calculation.
Possible Solutions
Increase the number of blocks that Analytic Services can allocate for a calculation:
Set the maximum number of blocks that Analytic Services can allocate to at least 500.
If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
Stop and restart Analytic Server.
Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting.
Determine the block size.
Set the data catche size.
Actually in our Server Config file(essbase.cfg) we dont have below data added.
CalcLockBlockHigh 2000
CalcLockBlockDefault 200
CalcLockBlocklow 50
So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work? and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
Regards,
NaveenYour calculation needs to hold more blocks in memory than your current set up allows.
From the docs (quoting so I don't have to write it, not to be a smarta***:
CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
Example
If the essbase.cfg file contains the following settings:
CALCLOCKBLOCKHIGH 500 CALCLOCKBLOCKDEFAULT 200 CALCLOCKBLOCKLOW 50
then you can use the following SET LOCKBLOCK setting commands in a calculation script:
SET LOCKBLOCK HIGH;
means that Essbase can fix up to 500 data blocks when calculating one block.
Support doc is saying to change your config file so those settings can be made available for any calc script to use.
On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact. -
Adf bc jar for base entity classes and extending them existing project
Hi,
I am using jdev 11.1.1.0 and have created a base workspace/project and adf jar for my base entity classes.
1. I can consume this base adf bc jar in a separate new consuming workspace and create VO based on base bc classes or create new EOs that extend base bc entity classes.
2. Furthermore, for an existing consuming project that earlier included src/ of base entity (BC components), i can remove the dependency on bc source and bring in this new adf jar and everything including the view controller and the service/datacontrol works fine.
The issue i am running into is as follows.
- In the existing project (#2) above i try to create a couple of entities based on entities in my base jar; associations are automatically brought in. Note i am not overriding any attributes. My intent here is to generate .java and implement some code.
- I then try to make my existing VOs based on the newly extended entity (VO overview->Entity Objects-> Shuttle NewEntity from Available to Selected)
- I then try to remove the old EO from selected under VO overview->Entity Objects->Shuttle OldEntity from Selected back
- I get a warning dialog box that says something to the effect that some viewlinks are dependent on these old EOs in this consuming project.
- I tried to laboriously analyzed dependencies and it this dialog box does not make any sense as I have already extended EOs and the tooling should be able to let me use these
My questions
- Why I am not able to remove old entities from VO dependencies
- Is it ok to leave the old EOs in "Selected" along with the newly extended EO ? What are the implications for this?
- I also thought about extending base associations, but did not go anywhere.
In general, I am ok with consuming an ADF BC jar that has entities etc. but not clear about removing dependencies of base EOs on VOs when entities are extended and consumed in a pre-existing project that used base entities.
I can send a project if any PM is willing to take a look at it.
Thanks,
ps:
I have already gone over the following info
http://technology.amis.nl/blog/215/organization-of-bc4j-domain-eo-and-business-vo-package
.. wants to create an enterprise data model in BC4J, reflecting the Enterprise Data Model set up in the RDBMS. All (or at least most) business rules will be implemented in the Middle Tier – to take the load of the database and also allow developers not comfortable with PL/SQL to define and maintain the business rules. It is clear that this means that all applications that need to access – and manipulate – the database, need to go through the BC4J foundation layer. Martijn wants to define the Entity Objects – and their business rules – only once and share that definition between different projects. Each projects can create its own ViewObjects on top of these shared Enterprise Entity Objects.
http://radio-weblogs.com/0118231/2005/09/29.html
I am currently working on a project for a partner where we will be using ADF BC as our model layer for a large application. In order to keep the footprint of each application module down to a reasonable size, we are intending to create a number of separate 'root' application modules for each functional area of the application. Within, these 'root' application modules we will then use nested application modules to further partition the application. All of the application modules will be accessing the same datasource and will need access to the same database objects.
In order to separate our code between the development team and into function areas, our initial thoughts were that we would create an ADF BC model project containing Entity Objects for all of the database tables e.t.c. as these are common amongst all functional areas. We have configured all of the EOs for validation rules, defaulting values and extending doDML() as appropriate. Happy at this stage we then created a simple .jar file to deploy all of the definitions. Upon creating a new ADF BC project for each functional area we added the jar file as a library import into the new project. However when we the tried to create some new View Objects via the JDev Wizard we were unable to see the imported Entity Objects.
Is the only way to share Entity Object definitions between different ADF BC projects to manually copy the source definition files into the new projects src directory? Since this would mean multiple copies of the same components, it could prove to be a maintenance nightmare.Is there a way of doing it without creating multiple copies of the same object definitions?
The developer is spot on in their ideas of layering and reuse, and even has created a library for their reusable entities. This last step is not something everyone thinks to do. The missing step is known as "importing" components, so with that one extra bit of knowledge under his belt, he should be able to do exactly what he envisions. My little article called Difference Between Adding and Importing Business Components tries to explain the difference and gives the menu options to choose to perform the importing.
Difference between adding and importing BC4J
http://radio-weblogs.com/0118231/stories/2005/08/11/differenceBetweenAddingAndImportingBusinessComponents.html
Working with Libraries of Reusable Business Components
http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/bcadvgen.htm#CHEFECGDHi,
since you followed the OC4J developer guide I think this question might be better handled there as well
OC4J
So in case you don't get an answer here on the forum, try it on the OC4J forum
Frank -
Hello friends,
I am facing bottle neck with Object Locking for an Entity bean using OpenJPA Persistence Manager under Weblogic 10.0 application server deployments.
I want to block [ for the specific method ] entity bean being accessed from other client programs when they invoke common method in a Stateless Session EJB. Particularly, Consider the situation:
Client1: Modifying Customer entity with id: 100. Then I locked that entity using OpenJPA Entity Manager within the transaction block. And i entered that thread to sleep before committing the transaction.
At this time, started new thread, Client2: Modifying the same Customer entity with id:100. I expected this thread will be get blocked when control pass to the lock() method. But it doesn't happened. It goes through the line of codes and also put into sleep.
After thread sleep timeout, first thread Client1 commit successfully. But the second gets Rollback Exception due to optimistic lock exception occurring since customer entity is modified in another transaction.
This exception is occurred because of Database level concurrency control for optimistic locking in a weblogic server. Its default to weblogic.
But, what i expected is to assert lock at the object level, thereby the 2nd thread - Client2 will be blocked while Client1 is in the middle of a transaction and then Client2 use modified Customer entity . But it doesn't happened. I used Kodo Persistance Provider as Persistence Unit, OpenJPAEntityManager to do transaction, locking , finding and merging the entity bean.
Can anyone provide help to fine grain this object locking functionality ??? I look forward to your brilliant thoughts......
Rajesh KR
Geojit TechnologiesDear Chicon,
I made thread to sleep for checking the "Object Locking" functionality of OpenJPAEntityManager. My intention was to block the second thread when the first thread being locked when a concurrent access occurs. But it doesn't happened and code execution passed to thread sleep.
I mean when 2 client access the same entity at same time (in same milliseconds) , and what happens to 2nd thread when 1st thread locks the entity object.
I guarantee you that i started the 2nd thread before the 4sec time stamp given to the object locking. I tested it with a bigger timestamp, still it given concurrent blocking of the same entity bean.
My question is why the object locking is not working with concurrent access to same entity bean from more than one thread???
I think you get the correct question what i intended ????
Regards,
Raj... -
Rule to calculate ICP account value at base entity level in Partners curren
Hello everybody,
We are entering the ICP value in ICP account and Custom2#[None] member and we need to convert this value at partners currency and store this value in Custom2#ICPartners member to enable the user to verify the amount entered by the partner entity in partners currency.
Is it possible to write the script to pull the exchange rate of ICP partners so that I can caculate the ICP partners value in base entity level in Partners currency?
If possible request to help me out.
Regards,
AjThanks for the response.
Can any one help me out to built the script to pull the partners currency rate. I used the following script to pull the partners rate
"pCurrency = HS.Entity.DefCurrency(iICP)" but it is not working.
Thanks,
Ajaya -
Copying the negative value from 1 base entity to another base entity
I am trying to copy the negative value from 1 entity to another base entity in rules.
I am not sure if this can be done
Example Paris has netinc of 100 dollars I want the other entity ParisNeg to receive the negative value or netinc -100
If pov_scenario = "Actual" then
'If pov_entity = "ParisNeg" Then
If pov_year > "2012" Then
If pov_Value = "<Entity Currency>" or pov_Value = "<Entity Curr Adjs>" Then
For Each Acc In HS.Account.List("","(Base)")
HS.EXP "E#Paris" ="E#ParisNeg"
End If 'default_currency
End If 'Year
'End If 'Entity
End If 'pov_ScenarioThis might work:
If pov_scenario = "Actual" then
If pov_year > "2012" Then
If pov_Value = "<Entity Currency>" or pov_Value = "<Entity Curr Adjs>" Then
If right(pov_entity, 3) = "Neg" Then
HS.EXP "A#ALL = -E#" & Left(pov_entity, Len(pov_entity)-3) & ".A#ALL"
End If 'pov_entity
End If 'default_currency
End If 'Year
End If 'pov_Scenario
*Did not test this. You might need a member list or loop to roll through the accounts instead of all. Another thing to consider would be changing the consolidation percent to -100% or something. -
Ownership Management - Moving Base Entity Across two Parents
Was trying to understand what is the best way to handle when a Base Entity in one year was in one parent, but the following year moved to a different parent.
For example, if we had entity 0112 that reported to Midwest Region in 2010. However, entity 0112, through a restructure, was moved to the Eastern Region.
Currently right now in our HFM Application, we are using ownership management to handle this. My metadata in HFM for 0112 Entity is in the Eastern and Midwest Region. So in 2010 for the Midwest Region, I selected the Active column and designated YES for 0112. In 2011 for the Midwest Region, I selected the Active Column and designated NO for 0112.
Likewise for the Eastern Region for 2010, I selected the Active Column and designated NO for 0012. In 2011 for the Easter Region, I selected the Active Column and designated YES for 0112.
In doing this, this is causing me numerous issues in FR when trying build report where I select the Parent of all entities and call the Base Function. I would see 0112 repeated twice.
Does anyone have any other suggestions on how to handle this?
In my experience this is the first time I have seen it done this way. Usually if an entity moves to another parent, we completely move the entity. For example 0112 in the entity structure would just be in the Eastern Region and not in the Midwest Region. I thought this was the whole purpose of HFM so it automatically restates all your reports.
Edited by: 785347 on Oct 5, 2011 8:14 PM
Edited by: 785347 on Oct 5, 2011 8:16 PMpypi wrote:@Awebb: As long as it works I don't mind. I am a fan of scripts, but I prefer to use existing solutions whenever possible unless they are overly complex/have lots of extra dependencies. What kind of scripts did you have in mind, though? I am imagining some form of sed script for the config or a patch file and a list of dependencies to install.
Very simple stuff, actually. A bash script with an array of packages, that is fed to pacman -S, a loop using cower to download an array of AUR packages, cd'ing to the folder, building and installing them and a git repository for your config files. You might even tune the script over time to accept arguments to indicate which machine it is running at (or identify the machine by reading the hostname), so the script could also sit in the git repo and all you'd need to do was fetching the script, telling it what setup you want (simple keywords like "fileserver, cad, gamestation") and be done with it. It's also easier to modify than patching your meta-PKGBUILD and reinstalling it every time, because adding dependencies is not a problem, but you would have to uninstall any dropped packages. -
Cannot Lock the Preferences in Time Machine
In System Preferences -> Time Machine I cannot lock the the system to prevent further changes. Every time I click on the golden lock in the lower left corner of the widow it locks, but then when I open the window again later, the lock is again unlocked. Any idea why this is happening and how could I keep the settings locked? Thanks.
That sounds like the preferences file might be corrupt.
Try a "full reset" per #A4 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum). -
Locking Bol entity in Simple object
Hi,
I have created a Simple Object with a structure and have assigned the BOL entity to my custom view. Now if I want to lock the structure in event handing method, the locking fails. how can I lock the custom structure?
Thanks,
NandiniDear Chicon,
I made thread to sleep for checking the "Object Locking" functionality of OpenJPAEntityManager. My intention was to block the second thread when the first thread being locked when a concurrent access occurs. But it doesn't happened and code execution passed to thread sleep.
I mean when 2 client access the same entity at same time (in same milliseconds) , and what happens to 2nd thread when 1st thread locks the entity object.
I guarantee you that i started the 2nd thread before the 4sec time stamp given to the object locking. I tested it with a bigger timestamp, still it given concurrent blocking of the same entity bean.
My question is why the object locking is not working with concurrent access to same entity bean from more than one thread???
I think you get the correct question what i intended ????
Regards,
Raj... -
Patchadd problem: Cannot lock all zones
I cannot add patch 138889-03 because the patchadd returns an error: Cannot lock all zones. I have no log-files found, which explain anything. In the process list I have found a hanging command:
9720 patchadd 138889-03
9726 /usr/bin/pkgadm lock -a -q -o zone.*/patch.* -w -W 300
Unfortunatly the man page knows no subcommand lock for pkgadm.
Can anybody explain what Solaris 10 138889-02 is donig there?
ThanksI also faced same problem when installing vxvm patch 123220-04. At that time I simply halted the all non-global zones. After that it succeeded the installation.
-
Why my iPad 4 become very lag after upgrade to iOS 8.0.2 and not sensitive anymore when press the keyboard and programs it didn't respond when I type the word using the keyboard fast it lag until I cannot locked or switch off the phone
Same issue here both with my iphone 5S as well as my iPad2. THe sync to my macbook air does not complete and it shows a large overcapacity level when connected, but once I disconnect there is plenty of room (4 GB) available, not a 20 GB overage.
-
Explicit locking of Entity JavaBean
Hi!
I am developing local WD application based on EJB model using SAP NetWeaver Developer Studio 7.0.12
There's Employee entity javabean, that is shown as a table on EmployeeView webdynpro view (model node, bound to controller).
There's also EmployeeEdit webdynpro view, where Employee entity javabean is shown as set of InputFields (same model node, bound to controller).
When user clicks Save button in EmployeeEdit view, changed values are saved.
The problem arises when two users want to change the same record of Employee entity. Both can go to EmployeeEdit view, change values of record and click Save button, because actual transaction for saving is implemented only when users click Save button.
The workaround for this would be explicit locking of entity record when first user goes to EmployeeEdit view, if it's not already locked. But I couldn't find enough information about this.
[EJBLocking interface|http://help.sap.com/javadocs/nw04/current/en/com/sap/engine/interfaces/ejb/locking/EJBLocking.html] might be what I need, but I don't know how to use it.
Can anyone give me an idea about all this?
Thanks in advance
RenatHi, Ganga!
Thank You for reply,
I've already chosen "Local" locking for my entity bean and trying to realize explicit locking for my entity.
I can't understand, what parameters do I need to pass to lock method.
Here is code of entity home method, which is called to lock this entity.
public void ejbHomeLockMe() {
EJBLocking ejbl = null;
Context ctx = null;
try {
ctx = new InitialContext();
ejbl = (EJBLocking) ctx.lookup("java:comp/EJBLocking");
} catch (NamingException ne) {
ne.printStackTrace();
throw new OklaException(ne.getMessage());
try {
DataSource ds = (DataSource) ctx.lookup("jdbc/OKLA_DS");
ejbl.lock( //here I get NullPointerException
TableLocking.LIFETIME_TRANSACTION,
ds.getConnection(),
(EntityBean) this,
TableLocking.MODE_EXCLUSIVE_NONCUMULATIVE);
} catch (SQLException sqle) {
sqle.printStackTrace();
throw new OklaException(sqle.getMessage());
} catch (NamingException ne) {
ne.printStackTrace();
throw new OklaException(ne.getMessage());
As a result I get this exception
java.lang.NullPointerException
at com.sap.engine.services.ejb.entity.pm.lock.EJBLockingImpl.getPKMap(EJBLockingImpl.java:108)
at com.sap.engine.services.ejb.entity.pm.lock.EJBLockingImpl.lock(EJBLockingImpl.java:48)
at my.company.okla.employee.EmployeeBean.ejbHomeLockMe(EmployeeBean.java:92)
Any thoughts about this?
Many thanks
Renat -
Essbase ERROR - 1202505 - Cannot lock/unlock external functions registry.
Hello Guys.
I would like to see if some one of you have idea in hot to fix this error in hyperion.
It happen when I execute in essmsh.
MAXL> display function all;
ERROR - 1202505 - Cannot lock/unlock external functions registry.
Please someone can help.
Thx
Luisa ReinaI'm getting same error for another application also.... is this problem with the Essbase Admin Console or the Essbase Server...
Do I need to change any database properties... I created essadmin user and this user is having Application Manager access to the application ....
Maybe you are looking for
-
How to modify date format for Standard Purchase Order
In the Standard Purchase Order I have been trying to modify the date format of the Need by and Promised Date. To display DD-MON-YYYY please could some advise. Thanks
-
I am unable to use my Apple ID as my iCloud id... why?
I am unable to use my Apple ID as my iCloud id... why? ... the error it shows says "Cannot Sign In".... "This Apple ID is valid but is not an iCloud Account"
-
CMS5 update unable to find supported product
I'm trying to update Creative Media Source 5 for my Zen. The installation program stops with an error 'unable to find supported product'. My zen is attached and I can see in in Windows Explorer. I am using Windows Vista. any suggestions?
-
Uprezzing SD to HD, make output upper field dominant?
Ok, so I'm uprezzing a SD short film originally shot on DV, interlaced, to HD for a film festival. After the uprez, the resulting file will go onto an HDCAM tape for broadcast at the fest. I want to keep the interlacing as the crappy video look is pa
-
What is camera.control.face_detection?
Hi in firefox v35 about:config settings, camera.control.face_detection is enabled by default. what is this setting? it is not documented anywhere on mozilla.org or the web - at least that i could find. thanks. Billy Rae