cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment aborted : Define different application alias (context root)

Former Member
0 Kudos

Hi All ,

We have migrated to CE 7.1 to CE 7.1.1 EHP1.after migration I am deploying webdynpro DC but getting following error message.

Description:

1. [ERROR CODE DPL.DS.6193] Error while ; nested exception is:

com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot deploy two applications with identical application aliases (context roots). Your application [asianpaints.com/erecapp] defines an application alias (context root) [PositionHandlerService] that is already in use by application [asianpaints.com/erecdrct]. There are two possibilities in order to proceed with deployment: 1) Define different application alias (context root) for your application [asianpaints.com/erecapp] (this is the preferred option). 2) Undeploy the application [asianpaints.com/erecdrct].

asianpaints.com/erecapp is EnterpriseApplication DC

asianpaints.com/erecdrct is WebDynpro DC

[PositionHandlerService] is Webserive name in one of the session bean DC as follows

@WebService(portName="PositionHandlerBeanPort", endpointInterface="com.apl.session.positionhandler.PositionHandlerLocal", targetNamespace="http://apl.com/session/positionhandler/", serviceName="PositionHandlerService")

I can not deploy Enterprise Application DC as it is being used other places also. First solution is to change contecxt root.

What is mean by changing context root. How to change context root.

Regards

Kavita

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Just go through the link below:

[Link|http://help.sap.com/saphelp_nw04/helpdata/en/7f/5c93acbd1343d4be7d79dc298faa7b/frameset.htm]

It shows how to define context root for an Enterprise Application.

Hope it helps.

Regards,

Manoj

Former Member
0 Kudos

That link refers to SAP Netweaver 04 , and we are refering to SAP Netweaver 7.11 EHP 1 , I am not able to find any entry for module and context root in our current applicationj2ee.xml of our application DC

Former Member
0 Kudos

Hi Manoj ,

Thnx for the reply. but we are not using web module project for UI. We are using web dynpro for UI and back end logic is in EJB .

how can i change context root for web dynpro dc as it doesnt hv war file. wd dc has only ear file?

Former Member
0 Kudos

Hi Kavita

Can you please tell me on how you fixed this issue. We are also migrating our Web Dynpro application, which calls an EJB to CE 7.2 and are running into the same issue.

Best regards,

Ritesh Chopra

siarhei_pisarenka3
Active Contributor
0 Kudos

Maybe try to undeploy the both applications and then deploy them again.

BR, Siarhei

Former Member
0 Kudos

we have tried out this option its not working but