When we upgraded an ESB 10g project to 11g (by opening the project up in JDeveloper 11g), the following error was returned:
INFO: UPGMED-02003: Upgrading ESB 10.1.3 to AS 11 Mediator startedINFO: UPGMED-02004: Upgrading project HelloWorld under C:\SOA\INFO: UPGMED-02078: Upgrade messages log level : "INFO"INFO: UPGMED-02028: Taking backup of existing project to C:\SOA\HelloWorld.backupINFO: UPGMED-02030: Setting end point properties for HelloWorld[GUID:E5CC18B0028C11E0BF8FED76F2D3C8B6]INFO: UPGMED-02031: End point properties not found for HelloWorld[GUID:E5CC18B0028C11E0BF8FED76F2D3C8B6]INFO: UPGMED-02030: Setting end point properties for Default.InvokeHelloWorld[GUID:A2673070334011E0BF729B0E8FA0AAAA]INFO: UPGMED-02031: End point properties not found for Default.InvokeHelloWorld[GUID:A2673070334011E0BF729B0E8FA0AAAA]INFO: UPGMED-02007: Upgrading External Service Default.InvokeHelloWorld[GUID:A2673070334011E0BF729B0E8FA0AAAA]INFO: UPGMED-02011: Upgrading Routing Service HelloWorld[GUID:E5CC18B0028C11E0BF8FED76F2D3C8B6]INFO: UPGMED-02042: Parsing wsdl from location "file:C:/HelloWorld/HelloWorld.wsdl"SEVERE: UPGMED-02050: WSDL may not be available for service "HelloWorld[GUID:E5CC18B0028C11E0BF8FED76F2D3C8B6]", If it is refering to external wsdl please make sure that is accesible otherwise copy the wsdl locally and update WSDL location in the <serviceDefinition> of the RS which invokes the wsdl.SEVERE: oracle.tip.mediator.upgrade.MediatorUpgradeException: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL Parsing Failed: WSDL Parsing Failed for url [file:C:/HelloWorld/HelloWorld.wsdl]: java.lang.RuntimeException: Could not create URL from 'file:C:/HelloWorld/HelloWorld.wsdl' and 'C:\SOA\MDS\AIAMetaData\AIAComponents\EnterpriseObjectLibrary\Core\Common\V2\CommonComponents.xsd'at oracle.tip.mediator.upgrade.MediatorUpgradeContext.parseServiceWSDL(MediatorUpgradeContext.java:582)at oracle.tip.mediator.upgrade.MediatorUpgradeContext.getDefinitionForService(MediatorUpgradeContext.java:461)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.upgradeRoutingService(MediatorUpgradeFwk.java:468)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.upgradeService(MediatorUpgradeFwk.java:332)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.upgrade(MediatorUpgradeFwk.java:200)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.main(MediatorUpgradeFwk.java:130)Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL Parsing Failed: WSDL Parsing Failed for url [file:C:/HelloWorld/HelloWorld.wsdl]: java.lang.RuntimeException: Could not create URL from 'file:C:/HelloWorld/HelloWorld.wsdl' and 'C:\SOA\MDS\AIAMetaData\AIAComponents\EnterpriseObjectLibrary\Core\Common\V2\CommonComponents.xsd'at oracle.tip.mediator.upgrade.MediatorUpgradeUtil.parseWSDL(MediatorUpgradeUtil.java:1361)at oracle.tip.mediator.upgrade.MediatorUpgradeContext.parseServiceWSDL(MediatorUpgradeContext.java:534)... 5 moreCaused by: java.lang.RuntimeException: Could not create URL from 'file:C:/HelloWorld/HelloWorld.wsdl' and 'C:\SOA\MDS\AIAMetaData\AIAComponents\EnterpriseObjectLibrary\Core\Common\V2\CommonComponents.xsd'at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.composeURL(SchemaSerializer.java:210)at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.loadReference(SchemaSerializer.java:133)at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.processImportIncludeRedefine(SchemaSerializer.java:108)at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.unmarshall(SchemaSerializer.java:73)at oracle.j2ee.ws.wsdl.extensions.ParseUtils.createExtensibilityElement(ParseUtils.java:106)at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:1472)at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:779)at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:706)at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:655)at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:647)at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:202)at oracle.tip.mediator.upgrade.MediatorUpgradeUtil.parseWSDL(MediatorUpgradeUtil.java:1356)... 6 moreSEVERE: oracle.tip.mediator.upgrade.MediatorUpgradeException: UPGMED-02064: Routing service HelloWorld[GUID:E5CC18B0028C11E0BF8FED76F2D3C8B6] migration failed. Either migration failed or it cannnot persist the migrated artifact. Please see log file for more details.at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.upgradeRoutingService(MediatorUpgradeFwk.java:515)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.upgradeService(MediatorUpgradeFwk.java:332)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.upgrade(MediatorUpgradeFwk.java:200)at oracle.tip.mediator.upgrade.MediatorUpgradeFwk.main(MediatorUpgradeFwk.java:130)SEVERE: UPGMED-02005: Projects are not migrated, Please make sure source artifacts are valid. Restore original projects from the backup and remigrate the projects.SEVERE: UPGMED-02006: Upgrading ESB 10.1.3 to AS 11 Mediator failed, If log file does not provide sufficient details, Contact Oracle, if needed.
Basically, the migration failed for some odd reason.
Solution:
Originally, we opened the ESB 10g project in JDeveloper 10g, and modified the partner links to point to the 11g WSDL prior to migrating (which is a good and common practice).
1. Open the original ESB 10g project in JDeveloper 10g.
2. Ensure that all references (e.g., partner links) are pointing to their 10g versions.
3. Re-migrate the project by opening it up on JDeveloper 11g.
4. Once migrated, modify your partner links accordingly.
Applicable Versions:
- Oracle SOA Suite 11g (11.1.1.x)
- Oracle SOA Suite 10g (10.1.3.x)
4 comments:
Hi Ahmed, I am facing the similar problem, But I got confused with the solution which you have given, is that a typo??
Is the solution :
Originally, we opened the ESB 10g project in JDeveloper 10g, and modified the partner links to point to the 11g WSDL prior to migrating (which is a good and common practice).
Or the Solution is the steps you have given because they are both contradictory..
1. Open the original ESB 10g project in JDeveloper 10g.
2. Ensure that all references (e.g., partner links) are pointing to their 10g versions.
3. Re-migrate the project by opening it up on JDeveloper 11g.
4. Once migrated, modify your partner links accordingly.
UPGMED-02064 when migrating an ESB 10g project to Mediator 11g
Hi Ahmed thanks for the awesome post..
i have a question
when i try to migrated esb to mediator i get migration success full but when i make the project in 11g jdev i get errors wsdl load error..
but one of my fried said .. we see the logs like
UPGMED-02064 ,where can i see the UPGMED ..... KIND OF MESSAGE please guide me...
Can you paste the full exception that you are getting?
Wow, Fantastic Blog,I Feel this is one of the most essential information for me. And i am very happy reading your article. But wanna say few general things on your blog , The site style is great, the articles is really very nice and Informative. Good job...
Post a Comment