Location of GlassFish Server Logs

后端 未结 3 1884
情歌与酒
情歌与酒 2020-11-30 05:48

I have NetBeans IDE installed on a Windows 7 64-bit machine. Obviously, NetBeans comes with the GlassFish server.

I am currently having problems with a project and

3条回答
  •  一整个雨季
    2020-11-30 05:49

    In general the logs are in /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/.

    In NetBeans go to the "Services" tab open "Servers", right-click on your Glassfish instance and click "View Domain Server Log".

    If this doesn't work right-click on the Glassfish instance and click "Properties", you can see the folder with the domains under "Domains folder". Go to this folder -> your-domain -> logs

    If the server is already running you should see an Output tab in NetBeans which is named similar to GlassFish Server x.x.x

    You can also use cat or tail -F on /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/server.log. If you are using a different domain then domain1 you have to adjust the path for that.

提交回复
热议问题