- start Netbeans
- register the application server inside Netbeans
- go to tools/servers and register Widlfly, choosing the installation path
- choose conf/standalone.xml as the configuration file
- create a web application
- create a new web project and name it WebappStatica
- choose Wildfly as the application server
- dont' add any framework
- run the web app, clicking on the green arrow on the top toolbar
- check that the web browser opens up and displays http://localhost:8080/WebappStatica
- undeploy your app by going to the services section, expanding the application server tree until you see your web app, right click and then choose undeploy
- check that you get a 404 error when refreshing your web browser on http://localhost:8080/WebappStatica
- stop the application server right clicking on it and choosing stop
- check that you get a network error when refreshing http://localhost:8080/WebappStatica
- run the application server from outside Netbeans
- open up a terminal
- change directory to the bin/ folder of the application server and start standalone.bat
- check that http://localhost:8080 is back again
- deploy your web app from inside Netbeans and check that the application is back running too
Baretail: https://www.baremetalsoft.com/baretail/
Nessun commento:
Posta un commento