Migrating of code from JAXB 1.0 to JAXB 2.0

Hi,
We have used JAXB 1.0.3 for the binding purpose and other stuff. Now we have to migrate to JAXB 2.0.
While migrating i am facing the following issues, as we shouldnot use any deprecated method iin the code so need to replace the appropriate Interface/Class/Method:
1. The type Validator is deprecated.
2. The type SchemaLocationFilter is deprecated.
3. The field Messages.ERR_DANGLING_IDREF is deprecated.
4. The field Messages.ERR_NOT_IDENTIFIABLE is deprecated.
5. The constructor SchemaLocationFilter(String, String, ContentHandler) is deprecated
6. The method DefaultJAXBContextImpl.createValidator() overrides a deprecated method from JAXBContext.
7. The method parse(Element, ContentHandler) from the type DOMScanner is deprecated.
8. The method ValidatorImpl.getEventHandler() overrides a deprecated method from Validator.
9. The method ValidatorImpl.getProperty(String) overrides a deprecated method from Validator
10. The method ValidatorImpl.setEventHandler(ValidationEventHandler) overrides a deprecated method from Validator.
11. The method ValidatorImpl.setProperty(String, Object) overrides a deprecated method from Validator.
12. The method ValidatorImpl.validate(Object) overrides a deprecated method from Validator.
13. The method ValidatorImpl.validateRoot(Object) overrides a deprecated method from Validator.
Please help me on the same. Suggest me the appropriate solution.
Thanks in advance.
LK.

I'm sorry, but this forum is dealing with foreign database to Oracle migrations using SQL Developer or Migration Workbench. As far as I know JAXB belongs to JAVA and thus should be posted in this forum.

Similar Messages

  • How to migrate source code from TFS 2010 to a new TFS 2010

    Hi,
    Please help me, How to migrate source code from TFS 2010 to a new TFS 2010. we are using SQL 2008 R2 for DB storage and we have Backup of TFS DB. First TFS 2010 is live environment and second TFS 2010 is test environment both OS and SQL version is same. 

    Hi Pankaj0439,
    In general, to move TFS from a hardware to another, you can follow the steps as below:
    1. Check your permissions
    2. Back up databases and install software
    3. Restore TFS databases to the new hardware
    4. Update the configuration of the new application-tier server
    5. Verify permissions, notify users, and configure backups
    And you can also refer to this
    article in MSDN for more details.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problems while migrating ODI code from 1 env to other

    Hi,
    I had some ODI code in Env1 i moved it to Env2 and did some new development(created new models, packages etc) over there and then tried to migrate it into Env3.What i found that the exports for new development done at Env2 got imported easily in Env3 however, the exports of the code(of Env1) taken from Env2 are giving error ODI-10018: The repository {0} is not coherent between the current repository and the import file.
    This has put me in lot of trouble is there any way to resolve this.

    Well. This problem is not new and not unusual.
    What are the repository IDs for Env 1, Env 2 and Env 3 ?
    I suspect that Env 1 ID and Env 3 ID are same.
    There is an option in ODI 11g to renumber the repository IDs. In Topology Manager -> Repositories and then select and right click.
    You can select Env 2 and select an unused repository number and renumber your repository. Then the objects wilil be easily imported into Env 3.

  • Migration of code from one instance to another instance

    Hi OAF Team,
    i want to migrate the (OAF)code form one instance(test) to another instance(Dev), what is the procedure and how can i migrate from one instance to another instance.
    could you please solution for this.
    Regards,
    Muthu

    Hi
    General procedure is to zip all the java & xml page files and copy to dev instance. Then you can write a shell script to extract the zipped files and place it in appropriate locations.
    If there are any AOL objects defined by you, then you need to include that in shell script
    Regards
    Ravi

  • A Perfect Storm: Migrating KM code from EP6 to NW04 and EP5

    I am looking for a guide to developing in EP5...in KM and generally...I have not found any useful documentation in the SDN yet...
    Does anyone here know where the EP5 Developer guides are?
    Thanks in advance...points rewarded to helpful answers

    Hi Cory,
    there is not that much developer doc for EP5 and has never been. I have started on EP5, and that really has been hard times, I can tell you.
    Anyhow, the PDK doc is to be found here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d58bb490-0201-0010-64a1-9e5165e5dbac
    Hope it helps
    Detlev

  • Migration of company code from one server to another

    Dear Sir/Madam,
    We are in the process of migrating company code from one server to another server. We have activated the company code with ewt in old server on 01.10.10. We have to migrate the same company w.e.f. 01.11.10 to new server.
    we have two options one is to migrate the company without ewt activation where we can take all the open items and trial balance and then activate ewt and do the required health check up in ewt.
    second option is to activate the ewt and then migrate , here the issue is that if open items are migrated after ewt activation the tds gets calculated again.
    In indian scenario we have to pay the tds (challan updation) by 7th of next month, if we migrate then this is not possible because in the new server we do not have the data in the table required for clearing the entries. We are thinking of doing the challan updation in the old server itself.
    Can you suggest us the option through which we can migrate the company code. If you have any other option then please suggest.
    Prashant P. Zinge

    Thanks

  • Migrating Sybase code to Oracle 11g

    Hi All,
    We have to migrate Sybase code to Oracle 11g.
    When we are doing a SELECT .. INTO in Sybase , even if the query is returning more than 1 row , sybase selects 1 of the rows and populates the variables.
    But while migrating this code to oracle, we are getting TOO_MANY_ROWS Exception.
    We need to migrate the code from SYBASE to ORACLE without disturbing the logic.
    Can someone please tell me the logic applied by SYBASE to pick up the record?
    And if someone has faced this issue, then what can be done to resolve this.
    Regards,
    Riddhisha Khamesra

    The result 3 is the last entered record (not the amount of records..).
    So the first approach to write a dummy procedure that will select all records in Oracle like:
    CREATE OR REPLACE PROCEDURE last_record
    v_arg1 OUT NUMBER
    AS
    BEGIN
    SELECT col1
    INTO v_arg1
    FROM tt_tmp ;
    END;
    and hopefully returns only the last record will fail with:
    SQL> variable outvar number
    SQL> exec last_record (:outvar)
    BEGIN last_record (:outvar); END;
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYSTEM.LAST_RECORD", line 9
    ORA-06512: at line 1
    One possible approach to get the last (and only the last) record that was entered into the table is to use rownum:
    The select might look like "select col1 from (select col1, rownum from tt_tmp order by rownum desc) where rownum=1;"
    So the procedure can be coded as:
    CREATE OR REPLACE PROCEDURE last_record
    v_arg1 OUT NUMBER
    AS
    BEGIN
    SELECT col1
    INTO v_arg1
    from (select col1, rownum from tt_tmp order by rownum desc) where rownum=1;
    END;
    Now calling it in SQL*Plus:
    SQL> variable outvar number
    SQL> exec last_record (:outvar)
    PL/SQL procedure successfully completed.
    SQL> print :outvar
    OUTVAR
    7
    The value 7 is the last record I've inserted into my tt_tmp table:
    SQL> select * from tt_tmp;
    COL1 COL2
    1 1
    2 2
    8 8
    7 7

  • Export code from MDM on one server to another

    Hi, I am working on a client engagement where my team is coding the MDM code in one environment not specific to my client. Now i need to migrate this code from its current location to my client environment. I am trying to find out how this can be achieved. As in Informatica PowerCenter i dont see and Export/Import Wizard feature which will help me get the code in xml and then reimport it. I have been trying to find documentation on the same but have not been able to find anything. Please guide me in doing this. Thanks,Subodh

    Hi Friends, I have installed MDM v10.0 on Oralce Linux 6.4 and Weblogic 1.3.6 AS. Initially it went fine and I had to restart the server and I stopped all the Deployments and erstarted the weblogic. After restart when i try to start the deployments i got an error so ran Post Installation script for HUB Server.This is where I am getting an error posted below: Error in initializing server.com.siperian.common.SipRuntimeException: SIP-09070: Failed to initialize repository layer. SIP-09070: Failed to initialize repository layer. Error in initializing server at com.siperian.common.SipRuntimeException.appendContext(SipRuntimeException.java:50) at com.delos.cmx.server.webconsole.AppListener.contextInitialized(AppListener.java:35) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)Caused By: com.delos.cmx.server.InitializationException: SIP-09070: Failed to initialize repository layer. at com.delos.cmx.server.Initialization.initializeRepositoryLayer(Initialization.java:414) at com.delos.cmx.server.Initialization.initializeDataLayer(Initialization.java:389) at com.delos.cmx.server.Initialization.load(Initialization.java:796) at com.delos.cmx.server.Initialization.loadWithMonitoring(Initialization.java:715) at com.delos.cmx.server.Initialization.performInitializationWithMonitoring(Initialization.java:638) at com.delos.cmx.server.webconsole.AppListener.contextInitialized(AppListener.java:32) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)    Can anyone please help me to resolve the issue as I am newbie to MDM? Thanks,Purna

  • Best Practice for Migrating code from Dev to a fresh Test ODI instance

    Dear All,
    This is Priya.
    We are using ODI 11.1.1.6 version.
    In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just installed with ODI and Master and Work repositories are created. Thats it
    Now, I need to know and understand what is the simple & best way to import the code from Dev and migrate it to test environment. Can some one brief the same as a step by step procedure in 5-6 lines?
    Some questions on current state.
    1. Do the id's of master and work repositories in Dev and Test need to be the same?
    2. I usually see in export file a repository id with 999 and fail to understand what it is exactly. None of my master or work repositories are named with that id.
    3. Logical Architecture objects and context do not have an export option. What is the suitable alternative for this?
    Thanks,
    Priya
    Edited by: 948115 on Jul 23, 2012 6:19 AM

    948115 wrote:
    Dear All,
    This is Priya.
    We are using ODI 11.1.1.6 version.
    In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just installed with ODI and Master and Work repositories are created. Thats it
    Now, I need to know and understand what is the simple & best way to import the code from Dev and migrate it to test environment. Can some one brief the same as a step by step procedure in 5-6 lines? If this is the 1st time you are moving to QA, better export/import complete work repositories. If it is not the 1st time then create scenario of specific packages and export/import them to QA. In case of scenario you need not to bother about model/datastores. keep in mind that the logical schema name should be same in QA as used in your DEV.
    Some questions on current state.
    1. Do the id's of master and work repositories in Dev and Test need to be the same?It should be different.
    2. I usually see in export file a repository id with 999 and fail to understand what it is exactly. None of my master or work repositories are named with that id.It is required to ensure object uniqueness across several work repositories. For more understanding you can refer
    http://docs.oracle.com/cd/E14571_01/integrate.1111/e12643/export_import.htm
    http://odiexperts.com/odi-internal-id/
    3. Logical Architecture objects and context do not have an export option. What is the suitable alternative for this?If you are exporting topology then you will get the logical connection and context details. If you are not exporting topology then you need to manually create context and other physical connection/logical connection.
    >
    Thanks,
    Priya
    Edited by: 948115 on Jul 23, 2012 6:19 AM

  • What is the best practice to migrate code from dev  to prod

    I have few questions related OWB version control/migration.
    1. What is the best way to Version the design repository
    We want to keep a separate copy of production and test version all the time.
    Do we have to create design repository in each environment ?
    2. Is it possible to have multiple copies of the same mapping ? If yes how this is done in OWB
    3. How to migrate the code to different environments
    2.1 Is there a way to provide DBA with script for deploying PL/SQL mapping without using OWB ?
    2.2 How important is the setting before actual code in the XML file is required to execute the mapping.
    2.3 We are planning to create tables , materialized view etc., outside OWB will this cause any problems ?
    Note : Our DBA prepare compiling the code through SQLPLUS
    3. Which user ( target owner or runtime access ) should be used to execute the mapping through sqlplus.
    We are looking for a solution were we do not have to use OWB tools for version control , migration and deployment. Currently we are using PVCS for version control and migration.
    we are using OWB 9.2 , Oracle 9.2.
    Any suggestion/ comments are appreciated.
    Thanks,
    Sekar,K

    Some answers below:
    1. Yes, you should use snapshots (right click on t he object and select create snapshot or on the project menu, select Change Manager for a centralized snapshot management).
    2. See above.
    3. Usually you will export the (test/development) design repository to an mdl file, and import it into the other (production) design directory. Then you will deploy the code from the other design directory into the production target (runtime).
    2.1 From 9.2 on, you will have to deploy to file and then use OWB scripting (OMBPlus) to deploy the generated file outside of the deployment manager.
    2.2 Not sure what is asked in this question - can you rephrase?
    2.3 No, but the creation and use of thes will not be managed and audited by OWB (Runtime Audit Browser)
    3.(bis) The target owner.
    Regards:
    Igor

  • Problem while migrating code from JDev 9.04 to JDev10.1.3

    I have migrated code from JDev 9.04 to JDev10.1.3, in that i am using a customised Combo Box which is using JUPanelBinding in setModel.But that Combo Box is not displayed properly as of 9.0.4. Also when i tried to print JUPanelBinding value it is giving as - noPanel_oracle_jbo_uicli_jui_JUPanelBinding_1.
    Where is the problem ? (in panel binding or in setModel )
    Can anyone suggest me a solution for that ?

    It's a regression. I filed bug 5703242.
    As a workaround you could specify sequence name with the qulifier:
      aSequence.setTableName("TEST.SEQUENCE");Alternatively you could override TableSequence class:
    public class MyTableSequence extends TableSequence {
        public void onConnect() {
            qualifier = getDatasourcePlatform().getTableQualifier();
            super.onConnect();
    }I apologize for the inconvenience,
    Andrei

  • Migrating code from windows to linux

    Hi, 
    I am looking for a solution or method to migrate labview code developed in windows platform into Linux platform. The thing is we have developed instrument driver code in Windows platform and have used VISA as well for communication purposes. I've come to know about some method for such porting to follow as the project file of ours contains vi.lib stuff as well. We do have a license for both Windows and Linux versions of Labview.
    Please suggest me any solution to do such porting into Linux platform if someboy have come across such things.
    Thanks in Advance,
    Vivek 

    Thanks guys for quick responses. I really appreciate your support. I tried the way you mentioned. I copied all my code into the linux system. Created new project file but again same problem occurs, labview is crashing because of VISA.
    Why I am sure about the VISA is because I tried to open/create new VI in linux using VISA API's and all are creating trouble and further it leads labview to crash.
    Rest all other functions in labview are working fine. Hope all my assumptions are correct and could blame VISA for creating problems.
    Please do suggest us ...
    Thanks in Advance,
    Vivek

  • Is it possible to migrate the app from latest version to older version

    Hi all,
    I have a adf application in jdeveloper 11.1.1.4.0.Due to some issues i have to do it in jdeveloper 11g release 2 (11.1.1.2.0).Is it possible to migrate the application from latest version to older version of jdev.
    Thanks.

    It's not officially supported, but you can try a couple of things - first open the application in the old version and see if it works.
    If it doesn't you can try creating a new application in the old version and then use the create project from existing source option to map to your existing code.
    This all of course assumes that you didn't use features in the new version that are not available in the old version.

  • Best practice for migrating eLearning data from Sol Mgr 3 to 4?

    Greetings,
    What is the recommended method for moving eLearning data when migrating from Solution Manager 3 to version 4?
    Thanks in advance,
         Ken Henderson

    948115 wrote:
    Dear All,
    This is Priya.
    We are using ODI 11.1.1.6 version.
    In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just installed with ODI and Master and Work repositories are created. Thats it
    Now, I need to know and understand what is the simple & best way to import the code from Dev and migrate it to test environment. Can some one brief the same as a step by step procedure in 5-6 lines? If this is the 1st time you are moving to QA, better export/import complete work repositories. If it is not the 1st time then create scenario of specific packages and export/import them to QA. In case of scenario you need not to bother about model/datastores. keep in mind that the logical schema name should be same in QA as used in your DEV.
    Some questions on current state.
    1. Do the id's of master and work repositories in Dev and Test need to be the same?It should be different.
    2. I usually see in export file a repository id with 999 and fail to understand what it is exactly. None of my master or work repositories are named with that id.It is required to ensure object uniqueness across several work repositories. For more understanding you can refer
    http://docs.oracle.com/cd/E14571_01/integrate.1111/e12643/export_import.htm
    http://odiexperts.com/odi-internal-id/
    3. Logical Architecture objects and context do not have an export option. What is the suitable alternative for this?If you are exporting topology then you will get the logical connection and context details. If you are not exporting topology then you need to manually create context and other physical connection/logical connection.
    >
    Thanks,
    Priya
    Edited by: 948115 on Jul 23, 2012 6:19 AM

  • How to move the code and deploy the code from Dev environment to SIT.

    Hi,
    I have a requirement.
    I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
    Before doing this is any pre-requisites required?
    Can you please help on this,how to do?
    Thanks in advance.

    Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
    Steps:
    First log on to the EM Console and export the Composite Flow as a SAR file to a location.
    In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
    import the project using the option import the composite using a SAR File.
    After import , then click on the composite and then generate the config plan.
    In config plan add all the url changes using the search and replace Tags.
    And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
    Take the SAR file adn config plan seperately from JDeveloper.
    Now open em console again and then deploy it using the config file and SAR file.
    Thanks,
    Venugopal SSS RAJA

Maybe you are looking for