Possible to copy or rename JDBC datasources in WLS 9.2 ?

Hello All,
We are going to be migrating our 9.2.3 environments to from an Oracle 9i database to Oracle 10g Cluster. We currently utilize approximately 20 datasources for all of our applications. Currently all of our applications each use one JDBC datasource, eg AppDS. However rather then modify our application configurations, we are going to create 2 new datasources, e.g. AppDS1, and AppDS2, along with a new Multi-datasource, named AppDS. This requires us to delete the original datasource AppDS so it can be replaced with a Multi-Datasource.
This would be so much easier if A) we could rename the existing datasource rather then delete it (i.e. rename AppDS to AppDS1), and B) copy datasources (i.e. copy AppDS1 to AppDS2.) Unfortunately there are no such options in the WLS console. Is it possible to do this modifiying the config.xml without my changes getting overwritten ? Would I need to propagate the config.xml and the newly created jdbc config files to the other server in our cluster or will WLS do it for me ? The copy feature (aka 'clone') was in WLS 8.1 and it is sorely missed in 9.2 !
-Joe

Thanks, I thought I could do that but have had mixed results with the servers starting up, most likely due to typos on my part. Does Weblogic expect a standard naming convention for the XML files in the config/jdbc directory if I create a new datasource by cutting/pasting inside the config.xml ?

Similar Messages

  • Non-jdbc datasource for MapViewer

    Is it possible to specify a non-jdbc datasource for Oracle MapViewer?
    That is, if I want Mapviewer to access the database through my own data layer, or with an ORM, is it possible?
    Thanks,
    Rupesh

    I copied jdbcdrv.zip intp C:\Program Files\Sybase\SQL
    Anywhere 9\java
    and using Java page in CF admin, added C:\Program
    Files\Sybase\SQL Anywhere 9\java to classpath, restarted CF
    Application server.
    I then defined new datasources using existing ODBC dsns as
    described in
    http://www.ianywhere.com/developer/product_manuals/sqlanywhere/0902/en/html/dbpgen9/000001 52.htm
    (doesn't seem kosher but that's what my model showed).
    It's not exactly speedy but I've not gotten any errors yet
    (maybe because it isn't speedy)
    Anybody have any idea if there is another way that doesn't
    use anODBC dsn ?

  • JavaFX Composer and jdbc datasource

    I'm trying to build a javafx application that is basically a CRUD interface for a Microsoft SQLServer DB. I can drag and drop the jdbc datasource into my scene, and I can execute the select query against the table. I have copied over the jar file containing the sqlserver driver (using the Project->Properties dialog). When I try to run the project, I get an error message that no suitable driver is found for the connection string that is being used.
    The connection string for the sqlserver driver is: jdbc:sqlserver://DEVSQL-SERVER:1433;databaseName=User;
    Does anyone know if it's not currently possible to use datasources other than the built-in derby db?
    Seems like you should be able to use any datasource if you have the required jar file for the drivers.
    TIA,
    Kevin

    Hi,
    The JDBCDataSource is using JDBC API but it does not register/initialize any particular driver.
    Therefore you should have the following line of code added at the beginning (right after the package statements) of the Main_run.fx file:
    Class.forName ("jdbc.Driver");
    where jdbc.Driver is a fully-qualified class name of your JDBC driver.
    Regards,
    David

  • Cannot deploy application because of JDBC datasource target misconfigured

    --- environnement ---
    Weblogic 10.3.2
    Windows 2008 R2
    Sun Java 6
    Hello, I'd like to have your advices on my issue.
    I tried to deploy an application in my weblogic domain but it kept on status deploy running
    My domain is configured as follow
    clusterA and clusterB
    JDBC datasource targets on clusterA and clusterB
    Today we had to rename clusterB to clusterC
    and we cannot start the managed servers (they stayed in ADMIN state) so we tried to redeploy the application but the deployment process'status was deploy running
    After investigating for a very long time, we finaly noticed that our JDBC datasource was misconfigured. After correcting this, the deployement was successfull.
    now I'm wondering how a misconfigured JDBC datasource can prevent a deployement of an ear, maybe the code is requesting something during its deployement but I don't know the application and looking at the stacktrace didn't give me any clue except the hibernate message.
    Thanks in advance for your advices.
    For info here's the stacktrace:
    ####<Apr 13, 2011 5:32:24 PM CEST> <Error> <Deployer> <EQDG1UZSMRTD001> <SmartDispatcherNodeConsole1> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302708744385> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1302708738983' for task '36'. Error is: 'weblogic.management.DeploymentException: '
    weblogic.management.DeploymentException:
         at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:157)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:371)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection avalable
         at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:107)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:138)
         at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339)
         at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
         at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:343)
         at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:323)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:125)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:336)
         at weblogic.deployment.EarPersistenceUnitRegistry.initialize(EarPersistenceUnitRegistry.java:75)
         at weblogic.application.internal.flow.InitJpaFlow.prepare(InitJpaFlow.java:38)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hello,
    Here is the solution...
    Solution 1:
    Undeploy sap.com/cafUIservicebrowser from SP06 or SP07 before starting upgrade to SP11.
    Solution 2:
    Upgrade to SP08 first and than to SP11.
    The Solution was discussed on NW04s STAB and accepted due to following reasons:
    - There will be not much customers upgrading from SP06 or SP07 to SP11. The most of customers have already upgraded to SP08 and will not be affected by this issue.
    - Unchecking the Web Dynpro check before upgrades from from SP06 or SP07 to SP11 is unacceptable.
    For More info, check the SAP Note 1010640
    Reward points of my reply was useful..

  • Manipulating JDBC Datasources from a java application or servlet

    How can i manipulate - add, delete, update - JDBC Datasources from a java applcation or servlet?

    Maybe we can help, if you explain a little more.
    What do you mean with:
    How can i manipulate - add, delete, update - JDBC
    Datasources from a java applcation or servlet?Do you want to
    * create databases
    * change a database's properties
    * create or change tables
    * create or change the rows in tables
    Each of these would be - more or less - possible, but on its own way.
    Or do you maybe want to configure ODBC Datasources (DSNs) for use with the JDBC-ODBC-Bridge?
    Thats all I can guess from what you told us. Tell more!

  • XSQLServlet and JDBC Datasource

    Hi,
    Is is possible to use connections from a JDBC Datasource
    that is defined in the JNDI context w/ the XSQL servlet, instead of specifying the connection paramters separately in
    the XSQConfig.xml file?
    Would appreciate it if someone would point me in the right direction.
    TIA,
    Vijay

    To specify a data source in a XSQL page:
    1. In the XSQLConfig.xml file set
    <connection-manager>
    <factory>
    oracle.xml.xsql.XSQLDatasourceConnectionManager
    </factory>
    </connection-manager>2. In the oc4j-config/data-sources.xml file set
    <data-source
              class="oracle.jdbc.pool.OracleConnectionPoolDataSource"
              name="OracleDS"
              location="jdbc/DS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username=""
              password=""
              url="jdbc:oracle:thin:@<host>:<port>:<SID>"
              inactivity-timeout="30"
         />3. In the web.xml of the XSQL page specify resource-ref
    <resource-ref>
      <res-ref-name>jdbc/OracleDS</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
    </resource-ref>3. In the XSQL page specify the data source in the connection attribute of the page tag with
    connection="java:comp/env/jdbc/OracleDS"

  • Is it possible to copy iCloud backup to Mac for manual restore of iPhone?

    Hey guys, thank you in advance for your help.
    I've been backing up to icloud since I got my 4S, and have only been manually copying selected photos to my iPhoto library. Recently my camera roll and camera started acting strange (lagging, not loading/storing properly) so I wasn't surprised when iTunes told me I needed to update my iPhone software. When it tried to install the update, iTunes couldn't recognize the phone (not surprising considering how glitchy it had been) and told me I needed to restore the phone. Nbd, right?
    I backed up to iCloud one last time, initiated the restore, and then went to bed. I woke up this morning to discover that fewer than half of my photos had been returned to my camera roll, and my photo stream had disappeared. I went into Settings-->General-->iCloud on my phone and it said the restore was incomplete. I got the restore back on track (it picked up where it had left off [thank Goodness] instead of starting over completely). It's currently creeping along, loading a new photo every few minutes, and videos are taking approximately a year each (I exaggerate, but only slightly).
    Frustrated, I checked my photostream in iPhoto on my Mac to see if I could bypass the problem by using that to recover the photos from the past week (nearly everything valuable had been imported already). My plan was to scrap the restore and start fresh with an empty camera roll, re-populated via Photostream. But for some reason the photos and videos from the past week never made it to Photostream.
    And thus, the waiting game continues.
    In a nutshell: I need to know if it's possible to copy the iCloud folder that contains my full backup directly to my Mac and then do the restore from there.
    Also, is it possible to backup the iPhone to iCloud AND your computer? iTunes makes it look like they're mutually exclusive, and as much as I appreciate the convenience and security of iCloud (i.e. having a backup in the event of loss, theft, etc. of phone and/or computer) I don't like being cut off from my data like this.
    Thank you for your time; have an awesome day!:)

    No.
    Homesharing is streaming only.

  • I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on a USB and upgrade that way. I would like to have a back up of the OS just in case i have a problem later. Help!

    I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on to a USB and upgrade that way. I would like to have a back up of the OS installation files just in case i have a problem later. Please help me!

    You can create an install disc but you would have to download Mountain Lion to do so..
    How to create an OS X 10.8 Mountain Lion install drive | MacFixIt - CNET Reviews
    And make sure your Mac can upgrade to Mountain Lion.
    See Step 1, 2, and 3, here >  Apple - Upgrade your Mac to OS X Mountain Lion.

  • What is the method of getUserName() for JDBC DataSource in JDeveloper 11g.

    Hi All,
    I am facing a issue about getUserName() Method.
    The below method
      getDBTransaction().getConnectionMetadata().getUserName()
    working fine for JDBC URL While the  same method not working for JDBC DataSource.
    So What is optional method for getUserName() for JDBC DataSource,  I need  JDBC DataSource because in Our Standalone weblogic server we using data source.
    Maroof

    Hi Vohar,
    JNDI is there then how we can get user name you have any idea?
    Our Connection.xml look like below
                                        user                              oraJDBC                              1500                              192.168.0.0                              user1                                       thin                 

  • "Sorry, we couldn't find your file. Is it possible it was moved, renamed or deleted?" Error with SharePoint 2013 and Office Web Apps

    When I try to open any docx file from the SharePoint it opens on web via office web apps, and when I choose edit document > edit in Word , Microsoft word show me this error "Sorry, we couldn't find your file.
    Is it possible it was moved, renamed or deleted?" followed by half a url to the end users document on onedrive.
    I noted that this problem only happens with Docx files, with specific users  and only when you try to open the Docx file from OneDrive folder ( SkyDrive ) which is hosted in the MySite.
    Any Help?

    Hi,
    According to your post, my understanding is that you failed to open the Docx file from OneDrive folder ( SkyDrive ).
    Since this problem only happens with Docx files, with specific users, I recommend to delete and recreate the personal site for the specific users.
    More information:
    Configure My Sites in SharePoint Server 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to copy or rename a SapScript logo or graphic ?

    I do NOT have the original bitmaps/tiff, etc. for some logos for my client.  They want to make a copy or rename the original graphic, then import this new graphic into the existing one.
    I can not find anyway to do a copy or rename in SE10 or SE78 - is there any way to do this when you do not have the original file that was imported in?
    Thanks!

    Hi Scott,
    Use the Class CL_SSF_XSF_UTILITIES and method <b>GET_BDS_GRAPHIC_AS_BMP</b> will give the xstring format and use GUI_DOWNLOAD to download the logo
    Check this thread for more detail
    Re: Download of Bitmap
    Regards
    vijay

  • Is it possible to copy formats and styles from one document to another?

    Is it possible to copy formats and styles from one document to another?
    Or use a commen styledocument as a masterdocument?

    Only by creating a template with what you want.
    Apple has removed the ability to import styles inPAges 5 along with almost 100 other features.
    Peter

  • Error in creating JDBC datasource

    I would like to create a new JDBC datasource using WLST script.
    There are 2 problems with it:
    1. Running the script an error message will be displayed:
    Creating JDBCSystemResource with name DBonHelium5
    JDBCSystemResource with name 'DBonHelium5' has been created successfully.
    Problem invoking WLST - Traceback (innermost last):
    File "/opt/wls9/jdbc_data_source_creation.py", line 30, in ?
    AttributeError: addJndiName
    I don’t understand why it is wrong and how could I fix the bug...
    2. After running the script I looked at the current state on the console.
    The datasource has been created but the target isn’t set.
    Could you help me what’s wrong?
    Thanks in advice!
    Zsigmond
    The script:
    connect("xxx","xxx")
    edit()
    startEdit()
    # Change these names as necessary
    dsname="DBonHelium5"
    cd("Servers/AdminServer")
    #target=getMBean("Servers/AdminServer")
    target=cmo
    cd("../..")
    # start creation
    print 'Creating JDBCSystemResource with name '+dsname
    jdbcSR = create(dsname,"JDBCSystemResource")
    theJDBCResource = jdbcSR.getJDBCResource()
    theJDBCResource.setName("DBonHelium5")
    connectionPoolParams = theJDBCResource.getJDBCConnectionPoolParams()
    connectionPoolParams.setConnectionReserveTimeoutSeconds(25)
    connectionPoolParams.setMaxCapacity(100)
    connectionPoolParams.setTestTableName("SYSTABLES")
    dsParams = theJDBCResource.getJDBCDataSourceParams()
    <b>dsParams.addJndiName("DBonHelium5")</b>
    driverParams = theJDBCResource.getJDBCDriverParams()
    driverParams.setUrl("jdbc:bea:oracle://helium.lsy.bud.dlh.de:1521")
    driverParams.setDriverName("weblogic.jdbcx.oracle.OracleDataSource")
    driverParams.setPassword("LSY")
    driverProperties = driverParams.getProperties()
    proper = driverProperties.createProperty("user")
    proper.setValue("LSY")
    proper1 = driverProperties.createProperty("DatabaseName")
    proper1.setValue("dbc:bea:oracle://helium.lsy.bud.dlh.de:1521")
    <b>jdbcSR.addTarget(target)</b>
    try:
    save()
    activate(block="true")
    print "script returns SUCCESS"
    except:
    print "Error while trying to save and/or activate!!!"
    dumpStack()
    disconnect()
    exit()

    Hi Manfed,
    I've got exactly the same problem mit j2sdkee 1.3.1. Have yor resolved the problem in the meantime?
    If so, please post the solution. Thanks.
    Helmut

  • Is it possible to copy and paste a review quiz from on book into another?

    I have a number of quizzes in an ibook which I have been using as a sand box.
    There are 10 questions in each quiz.
    I have copied and pasted a lot of the material from the trial ibook into a new book.
    I would like to copy and paste the quizzes from the first book into the new new ibook also.
    Is this possible?

    Its possible to make a duplicate of the quiz within an ibook, but I have tried CUT and PASTE but it does not work even though they are both colored black in the menu.
    As CUT and PASTE are colored black, I thought that it might somehow be possible to copy them from one ibook to another.
    I can copy the complete section containing the quiz from the first ibook to the second ibook. If I could then copy the review quiz to the appropriate section in the second ibook, and then delete the copied section, it might work.
    However, it still will not copy and paste the review quiz, only make a duplicate next to the original quiz.

  • Why is it no longer Possible to Copy and Paste files from Illustrator CC to Fireworks?

    Why is it no longer Possible to Copy and Paste files from Illustrator CC to Fireworks?

    What do "normal" AI prefs mean? AICB or PDF compliant? You might wanna try to turn off the latter....
    Mylenium

Maybe you are looking for