Fork me on GitHub
#immutant
<
2016-11-23
>
jfntn04:11:49

Hi everyone

jfntn04:11:32

I just migrated our app to immutant and while it works great with lein run or in the repl, running the uberjar leaves me with blank responses from undertow

jfntn04:11:35

Also seeing ERROR: HQ214016: Failed to create netty connection when the app starts, which I’m not sure is related to undertow?

tcrawley12:11:30

@jfntn: that error looks like it is from HornetQ. Can you gist the full log? and your project.clj?

jcrossley313:11:04

@jfntn smells like a conflict, i.e. some dep is dragging in a different version of netty. see what lein with-profile :uberjar deps :tree says

tcrawley13:11:26

@jcrossley3: what are you doing here?!!?

jcrossley313:11:42

avoiding my family?

tcrawley13:11:52

I'm happy to help with that

jfntn14:11:13

Hi @tcrawley , @jcrossley3 lein deps :tree doesn’t show any conflicts, I’ve had to add some exclusions to get there though. I also learned that this command is not bulletproof since we were unable to add alpeh to our project due to a dependency conflict with datomic around netty in fact. This issue didn’t appear in the ouput of lein and would only show up using mvn.

tcrawley16:11:40

@jfntn: I would suspect a difference in dependencies brought in by the :dev vs :uberjar profiles, since you see different behavior with the uberjar. Try lein with-profile uberjar deps :tree and compare that to lein deps :tree (which will use the :dev profile)