Comments (5)
Could you please show us your nginx.conf ?
from nginx-clojure.
The jvm variables are set to the following:
jvm_path "/usr/lib/jvm/java-1.7.0-openjdk.x86_64/jre/lib/amd64/server/libjvm.so";
jvm_options "-Djava.class.path=/home/ec2-user/jars/nginx-clojure-0.2.6.jar";
Everything else was left to default. This is the compiled version. With the binary, I had jvm_options "-Djava.class.path=/home/ec2-user/nginx-clojure-0.2.5/nginx-1.6.0/jars/nginx-clojure-0.2.5.jar";
from nginx-clojure.
What your OS user to run nginx workers? Maybe this user can not access /home/ec2-user/nginx-clojure-0.2.5/nginx-1.6.0/jars/nginx-clojure-0.2.5.jar
.
In nginx.conf user
can be set which OS user to run nginx workers.
#user nobody;
If you run nginx with root, the default user is nobody
to run nginx workers. Otherwise the default user to run nginx workers is the same with the user who runs nginx master.
from nginx-clojure.
That sounds like it could be the case, as I've run into similar issues with nginx before. I won't be able to try it out until later, but I'll come back with the results.
from nginx-clojure.
I set user ec2-user;
in nginx.conf
and it solved the problem. Thanks for the help.
from nginx-clojure.
Related Issues (20)
- java.lang.VerifyError happens when use mysql jdbc 8.0.32 on jdk19 + nginx-clojure 0.6.0 HOT 1
- NginxSharedHashMap.atomicAddLong return wrong value when value is very large
- remote debug not work on jdk 19 with coroutine mode
- Directives for jvm int/exit handler properties
- Enable coroutine context for invoking config method of a handler in coroutine mode
- Rewrite handlers can add/update request headers
- Dispatch incoming request to a jsp and set attribute HOT 2
- Support load-balancing handler
- Add new handler types to better support spring and spring boot
- nginx-clojure-embed need be compiled with more built-in nginx c modules HOT 1
- Proxy server error jvm may be mad for wrong options! See hs_err_pid****.log for detail! HOT 9
- How to debug/test nginx-clojure handlers
- StringFacedJavaBodyFilter/StringFacedClojureBodyFilter need auto decompress body when the body is compressed.
- java.lang.RuntimeException: can not create nginx handler for name HOT 4
- CVEs in maven artifact HOT 3
- nginx 1.25.0 build error HOT 3
- Support for random user ID in containerised environments - startup failure due to POSIX method getpwuid failure
- body content sometimes (!) missing in async content handler HOT 9
- Enhance hijack API to give users a chance to manage the closing of request body
- Running Nginx Clojure in Docker prompts: jvm may be mad for wrong options HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-clojure.