-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weblogic deployment #165
Comments
I don't know where else to place this Issue sorry. |
The error says that Ring has no implementation for reading a resource from a zip. The multimethod is found here. Unfortunately, I'm not too familiar with Weblogic, so I'm not sure what exactly is happening. You might want to take a look at the route and see how you're reading the resource with it. If you wish to return a zip file as a result, then your route should look something like this: (GET "/file/:filename" [filename]
(-> (clojure.java.io/input-stream filename)
response
(content-type "application/zip, application/octet-stream"))) |
Hi, |
Hello. No, not really. Later versions of Weblogic apparently do not suffer from this problem. |
Many thanks @fr0gs |
I really feel your pain. But it seems the only way out is to create a PR in Ring to read zip resources.. |
@fr0gs you're saying that later versions of Weblogic don't have this problem? I'm running 12.2.1 and I'm seeing this error. This is also the latest version available on the Oracle website. Did you mean something else or is that what you meant? |
In case it helps, I'm seeing the same problem but I'm not using Luminus. I think it's a problem related to routing and resources, as @fr0gs has suggested. Check that the app is listening on the correct host and has its base directory set correctly. I'm using bidi and aleph so the problem is likely related to one of these. |
Hello, I am trying to deploy a Clojure/Luminus application in an Oracle Weblogic 12c server by creating a container via lein uberwar. After several tweaking I manage to run the war but I receive this cryptic message:
The text was updated successfully, but these errors were encountered: