cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice Not Restarted Automatically

Former Member
0 Kudos

Hello there,

I have a webservice deployed in the J2EE engine and the webservice works fine. It's just when I restart the J2EE engine, the webservice does not restart automatically. I have to go to the Visual Admin >[Server Instance]>Services-->Deploy, select webservices container, select the webservice and finally click on Start Application to restart my webservice.

Is that a normal behavior? Or is there a setting in my webservice code to tell it to restart itself each time the J2EE engine is restarted.

The webservice is being called by a webdynpro application using a url like this:

https://localhost/[WebserviceName]/Config1?style=document

Both the webdynpro and the webservice are deployed on the same J2EE engine.

<b>P.S. We are at SP 16 in NW04.</b>

Thanks,

Alaa

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi there,

I noticed that there is a Startup mode setting on the application-j2ee-engine.xml file for my ear file which holds the webservice. I set the Startup mode 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>