I'm creating a system using netbeans IDE at some point I had to set up the data source and connection pool. I did that well but when I deploy the project the new data source and connection pool are not displayed on the JDBC resources and connection pool. I have figured I should add the reources by using the as admin command.
asadmin> add-resources c:\\tmp\\resource.xml
Command : JDBC resource jdbc1 created successfully.
Command : JDBC connection pool poolA created successfully.
Command add-resources executed successfully.
But I don't know where exactly do I write this code. Please will someone tell me where do I write the given glassfish asadmin command so that I can add the resources.
只需在 glassfish 管理控制台上添加资源.. 可能与此处重复
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.