Skip to Content
avatar image
Former Member

Deployment aborted : Define different application alias (context root)

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 11, 2010 at 10:38 AM

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

    BR, Siarhei

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 15, 2010 at 05:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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