cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot deploy two applications with identical application aliases (context roots)

vdurgarao09
Contributor
0 Kudos

Dear Experts,

Please any one tell me this error i checked scn community but i am not getting any information.I have a track in that i am minting the DC.Initial created activity are released and again some changes i did after try to deploying time i am getting this error.In track DC all giving same error. The Error Details

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 [prt_dev~DC1Name] defines an application alias (context root)

[NavigationWS/NavigationWSConfig] that is already in use by application [sap.com/com.sap.portal.navigation.ws.NavigationWSEar].

There are two possibilities in order to proceed with deployment:

1) Define different application alias (context root) for your application [prt_dev~DC1Name] (this is the preferred option).

2) Undeploy the application [sap.com/com.sap.portal.navigation.ws.NavigationWSEar].

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

  at com.sap.engine.services.servlets_jsp.server.deploy.UpdateAction.makeUpdate(UpdateAction.java:327)

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

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

  at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:478)

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

  at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:234)

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

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

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

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

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

  at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.update(ApplicationDeployer.java:74)

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

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

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

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

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

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

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

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

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

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

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

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

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:597)

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

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

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

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

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

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

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

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

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:597)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

... 3 more

Please help me.

Thank for advance,

BR,

Durga Rao.

Accepted Solutions (1)

Accepted Solutions (1)

vdurgarao09
Contributor
0 Kudos

Dear All,

Thank for the reply.

My problem is resolved.In masthead using this jar file com.sap.portal.navigation.ws.NavigationWSBean .I am using this jar file in my external library.This library is common for all dc.So i removed this jar file and after my problem is resolved.I can able to deploy now.

BR,

Durga Rao.

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Great news Durga

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Durga,


It would not be a wise idea to try to undeploy the standard SAP application: "sap.com/com.sap.portal.navigation.ws.NavigationWSEar"; hence please try step 1.

Regards,
Hemanth

junwu
Active Contributor
0 Kudos

the error msg is not clear to you?