aws

http://status.aws.amazon.com/ https://www.expeditedssl.com/aws-in-plain-english
2020-04-02T00:01:11.058200Z

the multi-release: true can make the jar behave differently on different versions of java

2020-04-02T00:03:52.059500Z

I really would double check the jar that is running matches the jar you have locally, like if (I haven't used beanstalk) beanstalk has the concept of staging a new version before switching to it, could you have staged a version of the jar without deploying it

2020-04-02T00:04:27.060Z

yeah I'll try that once more

2020-04-02T00:05:31.060100Z

grasping at straws, but do you think it could be due to the case difference in the meta-inf directory name?

2020-04-02T00:06:27.060900Z

yes, but I would expect there to be another manifest under META-INF

2020-04-02T00:07:02.061400Z

are you on osx and inspecting the jar contents by unzipping?

2020-04-02T00:09:03.062100Z

Ah, actually on windows, looking inside with emacs, but yeah there is an identical manifest in the capitalized directory

2020-04-02T00:10:55.062800Z

Identical contents

2020-04-02T00:11:00.063Z

?

2020-04-02T00:11:22.063300Z

yes exactly the same

2020-04-02T00:20:39.064700Z

Try repackaging the jar, unzip remove the lower case meta inf, and zip it all back up

2020-04-02T00:23:36.066300Z

giving that a shot now

2020-04-02T00:24:17.067200Z

My current guess is something about the case change is still messing things up, maybe however you are inspect file contents is also tripping over it

2020-04-02T00:25:01.067600Z

The case thing is so weird

2020-04-02T00:25:40.067800Z

It must stem from this

2020-04-02T00:26:41.068700Z

One of your dependencies may be badly packaged

2020-04-02T00:31:28.069200Z

No dice. Gonna give up for tonight, but thanks for the help

alexmiller 2020-04-02T00:46:03.069300Z

it would say clojure.main then

jumar 2020-04-02T03:46:32.071500Z

@jjttjj Check the app logs first! Yesterday, I was troubleshooting a very similar issue for somebody on another slack team and it was indeed because of a mismatch between build JDK version (13) and beanstalk java version (8). I know you menteiond it's running fine elsewhere but the logs should definitely give you the answer.

orestis 2020-04-02T04:39:16.073Z

FWIW I install Clojure tools and run stuff in Beanstalk directly from source. Wrote a post here https://clojureverse.org/t/running-a-clojure-application-on-aws-elastic-beanstalk-with-clojure-cli-tools/4161

2020-04-04T09:35:15.080700Z

This worked great thanks!