Changes for page GlassFish Installation
Last modified by Thomas Mortagne on 2023/10/10
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,13 +28,16 @@ 28 28 29 29 Quick and dirty is easy: 30 30 * Create the connection pool: Assuming you did the MySQL stuff as explained [[here>>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL]] you have a MySQL database called 'xwiki' accessable by a user 'xwiki' with password 'xwiki'. 31 -* ##{{{asadmin create-jdbc-connection-pool --datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype javax.sql.ConnectionPoolDataSource --property "User=xwiki:Password=xwiki:URL=$DB_URL" jdbc/xwikipool}}}## 32 -* Test the connection pool: ##{{{asadmin ping-connection-pool jdbc/xwikipool}}}## should give you "Command ping-connection-pool executed successfully." 31 +* ##{{{asadmin create-jdbc-connection-pool --datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource }}}## 32 +##{{{--restype javax.sql.ConnectionPoolDataSource --property "User=xwiki:Password=xwiki:URL=$DB_URL" jdbc/xwikipool}}}## 33 +* Test the connection pool: ##{{{asadmin ping-connection-pool jdbc/xwikipool}}}## 34 +* This should give you ##{{{Command ping-connection-pool executed successfully.}}}## 33 33 * Create the JDBC resource: ##{{{asadmin --user=admin create-jdbc-resource --connectionpoolid jdbc/xwikipool jdbc/xwiki}}}## 34 -* Test the JDBC resource: ##{{{asadmin --user admin list-jdbc-resources}}}## should result in: 35 -jdbc/__TimerPool 36 -jdbc/__default 37 -jdbc/arena 38 -jdbc/classifieds 36 +* Test the JDBC resource: ##{{{asadmin --user admin list-jdbc-resources}}}## 37 +* This should result in: 38 +##{{{jdbc/__TimerPool}}}## 39 +##{{{jdbc/__default}}}## 40 +##{{{jdbc/arena}}}## 41 +##{{{jdbc/classifieds}}}## 39 39 40 -Command list-jdbc-resources executed successfully. 43 +##{{{Command list-jdbc-resources executed successfully.}}}##