Datasource not created in JDNI when DB is down

Hi! I have my weblogic and Oracle DB in different servers. If I startup the weblogic server before the DB is up, my datasource doesn't get created, and when I try to access my application, I get the following error:
<i>javax.naming.NameNotFoundException: While trying to lookup 'emm.db.oracle' didn't find subcontext 'db' Resolved emm; remaining name 'db/oracle' Verify a Data Source exists in Weblogic with JDNI Name 'emm.db.oracle'.</i>
Is there a way to wait until the DB is up to create the datasource and avoid this issue?
Thanks in advance for your help.
MatÃas

Hi,
The invoke process will error out with remotefault error.
It will be a unhandled exception. But if you want to have exception handle and want to terminate, then add the catchBrach in your scope or main and then add the remoteFault system error and create a faultVar and then do your operation if nay in the catchBranch scope.
Regards,
Sreejit

Similar Messages

  • I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    Apple ID FAQ   http://support.apple.com/kb/HE37

  • Getting error message "Could not create work area" when I open Bridge CC.

    I am getting an error message "Could not create work area" when I open Bridge CC.
    I have reset my workspace. I have closed and opened Bridge CC. I have deleted the !!-$$$AdobeOutputModule.workspace file in /Library/Application Support/Adobe/Bridge CC/Workspaces folder.
    I am not an expert computer user, so please explain in detailed steps like I am 5 years old. Thanks in advance for any help.

    I am experiencing the same problem!
    My mac is OS X Yosemite (10.10.1), Photoshop CC 2014.2.1, Bridge CC 6.1.0.115 and Camera Raw 8.7.0.309

  • System should not creates new version when value of PO increased..

    Hi Experts,
    Need your help to solve this problem. When i increase value of PO it should retrigger Release strategy but it creates version first, then i have to tick completion indicator and check then only release strategy retriggers..
    It should not create new version when change po
    Please check below screenshot
    Please help

    Hi
    Please reveiw the following points in note
       - 493900 FAQ: Release Strategy
          4.  Why is the release strategy not determined?
         "If you use version management, the determination of the release
          strategy starts when the version is completed.
          You complete a version by setting the "version completed"
          indicator in the version tab."
       - 662993 Resetting an already occurred release
         You edit a purchasing document with release strategy.
         You change the quantity or the price. In spite of that, the
         already set release is not reset.
    The release strategy works the same with or without version management
    active - the only difference in case - version management is active -
    is that if release is to be reset, it will be reset only on version
    I hope this helsp to clarify this issue
    Kind regards,
    Lorraine

  • I am unable to start up my iMac running on 10.4.11 - the startup disk is installed and will not start up eben when I hold down the "C" Key. I do get the apple, but then it disappears.

    I am unable to start up my iMac running on 10.4.11 - the startup disk is installed and will not start up eben when I hold down the "C" Key. I do get the apple, but then it disappears.

    Query by serial number
    Apple's warrenty database will identify the type of Mac you have.  Your serial number is securely sent, but you get only the name of your machine.
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    This site provides more information, but lacks security.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    or
    This site provides more information, but lacks security too.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html
       ( hint by K Shaffer  )

  • Says it can not create temporary folder when Itry toopen the download

    when I try to run the firefox download a box opens saying can not create temporary folder

    Interesting. I tried one more time - instead of saving it to my hard drive, I ran it directly off the Mozilla site and it installed....
    Something is definitely wrong with the Mozilla "save as" and THEN run process....

  • ORA-27142: could not create new process/ when i am duplicating DB

    I am trying to duplicated DB on new server and getting this error
    Need suggestions to solve this ?
    RMAN-03002: failure of Duplicate Db command at 10/03/2006 16:58:58
    RMAN-03015: error occurred in stored script Memory Script
    ORA-27142: could not create new process

    check the availability of disk space where netbackup writes log files.
    if its is all set,
    open the netbackup log file and look for any recent relevant messages.
    look closely in rmanlogs and netbackup logs for any messages ralating to DBMS_BACKUP_RESTORE.RESTOREBACKUPPIECE

  • Option to not create a shortcut when installing an AIR application

    Hello Adobe AIR community,
    Does anyone know if there is an option to not create a shortcut for an AIR application?
    Currently, all I have found is an option to choose the location of the shortcut from within the start menu (in the application descriptor file, using the programMenuFolder option).
    Thanks,
    Mauricio

    I figured it out.  The AIR installer was stripping out my query parameters.  I made the URL use slashes for the parameters with a rewrite instead of ? and & it worked.

  • .svclog file is not creating on cloud when cloud service is deployed into azure website.

    I have created a wcf cloud service which is being deployed on cloud through bitbucket repository.
    I want to create a .svclog file to trace logs on my azure local storage.
    For that, I have refered so many posts and finally configured my solution as below:
    ServiceConfiguration.Cloud.cscfg:
    <Role name="MyServiceWebRole">    <Instances count="1" />    <ConfigurationSettings>      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"                value="DefaultEndpointsProtocol=https;AccountName=StorageName;AccountKey=MyStorageKey" />    </ConfigurationSettings>    <Certificates>      <Certificate name="Certificate" thumbprint="certificatethumbprint" thumbprintAlgorithm="sha1" />    </Certificates>  </Role>
    ServiceConfiguration.Local.cscfg:
    <Role name="MyServiceWebRole">
        <Instances count="1" />    <ConfigurationSettings>      <!--Also tried with value = "UseDevelopmentStorage=true"-->      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"               value="DefaultEndpointsProtocol=https;AccountName=StorageName;AccountKey=MyStorageKey" />    </ConfigurationSettings>    <Certificates>      <Certificate name="Certificate" thumbprint="certificatethumbprint" thumbprintAlgorithm="sha1" />    </Certificates>  </Role>
    ServiceDefinition.csdef:
    <WebRole name="MyServiceWebRole" vmsize="Small">    <Sites>      <Site name="Web">        <Bindings>          <Binding name="Endpoint1" endpointName="Endpoint1" />        </Bindings>      </Site>    </Sites>    <Endpoints>      <InputEndpoint name="Endpoint1" protocol="http" port="80" />    </Endpoints>    <Imports>      <Import moduleName="Diagnostics" />    </Imports>    <LocalResources>      <LocalStorage name="MyServiceWebRole.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />    </LocalResources>    <Certificates>      <Certificate name="Certificate" storeLocation="LocalMachine" storeName="My" />    </Certificates>  </WebRole>
    web.config (MyServiceWebRole project):
    <system.diagnostics>    <trace autoflush="false">      <listeners>        <add name="AzureDiagnostics"             type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics,              Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />      </listeners>    </trace>  </system.diagnostics>  ............<system.serviceModel>    <diagnostics>      <messageLogging maxMessagesToLog="3000"                      logEntireMessage="true"                      logMessagesAtServiceLevel="true"                      logMalformedMessages="true"                      logMessagesAtTransportLevel="true" />    </diagnostics>   ............ <runtime>    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">      <dependentAssembly>        <assemblyIdentity name="Microsoft.WindowsAzure.Diagnostics" publicKeyToken="31bf3856ad364e35" culture="neutral" />        <!--<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="2.2.0.0" />-->      </dependentAssembly>    </assemblyBinding>  </runtime>
    WebRole.cs (MyServiceWebRole project):
           public override bool OnStart()        {            //Trace.Listeners.Add(new DiagnosticMonitorTraceListener());            Trace.Listeners.Add(new AzureLocalStorageTraceListener());            Trace.AutoFlush = false;            Trace.TraceInformation("Information");            Trace.TraceError("Error");            Trace.TraceWarning("Warning");            TimeSpan tsOneMinute = TimeSpan.FromMinutes(1);            // To enable the AzureLocalStorageTraceListner, uncomment relevent section in the web.config            DiagnosticMonitorConfiguration diagnosticConfig = DiagnosticMonitor.GetDefaultInitialConfiguration();            // Transfer logs to storage every minute            diagnosticConfig.Logs.ScheduledTransferPeriod = tsOneMinute;            // Transfer verbose, critical, etc. logs            diagnosticConfig.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;            // Start up the diagnostic manager with the given configuration            DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", diagnosticConfig);            // For information on handling configuration changes            // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.            return base.OnStart();        }
    AzureLocalStorageTraceListener.cs (MyServiceWebRole project):
    public class AzureLocalStorageTraceListener : XmlWriterTraceListener    {        public AzureLocalStorageTraceListener() : base(Path.Combine(GetLogDirectory().Path, "MyServiceWebRole.svclog"))        {        }        public static DirectoryConfiguration GetLogDirectory()        {            try            {                DirectoryConfiguration directory = new DirectoryConfiguration();                // SHOULD I HAVE THIS CONTAINER ALREADY EXIST IN MY LOCAL STORAGE?                directory.Container = "wad-tracefiles";                directory.DirectoryQuotaInMB = 10;                directory.Path = RoleEnvironment.GetLocalResource("MyServiceWebRole.svclog").RootPath;                var val = RoleEnvironment.GetConfigurationSettingValue("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");                return directory;            }            catch (ConfigurationErrorsException ex)            {                throw ex;            }        }    }
    I also tried to comment out element in ServiceDefinition.csdef file. but here, I am having build time error (The XML specification is not valid).
    In my case, I am pushing all source code to bitbucket repository and from there it is deployed to the azure "WebSite". Here is more details:
    I need help to know:
    Why my service did not creating .svclog file from local to azure?
    It's also not doing the same even it has been deployed to azure?
    On which location(container) I can get the .svclog file into local storage?
    Please suggest correct way or modification so that I can overcome with this issue. Please replay fast.
    Thanks.

    Hello _Adian,
    Thanks for response.
    I uploaded all my code on bitbucket repository and configured a website on portal using "Integrate source control" (please refer:  http://azure.microsoft.com/en-in/documentation/articles/web-sites-publish-source-control/).
    (NOTE: This is the way my client is following.)
    Here is the structure of my solution:
    1. a wcf service application (.svc)
    2. few class library projects
    3. Azure cloud service (with Project 1 as web role).
    Now whenever I push my updated code to bitbucket, It automatically deployed to azure.
    So, please suggest me how can I create a separate .svclog file into local storage (using above environment).
    I hope this info will helpful to you for answer.

  • CCMS not sending e-mail when system is down

    I have installed solution manager 4.0 and configured it as a CEN to handle all CCMS alerts from our SAP systems (ECC5.0, BW, etc), these systems all have CCMS agents install and configured. The configurations work no problem. We get automatically notifications on a lots of events -- such as shortdumps, responses time, system log errors, etc. However, we never get e-mail notifications on following two situations:
    1. System down -- when one system is down, we can see it availability is going to 0% on solution manager but we did not get e-mail, I am using MTE class "Availability_SysPercent_ABAP",  it should send e-mail when it below 60%. But it never did even it's 0%. Also tried several other MTEs, but none of them work.  Is this because when system is down, CCMS not work any more or something else?
    2. Job cancel -- I am not what MTE class to use in order to send e-mail when some jobs are cancelled.
    Any help are greatly appreciated.
    Yujun Ran

    I don't know if this is correct but my Execution is "Any server" and it works.
    I assume you copied the same method for your central AR method. The person earlier who mentioned clients may have something. I don't use the CCMS_OnAlert_Email_V2 method so I'm not sure but I think the parameters need to have a user in 000 with an e-mail address in the user master in order to send. I don't think this is any different for the Central AR method which works for you so probably not the problem but double-check. I use the CCMS_Send_Alert_to_ALM_V2 method so my config will be a little different.
    Is SAP_CCMS_MONI_BATCH_DP scheduled in CEN? Mine is in the working client but again, not sure if it matters.
    Does the AR method you have assigned show up in RZ20>>Change mode>>View>>Method allocation?
    Is the send job in SAPCONNECT scheduled, I believe it behaves differently with local and central AR's.
    Message was edited by:
            David Hill

  • Datasource not created - 10.1.3 dev preview

    Hi,
    I have a database connection in my Connections panel which doesn't get deployed to the test environment when I run/debug my application.
    When i use the same setup under 10.1.2 I can expand the application server connection I created for the test environment and the connection is there as "jdbc/xxxxxx". In 10.1.3 the jdbc branch is empty.
    Can anyone tell me how to get around this please? I tried manually editing the data-sources.xml file but I get an error on OC4J startup telling me I have a duplicate datasource name. Its obviously doing something with the connection, its just not in the JNDI tree anywhere for me to look it up.
    Thanks in advance for any help on this.
    Brad.

    Deepak,
    thanks for your reply. That all sounds great how it should be but as I said in my first post, the connection isn't being deployed to the server.
    According to the server preferences window the connections should be available as "jdbc/WebcProductsDB". I can't look up the connection at this location and when I browse the JNDI tree in the app server conncetions section the whole jdbc branch is empty.
    Brad
    PS you can modify the JNDI name in the OC4J server preferences window, but any changes you make there aren't remembered by Jdeveloper.

  • How to not create Lightroom duplicate when editing in Photoshop

    When I choose to Edit in Photoshop from within Lightroom 3, the edited copy is added to Lightroom. This might sometimes be useful, but I want to choose whether or not the edited copy is added to lightroom.
    How can I make this choice?
    David

    That's not my experience - maybe I've got some setting wrong somewhere.
    I have two categories of images in Lightroom: DNG files originating from digital camera Raw files, and files which are PSD that were scanned from old photos.
    Opening the DNG files in Photoshop then selecting "Save As" does not make the duplicate in Lightroom PROVIDED I have "As a copy" checked. But then the copy is not the file that's currently open so I have go find the copy and open it to do any work on it.
    Opening PSD files from Lightroom in Photoshop, the duplicate is created immediately the file opens in Photoshop unless I select the "Edit original" option. But even then, if I subsequently use Save As within Photoshop, the copy appears in Lightroom.
    My version of Lighrtoom is 3.4.1
    My version of Photoshop is CS5.1
    I'm on a Mac running Snow Leopard

  • "Could not create ac3" error when burning Blu-ray

    I've spent the last week designing a Blu-ray in Encore CS5.  Upon burning, I was given the error message "Cannot create '_sessionfiles_Dsf_session_1_audio.ac3", and the burn failed (after going for seven hours).  I really don't even know where to begin with this.  The Blu-ray is about 80% full (20 GB) and includes multiple timelines and several menus (one of which has audio).  No pop-ups.  It should be a fairly straightforward project.  However, it's given me problem after problem and has taken way too much time.  Can anyone offer insight before I spend another week tracking down the problem?  Thanks.

    In the last few days, things have gone from bad to great and back to bad, and it's been non-stop work.  I freed up a ton of space on the computer and backed it up.  Then the computer gave me a kernel panic, which happened so often that I had to restore the whole computer.  I don't know if that's related to the Encore issue.  Then I tried to burn again, and it seemed to be working until it gave me an error message that said "Blu-ray Error: 'device error', code '3', Note: ".  So I looked around online and decided to export as an ISO disc image file.  That worked fine.  Then I tried burning a Blu-ray using third-party software, which failed halfway through.  Next I tried burning using Disc Utility.  It got all the way to the end and said "Could not verify" and failed.  I tried playing it in my Blu-ray player anyway.  For the first time, it actually worked.  The movie and the Scene Selection menu work fine.  But when I try to go to Special Features, nothing happens.  The Blu-ray is supposed to go to the Special Features menu at the end of the main movie, but it just goes to a black screen after that and locks up.  Now I'm really lost.  Any more suggestions?  Thanks.

  • Offset feature not creating clean lines when repeating pattern/image

    Using PSE11, I have been working at several repeating patterns using the offset feature, but am having a problem with images not having a clean seam when connecting different layers to create the pattern. 
    Any recommendations?
    Thanks.
    Here's a screenshot of an example..

    Again, how you feel is really of no interest at all. How you feel will not get you one whit closer to solving the problem you have, and will probably even get in the way.  If you have a problem we can help. Any scolding I do is about your aggression. Think of it this way. If someone stops you in the street and politely asks the way to the train station you'll be a lot more likely to help him or her than a person swearing at how awful the street maps are and generally being aggressive.
    Obviously you don't get the fundamental difference, or you wouldn't have the problem. And yes, your photos can remain exactly as you organised them, but if that's what you wanted why did you then use iPhoto? You used the file manager for this job on windows, now you're trying to use a database for the job on your Mac. So you've switched OS and then the method of managing your photos.
    Now you need to decide. Do you want to work exactly as you did on Windows? If so, don't use iPhoto, just use the Finder (that's the file manager on the Mac.) That's what you did on Windows.
    If you want to use iPhoto, and so take advantage of the extra features that it has, then you'll need to rethink your way of working just a little but we can get very close to what you have now. But it will not be identical.
    If you don't want to use iPhoto just copy your folders of images over to the Mac. Job done. Otherwise, come back and let us know how your folders are arranged and we can try help you adapt that to iPhoto.

  • Survey not creating inbound activity when submitted

    I am using CRM 5.0 and I have created a survey, generated the URL using BSP and attached it to an email and this has been sent as part of a campaign. The recepient answers the survey and hits save, but there is no activity generated, even though we get the message "The values were saved successfully". I have created the survey under Marketing. I need it to create an inbound activity of type 0000. Am I missing some configuration, as I assumed that this is done automatically.
    Any help would be much appreciated.
    Thanks

    Thank you for your suggestions. I don't want to change the transaction type for the inbound activity. I would rather that it be created as type 0000. But even this standard functionality is not working for us here. I have used CRM_MKTBP_SVY_ACTIVITY_PAI  in my survey.
    Any suggestions that you might have as to why the inbound activity isn't being created would be greatly appreciated.
    Thank you so much for your help.

Maybe you are looking for