Re: Subdomain Virtual Hosting.

2007-12-27 Thread david delbecq
Ishtiaq Ahmed a écrit : Hi, Now we want it But when we tried it for *.mydomain2.com (Notice that * ) if I go like under, it doesn't work. Kindly shed some light into it. Host name=*.mydomain2.com appBase=/usr/local/tomcat6/webapps/APPx unpackWARs=true autoDeploy=true

Re: Subdomain Virtual Hosting.

2007-12-27 Thread Ishtiaq Ahmed
Good Day David, Its nice to see your reply. I tried the ROOT folder for all unconfigured domain names but developers are not satisfied with the settings. I need to redirect *.mydomain2.com's traffic to that specific context of $CATALINA_HOME/webapps/APPx. As the same server would be serving

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-27 Thread Delian Krustev
On Thu, 13 Dec 2007 21:54:22 + Mark Thomas wrote: Snapshot build of trunk available from: http://people.apache.org/~markt/dev/ This is the current 6.0.x trunk with the security manager optimisation reverted for the org.apache.coyote.* packages. *HEALTH WARNING* This is a snapshot for

Configure Tomcat on IP

2007-12-27 Thread Laxmilal Menaria
Hello everyone, I have installed Tomcat 6.0.13 on My Server 2003 Machine, and tried with https://localhost/tomcat.gif, its working fine, (SSLconfigured). Now I have created another web using asp.net and configured in root of IIS with https, so now I need to update the apache from localhost to

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-27 Thread Mark Thomas
Delian Krustev wrote: Thanks for the build Mark, and sorry for the delay of this reply. No problem. Could you please provide the patch also? I have uploaded it here. http://people.apache.org/~markt/dev/remove-sm-opt.patch I could not afford to move this instance to 6.0-trunk. I'll do the

Re: Remote deployment in tomcat

2007-12-27 Thread Marcio Camurati
Hi, Maybe CruiseControl can help you to make it, it's a project that for create continuous build process scheduled: http://cruisecontrol.sourceforge.net/ See ya. Marcio Camurati Thu, 27 Dec 2007 00:57:42 -0500, Louis [EMAIL PROTECTED] escreveu: Shreekanta Prasad wrote: Hi All,

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-27 Thread Delian Krustev
On Thu, 27 Dec 2007 11:12:28 + Mark Thomas wrote: I have uploaded it here. http://people.apache.org/~markt/dev/remove-sm-opt.patch Thanks OK. Let us know the results. I did a build with your patch and replaced just lib/tomcat-coyote.jar . The exception did not show this time. I'll

Tomcat JSF custom error page

2007-12-27 Thread David Segall
I have, after hours of trial and error, managed to persuade Tomcat to use my custom error page in a Java Server Faces application. Now that I have solved the problem I would like to know where I could have looked to find the answer. In case someone finds this page via a web search I should

default 500 error page by tomcat

2007-12-27 Thread GF
Hello, when some of my Java application raises an uncatched exception, I got a error 500 page generated by Tomcat that show me exception stacktrace and things like that. I know that i can customize it setting error-page parameter in the web.xml. But I want to know where to find the source code of

Re: default 500 error page by tomcat

2007-12-27 Thread Mark Thomas
GF wrote: But I want to know where to find the source code of that error 500 page that tomcat automatically generates. I think that's too a .jsp page. It isn't a JSP. It is generated by an internal Tomcat component (a Valve). Where can I find its source?

Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-27 Thread David Smith
Cool... I see your tomcat lib directory is back to the default distribution. What's in your webapp's WEB-INF/lib directory, and can you confirm which java tomcat is running on? I would like to be sure it's not J2EE. It should be the Java 1.6.0_03 you listed in your original post. Lastly,

Re: default 500 error page by tomcat

2007-12-27 Thread GF
Thanks. It's what I was looking for. It isn't a JSP. It is generated by an internal Tomcat component (a Valve). Where can I find its source? http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/ErrorReportValve.java?revision=543307view=markup HTH,

Re: Subdomain Virtual Hosting.

2007-12-27 Thread david delbecq
Use an apache http proxy that does *.mydomain2.com to http://internaltomcat/appX proxying and *.mydomain3.com to http://internaltomcat/appY then. Tomcat in itself has no such rules support i know of. Note that you are not forced to use the ROOT for defualtHost :) Ishtiaq Ahmed a écrit :

Get tomcat version from webapp code?

2007-12-27 Thread David kerber
I know I can get the java version from system.properties, but is there a way of getting the tomcat version from inside my app? If so, how? I'd like to be able to display that on an administrator's information page. TIA! D

Re: TrustedPrincipalAuthorizor (extends AuthenticatorBase) Discussion / Comments

2007-12-27 Thread Louis
Christopher Schultz wrote: Louis wrote: When trying to decide which Authentication I should use I reviewed the source for the existing ones and realized that none of them would work. The existing authenticators all check to see if a principal is already in the request. If it is then the user

JSF and SSI

2007-12-27 Thread Shannon Scott
Hello, We have been trying to use JSF as a Server Side Include (SSI - .shtml ). The problem is that the jsf adds an extra set of HTML tags to the page ( breaking the page ). We have successfully used jsp pages for SSI in the past. Is there a way to stop tomcat from generating these extra tags

RE: ISAPI redirector error in Tomcat 4.1

2007-12-27 Thread Chacko Kuruvilla
Can somebody help me with this error? Thanks a lot. -Original Message- From: Chacko Kuruvilla [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 26, 2007 1:23 PM To: 'Tomcat Users List' Subject: RE: ISAPI redirector error in Tomcat 4.1 Here it is... Created MBeanServer with ID:

NTLM, mod_JK and Internet Explorer

2007-12-27 Thread Lucas Blancher
Hello, I have a setup that is using Apache 2.2.x, mod_jk 1.2.26, jboss 4.2 (tomcat 5.5) and alfresco. This setup works file when browsing with Firefox, but when someone tries to log in using Internet Explorer they get a message saying This page can not be displayed after entering their

RE: ISAPI redirector error in Tomcat 4.1

2007-12-27 Thread Chacko Kuruvilla
Thanks for your response. I removed the older version of isapi redirector and started from scratch using isapi_redirect-1.2.26.dll. When I try now, I get an Incorrect function message on the browser. Any ideas? Thanks. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED]

Re: Re^2: Comet servlet synchronization and flush problems

2007-12-27 Thread Leonardo Fraga
Hello, Your posts helped a lot. Thanks everybody! Now I have a production level asynchronous servlet (a Santa Claus' gift?), and I want to share some technical learned lessons: - You must ensure the response be commited before asynchronous writes, say on the BEGIN event, as said Filip and

Re: Get tomcat version from webapp code?

2007-12-27 Thread Martin Gainty
Hi Dave- did you look at MBeanServer? http://tomcat.apache.org/tomcat-5.5-doc/catalina/funcspecs/mbean-names.html M- - Original Message - From: David kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, December 27, 2007 11:53 AM Subject: Get tomcat

RE: NTLM, mod_JK and Internet Explorer

2007-12-27 Thread Lucas Blancher
Hello, Thank you for your response, but I don't think this is applicable, I am not using IIS for the front end, I am using Apache so I don't think I have the sub codes that you are referring to. Even in IE I get an initial prompt for a username and password(witch I enter and press ok),

Re: JSF and SSI

2007-12-27 Thread david delbecq
Shannon Scott a écrit : Hello, We have been trying to use JSF as a Server Side Include (SSI - .shtml ). What you mean by SSI (in the context of tomcat)? The problem is that the jsf adds an extra set of HTML tags to the page ( breaking the page ). We have successfully used jsp pages for SSI in

Re: NTLM, mod_JK and Internet Explorer

2007-12-27 Thread Martin Gainty
let me be more direct what is the subcode? M- - Original Message - From: Lucas Blancher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: users@tomcat.apache.org Sent: Thursday, December 27, 2007 4:44 PM Subject: RE: NTLM, mod_JK and Internet Explorer Hello, Thank you for your response, but

Re: Tomcat JSF custom error page

2007-12-27 Thread Louis
David Segall wrote: I have, after hours of trial and error, managed to persuade Tomcat to use my custom error page in a Java Server Faces application. Now that I have solved the problem I would like to know where I could have looked to find the answer. In case someone finds this page via a

Re: Get tomcat version from webapp code?

2007-12-27 Thread Louis
David kerber wrote: I know I can get the java version from system.properties, but is there a way of getting the tomcat version from inside my app? If so, how? I'd like to be able to display that on an administrator's information page. TIA! D If you crack open the tomcat ROOT application

Re: NTLM, mod_JK and Internet Explorer

2007-12-27 Thread Mark Thomas
Lucas Blancher wrote: How do I find the sub code in Apache httpd? I am using the common logging format and it already has %s in the logging string, but my logs only have 401 in them, without any subcodes. An example is Personally, I'd ignore the sub code question and look what is going back

RE: NTLM, mod_JK and Internet Explorer

2007-12-27 Thread Lucas Blancher
How do I find the sub code in Apache httpd? I am using the common logging format and it already has %s in the logging string, but my logs only have 401 in them, without any subcodes. An example is 10.11.12.13 - - [27/Dec/2007:14:18:07 -0500] GET /alfresco/faces/jsp/dashboards/container.jsp

RE: NTLM, mod_JK and Internet Explorer

2007-12-27 Thread Martin Gainty
at last count there are (at least) 7 possible reasons for a 401 since the authentication is tied to NTLM would suggest its a problem with the acls in addition to the suggested tools:get firebug in firefox to see the gets/posts as well as stepping thru any

Re: Regarding setting log size

2007-12-27 Thread abdul razack
Thaank you David. As you suggest, I am applying log4j Regards -Abdul Razack david delbecq [EMAIL PROTECTED] wrote: catalina.out it the output of stdio and stderr, for this file, it's not easy to logrotate it, unless you stop tomcat at night. For the others ones, using log4j, i

Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-27 Thread AbelMacAdam
Hi David, To answer your questions: What's in your webapp's WEB-INF/lib directory, My TOMCAT_HOME\webapps\myApp\WEB-INF\lib contains: antlr.jar commons-beanutils.jar commons-collections.jar commons-digester.jar commons-fileupload.jar