cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment error - application alias already exists

former_member186148
Active Participant
0 Kudos

Hello SDN!

I've got B2B application with alias "b2b_mod" deployed on dev server with small changes. It was be necessary to create new track for modified application. Track has been created and changes has been performed again. Alias hasn't been changed. But I've got an error during deploying application from new track:


20080701133121 Info   :Caught exception during application deployment from SAP J2EE Engine's deploy service:
20080701133121 Info   :java.rmi.RemoteException: Cannot deploy application sng.ru/home~b2b.. 
20080701133121 Info   :Reason: Application alias [b2b_mod] for application [sng.ru/home~b2b] already exists in the HTTP Provider Service. The application that holds this alias is [sng.ru/b2b_mod].; nested exception is: 
20080701133121 Info   :	com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Application alias [b2b_mod] for application [sng.ru/home~b2b] already exists in the HTTP Provider Service. The application that holds this alias is [sng.ru/b2b_mod].
20080701133121 Info   :	at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:148)
20080701133121 Info   :	at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:105)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
20080701133121 Info   :	at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
20080701133121 Info   :	at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
20080701133121 Info   :	at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
20080701133121 Info   :	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
20080701133121 Info   :	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
20080701133121 Info   :	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
20080701133121 Info   :	at java.security.AccessController.doPrivileged(Native Method)
20080701133121 Info   :	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
20080701133121 Info   :	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
20080701133121 Info   :
20080701133121 Info   :', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Application alias [b2b_mod] for application [sng.ru/home~b2b] already exists in the HTTP Provider Service. The application that holds this alias is [sng.ru/b2b_mod].
20080701133121 Info   :	at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:148)
20080701133121 Info   :	at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:105)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
20080701133121 Info   :	at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
20080701133121 Info   :	at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
20080701133121 Info   :	at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
20080701133121 Info   :	at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
20080701133121 Info   :	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
20080701133121 Info   :	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
20080701133121 Info   :	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
20080701133121 Info   :	at java.security.AccessController.doPrivileged(Native Method)
20080701133121 Info   :	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
20080701133121 Info   :	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
20080701133121 Info   :
20080701133121 Info   :
20080701133121 Info   : (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
20080701133121 Info   :Jul 1, 2008 1:31:19 PM   Info: Starting to save the repository
20080701133121 Info   :Jul 1, 2008 1:31:20 PM   Info: Finished saving the repository
20080701133121 Info   :Jul 1, 2008 1:31:20 PM   Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
20080701133121 Info   :Jul 1, 2008 1:31:20 PM   Error: ---------------- At least one of the Deployments failed ---------------
20080701133121 Info   :end of log
20080701133121 Info   :End deployment:
20080701133121 Info   :
20080701133121 Info   :Summary of deployment
20080701133121 Info   :==> deployment finished for crm/b2c (1437) with rc=0
20080701133121 Info   :==> deployment finished for home/b2b (1473) with rc=12
20080701133121 Info   :deployment finished for buildspace: SMD_CRM502_D

What I should doing?

regards

Lev

Accepted Solutions (1)

Accepted Solutions (1)

snehal_kendre
Active Contributor
0 Kudos

HI,

Yo need to change alias name. or remove the previous one There is no other option.

Why dont you reserver name prefixes at name reservation?

so when you create new application on new track, it will prompt you for the perticular name prefix and it will avoid such confilcts

former_member186148
Active Participant
0 Kudos

Hi, Snehal! Thanks for reply.

I need remove previous from server to which application was deployed, right? So, how I can do it?

About name reservation - I don't know how to use it for modifiyng CRM application.

snehal_kendre
Active Contributor
0 Kudos

HI,

You need to undeploy application if you want to remove its alias.

And name reservation is done at SLD.

former_member186148
Active Participant
0 Kudos

Hi.

I guessed about undeploying application myself but waited your answer for check my guess was right or not.

Thanks for help, 10 points for you!

Regards, Lev.

Answers (0)