Hi
We have an enterprise application written in Java ( JSP, EJB ) running on JBoss 4.2.2 GA and we are building and deploying that into SAP Netweaver CE 7.1. We used the migration tool provided by SAP to convert and rebuilt the application for J2EE 5 which is used by CE. After we built the project and deploying it to the server we are getting the following error
Bad magic number, found 0x0000000E, expected 0xCAFEBABE.'.
The entire error message is given below. Your help will be appreciated
thanks
Kannan Ramanathan
Aug 20, 2008 2:56:15 PM /userOut/daView_category (eclipse.UserOutLocation) [ThreadDeploy Thread,5,main] INFO: deployment trace
14:54:26.441 info #300 0: DC API is trying to connect to 'ncdesktop:50004'
14:54:26.504 debug #100 0: SessionImpl::getContext(): B E G I N .timerId=0
14:54:33.066 debug #100 0: SessionImpl::getContext(): E N D .timerId=id:#0, elapsed: 6562 ms.
14:54:33.066 info #300 0: DC API has Connected to 'ncdesktop:50004'
14:54:33.348 debug #100 0: DeployProcessor::ctor:New deploy processor created deployerId=1
14:54:33.598 debug #200 0: DeployProcessor::Constructor:get deployer from server. deployerId=1
14:54:33.941 debug #200 0: DeployProcessor::Constructor:deployer get successfully:id:#1, elapsed: 343 ms.. deployerId=1
14:54:33.957 info #200 0: +++++ Starting D E P L O Y action +++++ deployerId=1 timerId=2
14:54:33.957 info #200 0: Selected archives for deployment. deployerId=1
14:54:33.973 info #200 0: C:\nate\netweaver_workspace\sng\Connect_SNG\Connect_SNG.ear
14:54:33.973 debug #300 0: DeployProcessor::deploy:going to generate Session id. deployerId=1
14:54:34.176 debug #300 0: DeployProcessor::deploy:DC API got Session id='951',time:id:#2, elapsed: 219 ms.. deployerId=1
14:54:34.395 debug #300 0: DeployProcessor::uploadItemsToServer:timerId=3. deployerId=1 , transactionId=951::Upload archives to the server.Remote upload path is 'C:\usr\sap\CE1\J00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\951'
14:54:34.395 debug #300 0: DeployProcessor::uploadItemsToServer:Going to upload 'C:\nate\netweaver_workspace\sng\Connect_SNG\Connect_SNG.ear' on the server. deployerId=1
14:55:02.052 debug #300 0: DeployProcessor::uploadItemsToServer: deployerId=1 , transactionId=951::File 'C:\nate\netweaver_workspace\sng\Connect_SNG\Connect_SNG.ear' uploaded successfully as 'C:/usr/sap/CE1/J00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/951/Connect_SNG.ear'. Time:id:#3, elapsed: 27657 ms.
14:55:02.052 debug #300 0: DeployProcessor::uploadItemsToServer: deployerId=1 ::Archives uploaded.time:3: 27.657 sec
14:55:02.052 debug #100 0: DeployProcessor::deployItems:enter.timerId=4. deployerId=1
14:55:02.099 info #200 0: component version handling rule is UpdateAllVersions. deployerId=1
14:55:02.256 info #200 0: Error strategies deployerId=1 :
14:55:02.256 info #100 0: deployer initialized successfully:id:#5, elapsed: 204 ms.. deployerId=1
14:55:02.256 info #100 0: Total time:5: 0.204 sec. deployerId=1
14:55:02.396 info #200 0: Starting deployment. deployerId=1
14:56:15.385 info #500 0: Deployment Exception during deployment phase 'DeploymentException',cause=An error occurred while deploying the deployment item 'sap.com_Connect_SNG'.; nested exception is:
com.sap.engine.services.dc.gd.DeliveryException: http://ERROR CODE DPL.DC.3298 An error occurred during deployment of sap.com_Connect_SNG. Cannot deploy it.
14:56:15.494 info #500 0: Deployment Items status: '
-
Sorted Items
-
1. Client path 'C:\nate\netweaver_workspace\sng\Connect_SNG\Connect_SNG.ear'
Sdu info :name 'Connect_SNG', vendor 'sap.com', location 'localhost', version '2008.08.20.14.53.55', software type ('J2EE', sub type ''), dependencies :none
Deploy status is 'Aborted'
Time statistics( ms ):
1.validate : -1
1.1.deployment : 30953
1.1.1.Notify:Event triggered : 63
1.1.2.Bulk deployment : 30812
1.1.2.1.Perform delivery : 30812
1.1.2.1.1.Application Deployer : 30797
1.1.3.Notify:Event performed : 47
Description:'1. http://ERROR CODE DPL.DC.3298 An error occurred during deployment of sap.com_Connect_SNG. Cannot deploy it.
-> Bad magic number, found 0x0000000E, expected 0xCAFEBABE.'.
-
Deployment Items
-
1. Client path 'C:\nate\netweaver_workspace\sng\Connect_SNG\Connect_SNG.ear'
Sdu info :name 'Connect_SNG', vendor 'sap.com', location 'localhost', version '2008.08.20.14.53.55', software type ('J2EE', sub type ''), dependencies :none
Deploy status is 'Aborted'
Description:'1. http://ERROR CODE DPL.DC.3298 An error occurred during deployment of sap.com_Connect_SNG. Cannot deploy it.
-> Bad magic number, found 0x0000000E, expected 0xCAFEBABE.'.
14:56:15.510 debug #300 0: DeployProcessor::deployItems:finally.Total Time:4: 73.458 sec. deployerId=1
14:56:15.510 info #200 0: +++++ End D E P L O Y action +++++ deployerId=1 . Total time:2: 101.553 sec