cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment Error

Former Member
0 Kudos

Hi Guys,

the following is the error description am getting in the console when i deploy my app in the server

Oct 30, 2007 3:28:57 PM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,6,main]] ERROR: Deploy Exception.An error occurred while deploying the deployment item 'sap.com_myapp_Soft_36_EAR'.; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_myapp_Soft_36_EAR

sdu file path: C:\usr\sap\CE2\J03\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\384\myapp_Soft_36_EAR.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Cannot deploy application sap.com/myapp_Soft_36_EAR. Reason: The application sap.com/myapp_Soft_36_EAR will not be deploy, because its validation failed. Reason:

ERRORS:

Web Model Builder: Cannot mix the versions of web deployment descriptors., file: myapp_Soft_36_WEB.war#WEB-INF/web-j2ee-engine.xml, column 0, line 0, severity: error

WARNINGS:

Web Model Builder: Following tests could not be executed because of failed precondition test "Web Model Builder" : Implicit Constraints Test, JSF Application Test, Mapping Test, Web File Existence Test, Web Class Existence Test, Security Role Test, file: myapp_Soft_36_WEB.war, column -1, line -1, severity: warning

..

Reason: The application sap.com/myapp_Soft_36_EAR will not be deploy, because its validation failed. Reason:

ERRORS:

Web Model Builder: Cannot mix the versions of web deployment descriptors., file: myapp_Soft_36_WEB.war#WEB-INF/web-j2ee-engine.xml, column 0, line 0, severity: error

WARNINGS:

Web Model Builder: Following tests could not be executed because of failed precondition test "Web Model Builder" : Implicit Constraints Test, JSF Application Test, Mapping Test, Web File Existence Test, Web Class Existence Test, Security Role Test, file: myapp_Soft_36_WEB.war, column -1, line -1, severity: warning

; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Cannot deploy application sap.com/myapp_Soft_36_EAR. Reason: The application sap.com/myapp_Soft_36_EAR will not be deploy, because its validation failed. Reason:

ERRORS:

Web Model Builder: Cannot mix the versions of web deployment descriptors., file: myapp_Soft_36_WEB.war#WEB-INF/web-j2ee-engine.xml, column 0, line 0, severity: error

WARNINGS:

Web Model Builder: Following tests could not be executed because of failed precondition test "Web Model Builder" : Implicit Constraints Test, JSF Application Test, Mapping Test, Web File Existence Test, Web Class Existence Test, Security Role Test, file: myapp_Soft_36_WEB.war, column -1, line -1, severity: warning

..

Reason: The application sap.com/myapp_Soft_36_EAR will not be deploy, because its validation failed. Reason:

ERRORS:

Web Model Builder: Cannot mix the versions of web deployment descriptors., file: myapp_Soft_36_WEB.war#WEB-INF/web-j2ee-engine.xml, column 0, line 0, severity: error

WARNINGS:

Web Model Builder: Following tests could not be executed because of failed precondition test "Web Model Builder" : Implicit Constraints Test, JSF Application Test, Mapping Test, Web File Existence Test, Web Class Existence Test, Security Role Test, file: myapp_Soft_36_WEB.war, column -1, line -1, severity: warning

; nested exception is:

java.rmi.RemoteException: com.sap.engine.services.deploy.server.validate.jlin.JLinValidationException: The application sap.com/myapp_Soft_36_EAR will not be deploy, because its validation failed. Reason:

ERRORS:

Web Model Builder: Cannot mix the versions of web deployment descriptors., file: myapp_Soft_36_WEB.war#WEB-INF/web-j2ee-engine.xml, column 0, line 0, severity: error

WARNINGS:

Web Model Builder: Following tests could not be executed because of failed precondition test "Web Model Builder" : Implicit Constraints Test, JSF Application Test, Mapping Test, Web File Existence Test, Web Class Existence Test, Security Role Test, file: myapp_Soft_36_WEB.war, column -1, line -1, severity: warning

can anyone helpout to fix this error.

Regards,

Lakshmi M

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

this error:

ERRORS:

Web Model Builder: Cannot mix the versions of web deployment descriptors., file: myapp_Soft_36_WEB.war#WEB-INF/web-j2ee-engine.xml, column 0, line 0, severity: error

means that you cannot mix the versions of the web.xml and web-j2ee-engine.xml. For example:

If your web.xml is Servlet Spec 2.3/2.2 (it has DTD declaration) then your web-j2ee-engine.xml will also have the old DTD declaration

If your web.xml is Servlet Spec 2.4/2.5 (it has XSD declaration) then your web-j2ee-engine.xml must have also the new XSD provided.

For more information you can see also:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/83086a1d-0e01-0010-2797-f1ce7f8f562d">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/83086a1d-0e01-0010-2797-f1ce7f8f562d</a>

<a href="/people/community.user/blog/2007/09/27/tweak-my-old-web-app-into-into-a-brand-new-java-ee-5--part-2--convert-the-additional-xml:///people/community.user/blog/2007/09/27/tweak-my-old-web-app-into-into-a-brand-new-java-ee-5--part-2--convert-the-additional-xml

Former Member
0 Kudos

Thanks

Regards,

Lakshmi M

Former Member
0 Kudos

Hi,

when i deployed my application iam getting the following error.

Nov 2, 2007 1:27:29 PM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,6,main]] ERROR: Deploy Exception.An error occurred while deploying the deployment item 'sap.com_myapp_36_EAR'.; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_myapp_36_EAR

sdu file path: C:\usr\sap\CE2\J03\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\445\myapp_36_EAR.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Cannot deploy application sap.com/myapp_36_EAR. Reason: Exception occurred while converting war file [myapp_36_WEB.war] of the application [sap.com/myapp_36_EAR]...

Reason: Exception occurred while converting war file [myapp_36_WEB.war] of the application [sap.com/myapp_36_EAR].; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Cannot deploy application sap.com/myapp_36_EAR. Reason: Exception occurred while converting war file [myapp_36_WEB.war] of the application [sap.com/myapp_36_EAR]...

Reason: Exception occurred while converting war file [myapp_36_WEB.war] of the application [sap.com/myapp_36_EAR].; nested exception is:

java.rmi.RemoteException: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Exception occurred while converting war file [myapp_36_WEB.war] of the application [sap.com/myapp_36_EAR].; nested exception is:

java.io.IOException: C:\usr\sap\CE2\J03\j2ee\cluster\server0\temp\deploy\work\deploying\myapp_36_EAR.ear1193990195235\convertwarfile\spring.tld (The system cannot find the file specified)

My application contains spring.tld file, which is placed under /WEB-INF/ folder of webmodule.

can u give any suggestions on this exception.

Regards,

Lakshmi M

Former Member
0 Kudos

Hi,

Could you please try to give me more detailed log record. You can find it in the following location:

//usr/sap/SID/Instance_Number/j2ee/cluster/serverX/log/

in your case it will be

C:\usr\sap\CE2\J03\j2ee\cluster\server0\log

Regards,

Violeta

Message was edited by:

Violeta Georgieva