Re: percent sign in URI

2006-02-01 Thread Aurélien DEHAY

Hello.

abdurrahman sahin wrote:

I realized apache2 web server properyl handles % sign in URIs, i need =
exact functionality on tomcat 5 too.
When I try to pass a parameter containing % sign, the parameter value on =
the server seems null.
like
http://localhost:8080/aSite/aPage?query=hi%everybody
Tomcat 5 cannot handle that, Is there a way to do it with tomcat 5.


What happens if you set  URIEncoding=UTF-8 to your connector in 
server.xml file?


--
Aurélien

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk 1.2.15 makes Firefox crash

2006-01-10 Thread Aurélien DEHAY

Hello all.

I've got a strange behaviour with mod_jk 1.2.15 (compiled from source on 
a sarge system with Apache 2.0 prefork).


I've got an ajax application ( http://llfr.info/tribune/ ) and the 
upgrade to mod_jk on my server make my firefox crash when I access to 
this page. It's working fine with mod_jk 1.2.6.


I'd like to gather information, but I don't really what. Do someone have 
any advise?


Another problem: I can't have the jkstatus worker working (I've always 
got an 500 error, and nothing in the log). I've set in one of the 
virtual host:

  JkMount /jkmanager/* jkstatus
  JkMount /jkmanager jkstatus

Finally, the last: mod_jk 1.2.15 can't write to the specified log file. 
Do anything prevent the module to write in an existant file?


Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 mod_jk/1.2.15 PHP/4.3.10-16
Tomcat 5.5.12

workers.properties =:
# workers.properties -
# The workers that your plugins should create and work with
#
# Add 'inprocess' if you want JNI connector

worker.list=node1
worker.list=status

# , inprocess

#
#-- DEFAULT ajp13 WORKER DEFINITION --
#-
#

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.node1.port=8009
worker.node1.host=localhost
worker.node1.type=ajp13

worker.jkstatus.type=status
===

jk.conf ==
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevelerror

#JkShmFile /var/run/apache2/shm



Best regards.
Aurélien

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: question

2006-01-03 Thread Aurélien DEHAY

Yes.

Carl Olivier wrote:

Hi.

A lot of people on this forum Top Post.

Is this really such a big issue?


Because you don't know the question the answer is related to.


Rgds.
--
Aurélien

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apr port + tomcat

2005-12-21 Thread Aurélien DEHAY

Thomas Hartwig wrote:

Hello,

I try to use the APR (1.2.2) in conjunction with tomcat 5.5.12 and 
tomcat-native-1.1.0. All works fine except one thing: I can only use it 
with root privileges, because the tomcat connector wants to establish 
the port 98 for its communication (see stacktrace below).
I have not found a possibility to change this behaviour, do you have an 
idea how to reconfigure this port? For security reasons I would like to 
run tomcat under an unprivileged user.


Hello.

I've exactly the same stack. No process is using port 98, but as I'm not 
 a root user, I can't bind on this address.


I don't wan't to start the server as Root, I will double check the docs 
to see if I've forgot something, but if someone has the answer...


best regards.
Aurélien

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apr port + tomcat

2005-12-21 Thread Aurélien DEHAY

Hello.

Mladen Turk wrote:

Aurélien DEHAY wrote:



I've exactly the same stack. No process is using port 98, but as I'm 
not  a root user, I can't bind on this address.




This message (98) is APR OS error (EADDRINUSE).
Tomcat has been changed to display the real message (5.5.13+)
instead the OS errno.

I don't wan't to start the server as Root, I will double check the 
docs to see if I've forgot something, but if someone has the answer...




The reason is probably because either real port (8080) is in use
or the previous Tomcat version was shut down improperly.
Wait a wile (cca 240 sec) until the OS recycles the zombie descriptor.


Ok, I'll check that, thank you.



Regards,
Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: apr port + tomcat

2005-12-21 Thread Aurélien DEHAY

Aurélien DEHAY wrote:

Hello.

Mladen Turk wrote:



The reason is probably because either real port (8080) is in use
or the previous Tomcat version was shut down improperly.
Wait a wile (cca 240 sec) until the OS recycles the zombie descriptor.



Ok, I'll check that, thank you.


Works fine. Very fine. A huge thanks.

Aurélien

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]