How to prevent data-sources.xml from being included in EAR

I cannot get rid of the data-sources.xml file in my EAR file in the meta-inf folder.
Deselecting the "Bundle Default data-sources.xml during deployment" in my preferences didn't have any effect. I also tried shutting down/restarting JDeveloper just in case it was cached.
I also tried adding an exclude filter for data-sources.xml in my deploy profile for both Web files and WEB-INF/classes.

The way I resolved this was to create the data-sources.xml, right click it, select Properties then uncheck Auto-update data sources.xml. That way it stays empty (hopefully).

Similar Messages

  • How Get JDev to Omit data-sources.xml from every .war deployment

    I want a global data-sources.xml file to be used for all deployments. I do not want a copy of my standard data-sources.xml file to be included in every single deployment. I want my global data-sources.xml file to reside in the standard J2EE location of:
    oc4j_home/oc4j_instance_name/j2ee/config/data-sources.xml
    JDeveloper, for whatever reason, includes a data-sources.xml into every .war file. How do we configure JDev to omit the data-sources.xml? How do we set up JDev to automatically configure the .xml files (orion-application.xml, application.xml, etc) to use the global data-sources.xml? I do not want to manually do this for every deployment.
    I've been trying hard to find the answer in JDev online help and other OAS manuals. I read everywhere that I can have a "global" data-sources.xml, but I find no way to easily configure JDeveloper to do it this way.
    I would be grateful for you insights/help.
    thanks
    -Paul Janda

    I found the answer:
    In JDeveloper, Go to Tools | Preferences
    Select Deployment
    Uncheck the option for "Bundle default data-sources.xml during deployment"
    Upon the next generation of the .ear or .war file (including the next deployment), data-sources.xml will be omitted.
    -paul janda

  • How to prevent an encrypted backup from being restored to a different device?

    If I force an employee to do an encrypted backup (which I can do with a configuration profile), and that employee is fired. We take back the company iphone, but they go and buy a personal one. They connect the new, personal iphone to itunes and do a restore of the encrypted backup (they know the password) and now they have all the work related stuff on their personal phones. Is there a way to prevent an encrypted back from being restored to a different device id.

    We require encryption of our employee backups as well...and the problem you mention is a real one.....
     If you use Exchange, you could disable Exchange Active Sync to prevent them from subsequently connecting to Exchange Server and getting new data with the new personal device....but you would still have the old data as part of the backup...the other issue is that we've found that the profile is part of the backup and if an employee leaves, even on good terms, if he wants to restore say, his music from the backup without the profile, it becomes quite awkward...the profile would have to be removed, ( which removes everything added with the profile, possible email and wi-fi), then the user could backup music etc  with iTunes, then return the corporate phone to be salvaged or re-deployed...and later put his personal data back on another device without the profile...if there is a way around the issue you bring up I'd like to know of it as well. .  Perhaps there is an MDM with functionality that would help here....that is one great strength of the Blackberry platform..all corporate data can be controlled from the BES server. 

  • Can anyone explain how the LO data source flows from ECC to BI up to cubes?

    Dear all,
    Can anyone explain step by step (HOW THE DATA FLOWS)....By taking 2LIS_11_VAHDR  from SD , starting from Activate Data source in ECC  to Info Cube in BI7.0. Please this will be helpful -
    Thanks for the advance answers...
    Edited by: harishk.225 on Dec 23, 2011 9:56 AM

    Hi Harish,
    First go to RSA5 in ECC  select your datasource 2LIS_11_VAHDR and activate it.
    After activatin check in RSA6 whether the datasoure activated properly or not.
    Then log on  to BI sytem Select datasource and click on replicate.
    Then Create Infocube infopackage ,Transformation, DTP ...entire flow. But dont schedule it because there is no data in SETUP Tables.For full load first we need to run statistical set up , so that data should come to SETUP Table.
    Now go to ECC  enter T.CODE OLI7BW to filled up the SETUP Table  for datasource 2LIS_11_VAHDR.
    It will ask  you for Run Name etc give the run name and time limit and execute it.
    If you get some error then first delete the SETUP Table by using Transaction Code LBWG.
    In LBWG it will ask you for applicatiion number , give 11 i.e for sales datasourc and execute it.
    Data will get deleted from SETUP Table. To check data is deleted or not  in SET UP Tabe go to database table MC11VA0HDRSETUP. Always remember the name of SETUP Table will be Extract Structure followed by SETUP.
    EX : If extract structure name is MC11VA0HDR then name of the SETUP Table will MC11VA0HDRSETUP.
    If data gets deleted then again go to 0LI7BW and run the Statistical Setup then agan check in MC1VAOHDRSETUP table contains data or not.
    Then trigger the Infopackage and DTP in BI.  Above steps was for full load.
    Now to Load deltas follow below steps.
    First Create INIT at BI side which enable delta at ECC Side.
    Then go to ECC and execute T.CODE LBWE.
    LBWE is LO Cockpit Work Bench. There we have folowng functions 1.Maintan Datasource. 2.Maintain Extract Structure. 3. Job  Control.  4.Delta Type 5.. Activate/deactivate.
    If you want to add any new field to your datasource then to to Maintain Extract Strucutere remeber before adding or modififying datasource first we should deactivate datasource by using 5th function  Activate/Deactivate.
    Then select DELTA TYPE in delta type we have four types of delta. 1. Delta Queue (RSA7) 2. Queued Delta (LBWQ)
    3. Unserialized (SM13) , 4. Seriaized (SM13)
    If you select Delta queue then deltas drectly come to RSAT.
    if you select Queued Delta  deltas goes to LBWQ then you have perform V3 job by using Job Control  function to move data from LBWQ to RSA7. Remeber to BI  data  always goes from RSA7 only.
    If you select Unserealized then delta goes to SM13 again you have to perorm V3 Job to move deltas in RSA7.
    Serialize update is not in used in Lo-cockpit.
    There is a differerence between  DELTA QUEUE , QUEUED DELTA, UNSERIALIZE UPDATE. Pls find the differences on net.
    Then select your delta type and create deltas dtp in BI and start loading .
    Hope this help you.
    In RSA7 we have two tables delta and repeat delta, to know the functionality of this please search for the documents on  net.
    Regards,
    Asim

  • I would like to know how to prevent an iCloud track from being selected to play in one of the SmartPlaylists that I have made.

    How do I stop an ICloud tracks from playing in a SmartPlaylist?
    Thank You
    John

    mende1....I still have the problem.
    I have been trying out the "Show/Hide Music in the Cloud" in the View menu and it works fine as long as I am in the "Show/Albums/Artists/Genres" fields of ITunes.
    My problem still is that in my SmartPlaylist the iCloud tracks are still showing up and trying to download and play if I don't stop them time.  The Hide/Show Cloud doesn't even show up in the View menu if you are listening to a playlist smart or regular either one.
    My problem is that I'm on a Satelite connection (Hughes.net) and I'm only allowed 250 mb's download per week unless I download between 2 and 6 am New York time and then the download is free of charge other wise I have to pay extra.
    A real pain for sure..
    Any Ideas?
    thanks
    John

  • How I prevent the batting linestyle from being lost when opening an Autocad file in Illustrator?

    I have worked out how to open Autocad files in Illustrator, but Illustrator does not obviously recognise the batting linestyle I have used for insulation and it only appears as a straight line. Is there any where to preserve the batting line when opening the file in Illustrator?

    If a linestyle is not coming over, I would assign a unique color in CAD. This way you can select similar color in Illustrator, and change them easily in Illustrator.

  • How to prevent album cover artwork from being synced to the I Phone

    The album cover artwork is nice enough on the Mac but it is unweildy on the I Phone (I Phone 5 S). It spaces out the real information needed which is simply folder, playlist information. In fact, I can't shuffle music among all playlists contained in a single folder, a related problem. If necessary as a solution I could live without the album cover art anywhere in I Tunes, including on the laptop.

    Thanks for responding. Even when a tune is playing and the lower left photo is toggled to "now playing," the photo on the left is different than the album cover up on top. Both are the same ONLY on the first track of the album. The album cover on the top is apparently no longer available on Amazon, CD Universe, etc., so I can't move it to the desktop and enter it as a new piece of artwork. If I am too vague about what I'm attempting to do, please call me collect at 760.471.8011.

  • 903/902/BC4J can't get data-sources.xml conn pooling to work in production; help

    I have several BC4J ears deployed to a 903 instance of OC4J being configured as a standalone
    instance. I've had this problem since I started deploying in development on 902. So it's
    some basic problem that I've not mastered.
    I can't get data-sources.xml managed connection pooling to actually pool conn's. I'm wanting
    to declare my jndi jdbc source connection pool in j2ee/home/config/data-sources.xml.
    Have all BC4J apps get conns from this JNDI JDBC pool. I've removed all data-sources.xml from my BC4J ears,
    and published the jndi jdbc source in my oc4j common data-sources.xml. I've tested that this is
    the place controlling the conn URL/login passwd by commenting it out of config/data-sources.xml
    and my BC4J apps then throw exceptions, can't get conn.
    I've set the oc4j startup cmd line with the BC4J property to enabled connection pooling:
    -Djbo.doconnectionpooling=true
    symptom
    Connections are created and closed. Instead of being put back into the pool managed by oc4j,
    what ever BC4J is doing or my data-sources.xml is doing, the connections are just being created and
    closed.
    I can verify this via (solaris) lsof and netstat, where I see my oc4j instance under test load
    with only 1 or 2 conns to the db box, and the ephemeral port is tumbling, meaning a new socket is
    being opened for each conn. ;( grrrrrrr
    Does anyone have a clue as to why this is happening?
    Thanks, curt
    my data-sources.xml
    <data-sources>
         <data-source
            class="com.evermind.sql.DriverManagerDataSource"
            connection-driver="oracle.jdbc.driver.OracleDriver"
            ejb-location="jdbc/DEVDS"
            location="jdbc/DEVCoreDS"
            name="DEVDS"
            password="j2train"
            pooled-location="jdbc/DEVPooledDS"
            url="jdbc:oracle:thin:@10.2.1.30:1521:GDOC"
            username="jscribe"
            xa-location="jdbc/xa/DEVXADS"
            inactivity-timeout="300"
            max-connections="50"
            min-connections="40"
        />
    </data-sources>

    I've run another test using local data-source.xml, that's packaged in the .ear. Still
    pooling under BC4J doesn't work??
    A piece of info is that the 903 oc4j release notes states that global conn pooling doesn't
    work. Infering that the j2ee/home/config/data-sources.xml data sources aren't pooled or ??
    I just tested so called local connection pooling, where I edited the data-sources.xml that
    gets packaged in the ear, to include the min/max params and re-ran my test.
    Still, the AM creates a new conn, it's to a new socket, and closes the conn when done. Causing
    each conn to not be pooled, rather opened then closed to the DB box. As verified with lsof and
    netstat, checking the ephemeral port # on the DB box side, always changes, meaning it's a
    new socket and not an old pooled conn socket.
    ???? What the heck??
    Surely if the AM conn check out / return code works properly, OC4J's pooling JDBC driver would
    pool and not close the socket??
    Has anywone gotten JDBC Datasource connections in BC4J to actually be pooled under OC4J??
    Since I couldn't get this to work in my early 902 oc4j testing, and now can't get it to work
    still under 903 OC4J, either it's my config or BC4J AM's code or OC4J?
    Any thoughts on how to figure out what's not configed correctly or has a bug?
    Thanks, curt

  • 903/902/BC4J can't get OC4J data-sources.xml conn pooling to work in production: help

    [cross posted to the j2ee forum]
    I have several BC4J ears deployed to a 903 instance of OC4J being configured as a standalone
    instance. I've had this problem since I started deploying in development on 902. So it's
    some basic problem that I've not mastered.
    I can't get data-sources.xml managed connection pooling to actually pool conn's. I'm wanting
    to declare my jndi jdbc source connection pool in j2ee/home/config/data-sources.xml and
    have all BC4J apps get conns from this JNDI JDBC pool. I've removed all data-sources.xml from
    my BC4J ears, and published the jndi jdbc source in my oc4j common data-sources.xml.
    I've tested that this is the place controlling the conn URL/login passwd by commenting it
    out of config/data-sources.xml and my BC4J apps then throw exceptions, can't get conn.
    I've set the oc4j startup cmd line with the BC4J property to enabled connection pooling:
    -Djbo.doconnectionpooling=true
    symptom
    Connections are created and closed. Instead of being put back into the pool managed by oc4j,
    what ever BC4J is doing or my data-sources.xml is doing, the connections are just being created and
    closed.
    I can verify this via (solaris) lsof and netstat, where I see my oc4j instance under test load
    with only 1 or 2 conns to the db box, and the ephemeral port is tumbling, meaning a new socket is
    being opened for each conn. ;( grrrrrrr
    Does anyone have a clue as to why this is happening?
    Thanks, curt
    my data-sources.xml
    <data-sources>
         <data-source
            class="com.evermind.sql.DriverManagerDataSource"
            connection-driver="oracle.jdbc.driver.OracleDriver"
            ejb-location="jdbc/DEVDS"
            location="jdbc/DEVCoreDS"
            name="DEVDS"
            password="j2train"
            pooled-location="jdbc/DEVPooledDS"
            url="jdbc:oracle:thin:@10.2.1.30:1521:GDOC"
            username="jscribe"
            xa-location="jdbc/xa/DEVXADS"
            inactivity-timeout="300"
            max-connections="50"
            min-connections="40"
        />
    </data-sources>

    Thanks Leif,
    Yes, set it to the location jndi path.
    A piece of info is that the 903 oc4j release notes states that global conn pooling doesn't
    work. Infering that the j2ee/home/config/data-sources.xml data sources aren't pooled or ??
    I just tested so called local connection pooling, where I edited the data-sources.xml that
    gets packaged in the ear, to include the min/max params and re-ran my test.
    Still, the AM creates a new conn, it's to a new socket, and closes the conn when done. Causing
    each conn to not be pooled, rather opened then closed to the DB box. As verified with lsof and
    netstat, checking the ephemeral port # on the DB box side, always changes, meaning it's a
    new socket and not an old pooled conn socket.
    ???? What the heck??
    Surely if the AM conn check out / return code works properly, OC4J's pooling JDBC driver would
    pool and not close the socket??
    Has anywone gotten JDBC Datasource connections in BC4J to actually be pooled under OC4J??
    Since I couldn't get this to work in my early 902 oc4j testing, and now can't get it to work
    still under 903 OC4J, either it's my config or BC4J AM's code or OC4J?
    Any thoughts on how to figure out what's not configed correctly or has a bug?
    Thanks, curt

  • Problem with embedded data-sources.xml and custom UserManager

    Hi all,
    Our application uses a custom UserManager, which is basically extended from the JDBC UserManager, declared as follows in orion-application.xml:
         <user-manager class="com.infocorpnow.a2g.security.oracle.A2GUserManager">
              <property name="table" value="pos.users" />
              <property name="userNameField" value="username" />
              <property name="passwordFiled" value="password" />
              <property name="dataSource" value="jdbc/A2GDS" />
              <property name="groupMemberShipTableName" value="pos.user_roles" />
              <property name="groupMemberShipGroupFieldName" value="role_name" />
              <property name="groupMemberShipUserNameFieldName" value="login_id" />
         </user-manager>
    Since we want to be able to deploy the application several times on the application server, and therefore have each deployment of the ear point to its own datasource (i.e. its own local "A2GDS"), we've found out how to embed data-sources.xml inside the EAR file we're deploying, and modify the orion-application.xml as follows:
         <data-sources path="./data-sources.xml" />
    And then place data-sources.xml in the same meta-inf folder as the orion-application.xml.
    This has worked fine when deploying to the standalone OC4J.
    Now when I try to deploy the exact same EAR file in Oracle 9iAS, and I get to the User Manager screen, the Custom User Manager does not show up correctly. It did show up prior to me embedding the data-sources.xml. Please help? This is fairly urgent.
    Thanks
    Jason

    I should also mention I'm using the Java Edition of 9iAS R2 (9.0.3 container) on Solaris.

  • How to define data-sources-alias.xml to use Oracle data source

    Hi,
    I created Oracle jdbc Data Source named "MYDS" in Visual Admin.  I added the alias = MYDS_ALIAS.  I set the Initial Connection to 2.  On the Monitor tab, I see a green line running across the screen.  The datasource MYDS is connected to the Oracle.
    Now, I would like to define "data-sources-alias.xml" to use MYDS.
    When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
    I followed the link --> How to point data-source-aliases.xml to another Datasource
    and my data-sources-alias.xml is now:
    <data-source-aliases>
         <aliases>
              <data-source-name>$</data-source-name>
              <alias>BRANCH50DS</alias>
         </aliases>
    </data-source-aliases>
    The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
    1) How to define data-sources-alias.xml to use Oracle data source?
    2) I found the link (SDA Deployment error) talking about "sda-dd.xml".  How to create "sda-dd.xml" and make it use substitution variables "MYDS"
    Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [003]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
    <!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
    <!PATTERN[sdmcl20051220205339.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Dec 20, 2005 3:53:39 PM  Info: -
    Starting deployment -
    Dec 20, 2005 3:53:39 PM  Info: Loading selected archives...
    Dec 20, 2005 3:53:39 PM  Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
    Dec 20, 2005 3:53:40 PM  Info: Selected archives successfully loaded.
    Dec 20, 2005 3:53:40 PM  Info: Actions per selected component:
    Dec 20, 2005 3:53:40 PM  Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: Saved current Engine state.
    Dec 20, 2005 3:53:40 PM  Info: Error handling strategy: OnErrorStop
    Dec 20, 2005 3:53:40 PM  Info: Update strategy: UpdateAllVersions
    Dec 20, 2005 3:53:40 PM  Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
    Dec 20, 2005 3:53:40 PM  Info: Software type of SDA: J2EE
    Dec 20, 2005 3:53:40 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Info: Begin of log messages of the target system:
    05/12/20 15:53:40 -  ***********************************************************
    05/12/20 15:53:41 -  Start updating EAR file...
    05/12/20 15:53:41 -  start-up mode is lazy
    05/12/20 15:53:41 -  com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
                              at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
                              at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
                              at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
                              at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
                              at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
                              at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
                              at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
                              at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
                              at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
                              at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
                              at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
                              at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
                              at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
                              at java.lang.Thread.run(Thread.java:534)
    05/12/20 15:53:41 -  ***********************************************************
    Dec 20, 2005 3:53:41 PM  Info: End of log messages of the target system.
    Dec 20, 2005 3:53:41 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Dec 20, 2005 3:53:41 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Dec 20, 2005 3:53:41 PM  Error: -
    At least one of the Deployments failed -

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • ConnectionCacheName not read from data-sources.xml

    I created a simple web application to test the use of the ConnectionCacheBean (from the jdbc 3.0 examples page). I read through the code and some other articles regarding data sources and noted that you "should" be able to set the connection cache name and caching enabled, as well as failover support, even in oc4j 9.0.4 and 10.1.2. I tried this (at least the first two), and it would NOT set the cache name.
    The data-sources.xml entry was the same as in the one documented here:
    http://www.oracle.com/technology/tech/java/newsletter/articles/oc4j_data_sources/oc4j_ds.htm
    What gives?
    Also, I tried to simulate the database going down - I killed all the sessions rather than doing a shutdown, but anyway... even with a connection cache property of validatelogin (i think that's the name) to true, and a refresh of invalid connections (they'd all be invalid if I killed them), it would only reactivate ONE SESSION. If I refreshed ALL Sessions, then it would do 9 of the 10 sessions (10 being my initial cache limit).
    Any ideas?
    I can post the code if that is an issue.

    A response I got back from Frances Zhao regarding the two issues that I experienced was:
    Issue#1: Cannot set the connectionCacheName via data-sources.xml
    1. This is very likely because of an OC4J bug that affects the actual order of
        setting each <property> specified in data-sources.xml.  The connection cache
        in OracleDataSource requires the cache-name property be set after the cache
        is enabled; but OC4J may not always follow this order, causing the name
        to be null.  If you really need the cache name, you have to do it in the code
        for now.
    Issue#2: Can't refresh the invalid connections
    2. These are known issues in the Oracle JDBC driver in both 10.1.0.4 and
        10.2.0.1.  The fix for the REFRESH_INVALID case will be in the next
        patch release for both 10.1.x and 10.2.x; the fix for the REFRESH_ALL
        case will come later.

  • How can I prevent a PDF file from being copied, printed or downloaded? Students should only be able to view the text and and not distribute it in any way.

    How can I prevent a PDF file from being copied, printed or downloaded? Students should only be able to view the text and and not distribute it in any way.

    You can prevent it from being printed by applying a security policy to it
    in Acrobat. The rest can't be prevented, unless you spend  a LOT of money
    on DRM protection.

  • How to add a data-source.xml to the project to config DB connections and to be SCM'ed

    I'd like to explicitly manage a data-sources.xml for my JSP + BC4J project.
    Any helps on getting the released Jdev to add a data-source.xml that would then
    be what the .ear deploys to OC4J?
    Thanks, curt

    I have a JSP + BC4J project:
    So far my naive experiments to explicitely add data-sources.xml to a
    project that is picked up by the deploy to .ear step and put in the
    root of the .ear have failed.
    Is this one of those gaps like the orion-application.xml file, that has no
    solution at present?
    Or is the back-door via adding an EJB component to my project, then deleting it??
    Thanks, curt

  • How to make JDev leave out data-sources.xml

    Greetings
    I would like to have jdeveloper leave out data-sources.xml. I have my test server setup with all the data-sources so this isn't needed. All it does is create bunches of data sources on my server then I go in and delete them.
    Is there a way somewhere in jdeveloper or my deploy profiles were I can tell it to leave this file out so it just uses the ones I have already setup on the server?
    thanks
    troy

    I think you can control this by going to tool->Embedded OC4J Preferences->Data sourcesI think the original author meant to ask for a way to exclude data-sources.xml when deploying to an external application server.
    So far the only way I've found out to work is to manually blank the 'dataSourcesPath' field in "Configure Application" dialog before actual deployment takes place.

Maybe you are looking for

  • How can I transfer my itunes library from one computer to another?

    I have my itunes on my laptop which is dying. The cdrw drive is broken so I cannot make a backup copy of itunes. Therefore, I would like to transfer my itunes into my new desktop computer which has a DVD-RW drive. This way I will be able to backup my

  • Oracle BI 11g: Error at the step - "Creating BI Server System Components"

    I am attempting to install Oracle BI 11g on a Windows VM. The installation process completes successfully. However, the configuration process errors out at the step - Creating BI Server System Components. The last entry in the install log is as below

  • Retrieve backed up bookmarks on Ipad

    Hi! So recently I backed up my ipad on the PC. Then restored original settings and the back up as well. I don't set my ipad to sync because I prefer to manually manage most of the stuff -- and use the back up function instead. However, while I can re

  • Need advice on easy workflow for exporting all my (iPhoto) video to DVD

    Didn't know which group to post this to. It's a 'consumer' need but I need expert insights. I have several years of video clips in iPhoto, taken on consumer digicams and iPhone. I want an EASY way to get these strung together for burning to DVD prima

  • Full screen windows dissappears when activating guake

    I'm running Arch in i a VirtualBox, using Gnome 3.10.2. I also use guake. Whenever I summon guake, any fullscreen window in the background disappears, or is hidden. At least this happens with both Firefox and gvim. I can switch back to these windows