Re: [Resin-interest] PHP and UTF-8

2007-03-13 Thread Anoop K Achuthan
Hi MexIQ , I'm not sure about this solution. But you can try setting LANG environment variable like , export LANG=ja_JP.utf8 and restarting resin. -Anoop MexIQ wrote: >Thank you Markus, It is not matter of the file encoding because the >problem also happened with my database results (using m

[Resin-interest] Fwd: Quercus is fantastic !

2007-03-13 Thread Dan McGinn-Combs
OK - I wasn't going to say anything. I was gonna just be a silent lurker... I wanted to run Blojsom. It was a change from running Blosxom. I decided after much effort and consternation to run under Windows XP. I know... I know... evil empire and all that. But It was the only platform that would s

Re: [Resin-interest] Quercus is fantastic !

2007-03-13 Thread Sam
> Running apt-get install libapache-mod-php5 is a lot easier than running > Resin for 99.99% of people in my experience. We are planning on creating a debian package after the 3.1.1 release. With the decision to package the Sun JDK as a debian package that should work fairly well. > Why Caucho d

Re: [Resin-interest] How to start Resin at bootup time with non-rootuser

2007-03-13 Thread Sam
> Is there a list of changers and er ... fixed bugs in 3.1 please? http://www.caucho.com/resin-3.1/changes/index.xtp -- Sam ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] How to start Resin at bootup time with non-root user

2007-03-13 Thread Knut Forkalsrud
For changing users there is "su". Near the top of my (2.x and 3.x) startup scripts I have something like: mandatory_user=webserveruser username=`id -un` # restart with right user if needed if [ "$username" != "$mandatory_user" ]; then exec su -c "$0 $*" - $mandatory_user fi

Re: [Resin-interest] Too many open files

2007-03-13 Thread Jose Quinteiro
I'm assuming this is on Linux or something else that's Unixy. You can find out what your limit for open files is by typing "ulimit -a". Here's an example from one of my systems: # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited max nice

[Resin-interest] Too many open files

2007-03-13 Thread sksamuel
[2007-03-13 03:00:13] Error rotating logs java.io.FileNotFoundException: /home/live/clearcomm.7soft.co.uk/WEB-INF/logs/access.log (Too many open files) Using resin 3.0.21 Getting this in the log files got < 2000 open descriptors if I check using lsof of which 600 odd are in use by resin. Th

Re: [Resin-interest] How to start Resin at bootup timewith non-rootuser

2007-03-13 Thread David Campbell
Scott Ferguson wrote: > On Mar 13, 2007, at 10:10 AM, David Campbell wrote: > >> Kuntz, Tim wrote: >>> It works partly and you must invoke it using bin/httpd.sh start. The >>> "start" is important because the watchdog manager won't start >>> otherwise >>> and that is what handles the user switch

Re: [Resin-interest] How to start Resin at bootup timewith non-rootuser

2007-03-13 Thread Scott Ferguson
On Mar 13, 2007, at 10:10 AM, David Campbell wrote: > Kuntz, Tim wrote: >> It works partly and you must invoke it using bin/httpd.sh start. The >> "start" is important because the watchdog manager won't start >> otherwise >> and that is what handles the user switching. > > Well it doesn't work

Re: [Resin-interest] How to start Resin at bootup timewith non-rootuser

2007-03-13 Thread David Campbell
Kuntz, Tim wrote: > It works partly and you must invoke it using bin/httpd.sh start. The > "start" is important because the watchdog manager won't start otherwise > and that is what handles the user switching. Well it doesn't work for me on 3.19 Pro with a valid licence Dave ___

Re: [Resin-interest] How to start Resin at bootup time with non-rootuser

2007-03-13 Thread Scott Ferguson
On Mar 13, 2007, at 9:09 AM, David Campbell wrote: > Kuntz, Tim wrote: >> Mike, >> >> You can only do this if you are running Resin Pro with a valid >> license. >> >> This also only works if you start Resin with watchdog as it >> changes the >> users. Actually, you can also set LD_LIBRARY_PA

Re: [Resin-interest] How to start Resin at bootup timewith non-rootuser

2007-03-13 Thread Kuntz, Tim
It works partly and you must invoke it using bin/httpd.sh start. The "start" is important because the watchdog manager won't start otherwise and that is what handles the user switching. Here is the response Scott Ferguson gave me regarding this at that time. ===

Re: [Resin-interest] How to start Resin at bootup time with non-rootuser

2007-03-13 Thread David Campbell
Kuntz, Tim wrote: > Mike, > > You can only do this if you are running Resin Pro with a valid license. > > This also only works if you start Resin with watchdog as it changes the > users. Are you saying that this is now fixed? Does it work when invoking resin via httpd.sh? Dave --

Re: [Resin-interest] How to start Resin at bootup time with non-rootuser

2007-03-13 Thread Kuntz, Tim
Mike, You can only do this if you are running Resin Pro with a valid license. This also only works if you start Resin with watchdog as it changes the users. Look in the resin.conf file for the following entries... One final warning... I was only able to get this to work for port 80 and

[Resin-interest] How to start Resin at bootup time with non-root user

2007-03-13 Thread Michael Bachers
Hi, I'm running Resin 3.1.0 on Debian and would like to automate Resin startups after a reboot. I'm currently starting Resin as a non-root user on a non-root port, then using iptables to redirect traffic to port 80. I know how to start Resin as root at bootup but am not sure how to do th

Re: [Resin-interest] PHP and UTF-8

2007-03-13 Thread Nam
Hi everyone, There are three encodings you need to worry about: script encoding, output encoding, and runtime encoding. By default, Quercus uses UTF-8 for all three. Script encoding is for when your scripts are in an encoding other than UTF-8. It can be set in your web.xml file with: http:/