Page tree
Skip to end of metadata
Go to start of metadata

 Category:Deployment failed 

Problem 

Deployment fails with:

Deploy status:Aborted Version:NEW Description: 1. Cannot build portlet 1.0 descriptor -> java.sun.com
Deploy status:Aborted

Version:NEW

Description:

1. Cannot build portlet 1.0 descriptor

-> java.sun.com

com.sap.engine.services.dc.api.deploy.DeployException:

...

Caused by: java.lang.RuntimeException: Cannot build portlet 1.0 descriptor

Keywords 

  • deploy
  • firewall
  • portlet.xml   

Symptoms

 The following error occurs during the deployment - in ../usr/sap/<SID>/<Instance Name>/work/deploy0.trc

ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed; nested exception is:
	com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed
...
Caused by: java.lang.RuntimeException: Cannot build portlet 1.0 descriptor

...
Caused by: java.net.UnknownHostException: java.sun.com

Solution 

In order to resolve the issue please follow SAP Note 1680394.

Sample logs 

		  S U M M A R Y
~~~~~~~~~~~~~~~~~~~

Successfully deployed:	      0

Deployed with warnings:	      0

Failed deployments:		      1

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

ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed; nested exception is:
	com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed

1. File:C:\Users\i056930\Desktop\gpal\Portlet_GPAL_TEST.ear
	Name:Portlet_GPAL_TEST_EAR
	Vendor:sap.com
	Location:localhost
	Version:2006.07.31.12.33.03
	Deploy status:Aborted
	Version:NEW

	Description:
		1. Cannot build portlet 1.0 descriptor
		 -> java.sun.com

Exception:
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed; nested exception is:
	com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed
	at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:891)
	at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)
	at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:104)
	at com.sap.ide.eclipse.j2ee.engine.deploy.view.deploy.action.DeployAction$DeployActionJob.run(DeployAction.java:216)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed; nested exception is:
	com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed
	at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:246)
	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)
Caused by: com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [sap.com_Portlet_GPAL_TEST_EAR] failed
	at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:167)
	at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:138)
	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)
	... 8 more
Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: ASJ.dpl_ds.006193 Operation [deploy] of [C:\usr\sap\P30\J00\j2ee\cluster\server0\temp\tc~bl~deploy_controller\archives\167\Portlet_GPAL_TEST.ear] failed; nested exception is:
	com.sap.engine.services.portletcontainer.exceptions.WCEDeploymentException: Error in loading portlet.xml file of the portlet application [Portlet_GPAL_TEST].
	at com.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:3348)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:315)
	at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:139)
	... 11 more
Caused by: com.sap.engine.services.portletcontainer.exceptions.WCEDeploymentException: Error in loading portlet.xml file of the portlet application [Portlet_GPAL_TEST].
	at com.sap.engine.services.portletcontainer.container.PortletContainerDeployHandler.onDeploy(PortletContainerDeployHandler.java:131)
	at com.sap.engine.services.servlets_jsp.server.deploy.impl.WebContainerProvider.deploy(WebContainerProvider.java:334)
	at com.sap.engine.services.servlets_jsp.server.deploy.DeployAction.deploy(DeployAction.java:360)
	at com.sap.engine.services.servlets_jsp.server.deploy.WebContainer.deploy(WebContainer.java:243)
	at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:309)
	at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:519)
	at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:182)
	at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:203)
	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:1811)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:360)
	at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:313)
	... 12 more
Caused by: java.lang.RuntimeException: Cannot build portlet 1.0 descriptor
	at com.sap.engine.services.portletcontainer.container.descriptor.PortletDeploymentDescriptor.buildPortlet10(PortletDeploymentDescriptor.java:111)
	at com.sap.engine.services.portletcontainer.container.descriptor.PortletDeploymentDescriptor.loadDescriptorFromStream(PortletDeploymentDescriptor.java:80)
	at com.sap.engine.services.portletcontainer.container.PortletContainerDeployHandler.onDeploy(PortletContainerDeployHandler.java:124)
	... 24 more
Caused by: java.net.UnknownHostException: java.sun.com
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:531)
	at java.net.Socket.connect(Socket.java:478)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:396)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:531)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:235)
	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
	at sun.net.www.http.HttpClient.New(HttpClient.java:325)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
	at com.sap.engine.httpdsrclient.protocols.http.DSRHttpURLConnection.connect(DSRHttpURLConnection.java:103)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1177)
	at com.sap.engine.httpdsrclient.protocols.http.DSRHttpURLConnection.getInputStream(DSRHttpURLConnection.java:133)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:706)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1344)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1311)
	at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1194)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1090)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1003)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:817)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:131)
	at com.sap.engine.services.portletcontainer.container.descriptor.PortletDeploymentDescriptor.buildPortlet10(PortletDeploymentDescriptor.java:102)
	... 26 more

Related SAP Notes 

SAP Note 1680394

  • No labels