Using the APIs - how do you define the application?

After using lite for a long while, i am finally getting around to evaluating ways to override/improve the compose process as this is becoming a real problem for us.
as i see it there are 3 main options
1) call out pl/sql package - got this working, but does not directly affect the compose
2) mycompose - despite not being a java person, got this working, and this does reduce the compose impact (the inconsistencies in the PK name mapping threw me a bit, but thats oracle lite for you)
3) queue based publication items to bypass the MGP process entirely. following the examples (and a lot of make it up as you go along) i managed created a publication via the consolidator APIs, added the publication items, added and instantiated a user, synced and all seems to be working (at least in outline), but the publication i have created is not attached to any application so i cannot maintain the users via the applications tab as normal. found the resourcemanager API to create the application (i think), but cannot find any way to associate my publication with it
Am i missing something? or can i just not manage to find the correct API?

Firstly i will point out that the underlying source of our 'issues' is poor main system database design (politics and in place before i arrived), and this has pushed us down a couple of possibly non standard routes
1) quite a number of publication items based on complex updatable views (too much normalisation on the server side, and the performance overheads for high numbers of table joins on the PDA clients we use have forced this)
2) complex data subsetting (using relationships disconnected from much of the actual data)
the issues we have are
a) poor performance in the MGP compose on a few of the view based objects (they have been extensively tuned, conspref steeing as good as they can be, but the execution plans generated by the standard compose process wrapping is poor)
b) updates to view 'content' only happen by default if the base table of the view is updated (this is where it gets the version from)
c) increasing MGP compose time (for roughly the same number of users this have gone from an average of about 1-2 hours to 8-12 over the past 12 months - this is probably more related to server application design issues, increasing data volumes and possibly conflicts with streams being used for other applications)
d) performance overhead in terms of resource (CPU, IO) usage when compose is running
e) locking conflicts between the main server system and the MGP process (either the process log phase failing in mobile due to transaction locks on all_sid_logged_tables preventing the compose from starting, or server transaction being blocked for a few minutes due to the exclusive locks needed for the process logs phase)
Due to the above i decided to do a proof of concept type study on the 3 alternative approaches for controlling the MGP process (before/after callouts, mycompose and queue based publication items).
results so far
- before/after callouts do not affect the actual compose processing, so not much use (but we are looking at these for intercepting some standard issues from the client applications and correcting the data before it hits the error queues)
- mycompose - despite minimal java knowledge (and the undocumented issues like the poor execution of moving data from the cpd tables to the cmp tables), i have been able to demonstrate 60-90 reduction in compose time for the most problematical objects - sorts out issues a-c, helps with d, but does not do much about e
- queuebased publication items - seriously cumbersome at the moment (may be able to make it more generic), but PL/SQL that i am more comfortable with (except for the actual publish) - still working on this, but so far at the cost of an increase in average client sync time from about 1-2 minutes to about 5-8, i have managed to get a working application (30 complete refresh items plus 44 queue based) that does not require the MGP process to be running or enabled, and needs no CVR/CLG/all_sid_logged_tables logging, so looks to achieve all of the objectives plus a performance improvement overall on the main server system
no final decisions yet, the queue based approach looks best, but would be problematical in doing the switchover without losing any client data, mycompose is easy to overlay over the existing application, but does not fully meet all objectives

Similar Messages

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • How do you define the width of a JPanel?

    How do you define the width of a JPanel?

    it may not be perfect but this is what i have tried:
    import javax.swing.*;
    import java.awt.event.*;
    public class myPane extends JFrame {
         public myPane() {
              super("myPane");
              setDefaultCloseOperation.(JFrame.EXIT_ON_CLOSE);
              JButton myButt = new JButton("press");
              JPanel pane = new JPanel();
              pane.add(myButt);
              setContentPane(pane);
         public static void main(String args[]) {
              myPane p1 = new myPane();
              p1.setBounds(20, 20, 600, 400);
              p1.setVisible(true);
    }

  • How to resolve "You don't have permission to use the application" errors?

    We've been struggling with managed preferences, specifically applications, for a few users. They have mobile home folders which live on a Mac OS X 10.6.x Snow Leopard Server AFP server, preferences which are managed (by group) on a Mac OS X 10.6.5 Snow Leopard Server Open Directory Master, and the clients are running Mac OS X 10.6.4 Snow Leopard (bound to the Open Directory Master). There are also two Mac OS X 10.6.4 Snow Leopard Server Open Directory Replicas. We always manage applications and DO NOT sign the apps when adding them in Workgroup Manager.
    Essentially, key applications are unable to run due to the "You don't have permission to use the application" errors, even though they're explicitly whitelisted. (See some prior investigation over on Serverfault.) After seeing that the Mac OS X 10.6.5 Server update included the following fixes, we upgraded our Open Directory Master to 10.6.5:
    * Addresses an issue that could prevent managed preferences from being applied when a user logs in on a workstation that has been idle.
    * Fixes an issue that could prevent administrators from bypassing client management settings on a workstation.
    This seemed to improve the situation slightly, our most important application now seems to be allowed. Occasionally, it'll give the same error, but a simple log out & back in allows it again. We have not upgraded the client workstations with the Mac OS X 10.6.5 update as it doesn't note any related fixes and we haven't fully qualified it for mass deployment.
    We now have two applications that live in ~/Applications which are explicitly whitelisted (again, NOT signed), which fail with the same error, but logging out & back in does not resolve it. `sudo mcxrefresh -n 'user'` doesn't resolve the issue. In fact, `sudo /System/Library/CoreServices/ManagedClient.app/Contents/MacOS/ManagedClient -f -u `id -u 'username'`` fails with the following error:
    ManagedClient- bad parameter to -u option: use format '-u 501'
    Today I was able to catch the following in /var/log/system.log while attempting to run one said applications:
    Dec 22 17:36:24 hostname parentalcontrolsd[43221]: -[ActivityTracker checkApp:csFlags:] [954:user] -- * Incoming app appears to be masquerading as white listed app and failed signature validation: /Users/user/Applications/FileMaker Pro 5.5/FileMaker Pro.app/Contents/MacOS/FileMaker Pro. Note: This may be a valid app of a different version than what was whitelisted (on a different volume?)
    Dec 22 17:36:24 hostname [0x0-0xa42a42].com.filemaker.filemakerpro[43304]: launch of /Users/user/Applications/FileMaker Pro 5.5/FileMaker Pro.app/Contents/MacOS/FileMaker Pro was blocked
    Dec 22 17:36:24 hostname com.apple.launchd.peruser.1340[6375] ([0x0-0xa42a42].com.filemaker.filemakerpro[43304]): Exited with exit code: 255
    Dec 22 17:36:24 hostname parentalcontrolsd[43221]: -[ActivityTracker(Private) _removeAppFromWhiteList:] [1362:user] -- * Couldn't find local user record
    So, even though the apps are listed in Workgroup Manager and are unsigned, and also appear in '/Library/Managed Preferences/user/com.apple.applicationaccess.new.plist', it appears that the client somehow thinks they don't match what's in the whitelist even thought WE DON'T SIGN THEM WHEN WE ADD THEM!
    What might be causing this? Any further troubleshooting tips would be GREATLY appreciated!

    According to the [Code Signing Guide|http://developer.apple.com/library/mac/#documentation/Security/Conceptual /CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4- SW2], it appears that there is no way to remove signing (emphasis mine):
    "You can take a partial-update approach to revising your code on the user’s system. To do so, sign the new version as usual, then calculate the differences between the new and the old signed versions, and transmit the differences. Because the differences include the new signature data, the result of installing the changes on the end-user's system will be the newly signed version. You cannot patch a signed application in the field. If you do so, the system will notice that the application has changed and will invalidate the signature, +and there is no way to re-validate or resign the application in the field.+"
    Upon further investigation, the version of FileMaker 5.5 in question appears to be signed even after a fresh install from original install media. I wouldn't have thought Code Signing was around back then (2001). And the code signing appears to match between the fresh install (to a new location) and the original install. I'll attempt to sign it in WGM and install the same, signed copy everywhere.
    Also, I looked at one of our other working primary applications (4D.app) and it is unsigned, but appears in the Firewall as "Allow incoming connections", so I don't believe that the Application Firewall is necessarily signing apps automatically (but I certainly won't be ruling it out).
    I haven't checked yet, but the other application that's failing is "Parallels Desktop 6", which I'd bet is signed. I wonder if the "Automatically allow signed software to receive incoming connections", which is checked, would come into play at all?
    Thanks for pointing out how to use `codesign` to check whether an application is signed or not, this seems to be the first real break on this case.

  • Crrystal Reports using ADO.  How do you Change the Isolation Level?

    Post Author: jmetaxas
    CA Forum: Data Connectivity and SQL
    Crrystal Reports using ADO.  How do you Change the Isolation Level?  I found a knowledge base article that allows you to change it for ODBC.   But nothing on ADO.  I kicked around changing the reports to ODBC but even then the keys described in the article do no exist.  Any suggestions?
    Thanks,
    John Metaxas

    T-Bob wrote:
    I want to make sure that points 2&3 are at the same level, so I can just move the envelope region between them up and down to change the volume. Any quick way to do this to speed up my process?
    Specifically to address this point: if you mouse over the audio levels' rubber band segment BETWEEN your points 2) and 3) until the cursor changes to an up/down adjustment arrow ⬍, and move it up/down, it will adjust BOTH the levels at 2) and 3), maintaining the relative difference between them (or, if points 2) and 3) start at the same level, this adjustment will keep them equal as you drag them both up/down together in one action.)
    As usual, much easier to DO it, rather than describe it!

  • I have a US Mac living in the UK. I tried to download both the British and American version. Both state "You cannot use the application Firefox with this version of MAC OSX". Any suggestions how to proceed?

    I have a US Mac living in the UK. I tried to download both the British and American version. Both state "You cannot use the application Firefox with this version of MAC OSX". Any suggestions how to proceed?

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. You can get the latest version of Firefox 3.6 which works on OS X 10.4 from http://www.mozilla.com/en-US/firefox/all-older.html

  • You don't have permission to use the application "ksfetch"

    When i finished install Google update software, It pop up "You don't have permission to use the application "ksfetch"" many times one day, I closed it, it pop up again.
    The pop up said"You don't have permission to use the application"ksfetch", For more information,contact the person who set up account"
    How can i fix it, does someone know? Thanks very much in advance.

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • " You cannot use the application "iTunes" with this version of MAC OS X."

    I am getting the response " You cannot use the application "iTunes" with this version of MAC OS X." How do i get Itunes on my Mac. I tried to download the newest version but it won't let me do that either.

    What operating system version are you using on your Macbook?  If you are still using Tiger 10.4 the new iTunes requires Leopard (10.5) or higher.

  • How do i start USING the application? i need step by step directions.

    Hi, I have a HP Officejet Pro 8600 e-all-in-one printer N911-a.  I would like to start using the applications installed on the printer.  HOWEVER, I do not know how to start, so that I can personalize them.  For example, how do I scan my receipts?  I have no idea how to get started.  Can someone PLEASE give me step by step directions on how to first access the application and then to personalize them and then print it?
    Thank you.

    How do I start using the reciept scanner

  • How do you add an application event to the Applications Panel

    How do you add an application event to the Applications Panel.
    My previous post referred to .ashx files, and the problem seems that Firefox, by default, does not recognize a .ashx format being read by Adobe Acrobat.
    Therefore there needs to be a way to add Applications and Events into the Applications Panel under Preferences

    domdp wrote:
    ...I have Theme L selected and I get 10 icons along the left side and bottom....
    ...I am thinking I may be limited to 10 icons....
    Gotcha... But actually its limited to 9 icons in the L theme as the Profiles icon is always present. From that screen hit the Menu key to display the bigger list of icons. Arange them so the first 9 icons are the ones you want to see on the L theme.

  • I'm trying to install a cd application and I keep getting the message 'you do not have permission to use the application FSP OS X'  Even after selecting always allow and entering my login details it still won't accept it.  Help!!..

    I'm trying to install a cd application and I keep getting the message 'you do not have permission to use the application FSP OS X'  Even after selecting always allow and entering my login details it still won't accept it.  Help!!..

    Please repost in the Final Cut Pro forum. Have you considered upgrading your machine, if you are still running Leopard your machine may be as old as 5 years old. While this should not matter you probably won't get the performance you want out of a demanding app like FCP.
    Best of luck.

  • I get the message "You cannot use the application "AdobeApplicationManager" with Mac OS X

    I get the message "You cannot use the application "AdobeApplicationManager" with Mac OS X

    Hi LegallyArmedAm,
    Are you still getting the message?
    -Dave

  • How I can do to display the comments of the cells in an Excel spreadsheet? I have an iPhone (4S) and use the application Numbers

    how I can do to display the comments of the cells in an Excel spreadsheet? I have an iPhone (4S) and use the application Numbers

    I would write a LabVIEW VI to read the Excel file(s) on computer n°1 and publish the data in a shared variable over the network.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How do I restore deleted contacts? I had backed up my iPhone on iCloud. Later used the application 'Contacts Duster' to delete or merge around 1900 contacts. Today I updated to iOS 7.1, after which I found many of my contacts are now missing. Please help!

    I had backed up my phone on iCloud. Later (on 11March '14) I used the application 'contacts duster' to delete/merge nearly 1900 contacts. Today(ie 13 March '14) I updated to iOS 7.1 after which I noticed many contacts are now missing. Is there any way I can now restore my lost contacts? Also, can this be done without a backup computer?

    Hi Thebuddies, 
    Thank you for participating in the Apple Support Communities. 
    It sounds like some contacts have been lost. I know losing data can be stressful, and it's good that you had a backup in iTunes.
    If you receive a message that there is not enough free space to restore the backup, I recommend going through the steps in this article:
    If you can't back up or restore your iPhone, iPad, or iPod using iTunes - Apple Support
    Start with "Copy your backup" and go through the steps including "Free up space."
    Note that with this method, any content or data added to your iPhone since making the backup will be removed from the device. 
    Best Regards,
    Jeremy 

  • 'You cannot use the application ical.app with this version of Mac OS X'

    When I first upgraded to 10.5 ical and calculator both crashed when starting and now after upgrading to 10.5.1 I get the following message - 'You cannot use the application ical.app with this version of Mac OS X'
    This is only on my G4 powermac. No problem with Intel MacBook.

    Are you, by any chance, one of "those people" that move applications to something other than the default location?
    I know I am.
    When I upgraded, I saw the same problem - I had moved iCal (among others) outside of "applications" to something like "Applications/Business Apps"
    The version in "Business Apps" was the Tiger version, and it wouldn't run. However, the Leopard version (Installed to /Applications) worked fine.
    So, I deleted the "Tiger" version, moved the iCal to where I wanted it, and all was well.
    In a similar note, I put a number of iLive apps in a different folder -- and OS X software update stopped finding updates for those apps. I had to move them back to /Applications in order to get OS X software update to run them.

Maybe you are looking for

  • Can't open Email Settings after firmware updated a...

    Hi, I've upgrated my E71 with new 3.00 firmware yesterday and then restored phone memory from saved backup (yes, restoring is still a great pain for Nokia phones owners - you know, not all the software installed restores and so on, but that's another

  • Query manager View issue in PIA

    Hi, When i navigate through reporting tools,Query,querymanager i am not able to see options like records,query,expressions,prompts.Fields,Criteria,Having,Viewsql,Run in Query manager window. When i go to the Application designer and tried to run Quer

  • Display Currency field in Ad Hoc Query

    I done enhancment in Infotype 23 for Last Salary drawn as currency field and ref type as PA0015 WAERS in Ad Hoc Query.  But I am not able to display the same field with value.  Its always shows me blank.  Is there any settings to be done to display c

  • Is there a way to access Warp Stabilizer's internal data?

    Hello, I have some footages where I pass through a relatively narrow gate with the camera. My footages are typically quite shaky and so far I have been using Warp Stabilizer with great satisfaction. It really works well. However, in these scenes it m

  • Wireless connection loss on my imac and not on my macbook pro

    i have an imac with software 10,4,11 and since a certain time every time my imac go in sleep, re-waking up he loses wireless connection for a few seconds so internet blocks, i hav also a macbook pro, same connection same software and no problem at al