-
1. Re: WildFly modules path
jaikiran May 24, 2013 8:12 AM (in response to mylos78)You can/should place your custom modules in modules/foo/bar.
-
2. Re: WildFly modules path
mylos78 May 24, 2013 8:19 AM (in response to jaikiran)Thanks Jaikiran. Well I've tried creating a JDBC module under modules\org\mysql\main but it's not picked up by the application server:
C:\jboss-as-8.0.0.Alpha1-SNAPSHOT\modules\org\mysql\main
---------- module.xml
---------- mysql-connector-java-5.1.24-bin.jar
<module xmlns="urn:jboss:module:1.1" name="org.mysql">
<resources>
<resource-root path="mysql-connector-java-5.1.24-bin.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
I'll try and see if I'm more lucky with the modules\system\layers\base path......
-
3. Re: WildFly modules path
jaikiran May 24, 2013 8:24 AM (in response to mylos78)What's exactly do you mean by not picked by the server? Can you add some more details please?
-
4. Re: WildFly modules path
mylos78 May 24, 2013 8:35 AM (in response to jaikiran)Well it does not appear in the driver list
/subsystem=datasources:installed-drivers-list
so if I try to create a new datasource, I'm unable to use the mysql driver. Also I remember adding an .index file in the folders "visited" by the module loader but maybe this is a peculiarity of JBoss 7. Just wondering if new data source can be created with AS 8.
Thanks
Mylos
-
5. Re: WildFly modules path
jaikiran May 24, 2013 8:41 AM (in response to mylos78)It won't automatically appear in the driver-list. You will have to configure it as a driver in the datasource subsystem. Have you done that?
-
6. Re: WildFly modules path
mylos78 May 24, 2013 8:59 AM (in response to jaikiran)I beg your pardon. I remembered this happened automatically with the module installation. Sorry.