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]]]

  • I try to start the console from the console using the command asadmin start -domain domain1 and get the error Could not find or load main class files - Stanislav Alekseev
  • From your previous question, we are talking about 2016 courses. Try to take version 8.2. Although, judging by the logs, the more likely cause of the problem is an error in the project or its dependencies. But, this is just my guess. - Streletz 8:48 pm
  • There are two jsp pages in the project, even if I delete them now, the server does not start again. Versions I tried everything from 7th to 9th, everywhere the same thing - Stanislav Alekseev
  • deleted the application, restarted Windows, netbins, Glasfish. I go into netbins and click on the gamfish to start and get it here Sat Jan 26 00:14:23 GMT + 03: 00 2019: Apache Derby Network Server - 10.9.1.0 - (1344872 ) started and ready to accept connections on port 1527 to {3} what kind of crap is that? the server also does not rise from the console - it doesn’t write that you can’t find or load the main class files what it was. created a new domain through the console tried to start it - the same error did not can find or load the Maine class .... - Stanislav Alekseev
  • demolished this glasfish - I load again through no bins, it doesn’t load)) writes the folder is not correct is specified, well I try to install to the folder in which he wants - she writes otusustvuet. I create it manually - I write it not, I go to the directory- he himself deleted it)))) as I understand it, therefore no one works with this voice of the fish afterwards that this is some sort of violence against the body? - Alekseev Stanislav

0