I am trying to run a simple Java EE application using NetBeans, Darby and Glassfish. The application will not run as the Glass fish server encounters an error during the initial stages of deployment:
Caused by: com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid resource : java:module/jdbc/projectpool__pm
The project builds fine.
Pastebin of the output to the NetBeans logs generated when implementing a clean build. Everything seems to work OK bar some issue with optional Eclipse config files.
Pastebin of the output to the NetBeans logs generated when I try and run the application using Netbeans.
Pastebin of the output to the Glass Fish logs generated when I try and run the application through NetBebeans.
The steps I followed to generate the entity classes included:
Following these steps generated the appropriate entity classes. Have I left out a step? Do I need to manually create a pool or is that done automatically when I completed steps 3, 4 and 5?
I am unable to add a connection pool manually to the GlassFish server using the web portal.
Pastebin of Glassfish logs on initialing the server: https://pastebin.com/F7eYYwy1 .
Do not use glassfish server it is no longer supported by Oracle and it has bugs. Oracle left the glassfish project as an opensource project and it did not get the support required to sustain it. Try Payara. It is a well-supported fork of glassfish that I found to work quite well.