Re: OT: Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-24 Thread ben short
I found this while I was digging around. http://forum.sun.com/jive/thread.jspa?threadID=96761tstart=30 Ben On 11/24/06, Steve Ochani [EMAIL PROTECTED] wrote: Date sent: Fri, 24 Nov 2006 14:26:34 -0800 (PST) From: Nikola Milutinovic [EMAIL PROTECTED] Subject:

Solaris 10 Apache 2 Tomcat mod_jk

2006-11-22 Thread ben short
Hi, Sorry if that this is a bit off topic but i figured someone might have some experience. I'm trying to get Apache 2 to use mod_jk in a Solaris 10 Zone. I have installed the ap2_mod_jk package from blastwave with no errors. I added the following line to the correct httpd.conf LoadModule

Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-22 Thread ben short
site they dont have a mod_jk package for apache 2.0.. just 1.3 and 2.2. Thank you for your help. Ben On 11/22/06, Rainer Jung [EMAIL PROTECTED] wrote: ben short schrieb: Rainer, Running the svcadm enable apache2 command without the LoadModule starts apache correctly. Someone else pointed

Re: Tomcat at port 443

2006-11-01 Thread ben short
Have you uncommented the https connector in the server.xml? By default it is commented out as shown below !-- Define a SSL HTTP/1.1 Connector on port 8443 -- !-- Connector port=8443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

Re: Servlet Mappings

2006-10-31 Thread ben short
Many thanks for your help Charles. On 10/31/06, Bill Barker [EMAIL PROTECTED] wrote: ben short [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I just tried changing the /images/* to *.jpg and it works Yes, Tomcat's default servlet won't work with a prefix map. It requires either

Servlet Mappings

2006-10-30 Thread ben short
Hi I am having some trouble with setting up my servlet mappings. I am replacing a legacy webapp but need to keep the same urls. The current webapp uses cocoon. Here is my web.xml web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Servlet Mappings

2006-10-30 Thread ben short
Hi, I changed the mapping to as follows but no joy. Although the problem seems to of changed slightly. When I try to request an images http://myhost/images/error/logo.gif i get a 404. I have double checked and the image is definatly in the correct location. servlet-mapping

Re: Servlet Mappings

2006-10-30 Thread ben short
Charles, Im deploying a war file. Im also using spring. I havent touched the web.xml. I have litrally downloaded and un tared the file from the apache tomcat website. Here is the layout of the test app;lication i have setup to try it out. test - images - test.jpg - WEB-INF - web.xml -

Re: Servlet Mappings

2006-10-30 Thread ben short
I just tried changing the /images/* to *.jpg and it works On 10/30/06, ben short [EMAIL PROTECTED] wrote: Charles, Im deploying a war file. Im also using spring. I havent touched the web.xml. I have litrally downloaded and un tared the file from the apache tomcat website. Here is the layout

Re: Servlet Mappings

2006-10-30 Thread ben short
I deploy this test webapp via the tomcat manager to http://myhost/test. The appBase in the sever.xml is set, as default, to webapps. The directory structure is webapps - ROOT - Currently another applicaiton I have setup. - test - The test application. When deploying to the root, just name the

Re: Servlet Mappings

2006-10-30 Thread ben short
); httpServletResponse.getWriter().flush(); } } The webapp was deploed to http://myhost/test via the tomcat manger webapp. On going to the http://myhost/test url the webpage is shown but no image. Going to http://myhost/test/images/test.jpg give a 404. Ben On 10/30/06, ben short [EMAIL

Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
Hi is it possible to use a regular expression as a servlet-mappings url-pattern? Ben - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
will direct to /CONTEXT/ Is this even relevant to your question? :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Friday, October 27, 2006 8:35 AM To: Tomcat Users List Subject: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
Hi Chuck, Do you have an example of this? Ben On 10/27/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern So I wanted to do something like map requests that are not

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
Hi, I got it working but changed to to the following.. web-app display-nameArchetype Created Web Application/display-name servlet servlet-nametest/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class

Re: Tomcat 5.5.17 has max 40 KB / sec

2006-09-25 Thread ben short
Hi Steffen, I can see your post. Ben On 9/25/06, Steffen Heil [EMAIL PROTECTED] wrote: Hi I know, reasking the same question if there was no answer, is no good style. However I had problems using apache-lists earlier and I don't know wether my mail made it to the list. So could anyone please

Re: Administration Web Application

2006-09-25 Thread ben short
Download the Administration Web Application from this site http://tomcat.apache.org/download-55.cgi. Then un zip/tar it over the tomcat install directory. Restart tomcat and off you go. Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: Hi all, how can I install the Administration Web

Re: Administration Web Application

2006-09-25 Thread ben short
Are the permissions for the new files ok? Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: I've already done the un-tar over the tomcat install directory. I try to access by remote host but nothing. Raffo On 9/25/06, ben short [EMAIL PROTECTED] wrote: Download the Administration Web

Re: Administration Web Application

2006-09-25 Thread ben short
. Raffo On 9/25/06, ben short [EMAIL PROTECTED] wrote: Are the permissions for the new files ok? Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: I've already done the un-tar over the tomcat install directory. I try to access by remote host but nothing. Raffo On 9/25/06, ben

Re: How to test a tomcat virtual host?

2006-09-21 Thread ben short
If you are using windows you could try added a line like the following to the c:\WINDOWS\system32\drivers\etc\hosts file. 127.0.0.1 www.virtualhost1.com Then open www.virtualhost1.com in your web browser. the same this should be possible from linux but i dont have my linux hat on at the

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread ben short
Hi, I have used virtual hosts configured as below on a Apache 1.3 server to proxy to Tomcat. Maybe of interest to you. VirtualHost 10.0.0.10:80 ServerName www.domain1.com ProxyPass / http://192.168.100.20:8080/app1/ ProxyPassReverse / http://192.168.100.20:8080/app1/ ProxyRequests off ErrorLog

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-08 Thread ben short
Hi Luke, This is a litte off topic for the Tomcat usergroup but here you go. I have added the following to my web.xml servlet servlet-nameimg/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class load-on-startup1/load-on-startup /servlet

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread ben short
I have tried with firefox and ie6. May i ask what you are using? Ben On 9/5/06, Markus Schönhaber [EMAIL PROTECTED] wrote: benshort wrote: How do I get the IF_MODIFIED_SINCE header from the HttpServletRequest object? When I use the HttpServletRequest.getHeaderNames() method and iterate

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread ben short
=1 cookie : JSESSIONID=AB7DD26B34FCAEA604B904B275C03BAD cache-control : max-age=0 Regards Ben On 9/5/06, Markus Schönhaber [EMAIL PROTECTED] wrote: ben short wrote: I have tried with firefox and ie6. May i ask what you are using? Firefox. May I ask what you are using (i. e. Tomcat version

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread ben short
Markus, I have fixed the problem. I needed to set the contenttype and the contentlength on the HttpServletResponse. Now i see the if-modified-sice header on the second request. Thanks for your input. Regards Ben On 9/5/06, ben short [EMAIL PROTECTED] wrote: Markus, Im using Tomcat 5.5.17

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread ben short
a If-Modified-Since request header the next time it needs that resource. I can then send HTTP Error 304 - Not modified, in return and all will be well. Again, thanks for your help. Ben On 9/5/06, Markus Schönhaber [EMAIL PROTECTED] wrote: ben short wrote: Im using Tomcat 5.5.17. I assumed that my

<    1   2