So i create folder META-INF/services/ and create file and write in this documen one line:ĪS7_HOME="/usr/local/jboss7/modules/com/mysql/main/mysql-connector-java-5.0.8-bin.jar" Use the "jar" command-line tool to update the JAR like this:.Create a "META-INF/services/" file which contains one line - the fully-qualified class name of the JDBC driver.Create a "META-INF/services" subdirectory.Change to, or create, an empty temporary directory.You can do this from your command shell by: The most straightforward solution is to simply modify the JAR and add the missing file. I dont understand how can i modify the jar: What i do wrong that i have got this error msg?Īrticle is very simple but i havent got idea what is wrong with my configuration Service (missing)Ĭom.MysqlXADataSourceĪnd i create module in com/mysql/main and copy jar in this location mysql-connector-java-5.0.8-bin and my module.xml: I read article: and i try add mysql as module but i have got error : Im newbie but i work with jboss4.0.2GA and i havent any problem with configure mysqlīut in jboss7 i have got problem with integrate jboss with mysql
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |