cancel
Showing results for 
Search instead for 
Did you mean: 

Simple J2EE application fails under activation

Former Member
0 Kudos

Hi,

I have a simple J2EE application which contains one Servlet.

I have two DCs: SSORedirector (Enterprise application project) and SSORedirectWebModuleWebModule (Web Module)

(there is a third DC which is a child DC to SSORedirector, but I don't think it causes any problems)

The web module has by default public part called war (an I haven't touched this).

The Enterprise application project I have addeed the required references to the web module in the application.xml(this automatically set a Used DC reference).

When right-clicking the enterprise application and selecting build, it builds a correct ear file, and if I deploy it to my local workplace installation, the J2EE application works as expected.

However, when I try to check in and activate the activity the SDM deployment fails with the message: Info:java.lang.RuntimeException: Incorrect EAR file. EAR /usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda does not contain entry META-INF/application.xml as required by the J2EE specification.

I've retrieved the .sda file on the file system (shouldn't it be an .ear file) and it contains the application.xml under the folder meta-inf. The complete contents of the sda file is

./d1c66970ddbec7e6ffcc4d01c4705600.HASH

./META-INF/application-j2ee-engine.xml

./META-INF/application.xml

./META-INF/MANIFEST.MF

./META-INF/SAP_MANIFEST.MF

./META-INF/sda-dd.xml

./src/java/src.zip

./bouvet.com~SSORedirectorServlets.war

What could possibly be wrong?

Below are some logs.

<b>Deployment log</b>

SAP Change Management Service

System sapJDI.st.bouvet.no

Build space JDI_ZEPSSO_D

Request 8554

Step Deployment

Log /sapmnt/JDI/global/TCS/LOG/JDI_ZEPSSO_D2006021618420025.log

Info:deploy every archive associated to the buildspace: JDI_ZEPSSO_D

Info:getting DC SSORedirector from CBS for buildspace: JDI_ZEPSSO_D

Info:archive /sapmnt/JDI/global/TCS/DEPLOYARCHIVES/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda for DC SSORedirector was transfered

Info:Start deployment:

Info:The following archives will be deployed (on http://sapED2.st.bouvet.no:50018)

Info:/sapmnt/JDI/global/TCS/DEPLOYARCHIVES/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda

Info:SDM log:

Info:

Info:

Info:

Info:

Info:

Info:

Info:

Info:

Info:Feb 16, 2006 7:39:58 PM Info: -


Starting deployment -


Info:Feb 16, 2006 7:40:01 PM Info: Loading selected archives...

Info:Feb 16, 2006 7:40:01 PM Info: Loading archive '/usr/sap/ED2/JC00/SDM/program/temp/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda'

Info:Feb 16, 2006 7:40:11 PM Info: Selected archives successfully loaded.

Info:Feb 16, 2006 7:40:11 PM Info: Actions per selected component:

Info:Feb 16, 2006 7:40:11 PM Info: Update: Selected development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8596' updates currently deployed development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8590'.

Info:Feb 16, 2006 7:40:14 PM Info: The deployment prerequisites finished withtout any errors.

Info:Feb 16, 2006 7:40:14 PM Info: Saved current Engine state.

Info:Feb 16, 2006 7:40:15 PM Info: Error handling strategy: OnErrorSkipDepending

Info:Feb 16, 2006 7:40:15 PM Info: Update strategy: UpdateAllVersions

Info:Feb 16, 2006 7:40:15 PM Info: Starting: Update: Selected development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8596' updates currently deployed development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8590'.

Info:Feb 16, 2006 7:40:15 PM Info: SDA to be deployed: /usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda

Info:Feb 16, 2006 7:40:15 PM Info: Software type of SDA: J2EE

Info:Feb 16, 2006 7:40:15 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Info:Feb 16, 2006 7:40:15 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Info:Feb 16, 2006 7:40:15 PM Error: Aborted: development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8596':

Info:Caught exception during access of archive "/usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda":

Info:java.lang.RuntimeException: Incorrect EAR file. EAR /usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda does not contain entry META-INF/application.xml as required by the J2EE specification.

Info: (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).null)

Info:Feb 16, 2006 7:40:26 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Info:Feb 16, 2006 7:40:27 PM Error: -


At least one of the Deployments failed -


Info:end of log received from SDM

Info:End deployment:

Info:deploy finished for SSORedirector (8554) with rc=12

Info:deployment finished for buildspace: JDI_ZEPSSO_D

<b>CBS log</b>

CBS Request Log - [ 8554/JDI_ZEPSSO_D ]

sapjdi.st.bouvet.no SAP Component Build Server

Build number assigned: 8596

Change request state from QUEUED to PROCESSING

ACTIVATION request in Build Space "JDI_ZEPSSO_D" at Node ID: 37,956,050

[id: 8,554; parentID: 0; type: 4]

[options: NO OPTIONS]

REQUEST PROCESSING started at 2006-02-16 18:41:35.949 GMT

===== Pre-Processing =====

List of activities to be activated:

1 activity in compartment "bouvet.com_PASSTHROUGH_SSO_1"

C049689.6 - Passthrough SSO

[seq. no 17][created by 433937 at 2006-02-16 19:41:49.0][ID 44ed44bc9f1911daae5b0012799e50b6]

Analyse activities... started at 2006-02-16 18:41:35.967 GMT

Synchronizing component "bouvet.com/SSORedirector" from repository... finished at 2006-02-16 18:41:37.129 GMT and took 1 s 10 ms

Component "bouvet.com/SSORedirector" is to be CHANGED by this activation.

Synchronizing component "bouvet.com/SSORedirectWebModule" from repository... finished at 2006-02-16 18:41:37.933 GMT and took 802 ms

Component "bouvet.com/SSORedirectWebModule" is to be CHANGED by this activation.

Synchronizing component "bouvet.com/SSORedirectorServlets" from repository... finished at 2006-02-16 18:41:39.144 GMT and took 1 s 211 ms

3 components to be build in compartment "bouvet.com_PASSTHROUGH_SSO_1"

Analyse activities... finished at 2006-02-16 18:41:39.202 GMT and took 3 s 235 ms

Calculate all combinations of components and variants to be built...

"bouvet.com/SSORedirector" variant "default"

"bouvet.com/SSORedirectorServlets" variant "default"

"bouvet.com/SSORedirectWebModule" variant "default"

Prepare build environment in the file system... started at 2006-02-16 18:41:39.410 GMT

Synchronize development configuration... finished at 2006-02-16 18:41:39.430 GMT and took 20 ms

Synchronize component definitions... finished at 2006-02-16 18:41:39.469 GMT and took 38 ms

Synchronize sources...

Synchronize sources... finished at 2006-02-16 18:41:40.891 GMT and took 1 s 422 ms

Synchronize used libraries...

public part "war" of component "bouvet.com/SSORedirectWebModule" ... OK

[PP "war" of DC 381 variant "default"][SC 142][last successfull build: 0]

public part "default" of component "sap.com/ejb20" ... OK

[PP "default" of DC 128 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/jdbc20" ... OK

[PP "default" of DC 145 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/jms" ... OK

[PP "default" of DC 147 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/servlet" ... OK

[PP "default" of DC 166 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/ejb20" ... OK

[PP "default" of DC 128 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/jdbc20" ... OK

[PP "default" of DC 145 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/jms" ... OK

[PP "default" of DC 147 variant "default"][SC 139][last successfull build: 8020]

public part "default" of component "sap.com/servlet" ... OK

[PP "default" of DC 166 variant "default"][SC 139][last successfull build: 8020]

Synchronize used libraries... finished at 2006-02-16 18:41:43.712 GMT and took 2 s 820 ms

Prepare build environment in the file system... finished at 2006-02-16 18:41:43.712 GMT and took 4 s 302 ms

===== Pre-Processing ===== finished at 2006-02-16 18:41:43.713 GMT and took 7 s 755 ms

===== Processing =====

BUILD DCs

"bouvet.com/SSORedirectorServlets" in variant "default"

Public Part "war" has been changed. Dependent components will be marked as DIRTY and re-built later.

The build was SUCCESSFUL. Archives have been created.

"bouvet.com/SSORedirectWebModule" in variant "default"

Public Part "war" has been changed. Dependent components will be marked as DIRTY and re-built later.

The build was SUCCESSFUL. Archives have been created.

"bouvet.com/SSORedirector" in variant "default"

The build was SUCCESSFUL. Archives have been created.

===== Processing ===== finished at 2006-02-16 18:41:56.154 GMT and took 12 s 436 ms

===== Post-Processing =====

Check whether build was successful for all required variants...

"bouvet.com/SSORedirectorServlets" in variant "default" OK

"bouvet.com/SSORedirectWebModule" in variant "default" OK

"bouvet.com/SSORedirector" in variant "default" OK

Update component metadata...

"bouvet.com/SSORedirector" has been CHANGED

"bouvet.com/SSORedirectWebModule" has been ACTIVATED

STORE build results...

"bouvet.com/SSORedirectorServlets": store meta-data

"bouvet.com/SSORedirectorServlets" in "default" variant is PROCESSED

"bouvet.com/SSORedirectWebModule": store meta-data

"bouvet.com/SSORedirectWebModule" in "default" variant is PROCESSED

"bouvet.com/SSORedirector": store meta-data

"bouvet.com/SSORedirector" in "default" variant is PROCESSED

Change request state from PROCESSING to SUCCEEDED

Analyse effect of applied changes to buildspace state... started at 2006-02-16 18:41:56.364 GMT

Handle Cycles...

No cycles detected.

Determine components that have become DIRTY due to the results of this request...

No such components have been found.

Integrate activities into active workspace(s)...

Integration of activities in compartment "bouvet.com_PASSTHROUGH_SSO_1" started at 2006-02-16 18:41:56.785 GMT

"C049689.6 - Passthrough SSO" OK

Integration of 1 activities in compartment "bouvet.com_PASSTHROUGH_SSO_1" finished at 2006-02-16 18:42:16.614 GMT and took 19 s 829 ms

Analyse effect of applied changes to buildspace state... finished at 2006-02-16 18:42:16.615 GMT and took 20 s 251 ms

Request SUCCEEDED

===== Post-Processing ===== finished at 2006-02-16 18:42:16.617 GMT and took 20 s 451 ms

REQUEST PROCESSING finished at 2006-02-16 18:42:16.618 GMT and took 40 s 669 ms

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Managed to solve it in a obscure way.

I had earlier deployed the .ear file directly from NWDS to our dev system (hadn't installed dev workplace then). By removing the application from the deploy service in visual admin, the import suddenly worked.

Dagfinn