The essence of the following is netbeans 8.0 glassfish 4.0, the simplest web application in one pair of jsp pages. Glassfish initially works correctly, and after a while, a java DB error first comes up with an application:
Fri Jan 25 23:24:56 GMT + 03: 00 2019: The Apache Derby Network Server network server - 10.9.1.0 - (1344872) is up and ready to accept connections on port 1527 at {3} Fri Jan 25 23:26:17 GMT +03: 00 2019: Executed error protocol: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. SSL enabled client? org.apache.derby.impl.drda.DRDAProtocolException: Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. SSL enabled client? at org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm (Unknown Source) at org. (Unknown Source) at org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState (Unknown Source) at org.apache.derby.impl.drda.DRDAConnThread.run (Unknown Source) Fri Jan 25 23:26:17 GMT + 03:00 2019: Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. SSL enabled client? org.apache.derby.impl.drda.DRDAProtocolException: Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. SSL enabled client? at org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm (Unknown Source) at org. (Unknown Source) at org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState (Unknown Source) at org.apache.derby.impl.drda.DRDAConnThread.run (Unknown Source)
Further, any actions with Glassfish from netbins other than deletion become inactive — I cannot help restarting or restarting the server. You can only restart NetBeans — make launching Glassfish and get the same error.
Initially, this incomprehensible java db (what is it all about) and asked to disable the security check like. In general, the server is running for about two hours and then it crashes and it is treated only by a complete reinstallation of NetBeans + Glassfish
Glassfish logs:
Loading application [__admingui] at [/]]] [2019-01-25T22: 49: 50.981 + 0300] [glassfish 4.0] [INFO] [NCLS-CORE-00022] [javax.enterprise.system.core] [tid: _ThreadID = 95 _ThreadName = Thread-11] [timeMillis: 1548445790981] [levelValue: 800] [[Loading application __admingui done in 4 740 ms]] [2019-01-25T23: 10: 33.932 + 0300] [glassfish 4.0] [INFO ] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447033932] [levelValue: 800] [[visiting unvisited references]] [2019 -01-25T23: 10: 33.987 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis : 1548447033987] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 10: 33.993 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447033993] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 10: 34.245 + 0300] [glassfish 4.0] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web] [tid: _ThreadID = 34 _ThreadName = admin-listener (1) ] [timeMillis: 1548447034245] [levelValue: 800] [[Loading application [OnlineStore] at [/ OnlineStore]] [2019-01-25T23: 10: 34.281 + 0300] [glassfish 4.0] [INFO] [] [javax. enterprise.system.core] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447034281] [levelValue: 800] [[OnlineStore was successfully deployed in 408 milliseconds.]] [2019-01-25T23: 12: 51.678 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 37 _ThreadName = admin-listener (4)] [timeMillis: 1548447171678] [levelValue : 800] [[visiting unvisited references]] [2019-01-25T23: 12: 51.688 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 37 _ThreadName = admin-listener (4)] [timeMillis: 1548447171688] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 12: 51.699 + 0 300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 37 _ThreadName = admin-listener (4)] [timeMillis: 1548447171699] [levelValue: 800] [ [visiting unvisited references]] [2019-01-25T23: 12: 51.863 + 0300] [glassfish 4.0] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web] [tid: _ThreadID = 37 _ThreadName = admin-listener (4)] [timeMillis: 1548447171863] [levelValue: 800] [[Loading application [OnlineStore] at [/ OnlineStore]]] [2019-01-25T23: 12: 51.879 + 0300] [glassfish 4.0] [INFO ] [] [javax.enterprise.system.core] [tid: _ThreadID = 37 _ThreadName = admin-listener (4)] [timeMillis: 1548447171879] [levelValue: 800] [[OnlineStore was successfully deployed in 213 milliseconds.]] [ 2019-01-25T23: 15: 05.639 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 36 _ThreadName = admin-listener (3)] [ timeMillis: 1548447305639] [levelValue: 800] [visiting unvisited references]] [2019-01-25T23: 15: 05.988 + 0300] [glassfish 4.0] [INFO ] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 36 _ThreadName = admin-listener (3)] [timeMillis: 1548447305988] [levelValue: 800] [[visiting unvisited references]] [2019 -01-25T23: 15: 05.993 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 36 _ThreadName = admin-listener (3)] [timeMillis : 1548447305993] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 15: 06.194 + 0300] [glassfish 4.0] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web ] [tid: _ThreadID = 36 _ThreadName = admin-listener (3)] [timeMillis: 1548447306194] [levelValue: 800] [[Loading application [OnlineStore] at [/ OnlineStore]] [2019-01-25T23: 15: 06.218 +0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.core] [tid: _ThreadID = 36 _ThreadName = admin-listener (3)] [timeMillis: 1548447306218] [levelValue: 800] [[OnlineStore was successfully deployed in 656 milliseconds.]] [2019-01-25T23: 15: 33.597 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.sys tem.tools.deployment.common] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447333597] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 15: 33.623 +0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447333623] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 15: 33.627 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447333627] [levelValue: 800] [[visiting unvisited references]] [2019-01-25T23: 15: 33.723 + 0300] [glassfish 4.0] [INFO] [AS-WEB-GLUE -00172] [javax.enterprise.web] [tid: _ThreadID = 34 _ThreadName = admin-listener (1)] [timeMillis: 1548447333723] [levelValue: 800] [[Loading application [OnlineStore] at [/ OnlineStore]]] [ 2019-01-25T23: 15: 33.737 + 0300] [glassfish 4.0] [INFO] [] [javax.enterprise.system.core] [tid: _ThreadID = 34 _Thread Name = admin listener (1)] [timeMillis: 1548447333737] [levelValue: 800] [[OnlineStore was successfully deployed in 190 milliseconds.]] [2019-01-25T23: 15: 36.371 + 0300] [glassfish 4.0] [INFO ] [] [javax.enterprise.system.core] [tid: _ThreadID = 228 _ThreadName = Thread-29] [timeMillis: 1548447336371] [levelValue: 800] [[Server shutdown created]] [2019-01-25T23: 15: 36.373 + 0300] [glassfish 4.0] [INFO] [NCLS-BOOTSTRAP-00028] [javax.enterprise.bootstrap] [tid: _ThreadID = 228 _ThreadName = Thread-29] [timeMillis: 1548447336373] [levelValue: 800] [[Unregistered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7cfb4736 from service registry.]] [2019-01-25T23: 15: 36.373 + 0300] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID = 228 _ThreadName = Thread-3] [timeMillis: 1548447336373] [levelValue: 800] [[FileMonitoring shutdown]] [2019-01-25T23: 15: 36.376 + 0300] [glassfish 4.0] [INFO] [NCLS-JMX-00002] [javax.enterprise.system.jmx] [tid: _ThreadID = 228 _ThreadName = Thread-29] [timeMillis: 154844733 6376] [levelValue: 800] [[JMXStartupService: Stopped JMXConnectorServer: null]] [2019-01-25T23: 15: 36.378 + 0300] [glassfish 4.0] [INFO] [NCLS-JMX-00001] [javax.enterprise.system .jmx] [tid: _ThreadID = 228 _ThreadName = Thread-29] [timeMillis: 1548447336378] [levelValue: 800] [[JMXStartupService and JMXConnectors have been shut down.]] [2019-25-2523: 15: 36.541 + 0300] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID = 228 _ThreadName = Thread-3] [timeMillis: 1548447336541] [levelValue: 800] [[JdbcRuntimeExtension, getAllSystemRAResAlAppPools = [GlassFishConfigBean. JdbcResource to make it safe and secure. GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource]]]