Re: [Q] How to load Clojure as part of Wildfly module?

2019-02-07 Thread Kimmo Koskinen
Hi! I ran into the same issue while helping a colleague in working on the [sonar-clojure Sonarqube|https://github.com/hjhamala/sonar-clojure/] plugin. A quick search on Clojure JIRA reveals couple of discussions, [this

Re: [Q] How to load Clojure as part of Wildfly module?

2019-02-07 Thread henrik42
Rastko - thanks for the reply. My /modules/buttle/main/module.xml looks like this: And the driver in standalone.xml: The loading of my classes incl. clojure.lang.RT works "in principle". Only when Clojure

Re: [Q] How to load Clojure as part of Wildfly module?

2019-02-07 Thread Rastko Soskic
Hm, it's been really long a go when I've last dealt with EE container but could you tell how does your module exports are set in module definition? Exports are I believe what defines what is exposed to the "outside" world. Furthermore, it might be that you should also add module imports in your

[Q] How to load Clojure as part of Wildfly module?

2019-02-06 Thread henrik42
Hi, I'm working on a "proxying JDBC driver" in Clojure [1]. Everything is working fine. But I had one problem with the way Clojure (i.e. clojure.lang.RT) manages its classloader. When Wildfly loads my UBERJAR which contains Clojure and loads/instanciates my gen-class `buttle.jdbc.Driver` then