[Resin-interest] Quercus Sessions?

2007-04-18 Thread Gregory Stewart
I noticed some funky session behaviour in Quercus. It usually happens
when we add new java code without taking the site down, or restarting
Quercus/Resin manually. It never happens when we add new php files,
but then again they are not being compiled.

When the problem occurs, it appears that some of php files, or some
parts of the website seem to be on a different php session. So my
session variables are not available throughout the entire website.

As soon as we restart Resin it works fine again.

I am using the native php session functions btw, and not some
homegrown database supported session system.

Any ideas?


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] CentOS 5 mod_caucho compile issue

2007-04-18 Thread Chris Jones
Ding Deng wrote:
 On 4/17/07, Chris Jones [EMAIL PROTECTED] wrote:
   
 Hey all,

 I have run into some issues compiling mod_caucho from resin 2.1.17 on
 CentOS 5. I have managed to get rid of an issue where the compiler was
 reporting missing apr header files. I modified the Makefile to include
 -I/usr/include/apr-1 to APACHE_INC=. This resolved the missing files
 issue but now running into other issues which I can't figure out. Here
 the output from make:

 (cd src/c/plugin; make)
 make[1]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin'
 for dir in common apache2; do (cd $dir; make); done
 make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/common'
 gcc -c  -g -O2 stream.c
 gcc -c  -g -O2 registry.c
 gcc -c  -g -O2 config.c
 gcc -c  -g -O2 memory.c
 /usr/bin/ld -r -o common.o stream.o registry.o config.o memory.o
 make[2]: Leaving directory `/usr/src/resin-2.1.17/src/c/plugin/common'
 make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/apache2'
 gcc -c -I/usr/include/httpd -I/usr/include/apr-1
 -DRESIN_HOME=\/usr/src/resin-2.1.17\ -I../common -g -O2 -fpic
 mod_caucho.c  mv mod_caucho.o mod_caucho.lo
 In file included from /usr/include/apr-1/apr.h:7,
  from /usr/include/httpd/ap_config.h:25,
  from /usr/include/httpd/httpd.h:43,
  from mod_caucho.c:42:
 /usr/include/apr-1/apr-i386.h:270: error: expected '=', ',', ';', 'asm'
 or '__attribute__' before 'apr_off_t'
 

 It's an APR issue:

 http://mail-archives.apache.org/mod_mbox/apr-dev/200410.mbox/[EMAIL PROTECTED]

 HTH.

   
Thanks, that worked.
 In file included from /usr/include/apr-1/apr_file_io.h:29,
  from /usr/include/apr-1/apr_network_io.h:26,
  from /usr/include/httpd/httpd.h:53,
  from mod_caucho.c:42:
 /usr/include/apr-1/apr_file_info.h:204: error: expected
 specifier-qualifier-list before 'apr_off_t'
 In file included from /usr/include/apr-1/apr_network_io.h:26,
  from /usr/include/httpd/httpd.h:53,
  from mod_caucho.c:42:
 /usr/include/apr-1/apr_file_io.h:548: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_file_io.h:740: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 In file included from /usr/include/httpd/httpd.h:53,
  from mod_caucho.c:42:
 /usr/include/apr-1/apr_network_io.h:545: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 In file included from /usr/include/apr-1/apr_buckets.h:32,
  from /usr/include/httpd/httpd.h:54,
  from mod_caucho.c:42:
 /usr/include/apr-1/apr_mmap.h:134: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_mmap.h:161: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 In file included from /usr/include/httpd/httpd.h:54,
  from mod_caucho.c:42:
 /usr/include/apr-1/apr_buckets.h:242: error: expected
 specifier-qualifier-list before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:706: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:718: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:754: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:890: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:891: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:1168: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:1367: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:1381: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:1431: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/apr-1/apr_buckets.h:1447: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 In file included from mod_caucho.c:42:
 /usr/include/httpd/httpd.h:826: error: expected specifier-qualifier-list
 before 'apr_off_t'
 In file included from /usr/include/httpd/http_core.h:32,
  from mod_caucho.c:44:
 /usr/include/httpd/util_filter.h:142: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 /usr/include/httpd/util_filter.h:299: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 In file included from mod_caucho.c:44:
 /usr/include/httpd/http_core.h:229: error: expected '=', ',', ';', 'asm'
 or '__attribute__' before 'ap_get_limit_req_body'
 /usr/include/httpd/http_core.h:672: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 In file included from mod_caucho.c:45:
 /usr/include/httpd/http_protocol.h:111: error: expected declaration
 specifiers or '...' before 'apr_off_t'
 

Re: [Resin-interest] mod_caucho, Solaris 10, Apache 2.2.4 problem

2007-04-18 Thread Scott Ferguson


On Apr 18, 2007, at 2:42 PM, Mica Cooper wrote:

I also did a fresh install of the latest Apache and was unable to  
get the proxy to work. I posted here to the list but no one  
responded. This was last Thursday with 2.2.4 and Windows.


Windows should be an entirely different issue, because windows has  
precompiled dlls.  (Unless I misunderstood the question before, since  
that was mod_caucho.dll for 2.0 vs 2.2.)


I'm not sure why 2.2.4 would behave any differently than 2.2.0.   
That's not the sort of thing that should vary in a .4 release, but  
we'll test 3.1.1 against 2.2.4 before releasing it to see if we can  
find anything.


-- Scott



Mica
-Original Message-
From: [EMAIL PROTECTED] [mailto:resin-interest- 
[EMAIL PROTECTED] Behalf Of Jonathan Millett

Sent: Wednesday, April 18, 2007 4:32 PM
To: resin-interest@caucho.com
Subject: [Resin-interest] mod_caucho, Solaris 10, Apache 2.2.4 problem

I just upgraded from apache 2.2.0 to 2.2.4 and mod_caucho no longer  
connects to resin.  Is this a known issue?


I have both resin 3.0.19 and 3.0.23 installed.
The mod_caucho is compiled with gcc4 (I don't have a copy of the  
sun compiler)
Both versions of resin/mod_caucho work with apache 2.2.0, and  
neither work with apache 2.2.4.  I don't see any error messages,  
apache just happily serves up the .jsp files unmodified.

Apache was installed from the blastwave stable repository.

Thanks,

Jon

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] httpd.sh stop

2007-04-18 Thread Martin Crundall
when httpd.sh stop is executed (resin 3.0.19) does resin finish dealing
with all pending requests before shutting down?

thanks,

martin



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest