Setting/changing authorization header in Tomcat 5.*

2007-01-16 Thread Eugeny N Dzhurinsky
Hello! Could somebody please advice what is a best way to implement a valve class, which will just add custom authorization header if request matches some conditions? I looked at org.apache.catalina.Request interface and found there is a method /** * Set the authorization credentials sent wit

Re: mod_jk and Tomcat

2006-08-29 Thread Eugeny N Dzhurinsky
Thank you all for helping, I found the issue was related to SELinux, which simply needs to be disabled or altered (I just disabled it - and everything started to work) -- Eugene N Dzhurinsky - To start a new topic, e-mail: users

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 10:56:41AM -0400, David Smith wrote: > Could be. Software like Symantec Client Firewall tend to operate per > application. You'd get access, but maybe apache httpd was configured to > be denied access. There is no firewall installed at all. And su -m apache -c 'telne

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
I found error code 13 is ./asm/errno.h:#define EACCES 13 /* Permission denied */ could tha mean mod_jk simply isn't allowed to connect to port 8009? -- Eugene N Dzhurinsky - To start a new topic, e-mail: users@

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
I upgraded to mod_jk 1.2.18 and still face the same error: [Mon Aug 28 22:45:04 2006] [25415:26304] [debug] map_uri_to_worker::jk_uri_worker_map.c (520): Attempting to map context URI '/user/*' [Mon Aug 2

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 10:13:55AM -0400, Steve Ochani wrote: > > tcpdump shows me that there is NO attemts to make connection to host > > 127.0.0.1 and port 8009 from within mod_jk, but if I do telnet > > 127.0.0.1 8009 - it works fine. > > > > Really strange > > > > Operating system is Fedora c

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 10:07:18AM -0400, David Smith wrote: > What does the connector for port 8009 look like in your server.xml? > Does it specify protcol="AJP/1.3"? it's tomcat 4.1.xx -- Eugene N Dzhurinsky - To start a

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
tcpdump shows me that there is NO attemts to make connection to host 127.0.0.1 and port 8009 from within mod_jk, but if I do telnet 127.0.0.1 8009 - it works fine. Really strange Operating system is Fedora core 4, and installed software: jdk1.5.0_07, mod_jk-1.2.6-3jpp_4fc, httpd-2.0.54-10.4 --

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
netstat -lp | grep 8009 gives me tcp0 0 *:8009 *:* LISTEN 17119/java -- Eugene N Dzhurinsky - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
Hello! I'm trying to move Tomcat with it's web-applications from one server to another, and I facing weird problem: I copied working configurations for tomcat, mod_jk and httpd, but in mod_jk.log I can see this: [Mon Aug 28 21:35:39 2006] [jk_uri_worker_map.c (459)]: Attempting to map URI '/us

Re: Missing Java file for JSP?

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 06:46:49AM -0400, Mark Thomas wrote: > Eugeny N Dzhurinsky wrote: > > I tried to remove mrm application from webapps, restart Tomcat, then > > redeploy > > this application - but still no luck. What can cause this problem, or which > > in

Missing Java file for JSP?

2006-08-28 Thread Eugeny N Dzhurinsky
Hello! I facing some strange problem - Tomcat 5.0 throws strange exception java.io.FileNotFoundException: /home/user/liferay/tomcat/work/Catalina/localhost/mrm/org/apache/jsp/jsp/devcase_005flist _005fuser_jsp.java (No such file or directory) I tried to remove mrm application from webapps, resta