cancel
Showing results for 
Search instead for 
Did you mean: 

WebApp not running of using DeployTool

Former Member
0 Kudos

When I deploy an EAR with a Web project from the Eclipse IDE, the deployment is going fine and the website is available immediately.

But when I use the deployment tool - with a deploy-manager-config.xml - the website is NOT running after deployment.... What can be the difference. The output looks very similar.

The output from Eclipse is:


Jun 19, 2006 9:07:20 AM  Info: -------------------------- Starting deployment ------------------------
Jun 19, 2006 9:07:20 AM  Info: Error handling strategy: OnErrorStop
Jun 19, 2006 9:07:20 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
Jun 19, 2006 9:07:20 AM  Info: Update strategy: UpdateAllVersions
Jun 19, 2006 9:07:20 AM  Info: Starting deployment prerequisites:
Jun 19, 2006 9:07:20 AM  Info: Loading selected archives...
Jun 19, 2006 9:07:20 AM  Info: Loading archive 'C:usrsapJ2EJC00SDMprogramtemptemp8858MyAppJUnitApp.ear'
Jun 19, 2006 9:07:20 AM  Info: Selected archives successfully loaded.
Jun 19, 2006 9:07:20 AM  Info: Actions per selected component:
Jun 19, 2006 9:07:20 AM  Info: Update: Selected development component 'MyAppJUnitApp'/'MyApp.com'/'localhost'/'2006.06.19.09.04.15' updates currently deployed development component 'MyAppJUnitApp'/'MyApp.com'/'localhost'/'2006.06.19.08.50.10'.
Jun 19, 2006 9:07:21 AM  Info: Ending deployment prerequisites. All items are correct.
Jun 19, 2006 9:07:21 AM  Info: Saved current Engine state.
Jun 19, 2006 9:07:21 AM  Info: Starting: Update: Selected development component 'MyAppJUnitApp'/'MyApp.com'/'localhost'/'2006.06.19.09.04.15' updates currently deployed development component 'MyAppJUnitApp'/'MyApp.com'/'localhost'/'2006.06.19.08.50.10'.
Jun 19, 2006 9:07:21 AM  Info: SDA to be deployed: C:usrsapJ2EJC00SDMrootoriginMyApp.comMyAppJUnitApplocalhost2006.06.19.09.04.15temp8858MyAppJUnitApp.ear
Jun 19, 2006 9:07:21 AM  Info: Software type of SDA: J2EE
Jun 19, 2006 9:07:21 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Jun 19, 2006 9:07:26 AM  Info: Begin of log messages of the target system:
06/06/19 09:07:21 -  ***********************************************************
06/06/19 09:07:22 -  Start updating EAR file...
06/06/19 09:07:22 -  start-up mode is lazy
06/06/19 09:07:23 -  EAR file updated successfully for 906ms.
06/06/19 09:07:23 -  Start updating...
06/06/19 09:07:23 -  EAR file uploaded to server for 766ms.
06/06/19 09:07:25 -  Successfully updated. Update took 1969ms.
06/06/19 09:07:25 -  Deploy Service status:
06/06/19 09:07:25 -    Application : MyApp.com/MyAppJUnitApp
06/06/19 09:07:25 -    
06/06/19 09:07:25 -    MyAppJUnitWeb  - WEB
06/06/19 09:07:25 -    MyApp.com/MyAppJUnitApp  - METAMODELREPOSITORY
06/06/19 09:07:25 -  ***********************************************************
Jun 19, 2006 9:07:26 AM  Info: End of log messages of the target system.
Jun 19, 2006 9:07:26 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Jun 19, 2006 9:07:26 AM  Info: Finished successfully: development component 'MyAppJUnitApp'/'MyApp.com'/'localhost'/'2006.06.19.09.04.15'
Jun 19, 2006 9:07:27 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Jun 19, 2006 9:07:27 AM  Info: ----------------------- Deployment was successful ---------------------

The output from the deploytool is:


build:
        [java] ConfigurationManager: found jar for secure store C:usrsapj2ejc00j2eedeploying......SYSglobalsecuritylibtoolsiaik_jce_export.jar
        [java] ConfigurationManager: found jar for secure store C:usrsapj2ejc00j2eedeploying......SYSglobalsecuritylibtoolsiaik_jsse.jar
        [java] ConfigurationManager: found jar for secure store C:usrsapj2ejc00j2eedeploying......SYSglobalsecuritylibtoolsiaik_smime.jar
        [java] ConfigurationManager: found jar for secure store C:usrsapj2ejc00j2eedeploying......SYSglobalsecuritylibtoolsiaik_ssl.jar
        [java] ConfigurationManager: found jar for secure store C:usrsapj2ejc00j2eedeploying......SYSglobalsecuritylibtoolsw3c_http.jar
        [java] Start updating EAR file...
        [java] 06/06/19 09:04:22 -  Start updating EAR file...
        [java] start-up mode is lazy
        [java] 06/06/19 09:04:22 -  start-up mode is lazy
        [java] EAR file updated successfully for 4000ms.
        [java] 06/06/19 09:04:26 -  EAR file updated successfully for 4000ms.
        [java] Start deploying ...
        [java] 06/06/19 09:04:26 -  Start deploying ...
        [java] dm_msg_0006
        [java] EAR file uploaded to server for 2562ms.
        [java] 06/06/19 09:04:30 -  EAR file uploaded to server for 2562ms.
        [java] Successfully deployed. Deployment took 1844ms.
        [java] 06/06/19 09:04:32 -  Successfully deployed. Deployment took 1844ms.
        [java]   Application : MyApp.com/MyAppJUnitApp
        [java] 06/06/19 09:04:32 -    Application : MyApp.com/MyAppJUnitApp
        [java]   
        [java] 06/06/19 09:04:32 -    
        [java]   MyAppJUnitWeb  - WEB
        [java] 06/06/19 09:04:32 -    MyAppJUnitWeb  - WEB
        [java]   MyApp.com/MyAppJUnitApp  - METAMODELREPOSITORY
        [java] 06/06/19 09:04:32 -    MyApp.com/MyAppJUnitApp  - METAMODELREPOSITORY

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182372
Active Contributor
0 Kudos

Hi Jan,

According to says: <i>While depoying through deploy-manager-config.xml

the application need to be started manually from the visual admin.</i>

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

It works!!

I made that ANT deploytask from one of those pdf documents.

It is working fine, but still I have a question:

Why is ant unable to find basic classes as BaseException and others..???

Now I have to include the whole plugins folder to avoid listing all the jar files which are necessary.

[code]

<taskdef name="deploy"

classname="com.sap.deploy.DeployEarTask">

<classpath>

<pathelement location="${deploy.task.class}"/>

<pathelement location="C:/Program Files/SAP/JDT/eclipse/plugins/org.apache.ant_1.5.3/ant.jar"/>

<pathelement location="C:/usr/sap/J2E/JC00/j2ee/deploying/sapj2eenginedeploy.jar"/>

<fileset dir="C:/Program Files/SAP/JDT/eclipse/plugins"

includes="*/.jar"></fileset>

</classpath>

</taskdef>

[/code]

former_member192029
Active Contributor
0 Kudos

Hi

Please check the package structure is proper (e.g com.sap.....)

Cheers

Jawahar Govindaraj

Former Member
0 Kudos

Done already. Is ok.

I proved that by deploying the very same ear-file by Eclipse, without rebuilding it first.