Category: Glassfish
-
MySQL JDBC Connection in Glassfish
Start to add a new JDBC Connection Pools. * Goto Resources-> JDBC -> JDBC Connection Pools * Click New… * Enter a pool name (identyfy the pool, free text) * Choose java.sql.Driver * Click Next * Enter com.mysql.jdbc.Driver in Driver Classname * Add additional properties: Name Value URL jdbc:mysql://localhost:3306/<databaseName>?zeroDateTimeBehavior=convertToNull user <username> password <password> * Click…
-
Ubuntu autostart Glassfish
You need to set JAVA_HOME and add JAVA_HOME/bin to PATH asadmin create-service
-
Glassfish 4.1 start script
GlassFish logo Ubuntu logo Installing GlassFish 4.1 on Ubuntu 14.10 (last updated 2015-02-05) This HOWTO explains one way of setting up GlassFish 4.1 under Ubuntu 14.10. Questions or suggestions for improvement can be addressed to shadowm at lyonlabs dot org. Installing GlassFish Fronting GlassFish with Apache 2.4 Setting up Database Connection Pools Installing GlassFish Download…
-
Glassfish remote deploy
replace /usr/local/glassfish4/glassfish/modules/nucleus-grizzly-all.jar ./asadmin change-admin-password ./asadmin enable-secure-admin