mod_ajp: conflicting ajp connectors on localhost

2006-10-07 Thread hv @ Fashion Content
I seem to have hit a snag with proxying to ajp under httpd 2.2.3 & Tomcat 5.5.20 My configuration include 5 virtual hosts on 2 domains. One directs everything on to Tomcat. One directs a single application on to Tomcat, while the other directs on to a Python server. The odd thing is that the f

Replacing commons-logging

2006-06-24 Thread hv @ Fashion Content
commons-logging resides in tomcat/bin and dynamicaly binds to log4j / sdk logging. this can cause some headaches, and apparently also some memory leaks, when you set up logging in your own web-app and wan't the two to work together. There is a nice wrapper called SLF4j which statically the comm

Re: a compromised tomcat server

2006-06-10 Thread hv @ Fashion Content
a way to improve your security for > the future. Tomcat by default does not use it's credentials over the > network. It just uses those credentials to run itself and access files on > the local system. > > --David > > hv @ Fashion Content wrote: > >>I had an inciden

a compromised tomcat server

2006-06-10 Thread hv @ Fashion Content
I had an incident on my server the other day where someone had succesfully broken into the server to execute a port scanner. The port scanner was running under the tomcat process so I assume the breakin was done by getting through the Tomcat manager app. At first I feared that I had made a blun

Re: Anyone tried mixing Jk2 & Php resources within the same virtual host ?

2005-12-04 Thread hv @ Fashion Content
Ok, thanks. Guess I will have to work until I upgrade the server to Fedora Core 4. "Bill Barker" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > > "hv @ Fashion Content" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]

Re: NullPointer Exception in HostConfig

2005-12-04 Thread hv @ Fashion Content
errors, so I suspect that it is more severe than a lack of logging statements. I didn't get any logged exceptions under 5.5.9, but under 5.5.12 I did. "hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] >I have xerxesImpl and xml-apis i

Anyone tried mixing Jk2 & Php resources within the same virtual host ?

2005-12-04 Thread hv @ Fashion Content
It could be that I just need to fix my httpd.conf, but I am a bit stuck. I basicly have a virtualhost like this: DocumentRoot /var/www/site1 Allow from all JkUriSet worker ajp13:localhost:8009 I want all requests to /ldapadmin.* to be served by apache+php and the rest to be served by tomca

Re: NullPointer Exception in HostConfig

2005-12-04 Thread hv @ Fashion Content
I have xerxesImpl and xml-apis in tomcat/common/endorsed might that be causing some trouble? Upgraded to 5.5.12 but the config failure persists "hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > The error information on context.xml par

Re: Missing application web.xml

2005-12-04 Thread hv @ Fashion Content
: "Rob Hills" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Hi Henrik, > > On 4 Dec 2005 at 4:38, hv @ Fashion Content

Re: Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
ROTECTED] > Hi Henrik, > > On 4 Dec 2005 at 3:33, hv @ Fashion Content wrote: > >> Sigh :( >> >> Gawd I hate changing Tomcat configurations, it always goes pearshaped. >> >> Why does Tomcat say that there is no web.xml when it is in the war >> file when

Re: Apache, Tomcat & Tomcat Connector 1.2.15

2005-12-03 Thread hv @ Fashion Content
You can have multiple definitions in server.xml I am trying to get what you are looking for to work on my own setup atm. In principle it is easy. But as always when configuration goes wrong with Tomcat, you are in the dark. "Bill Barker" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL P

Re: Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
> Why does Tomcat say that there is no web.xml when it is in > the war file when I unzip it??? >Is it inside WEB-INF (which must be in caps)? It is generated by the Ant WAR task, so yes it is, and I verified it as well. context.xml is in META-INF. > And how come the default behaviour is to show

Re: Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
> Why does Tomcat say that there is no web.xml when it is in the war file > when > I unzip it??? > partial server.xml: > deployOnStartup="true" autoDeploy="false" xmlValidation="true"> >Have you always had xmlValidation set to true or did you change that >recently? I have been banging my hea

Re: When does 408 happen ?

2005-12-03 Thread hv @ Fashion Content
tup cannot be achieved using form authentication. In my mind that makes form authentication completely useless. Hopefully I got it all wrong, and there is a way to achieve my goal. "Mark Thomas" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > hv @ Fashion Co

Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
Sigh :( Gawd I hate changing Tomcat configurations, it always goes pearshaped. Why does Tomcat say that there is no web.xml when it is in the war file when I unzip it??? And how come the default behaviour is to show the contents of the hosts app base ??? Tomcat 5.5.9 on FC2 partial server.xm

Re: Re: NullPointer Exception in HostConfig

2005-12-03 Thread hv @ Fashion Content
meddelelse news:[EMAIL PROTECTED] > From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ > Fashion Content > Subject: Re: NullPointer Exception in HostConfig > > P.S. the ROOT.xml does end with a Which could well be part of the problem, since the tag is not . Case matters. Also

Re: NullPointer Exception in HostConfig

2005-12-03 Thread hv @ Fashion Content
P.S. the ROOT.xml does end with a "hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > The error information on context.xml parsing is very sparse to say the > least... > > SEVERE: Error deploying confi

NullPointer Exception in HostConfig

2005-12-03 Thread hv @ Fashion Content
The error information on context.xml parsing is very sparse to say the least... SEVERE: Error deploying configuration descriptor ROOT.xml java.lang.NullPointerException at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:574) at org.apache.catalina.startup

Re: When does 408 happen ?

2005-12-02 Thread hv @ Fashion Content
homas" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > hv @ Fashion Content wrote: >> I get: >> >> HTTP Status 408 - The time allowed for the login process has been >> exceeded. If you wish to continue you must either click back twice and >>

Re: When does 408 happen ?

2005-12-02 Thread hv @ Fashion Content
ss load is high set this parameter lower > #If your process load is low set this parameter higher > KeepAliveTimeout 15 > > Viel Gluck, > Martin- > - Original Message - > From: "hv @ Fashion Content" <[EMAIL PROTECTED]> > To: > Sent: Friday, December 02, 2005

When does 408 happen ?

2005-12-02 Thread hv @ Fashion Content
I get: HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser Will it happen when a JSESSION cookie is on the client, but no longer on the server?

Re: mod_proxy_ajp

2005-12-01 Thread hv @ Fashion Content
I think its a port of mod_jk, which could need a bit of love :) I am really hoping that mod_proxy_ajp grows solid, as I am sure it will be a great improvement. "Joseph Shraibman" skrev i en meddelelse news:[EMAIL PROTECTED] > Does anybody have any idea how to use mod_proxy_ajp? The documentat

Re: Problem with filters and form authentication

2005-12-01 Thread hv @ Fashion Content
to figure out why I get a session timeout upon success. "hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] >I have set up the standard form authentication which posts to the url >'/j_security_check' with two forms > Home

Re: Problem with filters and form authentication

2005-12-01 Thread hv @ Fashion Content
I expected to be able to do something after auth and before loading the page based on this: http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/tsec_servlet.html "hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en

Re: 408 error with Form Authentication and Proxy. Doesn't occur with Basic Auth.

2005-12-01 Thread hv @ Fashion Content
I am in the same situation. What sort of proxying do you use? "Brian Bonner" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] Does anyone have a suggested solution to this problem? Thanks. Brian On 10/31/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > I forgot to share that there

Problem with filters and form authentication

2005-12-01 Thread hv @ Fashion Content
I have set up the standard form authentication which posts to the url '/j_security_check' with two forms Home.htm and AccessDenied.htm. If I fail log in 1) The sitewide filter is not called upon receiving the j_security_check POST 2) It does determine the failure and chains to Home.htm 3) It doe

How to get getContextPath() to return ""

2005-11-22 Thread hv @ Fashion Content
How to you get getContextPath() to return blank for a webapp ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: servlet-mapping question

2005-11-22 Thread hv @ Fashion Content
Good point, but I am not trying to adhere strictly to the URI rfc, as it is generated by the server to refer to the server. "Caldarale, Charles R" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashio

servlet-mapping question

2005-11-22 Thread hv @ Fashion Content
I am trying to figure out a little headache I am having with the servlet-mapping portalapp *.topic Should catch all of the following if I am not mistaken, not just some of them right? http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode.$Form.topic http://www.domain.com/ZoA+xaeoHh6s,$EnterPr

How do I force getContextPath to return ""

2005-11-18 Thread hv @ Fashion Content
Is there a way have getContextPath return "" other than setting it up as ROOT context I seem to remember working, but it doesn't seem to have any effect in 5.5.9 I have that old problem of rewriting URLs to get rid of the pesky context path. Cheers, Henrik -