cancel
Showing results for 
Search instead for 
Did you mean: 

Deployed web services disappear

Former Member
0 Kudos

Folks,

I have installed CE 7.1 SP3 trail version,

When I deploy the web service, I can go to web service navigator and I see my web service there. However, they disappear from web services navigator if I restart my server.

How do I make them persistent?

Regards

Haseeb

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The reason you don't see your services in the drop-down is because, CE does lazy initialization of EJB components (gives you a faster startup time of the server itself). But your services are still available to you. You do not need to redeply each time you start the server. One thing you could do is create a logical destinal (in NWA) for each service and use the "search by logical destination" button. You should always see your logical names in that drop-down that you can use to invoke your services. Hope it helps.

Rao

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks for your information.

I can see the webservices with logical destinations created in the search by logical destinations but i get the error message when i try to access the webservices which are obtained by exposing the pure java classes. I shows that service is unavailable. Do we need to redeploy or is there any configuration settings.

Former Member
0 Kudos

I'm not sure on what you mean by "webservices which are obtained by exposing the pure java classes" or why you need to build services that way. But anything that's deployed on the Web Container or the EJB container of the WAS (Dynpro, CAF, EJB, etc) will be available even after the restart of the server (fundemental principles of J2EE).

Rao

Former Member
0 Kudos

Hi Rao,

I have the same problem. After restarting the server my CAF created Web Services disappear from the wsnavigator and when I try to call them from the VC I get an error.

I have to redeploy them in order to use them again, but thats not the correct behaviour of the server, I know.

Do you know where the problem could be?

Best regards,

V S

Former Member
0 Kudos

Hi v s,

After a restart, can you try invoking your web service via WS Navigator --> Logical destinations and let me know if that works?

Also what version of CE are you on?

Thanks!

Rao

Former Member
0 Kudos

Hi,

Actually when you restart your server all your services will be lost. So when you want to have those services again you have to redeploy again.

Former Member
0 Kudos

Srinivasan,

Are you sure that is a normal behaviour? It does not make any common sense to me if that is really the case.

Regards

Haseeb

Former Member
0 Kudos

Hi,

As per me the normal behavior is that only. I think it is analogous to our system since when we restart our system and the programs that had been running will get terminated and if want to start them we have to do them manually.

Regards,

Srinivasan Subbiah

Former Member
0 Kudos

Hi Haseeb,

the only idea I have is that your app to which the webservice belongs is not started,

when you enter the wsnavigator.

make sure that the app is up and running, then your webservice should be avaiable.

hth,jens

Former Member
0 Kudos

Jens,

Good point. I will check this and let you know if thats the case.

Regards

Haseeb