cancel
Showing results for 
Search instead for 
Did you mean: 

WAS 7.1 Deployment Exception

Former Member
0 Kudos

Hi Experts,

I am doing the migration of a J2EE application built in JBoss into SAP WAS 7.1

I have imported all the contents(except java sources) from the existing into a webmodule project in NWDS and then I had created Enterprise Application project to add this web module. I have modified all the deployment descriptor files. After the project build, I deployed the .ear file in the WAS, but it was throwing the following error:

An error occurred while deploying the deployment item 'sap.com_XXXX'.; nested exception is:

com.sap.engine.services.dc.gd.DeliveryException.

Description:

1. ERROR CODE DPL.DC.3298 An error occurred during deployment of sap.com_XXXX. Cannot deploy it.

-> Bad magic number, found 0x0000000E, expected 0xCAFEBABE.

When I did the same in NW 7.0 WAS it was successfully deployed. I read some threads for the Bad magic error it is all saying about the class file format is wrong. For NW 7.0, jdk version 1.4.2 is used, but for the NW CE7.1 the version of jdk is 1.5. will it be the cause for the above exception?

and today I have got the java sources from class files using some Java Decompilers and I placed them in the source folder. After successful build I tried to deploy, but the same error occurs while deploying.

Any Suggestions??

Regards

Karthik

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

Problem is solved.

After removing some unwanted jar files from the classpath of the Web Module, the .ear file is getting deployed without that error.

Thanx for you all,

Karthik

Former Member
0 Kudos

Hi Karthik,

I have got the same problem but i don't know what to do. Can you explain me what did you do?

Thanks a lot,

toni

Former Member
0 Kudos

Hi Toni,

Initially I had .ear file only for this migration process, the existing application is built using an earlier version of J2EE. I used Java EE 5 in Netweaver CE 7.1 environment, so when I try to deploy I got the exception. After that I requested our client and got the java source files, then I compiled and deployed it. But that also was not helped me and I heard that the classpath is having some corrupted jars.

I just removed some jar files from the classpath of my Web module then it is working, perhaps they may have contain corrupted class files.

Regards

Karthik