Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When I run the Application, only "web" engine is running in GlassFish. "webservices" is not started

Tags:

glassfish

i tried a simple web service program for the first time. When I run the Application, only "web" engine is running in GlassFish. "webservices" engine is not started. i have installed java ee sdk 1.6

like image 800
Onisha Avatar asked Jan 13 '23 15:01

Onisha


1 Answers

I assume you have have created a dynamic web project with Webservices annotations on your classes. On deployment, and logging into Glassfish Admin console and then navigating to Applications and looking under Engines column against your deployed application, Glassfish showing only web and not showing webservices.

To enable the webservices, it appears your classes are not compiling under default build/classes directory.

Do either of the following: Right click on your project > Build Project. or Go to eclipse menu > Project > Build Automatically

Now redeploy your application again. webservices Engine should be visible along with web engine.

like image 108
vinsinraw Avatar answered May 20 '23 02:05

vinsinraw