David Matějček
David Matějček
@szarza Is it still happening with 7.0.13? In #24616 we improved closing resources, so I am curious if something might change on your side too.
Just for sure, do you have write permissions to `/var/log/cestel/calypso/server.log` file?
``` /app/appservers/glassfish7/glassfish/bin/asadmin set-log-attributes org.glassfish.main.jul.handler.GlassFishLogHandler.rotation.rollOnDateChange=true\:org.glassfish.main.jul.handler.GlassFishLogHandler.rotation.compress=true\:org.glassfish.main.jul.handler.GlassFishLogHandler.rotation.maxArchiveFiles=20\:org.glassfish.main.jul.handler.GlassFishLogHandler.file=/var/log/cestel/calypso/server.log ``` This really broke logging. If anything in your logging configuration breaks, the logging configuration is invalid. However enabling the configuration is not transactional. Maybe we...
I will close it for now, but if you would find another reason than missing permissions, please reopen the issue.
Yes, changes were applied immediately and even after restart the server continued to work. The first log message is written by the `asadmin start-domain` command, we will probably change this...
Can you try to start the domain with --verbose? It should print some logs to your STDOUT so if the server is broken and cannot start, it should print at...
Thanks, now I see the problem - missing dependency. Can you list this directory? ``` /home/szarza/proyectos/cestel/calypso/calypso.installer/glassfish/make/glassfish7/glassfish/lib/bootstrap/ ``` It should contain two jar files: ``` ll glassfish7/glassfish/lib/bootstrap/ ... -rw-r----- 1 dmatej...
I was able to reproduce it - it is caused by two lines - when you remove/comment out both of them, GlassFish starts and logging works. I will try to...
Just FYi, this hit much bigger issue I already knew for a long time and which basically led to creation of custom log manager in glassfish - now you proved...
Note: Resources can be linked to instances/clusters with create-resource-ref command. But pools and resources are always bound to the server instance (domain, admin ... we should consolidate this terminology too,...