Possibility for a workaround for binding a service in a remote registry

Hi,
I know that I�m not allowed to bind a local service in a remote registry because of security matters(everybody could unbind any service he wants).
But is there a way to make this thing possible with a workaround?
The problem is I have a main component(my Client) and one can add new components to that component. This adding should happen with RMI. But how can I let my client dynamically know where to look for the new services(components), that means at what IP ?
I know that there is something like a Jini-like discovery for RMI:
http://www.javaworld.com/javaworld/jw-11-2001/jw-1121-jinirmi.html
but I�m afraid if I do it this way, I cannot use my codebase setting like I do now.
Anybody good ideas for a problem like that?
THX

Hi,
The tutorial I mentioned in the thread above works great!
So if anybody wants a location neutral RMI-lookup, please use this tutorial!
Even the codebase settings work with that tutorial!

Similar Messages

  • Binding an object to a remote registry. Can it be done?

    I am having problems vending an object to a remote registry. Most of the examples that I have seen vend the object to a local registry which is not really what I need to do.
    I was trying to do:
    <PRE>
    Remote myObject = ...
    Registry r = LocateRegistry.getRegistry("someMachineOnTheNetwork");
    r.bind("rmi://mymachine/objectName", myObject);
    </PRE>
    This fails every time with an AccessException. It seems that the RMI registry only allows binding of objects that are local to it (I don't know of a way of enabling permissions for this. Seems reasonable to expect that not everyone should have the ability to register objects on any registry, but there must be a workaround.
    Any ideas?

    considering the security reasons the rules of the game is that registry must be in the same host as the probram doing the binding.
    So what is LocateRegistry for in that case? Basically it is to be noted that a getRegistry call does not actually make a connection to the remote host. It simply creates a local reference to the remote registry and will succeed even if no registry is running on the remote host. Therefore, a subsequent method invocation to a remote registry returned as a result of this method may fail.
    I hope I answered your question.

  • Suggested workaround for list itemrenderer bug?

    Can someone point me in the right direction for a workaround for the problem described as Flex bug 28191:
    https://bugs.adobe.com/jira/browse/SDK-28191
    Steps to reproduce:
    1. Populate a Tree/List with data and provide a custom itemRenderer class factory.
    2. Change the class factory and dataProvider at the same time.
    3. List.createItemRenderer() will crash during since Factory is the key and it has been changed.
                    delete freeItemRenderersByFactory[factory][renderer];
    Actual Results:
    Crash because the renderer can not be found since it does not exist on that factory dictionary since the class factory was changed and the lookup is using the new factory.
    Expected Results:
    Not crash.
    Seems like a race condition, as sometimes during this process it skips that block of code but in other cases it falls into this block and fails.
    I need to change the data provider and item renderer of a tree control at runtime. Is there one or more methods I should run to prevent this? As the bug notes state, this is an intermittent problem. The error occurs here:
    if (factory == itemRenderer)
                if (freeItemRenderers && freeItemRenderers.length)
                    renderer = freeItemRenderers.pop();
                    delete freeItemRenderersByFactory[factory][renderer];

    Thanks. Actually, I have been updating (not setting or changing) the tree's dataprovider, and then changing the classFactory like this:
    processesXML = event.result as XML;
    nodeTreeData.source = processesXML.children();
    if (treeMultiSelect)
    nodeTree.itemRenderer=new ClassFactory(renderers.TreeItemRendererV1);
    nodeTree.allowMultipleSelection = true;
    nodeTree.setStyle("selectionColor", "0xFFFFFF");
    nodeTree.setStyle("disclosureOpenIcon", MinusIcon);
    nodeTree.setStyle("disclosureClosedIcon", PlusIcon);
    else
    nodeTree.itemRenderer=new ClassFactory(mx.controls.treeClasses.TreeItemRenderer);
    nodeTree.allowMultipleSelection = false;
    nodeTree.setStyle("selectionColor", "0x7FCEFF");
    nodeTree.setStyle("disclosureOpenIcon", OpenArrowIcon);
    nodeTree.setStyle("disclosureClosedIcon", ClosedArrowIcon);
    I had tried using validateNow after changing the ClassFactory before but did get the error again. I will try it again but update the data provider after. Since it's an intermittent error I'm finding it hard to know if a fix is really working.

  • Workaround for go connect to Server

    Am looking for a workaround for using the go>connect to server command so that students won't see that school Administrator's computer is actually accessible. (yes, there's a password, but...)
    Previously clients (OS 10.2) were bound to server (OS 10.3) but that caused lots of freezes while computers not busy between classes.
    Tried logging in and creating an alias, but it was only valid for the account which created the alias.
    Any suggestions?

    UPDATE: now if I enter the specifc IP address of the Windows system, it DOES find (thankfully!) my Windows system for file sharing.
    Any advice? Why would this all of a sudden stop with the Browse feature? Thank you.

  • Workaround for "An error occurred while contacting the radio tuning service. Check your Internet connection, or try again later."

    While Apple tries to figure out what's wrong I came upon a great workaround for those of us that like the radio feature of iTunes. This actually doesn't take long either.
    When trying to expand the categories you get the error "An error occurred while contacting the radio tuning service. Check your Internet connection, or try again later." This happens enough to think that the service is completely broken. Actually, it seems intermittent. Try clicking it a few times. you WILL GET THROUGH. When you do get there, highlight all of the stations(or just the ones you want), create a playlist (I use the name of the category as I take the entire list), and paste into the playlist. You can then play the stations EVERY TIME from the playlist. Works perfectly.
    It doesn't seem to have anything to do with what version of iTunes you have or what plugin you have. I have seen this on over 600 computers - Windows & MAC - and the workaround is 100%.
    Let me know how you make out. And, PLEASE SHARE THIS FIX!!!

    Yes indeed, this workaround was posted a few days ago at https://discussions.apple.com/message/17739684

  • Possible workaround for CSCed41207

    Hi,
    Maybe not a real solution, but could be used as a workaround for bug CSCed41207 (CallManager needs support for MGCP fractional PRI).
    You can set the B channels which are unavailable (because it's a fractional PRI) to maintenance mode with the following service parameter.
    "Cisco Callmanager" service. Select advanced. Under "Clusterwide Parameters (Device - PRI and MGCP Gateway)" use the "Change B-Channel Maintenance Status #" parameter to disable the unavailable channels.
    Example, if you have a E1 with 15 channels available, set the parameter to:
    S1/[email protected] = 0000 0000 0000 0000 1111 1111 1111 1111
    A 1 disables the channel. Always enable channel 16 because this is the D channel (for a E1).
    You can use this for up to 5 gateway's. I've used this solution for fractional PRI with MGCP numerous times and it works!

    Hi Dirk
    Thanks for sharing the workaround solution for "CSCed41207".
    We are working on new capabilities, where you can see relevant bug related discussions in the bug details page itself.
    Discussion posts like yours, will show in the bug details page of "CSCed41207" and other Cisco Bug Toolkit users can benefit from this knowledge.
    Please continue to share such experiences in the future.
    Thanks
    Arun

  • Complicated possible workaround for Keynote to Quick Time issues etc.??

    I've been experiencing many of the issues already presented here. This is obviously a major issue that Apple may already be trying to fix for an update, but they never tell anyone what they are doing. My project contains .mov files with audio and they just don't behave, the audio is off and movie files either play with disjoionted audio, or, freeze on the first frame. Also, half the transitions don't export to quick time, idvd or any other format I've tried.
    For those with 2 computers and a little extra hardware, I've got a possible workaround that "may" at least get the project rolling again. I hooked my MacBook Pro into my Eye TV 250 and switching to AV input, simply played the presentation I'd recorded with all my timings and transitions through the Eye TV box into my desktop computer. I then exported the live recording through the Eye TV software to a .mov file and all the transistions and audio seemed to be the way I set them up. I then brought this movie into Garage Band and added a backing track.
    Eye250 is not ideal for commercial projects because I seem to have some quality loss, BUT, I was importing to a G4 mac Mini so maybe that's an issue as well. If anyone else has an external digital video input device and two Intel machines, could they please try this out and see if the quality is HD.
    If this works, it would at least be a workaround for guys with commercial projects on deadline until Apple fixes their software. Appreciate any input!!!!

    Sadly, IP printing is not a feasible solution for me. When I configure it as you've described, the print job goes to the queue and stalls with this message--
    Network host '192.168.0.187' is busy; will retry in 10 seconds...
    This print-once-then-never-again issue is very frustrating. Airport express has been an unreliable print server from the get-go. The firmware hasn't been updated in two years and Apple has never published a list of supported USB printers. It's one of those things they want reps in the apple store to be able to verbally tell people that the product will do, but in writing, "good luck with that."
    I'm getting on Amazon right now to find a real print server. AE is a burner of time.
    Seth

  • Why is Domain required for an identity in the FIM Service?

    I have a scenario where FIM is managing identity, but not all identities have an Active Directory account. I have a flag in the FIM Portal (Service) that indicates if a particular
    user is entitled to an AD account or not. My provisioning setup adds or removes the AD account as appropriate. To support FIM Portal activities for those that do have AD accounts, I populate AccountName, Domain, and ObjectSID in the FIM Service from their
    corresponding attributes in AD.
    What I have noticed is that it does not seem possible to null out or delete the Domain attribute for a user in the FIM Service. I can delete the attributes for both AccountName
    and ObjectSID without issues.
    When attempting to remove the Domain attribute for a user I get the following in the event logs:
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Procedure or function 'GetDomainConfigurationIdentifiersFromDomain'
    expects parameter '@domainName', which was not supplied.
    I assume that something internal to the FIM Service is trying to do some magic with validating the domain name and the domain configuration. I did found a post saying, “Yeah,
    you have to populate Domain”:
    http://social.technet.microsoft.com/Forums/en-US/f207caa9-3a6f-4f2d-8461-a83777280803/fim-service-ma-export-failedmodificationviawebservices-error?forum=ilm2
    My question is why is Domain required for a user? It is obviously needed for users that have AD accounts an must authenticate with the Portal, but in the case where a user
    does not have an account (and therefore does not have a domain), it feels odd to store the incorrect data for the user. It also looks weird when you bring up list of users in the portal and see domain values for users that do not have accounts. In this particular
    case, the client has many domains and does have the Domain and AccountName attributes displayed on the user search results page.

    Hi Henry,
    Using another domain attribute and workflow to maintain the actual Domain and DomainConfiguration is a good suggestion, thanks.
    My original question still stands however... Why is Domain required in the FIM Service?
    It is sounding like the answer is "It is not really required on it's own, but there is an internal process that requires it if there is a value for DomainContext set (and there is some magic that sets DomainContext, so you have to manually clear it.)"
    Since DomainContext is automatically set when a client writes a value to Domain. I would suggest that it is a bug that DomainContext is not automatically cleared when Domain is cleared.
    I poked around a bit and the bug can be fixed by changing the stored procedure definition to allow null parameters. In the FIM Service database the stored procedure [fim].[GetDomainConfigurationIdentifiersFromDomain] has a parameter declaration of "@domainName
    NVARCHAR(448)". If this is changed to "@domainName NVARCHAR(448) = null" the problem appears to be solved.
    Making this change would of course be totally unsupported, but perhaps it can be included in a future product update.
    For now I will use Henry's workaround, or just live with potential out of date Domain data.
     Thanks

  • SSAS Tabular in DirectQuery - What are the workarounds for formula limitations?

    Hello,
    I need to create an SSAS Tabular model against the database of a live, real-time, line of business transactional system (i.e. a CRM).
    The business requirement behind it is that we need to create some complex reports against live data, and our DW is only updated daily.
    This live model will however be partitioned with a time-variance limitation (e.g. only records which are XX old can be returned).
    Now here is the challenge. Since I am querying live data, then I believe the model must be configured in DirectQuery model. Am I right?
    The issue is that DirectQuery mode is full of formula limitations. So my concern is, if I need a calculated column or measure that I cannot make it work due to DirectQuery limitations, then what are the alternatives?
    Remember that the data source is from a live system, so it is not like I can create columns and measures in the underlying relational database.
    Please advise.
    Regards,
    P.

    Hi pmdci,
    According to your description, you want to use some functions in calculated measure which are not supported in DirectQuery mode. Right?
    In Analysis Services Tabular, since DirectQuery has the real time access and scalability, this comes with a price of restrictions on a number of DAX functions and missing Calculated Column feature. Generally the workaround for these scenarios
    is replacing those functions with other functions which are supported in DirectQuery mode, or create columns in the data source. However, as you said, your environment is not possible to create columns in the database. And a lot of those limited
    function are not replaceable, like time intelligence functions. So actually, there's no really effective workaround currently.
    For you requirement, I suggest you submit Microsoft a feature request
    at https://connect.microsoft.com/SQLServer
    so that we can try to modify and expand the product features based on your needs.
    Best Regards,  
    Simon Hou
    TechNet Community Support

  • Cannot Set URL For Report Server SSL Binding In SSRS 2008R2

    Hi,
    I have an SSL certificate that has a number of subject alternate names and I need the SSL binding for the report server and the report manager to be against one of these names, not the certificate name.
    However, while it is possible to set the host header for a non-SSL identity and therefore control the URL reserved, it does not seem possible to set this for an SSL identity - the edit dialogue box simply generates the URL when you choose the certificate
    from the dropdown box.
    How do I set the URL for a report server SSL binding?
    Cheers
    Dan

    Hi Charlie,
    You are correct, i am configuring SSL connections on a native mode report server and i want to configure a custom URL for it.
    However, my issue is not that I cannot see the certficate - it is that I cannot set a custom URL for SSL connections. Apologies, I should have written up an example of what I am seeing:-
    I have installed a certificate for a.company.com. It shows up fine in the certificate list/dropdown for configuring the web service URL SSL certificate.
    I can set a host header for non-SSL traffic for a.company.com and the binding succeeds. I can also set an SSL identity in the same Advanced Multiple Web Site Configuration window for a.company.com and this also binds correctly.
    However, the certficate is like a wildcard in that it supports 4 more URLs in its subject alternate name property. I would like to set an SSL identity for b.company.com which is one of those entries.
    As an aside, the certificate is also installed in IIS and succeeds in binding to b.company.com. I mention this as it shows that the certificate appears to be installed correctly and is working in its wildcard-like capacity.
    I can also successfully set a host header for b.company.com for the report server for non-SSL traffic. It is b.company.com that I would like to host the report server and manager under.
    The issue I have is that if I try to add an SSL identity for the report server web service for b.company.com using the Advanced Multiple Web Site Configuration window, there is no editable box for URL and so it does not allow me to set the URL/host
    header - it therefore always binds to a.company.com.
    I have scoured the boards for answers and there have been a couple of mentions, but neither has worked for me.
    This one talks about adding the required
    https://b.company.com/reportserver to the rsreportserver.config file and the OP describes the issue pretty much exactly as I am experiencing plus the responder talks about this guidance as coming from MS support - however when I followed the steps the result
    is the same as without the configuration:-
    http://www.sql-server-performance.com/forum/threads/ssrs-2008-host-headers-and-ssl.28571/
    Another suggestion (for which I have lost the link) was to amend the URL config in that file directly and add the required entry. Both posters claim it has worked for them so I am sure that using a wildcard certificate with SSRS does work! I think in my
    case I am missing some extra steps as it is fine to amend the config file directly, but I don't think this actually kicks off the SSL/URL binding process which is what the dialogue window does.
    Hope this helps in explaining further. I am sure this is resolvable as I cannot believe the only option for SSRS is to bind to a single domain name and ignore the other wildcard/alternate options.
    Cheers
    Dan

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Is it possible to have filters for one account on 3 devices ? And have the same results/folders.

    I have one email account on 3 devices and I need to filter all received emails, on all 3 devices. Same folders and same filters.
    If I create a filter rule on one PC then I can't find the filtered emails ( that are in the new created folder on PC no.1 ) on the other devices. What can I do?

    To answer the question as stated in your topic, it's possible but not easy.
    Obviously you can enter the same filters by hand on each installation of Thunderbird, but it's tedious and error-prone. You can set them up on one machine and copy the filter files over to the other machines. Also tedious and error-prone.
    The way you describe the messages vanishing from sight suggests strongly that you're currently using POP, and this has no way of making use of shared folders. To continue working in this way, all you could do is set each client to leave a copy on the server for the others and painstakingly manage a set of filters on each and every machine, keeping them in synch by hand and careful management. (And ditto for your folders.) You'd also have to attend to the POP server from time to time to remove accumulated messages left there by your clients.
    The real answer to this and your later question is to use an IMAP-connected account, where all your data lives in one place, on the email provider's server, and all your devices simply look at and work with one common set of data. Any filtering, editing, moving, etc you did on one machine would very quickly become visible on the other machines. In fact. the ability for more than one machine to be simultaneously be working on the same message becomes a somewhat worrying possibility. It's not clear if this is a likely event in your scenario.
    Even using IMAP, if you filter at the client then you'd still have the issue of managing multiple instances of your filters, and the final part of this is to make use of filtering offered by the server; then the filtering takes place "at source" and you have just one filter set to maintain.
    If your current email provider doesn't provide IMAP, and cannot offer it, then there are many alternatives who will. If it's for business then I think you should look for a paid-for service that includes guarantees, backups and an SLA. Your domain provider should be able to offer this.
    For personal use, many of the free suppliers are worth considering. Googlemail works well, but if you're uneasy about their pervasiveness, have a look at gmx/1&1. Microsoft's hotmail/live mail/outlook.com offers IMAP. Yahoo! probably does (please check in your locality) but they have a bad track record and a lamentable reputation and I wouldn't want to entrust them with any precious material.

  • Workarounds for 2.0.1 app install crashes

    Hi All,
    This will be a long post, but hopefully of help to those suffering from the infuriating application related crashes and instability of 2.0 and 2.0.1.
    For those just looking for the workarounds, jump to the bottom of this message. For those interested in a technical discussion of what's going on behind the scenes, keep reading.
    After running a very stable iPod Touch on 1.1.3 for quite some time complete with jailbroken apps, I decided it was time to give 2.0 and the official third party apps a go.
    At first I loved the new features especially the WPA Enterprise support and MS Exchange support which I think are brilliant, but then I started to notice all kinds of problems with crashes like most other people in this forum as soon as I had a few apps installed.
    Basically the thing was horribly unstable to the point of being unusable, and I did about 10 full restores in the first two weeks, just to keep the thing going, and experienced dozens of cases of being stuck on the apple boot screen.
    The crashes could be narrowed down into two types of crashes - one is crashes while trying to RUN applications, and the second is crashes trying to INSTALL or UN-INSTALL applications.
    The first type - crashes while running applications would take the form of either an app crashing back to the home screen when launched, or causing a total system freeze or a spontaneous reboot either when launching an app, or sometimes while running an app.
    Usually when this would happen most large apps (hint: memory hungry apps) would fail to launch, good examples are super monkey ball, cromag rally and enigmo. Repeated attempts to launch these apps would fail and eventually the device would spontaneously reboot.
    In all cases, a full reboot of the device, (hold sleep button for 5 seconds, swipe to power off, then power on again) would allow the app to run again. The reviews of some apps on the app store are littered with complaints from people that the app crashes during launch - the irony is the app is NOT to blame, in all cases I have seen.
    The second type of crash is a lockup and/or spontaneous reboot during app installation or removal either through the built in appstore application or via syncing with itunes. More often than not this type of crash would render the device unbootable with you stuck at the apple logo - you could tell this was happening because after a few minutes the apple logo would go darker, and the device is no longer pingable over wifi.
    First the good news - for me anyway, 2.0.1 FIXES the first type of crash - apps crashing back to the home screen, spontaneous reboots and lockups when launching apps or using them. I haven't had super monkey ball fail to launch, or crash during play a single time since updating to 2.0.1 for example. Wahoo Apple.
    When not adding/removing/updating applications, I now find 2.0.1 to be quite stable, apart from the usual Safari crashes, which seem to happen a bit more often than 1.1.3.
    Now the bad news - the app install / un-install related crashes are NOT fixed in 2.0.1 or even alleviated, so these are what I will focus on in this message describing workarounds I have found and the reasoning behind them.
    Ok here's the deal, with a bit of analysis the root cause of the problem is LOW MEMORY conditions that occur during the app install / un-install process. It seems to be a combination of increased system memory requirements of the 2.0 firmware in general (there is simply more stuff running than there was in 1.1.x, so there is less free memory) as well as what look like memory leaks (or at least poor coding) in both Springboard and mobileinstallationproxy. More on those in a minute.
    In addition the emergency low memory handling of the system (maybe the kernel) seems to be broken in 2.0.x - once free memory gets below a certain point the system will hard freeze - this never happened in 1.1.x, at most it would cause a reboot if memory became critical and nothing could be done to free memory.
    Ok, what is mobileinstallationproxy ? This is a program whose job it is to install and uninstall applications, basically, and did not exist in 1.1.x firmware. When an application is to be installed or removed either directly on the device or by syncing with itunes, this is the process that is launched to do it.
    Problem number one - sometimes, this processes memory usage will grow enormously - there is typically only 60MB ram free no additional apps are running and background mailcheck is disabled. mobileinstallationproxy's memory usage will often climb to reach or exceed this amount causing an extreme low memory condition which will cause the Springboard to try to kill off unnecessary processes, but if it can't find enough memory the device will either freeze or spontaneously reboot - the reboot in the middle of application install / un-install corrupts the application state, causing more trouble later on.
    Ok, what is Springboard ? This is the main application on an ipod touch / iphone which gives you your home screen, and manages the launching of applications, provides touchscreen input to applications, and also does additional memory management by asking applications to reduce their memory usage if free memory is tight, and will even go so far as to quit background processes to free up memory when memory gets really tight.
    Problem number two - sometimes Springboard starts allocating large amounts (over 70-80MB) of memory itself causing a low memory condition - and it cant free up memory because it can't ask itself to quit! At least, not without rendering the device unusable, because you lose the ability to use the touchscreen......
    This typically happens when Springboard is "regenerating the application map" which basically means it is looking at newly installed applications to find out details about them and display them on the home screen. This regenerating happens both immediately after application install, and during bootup (before the lock screen) if it wasn't previously finished. BIG PROBLEM.
    What happens if the device crashes if you are half way through installing an app ? The answer is that when you try to boot up again Springboard starts regenerating the application map before you are presented with the lock screen - it looks like nothing is happening, but it is. Corrupt applications can cause Springboard to crash during this phase which means you are stuck in an INFINITE LOOP of rebooting showing the Apple logo, which is what many people have experienced.
    Problem number 3 - if you have a LOT of applications installed, and just one of them gets corrupted during a crash, when the device reboots, Springboard will start rebuilding the application maps, but this can take a LONG time, and there is a TIME LIMIT on how long Springboard is allowed to run in this state! A watchdog process waits for Springboard to respond during bootup but because Springboard is busy regenerating the application map it doesn't respond. If it doesn't respond in a certain amount of time (approx 5 minutes) the watchdog will KILL Springboard, thus not only preventing it from finishing the job and letting you get to the lock screen, but possibly further corrupting data, and causing the device to freeze, as Springboard is an essential system process.
    This is the reason why the system becomes prone to getting stuck on the Apple screen after just a single application becomes corrupted, if you have MORE than a certain number of applications installed. If you have few applications installed (less than approx 10) the situation of one app becoming corrupted is recoverable, and self healing, if you have many applications installed (over 20) there is never enough time for Springboard to finish the job before the watchdog terminates it - thus being stuck at the Apple Logo with no escape other than a system restore.
    For anyone who wonders how I am gathering the data to form these conclusions there are two tools that I've used - one is freely available from Apple, and that is the 'iPhone Configuration Utility' available from here:
    http://www.apple.com/downloads/macosx/apple/application_updates/iphoneconfigurat ionutility10formacosx.html
    Which has the ability to show the local system log (console) of the device in real time, showing things such as:
    Sat Aug 9 20:54:28 unknown configd[15] <Notice>: kernel memory event (93), free: 376, active: 1179, inactive: 770, purgeable: 0, wired: 5400
    Sat Aug 9 20:54:30 unknown configd[15] <Notice>: kernel memory event (90), free: 376, active: 1398, inactive: 788, purgeable: 0, wired: 5417
    Sat Aug 9 20:54:32 unknown SpringBoard[16] <Warning>: Memory level is urgent (10), but there are no apps to warn!
    Sat Aug 9 20:54:33 unknown configd[15] <Notice>: kernel memory event (90), free: 376, active: 1455, inactive: 1204, purgeable: 0, wired: 5419
    Sat Aug 9 20:54:33 unknown SpringBoard[16] <Warning>: Memory level is urgent (10), but there are no apps to warn!
    A great deal of information about what is going on can be gained from watching this log file, and the program can be left monitoring even during an itunes sync.
    The second way I have gathered data is by running top over ssh on a jailbroken version of the firmware. I don't endorse or encourage jailbreaking of firmware, but in this instance it has allowed me to gather invaluable data on the problem, and I would stress that the crashes that I've been chasing occur equally on standard and jailbroken firmware.
    In particular ssh has allowed me to prove one hypothesis - when the device gets stuck at the Apple logo after an app is corrupted, and is in an unrecoverable state that requires yet another restore, if I quickly ssh in as soon as I can during the bootup phase, and delete all the Appstore applications from /var/mobile/Applications the device will almost immediately spring to life and has been "saved" from requiring another restore - this proves that Springboard is getting bogged down scanning the applications and once they are removed it will boot normally again and the apps can be reinstalled.
    WORKAROUNDS AND RECOMMENDATIONS
    The biggest problems here are (a) too many apps installed preventing bootup recovery once an app gets corrupted, and (b) low memory situations being encountered during app install / uninstall causing the corruption in the first place.
    1) Don't install or update Apps using the built in Appstore application on the ipod/iphone. For reasons not entirely clear this is a very hit and miss proposition and there is a VERY high chance that you will get a freeze or a crash from doing this if you have more than a few apps installed, and end up in an unrecoverable state. Just don't do it, always sync apps across from itunes.
    2) Free up as much memory as possible BEFORE syncing applications with itunes, and this applies both to installing and un-installing applications. The best way to do this is disable MobileMail from running in the background. If you have automatic message checking of any kind enabled MobileMail launches at bootup and runs in the background ALL the time, consuming approximately 14MB of ram, and this is often the straw that broke the camels back when memory gets tight.
    To do so, disable PUSH, and change Fetch new Data to Manually, then either do a full reboot (sleep button for 5 seconds then swipe to turn off, then press to turn on again) OR launch mobile mail, wait for it's mail check to finish, then hold down the home button for 5 seconds to do a forced quit. It's imperative that automatic checking of mail is disabled, or it will immediately launch in the background again.
    This step of disabling MobileMail to free up a bit more memory makes the most difference of all the things I have tried in preventing crashes during application syncing, so don't skimp. You can enable automatic mail checking again afterwards.
    3) As much as it pains me to say, having downloaded over 30+ apps, if you want your ipod/iphone to be stable, until Apple fixes this issue, install as few apps as you possibly can - just the ones you really need, and not lots of gimmicky things you don't really need. Try to keep it under 20 at any one time, and you can do this on the Application tab in iTunes telling it to sync only selected applications. Keeping the number of synced applications down to a minimum makes a big difference, and means that even if you do get a crash during app installation it will usually recover. If you have lots of apps installed it will NOT recover by itself.
    Good luck all, and roll on 2.0.2.

    If you DO get in the situation where the iPhone won't load and is stuck at the Apple logo, there is an alternative to Restoring: renaming the Applications folder momentarily.
    Of course this assumes you have a way of getting to the Applications folder before the phone has fully booted. I am lucky as I have OpenSSH installed and when this crash occurs the WiFi has already connected, so I can (for example) log in and rename Applications to Applications2 and then back again.
    The Springboard will start about 5 seconds after you rename the folder. This at least gives you an opportunity to back stuff up or try to remove the offending application instead of restoring.
    I have heard that you can use iPhoneBrowser on Windows to do the same but not tested this.

  • WCF Published Orch - Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding

    I have an orchestration published as a web service.  It was working fine on our test environment, we deployed to production, and now getting this error.  The website wouldn't go in the BizTalk MSI, so we copied the files.  We reset the Authentication
    to match the test system (we are using Basic Auth).
    When we try to browse the webservice in the browser, it prompt for userid/password, we enter it, then it gives the following error. 
    I'm not even sure what it means by "base address", if URL was https://prod.mydomain.com/myapp/myservice.svc, would https://prod.mydomain.com be the based address? In the test environment, the URL is https://test.mydomain.com/myapp/myservice.svc. 
    In both environments, we have a customer calling this webservice.
    Also, I don't know what it means "scheme http".  We are using https:... on the URL.
    I'm thinking this is either security related, something to do with the app pool being different, or maybe something to do with bindings. 
    Thanks,
    Neal Walter
    http://MyLifeIsMyMessage.net
    Web.config:
        <services>
          <!-- Note: the service name must match the configuration name for the service implementation. -->
          <service name="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance" behaviorConfiguration="ServiceBehaviorConfiguration">
            <endpoint name="HttpMexEndpoint" address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
            <!--<endpoint name="HttpsMexEndpoint" address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" />-->
          </service>
        </services>
      </system.serviceModel>
        <system.webServer>
            <security>
                <authorization>
                    <remove users="*" roles="" verbs="" />
                    <add accessType="Allow" users="myCustomer" />
                </authorization>
            </security>
        </system.webServer>
    Server Error in '/eSecuritelIn' Application.
    Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered
    base address schemes are [https].
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the
    code. Exception Details: System.InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https].
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using
    the exception stack trace below.
    Stack Trace:
    [InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes
    are [https].]
       System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +16582113
       System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1
    addBaseAddress) +1082
       System.ServiceModel.ServiceHostBase.ApplyConfiguration() +156
       System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +215
       System.ServiceModel.ServiceHost..ctor(Object singletonInstance, Uri[] baseAddresses) +400
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHost`3..ctor(IsolatedReceiverType isolatedReceiver, BizTalkServiceInstance serviceInstance, Uri[] baseAddresses)
    +36
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +533
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413
       System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172
    [ServiceActivationException: The service '/eSecuritelIn/eSecuritelIn_OrchPublished_RepairEquipmentService.svc' cannot be activated due to an exception during compilation. 
    The exception message is: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]..]
       System.Runtime.AsyncResult.End(IAsyncResult result) +901424
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
    Version:4.0.30319.272

    When you want to migrate Web Applications from one environment to other there are multiple ways to achieve it.
    1) Migrate in MSI- Export MSI and select the option for your Web Application, however I don't recommend this option
    2) Is to browse the folder for Web Application(Right click on web app and browse). Copy this folder(normally within inetpub folder) and take it to the inetpub folder of other environment. Later from the IISManager create application.
    Are you not using the same Binding file?
    Check you web.config file and see if the endpoint is configured for mexHTTpBinding.
    Old: binding="mexHttpBinding"
    New: binding="mexHttpsBinding"
    web.config snippet:
    <services>
    <service behaviorConfiguration="ServiceBehavior" name="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService">
    <endpoint behaviorConfiguration="AspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding"
    contract="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService" />
    <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
    </service>
    Also look into the below article- How to fix: "Could not find a base
    address that matches scheme http for the endpoint with binding WebHttpBinding" Errors
    Moving to https = Could not find a base address that matches scheme
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • Workaround for ORA-04030 error

    hi,
    we've encountered the following error:
    ORA-04030: out of process memory when trying to allocate 296 bytes (callheap, koposal dvoid)
    all of the research i've done points to setting up the database with a Very Large Memory configuration, which will be carried out at a later date as we're still in the development stage.
    is there a possible workaround for this error?
    thanks
    santosh sewlal

    hi,
    we're inserting into tables - spatial data and images, from a C#.net application that sends data to the db in a BLOB

Maybe you are looking for