How to run glassfish 4 on port 80 instead of 8080? root access is not an issue

To run GlassFish on port 80 you need to : Connect to the administration interface (by default on port :4848) In the left menu go to Configurations Then select the appropriate configuration you need to change eg server-config Then go to Network Config Then go to Network Listeners Select the appropriate listener, probably http-listener-1 Change … Read more

Glassfish Admin Console throws java.lang.IllegalStateException when creating JDBC Pool

According to the following JIRA tickets: Cannot Create JDBC Resource or Connection Pool in Admin Console Cannot create JDBC Connection Pool this is still an unresolved issue. Even though we can expect such things since Oracle abandoned a commercial support for Glassfish, it is still horrible that such basic functionality does not work. However, if … Read more

org.hibernate.hql.internal.ast.QuerySyntaxException: table is not mapped

Finally I found a mistake! Hope this is useful to someone. When doing a request to the database(in my case it Apache Derby), name of base need write the first letter upper case other in lower case. This is wrong query: session.createQuery(“select first_name from CUSTOMERV”). This is valid query session.createQuery(“select first_name from Customerv”). And class … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)