Recall that the parentId of your application, as defined in the geronimo-web.xml file, is just that: com/ibm/geronimo/security/myDbPlan.
回忆一下应用程序的parentId,如geronimo-web.xml文件中所定义的,就是这个:com/ibm/geronimo/security/myDbPlan。
If the parent (value of the parentId) is not running when the datasource is deployed, the deployer starts the parent first to make sure it is available.
如果在部署数据源时父id (parentId的值)没有运行,则部署工具会首先启动该父id以确保其可用。
First you specify the configId of the deployment plan in the configuration tag, which extends the org.apache.geronimo.Security class specified by the parentId.
首先,在配置标记中指定部署计划的configId,它将扩展parentId指定的 org.apache.geronimo.Security类。
When you include a Geronimo deployment plan, as in the resource-adapter example, you can specify a configuration ID (the configId attribute) and a parent configuration ID (the parentId attribute).
在加入Geronimo部署计划之后,就可以指定配置ID (configId属性)和父元素的配置 ID(parentId属性),就像在资源适配器的例子中那样。
To ensure that the MysqlDataSource is loaded automatically when deploying the application, you can set the parentId attribute of the web-app element in the geronimo-jetty.xml file to MysqlDatabase.
要确保在部署应用程序时自动加载MysqlDataSource,可以将geronimo - jetty . xml文件中web - app元素的parentId属性设置为MysqlDatabase。
To ensure that the MysqlDataSource is loaded automatically when deploying the application, you can set the parentId attribute of the web-app element in the geronimo-jetty.xml file to MysqlDatabase.
要确保在部署应用程序时自动加载MysqlDataSource,可以将geronimo - jetty . xml文件中web - app元素的parentId属性设置为MysqlDatabase。
应用推荐