GlassFish 4.1.1 Poolconnection和Resources bug

时间:2016-09-04 08:01:47

标签: glassfish glassfish-4

我正在使用glassfish 4.1.1并且我无法创建JDBC-Connection-Pool或JDBC-Resources是否有任何解决方案可以解决此问题!

While creating the connection pool

Whilte adding the Resources

1 个答案:

答案 0 :(得分:1)

显然问题出现在应用程序界面中,所以当我使用行命令时它会起作用!

asadmin create-jdbc-connection-pool --port {4848} --datasourceclassname org.postgresql.ds.PGSimpleDataSource --restype javax.sql.DataSource --property PortNumber={5532}:Password={password}:User={user_name}:ServerName={localhost}:DatabaseName={database_name}=org.postgresql.Driver {pool_name}