Problems with duplicate persistence units

I suppose that Weblogic 10.3 do not support some locations of persistence.xml.
For example. On Jboss server I can succesfully deploy ear with this structure
-services-ejb.jar
-services-ws.jar
-/APP-INF/lib
-/APP-INF/lib/services-jpa.jar with persistence.xml i META-INF
-/META-INF/application.xml
But on Weblogic 10.3 it is impossible. Weblogic got an error with duplicate PU in the same location...
<2009-06-04 16:06:18 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.JpaFlow.prepare(JpaFlow.java:59)
weblogic.deployment.EnvironmentException: duplicate persistence units with name servicesJPA in scope services-ear.
First PU location: file:D:/apache/bea10.3/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/services-ear/skzpn4/APP-INF/lib/services-jpa.jar.
Second PU location: file:D:/apache/bea10.3/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/services-ear/skzpn4/APP-INF/lib/services-jpa.jar
My application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
<description>services ear</description>
<display-name>services-ear</display-name>
<module>
<ejb>services-ejb.jar</ejb>
</module>
<module>
<web>
<web-uri>services-ws.war</web-uri>
<context-root>/services-ws</context-root>
</web>
</module>
<library-directory>APP-INF/lib</library-directory>
</application>
Is any solution to keep persistence in library directory?

Edwin,
I have tried the same thing that you describe in question one in the attached VI. If you change the data ranges and then run the VI, you will note that the numeric value will only ba allowed in the new range. (If the current value is outside of the range that you have set, then you will need to change the value of the cotrol to be in the new range before the new range properties will take effect.)
As for your second question, can you expand upon this? I am not sure that I understand what you mean. Is an example VI possible? Thanks
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
Attachments:
Data_Range_with_Units.vi ‏22 KB

Similar Messages

  • Duplicate persistence units in JPA weblogic

    Hello, I'm cross-posting thsi question from weblogic forum as a suggestion from james.bayer.
    I am using weblogic 10.3.
    I am trying to deploy a spring web application with severaljars, that contain jpa entities with a persistence.xml. The persistence unit name in all persistence.xml are equal. That is for spring no problem, because i wrote a PersistenceUnitManager, that merges all persistence units into one.
    So far so good. But weblogic cant't deploy the war, because while validation of the deployment, wls throws an exception, that there are two persistence unit with the same name.
    Does anybody has an idea how to deploy this war?
    Can i switch off the validation of the persistence.xml?
    The full stack trace is:
    weblogic.application.ModuleException: Failed to load webapp: 'sfw-poc-condicao-pagamento-web.war'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.deployment.EnvironmentException: duplicate persistence units with name sfw-persistence-unit in scope sfw-poc-condicao-pagamento-web.war. First PU location: file:/C:/java/servers/Oracle/Middleware/user_projects/domains/base_domain/servers/softway/tmp/_WL_user/sfw-poc-condicao-pagamento-web/rrg25b/war/WEB-INF/lib/sfw-class-loader-0.0.1-SNAPSHOT.jar. Second PU location: file:/C:/java/servers/Oracle/Middleware/user_projects/domains/base_domain/servers/softway/tmp/_WL_user/sfw-poc-condicao-pagamento-web/rrg25b/war/WEB-INF/lib/sfw-custom-jar-0.0.1-20100622.030351-65.jar
         at weblogic.deployment.AbstractPersistenceUnitRegistry.assertNoDuplicate(AbstractPersistenceUnitRegistry.java:313)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.processDescriptor(AbstractPersistenceUnitRegistry.java:291)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:192)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:101)
         at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:58)
         at weblogic.servlet.internal.WebAppModule.setupPersistenceUnitRegistry(WebAppModule.java:1812)
         at weblogic.servlet.internal.WebAppModule.getWebClassLoader(WebAppModule.java:1604)
         at weblogic.servlet.internal.WebAppServletContext.initClassLoader(WebAppServletContext.java:2969)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:438)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:487)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Thanks a lot

    They need to have different names.
    James : http://www.eclipselink.org

  • Duplicate persistence units

    I'm trying to install an EAR file generated by jDeveloper to a Weblogic server, but I get the following error messages from weblogic while trying to deploy:
    Failed to load webapp: 'ichipscreens',
    duplicate persistence units with name JpsDBDataManagerV2 in scope ichipscreens. First PU location: file:/home/weblogic/middleware/user_projects/domains/middleware_domain/servers/AdminServer/tmp/_WL_user/ichipscreens/l4qn3z/lib/jps-internal.jar. Second PU location: file:/home/weblogic/middleware/user_projects/domains/middleware_domain/servers/AdminServer/tmp/_WL_user/ichipscreens/wo22a/war/WEB-INF/lib/jps-internal.jar
    What does this mean? When I deploy to jDeveloper's integrated weblogic server it doesn't have this error.

    It looks to me that as part of the JDeveloper packaging step, it's putting the same module (jps-internal.jar) with the same persistence-unit defined, into two different locations within the application being deployed, that are considered to be of the same scope. When you deploy it, WLS is telling you it considers this to be an error.
    I'm not a regular user of JDeveloper, but I'd perhaps look at the project properties or the packaging configuration to see if there is a duplicate entry for jps-internal.jar. When you deploy to the embedded WLS in JDeveloper, I'm guessing that JDeveloper an exploded directory deployment approach so the actual packaging that is causing the problem isn't performed.
    -steve-

  • Duplicate Persistence Unit error msg?

    Deploying my ear on Weblogic 10 has given me a strange error. It is saying that I am deploying two Persistence Units with the same name, even though I only have one Persistence Uni. As you can see from the stack trace, it's complaining about the same jar for the "First PU and Second PU", even though this jar only has one persistence.xml file. How is this possible?
    <5-Sep-2008 3:56:36 o'clock PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1220644591734' for task '26'. Error is: 'weblogic.management.DeploymentException: '
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.JpaFlow.prepare(JpaFlow.java:47)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         Truncated. see log file for complete stacktrace
    weblogic.deployment.EnvironmentException: duplicate persistence units with name default in scope appsdirservices-ear-1.111-SNAPSHOT_ear. First PU location: file:C:/oats/bea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_services-ear-1.111-SNAPSHOT_ear/230cqk/APP-INF/lib/model-jar-1.111-SNAPSHOT.jar. Second PU location: file:C:/oats/bea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_services-ear-1.111-SNAPSHOT_ear/230cqk/APP-INF/lib/model-jar-1.111-SNAPSHOT.jar
    Here is my persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="1.0">
    <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
              <provider>
    org.apache.openjpa.persistence.PersistenceProviderImpl
    </provider>
              <class>com.base.address.Contact</class>
              <class>com.common.address.USAddress</class>          
              <properties>
                   <property name="openjpa.jdbc.DBDictionary" value="oracle(DriverVendor=oracle)"/>
                   <property name="openjpa.Log" value="DefaultLevel=WARN,SQL=TRACE"/>
                   <property name="openjpa.ConnectionURL" value=" jdbc:oracle:thin:@XX.XX.XXX.54:1542:XXXR33"/>
                   <property name="openjpa.ConnectionDriverName" value="oracle.jdbc.driver.OracleDriver"/>
                   <property name="openjpa.ConnectionUserName" value="XXX_XX "/>
                   <property name="openjpa.ConnectionPassword" value="XX_XXX "/>
    </properties>
    </persistence-unit>
    </persistence>

    You should try into a more appropriate forum : [WebLogic Server - General|http://forums.oracle.com/forums/forum.jspa?forumID=570]
    Nicolas.

  • Duplicate persistence unit name in war

    Hi!
    I am using weblogic 10.3.
    I am trying to deploy a spring web application with two jars, that contain jpa entities with a persistence.xml. The persistence unit name in both persistence.xml is equal. That is for spring no problem, because i wrote a PersistenceUnitManager, that merges both persistence units into one.
    So far so good. But weblogic cant't deploy the war, because while validation of the deployment, wls throws an exception, that there are two persistence unit with the same name.
    Does anybody has an idea how to deploy this war?
    Can i switch off the validation of the persistence.xml?

    Thanks for the response James.
    I'm using hibernate as my JPA provider. I'm not sure if weblogic is first loading it's own jpa implementation and management, and getting confused with mine. How could I check this ?
    I did however create a weblogic.xml in my web-inf folder, with the following property
    <weblogic-web-app>
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    Here is the full stack trace:
    Hi!
    I am using weblogic 10.3.
    I am trying to deploy a spring web application with two jars, that contain jpa entities with a persistence.xml. The persistence unit name in both persistence.xml is equal. That is for spring no problem, because i wrote a PersistenceUnitManager, that merges both persistence units into one.
    So far so good. But weblogic cant't deploy the war, because while validation of the deployment, wls throws an exception, that there are two persistence unit with the same name.
    Does anybody has an idea how to deploy this war?
    Can i switch off the validation of the persistence.xml?
    Any ideas ?
    Thanks,
    John

  • Reinstalling iTunes, problem with duplicates

    I have an iMac 2GHZ running OS X v10.5.7 which is having multiple longstanding problems with freezing/errors and no significant problems show up after running disc utilities (repairing permissions etc..) or Tech Tool. Also my itunes music folder is full of duplicates that don't show up on my i tunes duplicate or "Dupin" duplicates list. iTunes library shows 43 GB space used and iTunes Music folder shows 95 GB space used.
    I would like to start from scratch, reformat my hard drive and reinstall iTunes to see if it solves most of the problems. I am using Time Machine for backup but also can make a bootable clone with Super Duper. I wonder if it would be better to restore my iTunes from an iPod since none of the duplicates exist there.
    Suggestions?
    Thanks,
    B

    a lot of people are having similar problems
    a temporary solution i discovered is desribed on this thread
    http://discussions.apple.com/thread.jspa?threadID=658807&tstart=15

  • RECENT PROBLEMS WITH DUPLICATE CONTACTS

    I have an IPhone. All has been well for months until 2 days ago (possibly after the update I did on IPhone).
    Since then my contacts - which are getting synced via ICal - have duplicated - both in Entourage and Plaxo.
    I have run the "De-duper" in Plaxo and get back to single set.
    Yesterday I painstakingly manually deleted almost 700 contacts from Entourage.
    I reset "Sync Services".
    But this morning the duplicates are all back.
    In my ITunes/IPhone Info tab, it does not show where the contacts are coming from - just says Personal.
    On the calendars, I see 3 calendars that are synching - Home, Work & Personal.
    Plus - and this may be unrelated - it seemed to have chnaged the default email address for some contacts in Entourage.
    Help !!!!
    I am afraid to sync my IPhone for fear I will end with duplicates in my contacts & on my calendar.
    How do I stop this madness?
    Thanks.

    I had the same problem after 1.1.3. I'm on Windows XP using Outlook. I need something to clear the dups off the iPhone.

  • Problem with duplicate files being created

    I'm having a problem with PSE7 copying files from my camera card to my computer.
    It will copy over all new jpg files fine but once it gets to the NEF (RAW)  files it will not only copy the new files from today but recopy all  those NEF files from other days that are already downloaded so that I end up with files like this:
    DSC_2200.NEF
    DSC_2200-1.NEF
    DSC_2200-2.NEF and so on.  It's very annoying and I have to repeatedly  delete all the duplicate files and this takes up time. I do use the  global search function in Windows to delete them but would prefer they  don't do this in the first place. They do eat up a lot of space.
    I have the settings set to only copy over new files in PSE so why is it copying over older files? Does anyone have any clues?

    You can set up a scan when you create a new device in System Preferences:
    go to System Preferences --> FCSVR Pref pane --> Devices Pane and then choose create new device ("+" sign and the Device Assistant will appear. You choose the type and then you can set up a Full or Add only Scan here.)
    Other option is to set up a Scan via the Administration window in the Java Client:
    This is not as easy since there is no Device Assistant.
    go to Admin window in Java Client --> Response and then create a new 'Scan' response on the device you want to scan. 'Scan Productions' is something different, maybe you want that instead, I don't know. Depending on how you set it up, it can create a Production in FCSVR catalogue for each folder or subfolder and that media will be scanned and placed into that Production in FCSVR catalogue.
    Anyways, once you create the Scan Response, go to Admin pane --> Schedule. Create a new schedule and add the 'Scan' response you just created to the "Response List" section. Don't forget to check "Enabled"...can't tell you how many times I created the response but then forgot to enable it.
    Once you scan the assets, they are in the FCSVR catalogue with clip proxies, thumbnails and posterframes. If you have existing FCP projects that use this media, you will want to make sure the media in the FCP project is connected to that same media that was scanned. When you upload the FCP project, it will not dup the assets, just add the FCP project to it, unless you didn't set the EIP device correctly. If you look in Search All Jobs, the only thing that should be generated at this point it Edit Proxies (if you enabled them) and Elements.
    Now my question to you is the same as Chris' question here http://discussions.apple.com/thread.jspa?messageID=9147105#9147105. How did you set things up so far? What is your workflow? Where is your media?

  • Problem with Duplicate Movie Clip which is tracked in an Array

    I have a problem with my inventory code using Shared Objects.
    What i did was to track the collected items in an array. Each time
    the user collects an item, the original iconMC is duplicated and
    loads a picture of the item (function loadImage). However, my
    problem is that this retains the original array so even if I
    already added new items into the inventory, the newest item doesn't
    show. original array length = 2, new array length = 3; the last
    item doesn't show. If I reload my flash, its the only time that
    this shows. Now if I get an item and lessen the inventory, it still
    retains the original length and doubles (or triples, depending on
    how many items i lessened) the last item.
    var so:SharedObject = SharedObject.getLocal("lakbayUser",
    var i:Number = so.data.currentUserIndex;
    var ctr = 0;
    var iconCtr;
    var iconArray: Array; //temporary storage of items placed
    inside icon
    function selectIcon(num){
    eval("iconMC"+num)._alpha = 0;
    so.data.users
    [15][0] = true;
    so.data.users[15][1] = iconArray
    //loads the next icon
    function setNextIconMC(itemCtr, iconCtr){
    if(iconCtr > 0) {
    newName = "iconMC" + iconCtr;
    newPos = 130 * iconCtr;
    _root.itemaHolderMC.iconHolderMC.iconMC0.duplicateMovieClip(newName,iconCtr+1);//does
    not duplcate if unloadMovie is called
    this[newName]._x = newPos;
    this["iconMC"+iconCtr].enabled = true;
    this["iconMC"+iconCtr]._alpha = 100;
    loadMovie("gamit/icon"+itemCtr+".jpg",_root.itemaHolderMC.iconHolderMC[newName]);
    trace(_root.itemaHolderMC.iconHolderMC[newName]);
    else {
    iconMC0.enabled = true;
    iconMC0._alpha = 100;
    loadMovie("gamit/icon"+itemCtr+".jpg",_root.itemaHolderMC.iconHolderMC.iconMC0);
    //loads all the icons into the container
    function loadImage(){
    iconCtr=0;
    iconArray = new Array();
    for(itemCtr = 0; itemCtr < so.data.users
    [14].length; itemCtr++){
    if(so.data.users[14][itemCtr] == true){
    iconArray[iconCtr] = itemCtr;
    setNextIconMC(itemCtr,iconCtr);
    iconCtr++;
    if(iconCtr==0){
    iconMC0._visible = false;
    else iconMC0._visible = true;
    loadImage();
    so.flush();
    stop();

    hey there yenniie - each time you update the array you must
    also call 'flush' to update the SharedObject. also please use the
    'attach code' button to post code, as you can see what happened in
    your post with the ' i ' value. So assuming I'm interpreting the
    the missing characters correctly the method should be:

  • Problems with DUPLICATE DATABASE when datafile was added after full backup

    Hi,
    I'm facing a problem when performing database duplication with the RMAN duplicate database command on a 10g database. If I preform the duplication from a full backup that is missing a datafile which was added to the database after the full backup, I get the following error message:
    Starting restore at 10-10-2009 18:00:38
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 43The redo log which was CURRENTat the time of the datafile's 43 creation is also available in the backups. It seems like RMAN can't use the information from the archived redo logs to reconstruct the contents of datafile 43. I suppose that because the failure is reported already in the RESTORE and not in the RECOVER phase, so the archived redo logs aren't even accessed yet. I get the same message even if I make a separate backup of datafile 43 (so a backup that is not in the same backupset as the backup of all other datafiles).
    From the script the duplicate command produces, I guess that RMAN reads the contents of the source database's controlfile and tries to get a backup which contains all the datafiles to restore them on the auxiliary database - if such a backup is not found, it fails.
    Of course if I try to perform a restore/recover of the source database it works without problems:
    RMAN> restore database;
    Starting restore at 13.10.09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
    .....The datafile 43 is recreated and then redo is applied over.
    So, does anyone know if duplicate database can't use archived redo logs to recreate the contents of a datafile as a normal restore/recover does? If it's so, then it means it's necessary to perform a full database backup before every run of duplicate database if a datafile was added after such a backup.
    Thanks in advance for any answers.
    Regards,
    Jure

    Hi Jure,
    I have hit exactly the same problem during duplication.
    Because we backup the archive logs every 6 hours with rman I added an extra run block to this script.
    run
    backup incremental level 0
    format 'bk_%d_%s_%p_%t'
    filesperset 4
    database not backed up;
    (I also than hit a bug in the catalog which was solved by patching up the catalog dbs from 11.1.0.6 to 11.1.0.7.)
    This will narrow down the datafile not being part of any rman backup to 6 hours while skipping datafiles for which a backup already exists.
    Regards,
    Tycho

  • Problems with programmaticly changing units

    I'm using the units feature of LabView 6.1 (base) and ran into two distinct problems.
    The first one appeared when I try to programmatically set the data range on a numerical control. While the value property has units, the data range properties do not. Which makes those properties pretty much useless when units are used (and therefore belongs in the bugs category). I have been unable to find an alternative way to convert the data range into the same units specified in the control.
    My second problem arose when I had to implement custom scales because of the inability of LV to write back scaling constants. However, I can't seem to include units in my own setup because "convert unit" only works with a fixed scale and I have
    not been able to find any VIs capable of handling units in a more dynamic way so that I can set them according to a saved string value.
    Are there any options available that I missed which could help me with these issues?
    Edwin

    Edwin,
    I have tried the same thing that you describe in question one in the attached VI. If you change the data ranges and then run the VI, you will note that the numeric value will only ba allowed in the new range. (If the current value is outside of the range that you have set, then you will need to change the value of the cotrol to be in the new range before the new range properties will take effect.)
    As for your second question, can you expand upon this? I am not sure that I understand what you mean. Is an example VI possible? Thanks
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask
    Attachments:
    Data_Range_with_Units.vi ‏22 KB

  • Problem with duplicate and/or outlined fonts in Macintosh

    If you are using Frame for Macintosh and you find you have duplicate Arial and/or Times New Roman fonts, or, if these fonts show up on the screen as outlines, the problem may be that you have the 2.9x versions of these fonts, the latest as of this writing (31 August).
    You can find older 2.60 versions on the Apple OS 9.2 Install CD, deep in a Microsoft Internet Explore install folder (a Sherlock search will find them).
    DEAD LINK, LEFT HERE FOR HISTORICAL PURPOSES: In case you're interested, you can find the 2.9x versions at http://www.microsoft.com/mac/download/office2001/fontsupdate.asp. The page says "New Apple Macintosh versions of Times New Roman (2.91) and Arial (2.90) This update includes a fix for a problem that prevented certain characters from being printed on PostScript level 3 printers", so I'm hesitant to say that you should not use these newer fonts at all.

    i had been running the program inside Netbeans.
    Running the jar using the command line outside
    Netbeans i have no more problems... Does Netbeans use
    it's own JVM?Depends how you set it up, but look under the options. There are settings for the compiler and jvm that it uses.

  • Problem with duplicate entries in a structure.

    Hi,
    I am creating a custom structure by including 2 structures in it as DRSEG and COBL_MRM_D.
    Now both the structures have many common fields and hence it gives an error on check.
    Is there any workaround to create the structure in DDIC by including both the above structures.
    Pls help with your ideas.
    Thanks,
    stock.

    Hi
    Create a DDIC structure which has all the common fields. Include this structure only once .
    Then include the fields which are not common from both the structure into the created structure . so that no duplicates entries are present
    OR
    Include the first structure then dont include the second structure include only the fields which are not common to both . this also eliminates the duplicates

  • Problems with duplicate fonts

    The other day I was looking into "Font Book.app" and notice I had a few duplicates so I removed them. Now I have a few applications that don't work, like Zino (Magazine reader) it unexpectedly quits. So I contact Zino and they ask me to send them the first part of the report that generates an application when it unexpectedly quits. And they notice I had no Arial font activated. The problem is that I do have the Arial font in my "Font Book" application but I guess is the duplicate Arial font that the application is looking for. My question is how can I get this duplicate fonts back?
    Blue skies and happy new year!
    Jerry

    how did you deactivate those fonts? did you use Font Book or did you manually delete the fonts? if the former, then reboot once in safe mode. reboot and hold shift at the chime. once you boot in safe mode reboot again and log in normally. this will clear your fonts cache and all you inactive fonts will be reactivated.

  • Problem with duplicates record

    I have created an SAP_DataMart Fixed Query in SAP MII but I am getting duplicates records.
    Also, in my parameters settings I have  - PARAM.20 - 20140601  and PARAM.21  - 20140615 for dates
    Yet, I have the dates only displaying for 20140601 to 20140608?
    Please see attached part of a screenshot.
    Thank you.

    Hi Amr,
    It probably looks like an issue with the query itself. I suggest you verify the query by executing it directly in the source data system e.g in SAP using SQ01 and see if you get the same results.
    If yes, then it is a query join issue.
    Regards,
    Saumya Govil

Maybe you are looking for

  • Where can I find the Oracle SOA Suite Developer's Guide

    Hi Could anybody help me, where can I download this document ? Many thanks!

  • IMG Configuration for Open Enrollment

    Hi , I have a requirement wherein I have to do the IMG Configuration for Open Enrollment to bring a hyperlink for the same in SAP Enterprise Portal. As I am very new to ESS/MSS, I would require your help to achive the above functionality up and runni

  • How to provide different plor series for plot chart

    How to provide different plot series for a Plot Chart. The IDs of the series are given in a ComboBox control

  • Nullify the stock from Blocked Stock.

    Hi, I want to nullify the stock for a materials which is lying in blocked stock. The base unit of measurement for that material lying in blocked stock is 0 Ea but the parallel unit of measurement is 3.16 KG. Please guide how to nullify the stock for

  • Notify about number of new mails Nokia X

    One thing I spotted, I can place mail shortcut on main screen but it does not notifiy me about newly arrived mails. This should be changed, because now I always have to open the mail account to check for mails.