Welcome! Log In Create A New Profile

Advanced

nginx_upstream_jvm_route - related

Posted by narayanab16 
nginx_upstream_jvm_route - related
October 24, 2012 11:39AM
Hi,

Link ==> http://code.google.com/p/nginx-upstream-jvm-route/

step1) /opt/httpwebserver/nginx_upstream_jvm_route $ patch p0 < jvm_route.patch
step2 /opt/httpwebserver/nginx-1.3.7$ ./configure --add-module=../nginx_upstream_jvm_route
step3)make
step4) make install

Everything is success untill now - life is easy

StepA) i have removed step1 folder i.e nginx_upstream_jvm_route and freshly extracted nginx-upstream-jvm-route-0.1.tar.gz
StepB) /opt/httpwebserver/nginx-1.3.7$ ./configure --add-module=../nginx_upstream_jvm_route
stepC) make
stepD) make install

Build failed i.e stepC & D.
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:428: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_cookie’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:429: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_cookie’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:434: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:435: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:446: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:447: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘session_url’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:472: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘reverse’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:476: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘values’
../nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:477: error: ‘ngx_http_upstream_srv_conf_t’ has no member named ‘lengths’

if i try to apply patch again step1) /opt/httpwebserver/nginx_upstream_jvm_route $ patch p0 < jvm_route.patch

i get this error

|Binary files src/core/.ngx_string.h.swp and src-change/core/.ngx_string.h.swp differ
|diff -ruN src/http/ngx_http_upstream.c src-change/http/ngx_http_upstream.c
|--- src/http/ngx_http_upstream.c 2009-07-01 14:24:20.000000000 +0800
|+++ src-change/http/ngx_http_upstream.c 2009-07-06 15:11:27.000000000 +0800
--------------------------
File to patch:

How to fix this issue please help me, i appreciate
Re: nginx_upstream_jvm_route - related
October 24, 2012 10:15PM
Hi,

Please help me to resolve this patch issue.
I am new to the linux world.

I guess lot of unix experts are available , they can easily resolve like small patch issues

Waiting for your reply
Re: nginx_upstream_jvm_route - related
October 28, 2012 12:34PM
hi,

I got solution from the person who has written

$ cd nginx-1.3.7 [ that means go to the soruce of the location]
... nginx-1.3.7$ patch -p0 < /path/to/the/nginx_upstream_jvm_route/jvm_route.patch

$ ./configure && make
$ make install

its done, thanks yao
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready