Skip to Content
avatar image
Former Member

Deployment failure

Dear all,

I already deploy java project (war package) in deployment perspective but I have a problem. I found an error:

failure-1.png

1. File:C:\Users\Albertus\AppData\Local\Temp\.sap\SDA\JSONExampleJAXB.war
Name:JSONExampleJAXB
Vendor:JavaEE
Location:Deployment Manager
Version:42
Deploy status:Aborted
Version:NEW
Description:
1. ASJ.dpl_ds.006193 Operation [deploy] of stand-alone module file [/usr/sap/CJD/J91/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/83/JSONExampleJAXB.war] failed
 -> [JLinEE reported following erros for JavaEE/JSONExampleJAXB application.
ERRORS:
 * Web Model Builder: cvc-enumeration-valid: Value '3.0' is not facet-valid with respect to enumeration '[2.4, 2.5]'. It must be a value from the enumeration., file: JSONExampleJAXB.war#WEB-INF/web.xml, column 225, line 2, severity: error]
Hint: 1) The given archive file is not a valid Java EE or SAP specific application.
Exception:
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 Operation [deploy] of [JavaEE_JSONExampleJAXB] failed
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:865)
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:106)
at com.sap.deployment.ui.actions.deploy.DeployAction$DeployActionJob.run(DeployAction.java:183)
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 [JavaEE_JSONExampleJAXB] failed
at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:245)
at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:71)
at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:283)
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 [JavaEE_JSONExampleJAXB] failed
at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:172)
at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:139)
at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:58)
at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:212)
... 8 more
Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: ASJ.dpl_ds.006193 Operation [deploy] of stand-alone module file [/usr/sap/CJD/J91/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/83/JSONExampleJAXB.war] failed
at com.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:3519)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:350)
at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:132)
... 11 more
Caused by: com.sap.engine.services.deploy.server.validate.jlin.JLinValidationException: [JLinEE reported following erros for JavaEE/JSONExampleJAXB application.
ERRORS:
 * Web Model Builder: cvc-enumeration-valid: Value '3.0' is not facet-valid with respect to enumeration '[2.4, 2.5]'. It must be a value from the enumeration., file: JSONExampleJAXB.war#WEB-INF/web.xml, column 225, line 2, severity: error]
Hint: 1) The given archive file is not a valid Java EE or SAP specific application.
at com.sap.engine.services.deploy.server.validate.jlin.impl.JLinPluninImpl.exec(JLinPluninImpl.java:128)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.validateApplication(DeployUtilTransaction.java:530)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:209)
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:423)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:475)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1985)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:360)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:348)
... 12 more

How to solve this problem?

Thanks.

Regards,

Bobby

failure-1.png (182.8 kB)
failure-1.png (182.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Dear Mr. Setiawan,

    If this question is answered from your perspective, then please clicked on the “Accept” link to complete this question.

    Otherwise please post the resolution and closed the thread.

    Thank you.

  • Get RSS Feed

1 Answer

  • Jul 05, 2017 at 08:21 PM

    Deployment of a standard j2ee archive (.ear/.rar/.war/.ejb/.car) which is no SDA is not supported.

    The reason is that such file is NOT a valid SAP archive. In order one archive to be deployed it has to contain SAP_MANIFEST.MF .

    Please read carefully this KBA:

    1715441 - Deploy/Undeploy/Force Redeploy EAR/WAR/RAR/SDA/SCA files on SAP AS JAVA

    The smallest unit which is possible to be deployed to the AS Java is .SDA. This means you have to convert the .WAR file to .SDA before deploying it. One of the ways to do this is with NetWeaver Packaging Tool

    1223957 - Usage of NetWeaver Packaging Tool

    Of course, when you do a deployment of .EAR, it is automatically converted to .SDA. (provided the NW AS Java is 7.1 or higher).

    Yet, for .WAR, .PAR and some other type of archives this is not the case.

    Add comment
    10|10000 characters needed characters exceeded