cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping J2EE Application

Former Member
0 Kudos

Hi,

On CE 7.1 I have my EJB apps deployed and exposed as webservices. When I try to stop the applications using the NWA the applications are stoped and the status says so, but when I invoke the webservices I'm successful (I shouldn't be because I stopped the EJB application) and the EJB application status is changed to 'started'.

Did anybody face a similar issue.

Basically I want to be able to make the EJB accessible/unaccessible without deploying/undeploying them.

Any ideas are greatly appreciated.

Rajiv.

Accepted Solutions (0)

Answers (1)

Answers (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi

I think the reason is caused by references between deployed applications. If let say one application A has a reference to another B and B is in stopped state then when A accesses B it'll be automatically started by server.

BR, Siarhei

Former Member
0 Kudos

You are right, but I'm stopping the EAR application and there are no references to it. Just an EJB exposed as an webservice.

I stop the EAR then using the wsnavigator, when I run the webservice it runs and the status is changed to started.

Maybe I'm missing something here.

Rajiv.

siarhei_pisarenka3
Active Contributor
0 Kudos

It seems the application is started by J2EE Web container when some HTTP request accesses it. In general I think that such behavior is quite normal. I remember that WebDynpro applications behave similar - they are started automatically by WebDynpro container even were stopped before when there is HTTP request to the application or when it's accesses by another application by reference.

BR, Siarhei