cancel
Showing results for 
Search instead for 
Did you mean: 

Application does not start automatically after J2EE restart

Former Member
0 Kudos

Hi,

Is there a way to automatically start the deployed applications after a J2EE restart. We have a .ear file which we have to redeploy everytime we restart the J2EE engine. We are on 6.40 SP15.

Regards,

Parvez

Accepted Solutions (0)

Answers (2)

Answers (2)

desiree_matas
Contributor
0 Kudos

Hi,

Are you able to start the services manually without problems?

If yes, you can try to change the startup mode to 'always' via config tool. Switch to the 'configuration editor' mode and go to cluster_data -> server -> cfg -> services. Look for the service and make click on the propertysheet.

Regards,

Désiré

former_member182372
Active Contributor
0 Kudos

Hi Parvez,

First of all you don`t need to redeploy ear. Launch Visual Administrator, go to Server->Servces->Deploy, swith to application (radio button on the bottom), select your application and click "Start Application".

The reason why it is not started automaticaly is the references? Do you have any hard references in ear`s application-j2ee-engine.xml?

Best regards, Maksim Rashchynski

Former Member
0 Kudos

The application-j2ee-engine.xml looks likes

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">

<application-j2ee-engine>

<provider-name>sap.com</provider-name>

<fail-over-enable

mode="disable"/>

</application-j2ee-engine>

Any thoughts?

Former Member
0 Kudos

Hi,

applications have startup mode property, which determines how are they started by the containers. This property is set in the application-j2ee-engine.xml. Try setting it with a value of "always". More info <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6f/80c8a05835b54ba68e5b79354b011a/frameset.htm">here</a>.

Hope that helps!

Former Member
0 Kudos

Hi Parvez and Ivaylo,

Has any of you used the startup mode setting? I tried using it and set it to always but the application still won't start. Is there anything I'm missing?

My application-j2ee-engine.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">

<application-j2ee-engine>

<provider-name>nexeninc.com</provider-name>

<fail-over-enable

mode="disable"/>

<start-up

mode="always"/>

</application-j2ee-engine>