{"action":"created","issue":{"url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/issues/59","repository_url":"https://api.github.com/repos/mincong-h/gsoc-hsearch","labels_url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/issues/59/comments","events_url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/issues/59/events","html_url":"https://github.com/mincong-h/gsoc-hsearch/issues/59","id":161236544,"number":59,"title":"IT failed due to Failed to load module for driver [com.mysql.driver]","user":{"login":"mincong-h","id":10179217,"avatar_url":"https://avatars.githubusercontent.com/u/10179217?v=3","gravatar_id":"","url":"https://api.github.com/users/mincong-h","html_url":"https://github.com/mincong-h","followers_url":"https://api.github.com/users/mincong-h/followers","following_url":"https://api.github.com/users/mincong-h/following{/other_user}","gists_url":"https://api.github.com/users/mincong-h/gists{/gist_id}","starred_url":"https://api.github.com/users/mincong-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mincong-h/subscriptions","organizations_url":"https://api.github.com/users/mincong-h/orgs","repos_url":"https://api.github.com/users/mincong-h/repos","events_url":"https://api.github.com/users/mincong-h/events{/privacy}","received_events_url":"https://api.github.com/users/mincong-h/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mincong-h","id":10179217,"avatar_url":"https://avatars.githubusercontent.com/u/10179217?v=3","gravatar_id":"","url":"https://api.github.com/users/mincong-h","html_url":"https://github.com/mincong-h","followers_url":"https://api.github.com/users/mincong-h/followers","following_url":"https://api.github.com/users/mincong-h/following{/other_user}","gists_url":"https://api.github.com/users/mincong-h/gists{/gist_id}","starred_url":"https://api.github.com/users/mincong-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mincong-h/subscriptions","organizations_url":"https://api.github.com/users/mincong-h/orgs","repos_url":"https://api.github.com/users/mincong-h/repos","events_url":"https://api.github.com/users/mincong-h/events{/privacy}","received_events_url":"https://api.github.com/users/mincong-h/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/milestones/2","html_url":"https://github.com/mincong-h/gsoc-hsearch/milestones/week-9","labels_url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/milestones/2/labels","id":1825173,"number":2,"title":"week-9","description":"All maven components are correctly configured. Enable IT.","creator":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2016-06-14T06:37:12Z","updated_at":"2016-06-20T20:18:50Z","due_on":"2016-06-26T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-06-20T16:24:14Z","updated_at":"2016-06-20T20:18:50Z","closed_at":"2016-06-20T20:18:50Z","body":"In the failsafe report : \r\n\r\n    target/failsafe-reports/org.hibernate.search.jsr352.DeploymentIT-output.txt\r\n\r\nIt shows that the server started with error because it failed to load the MySQL module.\r\n\r\n```\r\n17:38:30,145 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (\"add\") failed - address: ([\r\n    (\"subsystem\" => \"datasources\"),\r\n    (\"data-source\" => \"MysqlDS\")\r\n]) - failure description: {\"WFLYCTL0180: Services with missing/unavailable dependencies\" => [\r\n    \"jboss.driver-demander.java:/MysqlDS is missing [jboss.jdbc-driver.mysql]\",\r\n    \"org.wildfly.data-source.MysqlDS is missing [jboss.jdbc-driver.mysql]\"\r\n]}\r\n17:38:30,149 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (\"add\") failed - address: ([\r\n    (\"subsystem\" => \"datasources\"),\r\n    (\"data-source\" => \"MysqlDS\")\r\n]) - failure description: {\"WFLYCTL0180: Services with missing/unavailable dependencies\" => [\r\n    \"jboss.driver-demander.java:/MysqlDS is missing [jboss.jdbc-driver.mysql]\",\r\n    \"org.wildfly.data-source.MysqlDS is missing [jboss.jdbc-driver.mysql]\",\r\n    \"org.wildfly.data-source.MysqlDS is missing [jboss.jdbc-driver.mysql]\"\r\n]}\r\n```\r\n\r\nAccording to [SO • Wildfly 9 failing to load MySQL driver on startup][1], I need to add the jar file to the WF server to match the name of the file in the `modules/system/layers/base/com/mysql/main` folder, e.g. `mysql-connector-java-5.1.35.jar`.\r\n\r\nHowever, I have neither the mysql jar file nor the mysql module folder. What should I do ? :joy::joy:\r\n\r\n[1]: http://stackoverflow.com/questions/31250294/wildfly-9-failing-to-load-mysql-driver-on-startup"},"comment":{"url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/issues/comments/227256839","html_url":"https://github.com/mincong-h/gsoc-hsearch/issues/59#issuecomment-227256839","issue_url":"https://api.github.com/repos/mincong-h/gsoc-hsearch/issues/59","id":227256839,"user":{"login":"mincong-h","id":10179217,"avatar_url":"https://avatars.githubusercontent.com/u/10179217?v=3","gravatar_id":"","url":"https://api.github.com/users/mincong-h","html_url":"https://github.com/mincong-h","followers_url":"https://api.github.com/users/mincong-h/followers","following_url":"https://api.github.com/users/mincong-h/following{/other_user}","gists_url":"https://api.github.com/users/mincong-h/gists{/gist_id}","starred_url":"https://api.github.com/users/mincong-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mincong-h/subscriptions","organizations_url":"https://api.github.com/users/mincong-h/orgs","repos_url":"https://api.github.com/users/mincong-h/repos","events_url":"https://api.github.com/users/mincong-h/events{/privacy}","received_events_url":"https://api.github.com/users/mincong-h/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T20:18:50Z","updated_at":"2016-06-20T20:18:50Z","body":"MySQL datasource is not an embedded resource in WF10. But it doesn't matter, we can use the maven plugin `maven-resources-plugin` to copy this user-defined resources into the WF10 (node 1)."}}
{"actor":{"display_login":"mincong-h"}}