on 07-24-2006 8:06 PM
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
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é
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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>
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.