{"action":"created","issue":{"url":"https://api.github.com/repos/englishtown/vertx-elasticsearch-service/issues/7","labels_url":"https://api.github.com/repos/englishtown/vertx-elasticsearch-service/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/englishtown/vertx-elasticsearch-service/issues/7/comments","events_url":"https://api.github.com/repos/englishtown/vertx-elasticsearch-service/issues/7/events","html_url":"https://github.com/englishtown/vertx-elasticsearch-service/issues/7","id":53444770,"number":7,"title":"Unable (or unsure) how to use the module","user":{"login":"AlexThurston","id":3537360,"avatar_url":"https://avatars.githubusercontent.com/u/3537360?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexThurston","html_url":"https://github.com/AlexThurston","followers_url":"https://api.github.com/users/AlexThurston/followers","following_url":"https://api.github.com/users/AlexThurston/following{/other_user}","gists_url":"https://api.github.com/users/AlexThurston/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexThurston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexThurston/subscriptions","organizations_url":"https://api.github.com/users/AlexThurston/orgs","repos_url":"https://api.github.com/users/AlexThurston/repos","events_url":"https://api.github.com/users/AlexThurston/events{/privacy}","received_events_url":"https://api.github.com/users/AlexThurston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-05T20:38:38Z","updated_at":"2015-01-06T18:52:24Z","closed_at":null,"body":"Hey,\r\nIf this happens to be user error, then I apologize in advance for wasting your time.  I'm very interested in using this module but can't seem to get it to work and have tried several different ways.\r\n\r\nThe first was just running the module explicitly:\r\n``` vertx runmod com.englishtown~vertx-mod-elasticsearch~1.3.0 -conf my.conf ```\r\n\r\nmy.conf contains:\r\n```\r\n{\r\n  \"address\": \"eb.elasticsearch\",\r\n  \"transportAddresses\": [{ \"hostname\": \"10.0.42.1\", \"port\": 9200 }]\r\n}\r\n```\r\n\r\nThis fails in the following manner:\r\n```\r\nFailed in deploying module\r\njava.lang.InstantiationException: com.englishtown.vertx.elasticsearch.ElasticSearch\r\n\tat java.lang.Class.newInstance(Class.java:364)\r\n\tat org.vertx.java.platform.impl.java.JavaVerticleFactory.createVerticle(JavaVerticleFactory.java:57)\r\n\tat org.vertx.java.platform.impl.DefaultPlatformManager$21.run(DefaultPlatformManager.java:1740)\r\n\tat org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:175)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370)\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nNo matter how I try to use the module, I continue to get that very same error.  Any thoughts or insight on what I'm doing wrong.  The exception doesn't really tell me where/what is the problem.\r\n\r\nAgain, sorry if this is something boneheaded."},"comment":{"url":"https://api.github.com/repos/englishtown/vertx-elasticsearch-service/issues/comments/68912608","html_url":"https://github.com/englishtown/vertx-elasticsearch-service/issues/7#issuecomment-68912608","issue_url":"https://api.github.com/repos/englishtown/vertx-elasticsearch-service/issues/7","id":68912608,"user":{"login":"AlexThurston","id":3537360,"avatar_url":"https://avatars.githubusercontent.com/u/3537360?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexThurston","html_url":"https://github.com/AlexThurston","followers_url":"https://api.github.com/users/AlexThurston/followers","following_url":"https://api.github.com/users/AlexThurston/following{/other_user}","gists_url":"https://api.github.com/users/AlexThurston/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexThurston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexThurston/subscriptions","organizations_url":"https://api.github.com/users/AlexThurston/orgs","repos_url":"https://api.github.com/users/AlexThurston/repos","events_url":"https://api.github.com/users/AlexThurston/events{/privacy}","received_events_url":"https://api.github.com/users/AlexThurston/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T18:52:24Z","updated_at":"2015-01-06T18:52:24Z","body":"I've made some progress and now appear to be using the module successfully.  However, I've got some other questions.  There are perhaps not directly related to this module perse, but you've made the mistake of being helpful :)\r\n\r\nI currently have a main \"run\" ruby file that deploys the various verticles.  Some of these verticles are written in ruby and others are written in Java.  If I change the langs.properties as suggested, things work but does that not mean that ALL my other java verticles will be using the HK2 DI framework?  Is that bad?\r\n\r\nI guess the crux of my issue is that I'd like to be able to deploy a module specifying the prefix.  According to the Vert.x docs, I can do that with a verticle but it doesn't seem to work with a module.  Basically I wanted to deploy your module with HK2 but continue to deploy the other java verticles using the stock Java instantiater."}}