cancel
Showing results for 
Search instead for 
Did you mean: 

Error : - Cannot deploy two applications with identical application aliases

Former Member
0 Kudos

Hi friends

I am trying to deploy my webdynpro DC on the upgraded development server to EHP 7.1 and getting this error while deployment, Here the hssp_app_new is our Application DC and HSSPPEProcessorService is one pf the webservices , witout which the webdynpro dcs can not be deployed . This error was not at all there in earlier version

~~~~~~~~~~~~~~~~~~~

ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [asianpaints.com_hs_coll_sum].

; nested exception is:

com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [asianpaints.com_hs_coll_sum]. Cannot deploy it.

1. File:D:\NWDS7.1.1\workspace.jdi\0\DCs\asianpaints.com\hs_coll_sum\_comp\gen\default\deploy\asianpaints.com~hs_coll_sum.ear

Name:hs_coll_sum

Vendor:asianpaints.com

Location:J2N_HSSPTRCK_D

Version:20100111111934

Deploy status:Aborted

Version:NEW

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/hs_coll_sum] defines an application alias (context root) [HSSPPeProcessorService] that is already in use by application [asianpaints.com/hssp_app_new]. There are two possibilities in order to proceed with deployment: 1) Define different application alias (context root) for your application [asianpaints.com/hs_coll_sum] (this is the preferred option). 2) Undeploy the application [asianpaints.com/hssp_app_new].

--- Exception:

com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.

Reason: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [asianpaints.com_hs_coll_sum].

; nested exception is:

com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [asianpaints.com_hs_coll_sum]. Cannot deploy it.

at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:715)

at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:226)

at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:112)

at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:122)

Caused by: com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [asianpaints.com_hs_coll_sum].

; nested exception is:

com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [asianpaints.com_hs_coll_sum]. Cannot deploy it.

at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:188)

at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)

at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)

at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)

Caused by: com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [asianpaints.com_hs_coll_sum]. Cannot deploy it.

at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:118)

at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)

at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)

at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)

... 8 more

Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: [ERROR CODE DPL.DS.6193] Error while ; nested exception is:

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

at com.sap.engine.services.servlets_jsp.server.deploy.DeployAction.deploy(DeployAction.java:312)

at com.sap.engine.services.servlets_jsp.server.deploy.WebContainer.deploy(WebContainer.java:214)

at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)

at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2534)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:380)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:325)

at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)

at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)

at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)

at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)

at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)

at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)

at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)

at com.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:4712)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:327)

at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)

... 11 more

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

at com.sap.engine.services.servlets_jsp.server.deploy.DeployAction.deploy(DeployAction.java:312)

at com.sap.engine.services.servlets_jsp.server.deploy.WebContainer.deploy(WebContainer.java:214)

at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)

at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2534)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:380)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:325)

at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)

at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)

at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)

at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)

at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)

at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)

at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)

at com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException.writeReplace(WebDeploymentException.java:112)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:592)

at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1004)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1036)

at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)

at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)

at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)

at com.sap.exception.BaseExceptionInfo.writeObject(BaseExceptionInfo.java:1033)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:592)

at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)

at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)

at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)

at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:135)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:358)

at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)

at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)

at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:977)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)

at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)

... 3 more

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

In order to help guys that also have the problem but 4 years later, there is an easy way to solve it.

There is a sap note number 1520515 that suggest you to add an annotation to your EJB.

Just add this @AuthenticationDT  and it will works like a charm.

Cheers

Astashonok
Participant
0 Kudos

Thank you! Working like a charm.

Former Member
0 Kudos

Hello,

You can not deploy two applications with identical names

undeploy the existing one

the create the application name with the same name

then deploy the new one

hope it works

Regards,

Ravi Maddela

0 Kudos

hi,

this answer comes very late, but the reason I'm answering is that I had the same problem.

I resolved the problem by creating a new application, and deleting the old one.

I also renamed the components.

kind regards,

Erik

Former Member
0 Kudos

Hi

You need to undeploy the old SC which include the webserices you have been deployed on the AS.

Go NWDS>Windows>Open Perspectives> Other> Select the "Deployment" Perspective, then click the "Undeploy View" tab, click the old webservice to undeploy them.

Deploy your new SCs again.

Regards!

Ryan

Former Member
0 Kudos

I tried undeploying application Dc and deploying it again but then also its showing the same error while deployment of the webdynpro DC