Re: Context Being Ignored?

2004-01-25 Thread Jacob Kjome
Works for me. Are you sure you context is initializing properly? Does it actually work? Check stdout for info. Jake At 03:20 PM 1/24/2004 -0600, you wrote: Below is the Context element I'm using for my application. It was originally created for Tomcat 4.1. With this Context element in

Re: bad signature for jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz

2004-01-25 Thread David Rees
Eric Emminger wrote, On 1/24/2004 12:25 PM: I'm trying to verify the signature of jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz, but gpg says public key not found. I DID import the KEYS from http://www.apache.org/dist/jakarta/tomcat-connectors/KEYS. Here's the output of the gpg verify

Re: restrictedUserAgents parameter

2004-01-25 Thread Lukas sterreicher
Oh dear, I think I made a fool of myself: I did not realize that it tried to send zero-byte files in this special case because the audio encoder crashed (still working on this). I manually encoded it for testing then and then it appeared to work. I will reply again if I find other errors. I am

Running Tomcat 4.1.27 as NT service - logs

2004-01-25 Thread Yuval Zantkeren
Hi, I had no problems installing the tomcat as service but its deleting my logs anytime I restart the server, Can someone tell me how to change the configuration so it will not delete the logs? Regards, Yuval - To

Re: Context Being Ignored?

2004-01-25 Thread Merrill Cornish
Jake, Well, I've managed to show that the Context element itself isn't being ignored. I modified it so that typing ts on the URL would execute the timesheet app in webapps. However, the Logger sub-element that defines a custom log file name for the application still doesn't seem to be

Re: Context Being Ignored?

2004-01-25 Thread Jacob Kjome
At 08:44 AM 1/25/2004 -0600, you wrote: Jake, Well, I've managed to show that the Context element itself isn't being ignored. I modified it so that typing ts on the URL would execute the timesheet app in webapps. However, the Logger sub-element that defines a custom log file name for the

RE: Repeated load-on-startup niggle

2004-01-25 Thread Chris Ward
Hi Joe, I'm not sure exactly what your query is but the setup I have is a / and a /hal Context. The Filter I am using to direct any requests to / to /hal lives in the WEB-INF/classes dir of the / context. In my case I used the Tomcat default dir of ../webapps/ROOT for the / docBase. Further.

Access to connection pool through tomcat api

2004-01-25 Thread Philipp von dem Bussche
Hi everybody, does anybody know, if it's possible, to access information about a tomcat connection pool through the tomcat api. I am looking for a way to ask my container, how much connections are still left. As far as I know tomcat only routes the requests for the pool to the DataSources. If

Re: Special URL servlet request.

2004-01-25 Thread Harry Mantheakis
Joe Francis wrote: But it was no longer able to find other content such as static html files and image files that were bundled into my servlet. Tell us how you are trying to 'find other content' and we might be able to help you. Harry When I tried that approach (adding /* to the mapping),

simple virtual host question

2004-01-25 Thread Dan
I am using Tomcat 4.1.29 with JDK 1.4.x. The network is configured with a router with a firewall to the Internet and a Tomcat server with a static IP(maintained by the router for forwarding purposes) behind the firewall. The router's IP is 12.12.12.12 and I have it forward all http requests to

Re: simple virtual host question

2004-01-25 Thread Miguel González Castaños
Dear Dan, If you want to use Virtual hosting based on Server name you need to use the servername you have. If you an internet domain and you want your lan server to be accessed from the internet, then you have to use that servername. About the IPs, you need to use the lan IP, not the router

Re: Access to connection pool through tomcat api

2004-01-25 Thread Philipp Taprogge
Hi! Philipp von dem Bussche wrote: does anybody know, if it's possible, to access information about a tomcat connection pool through the tomcat api. I am looking for a way to ask my container, how much connections are still left. Since pooling is not a feature of the container, this very much

RE: How to change page encoding, sent by server

2004-01-25 Thread Mark Thomas
Have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13231 In the meta tag has no effect. You need to use the [EMAIL PROTECTED] ... directive instead. Mark -Original Message- From: Ivan Kozlov [mailto:[EMAIL PROTECTED] Sent: Saturday, January 24, 2004 8:56 PM To: [EMAIL

Re: simple virtual host question

2004-01-25 Thread Dan
Thank you Miquel. Let me repeat what you are saying. Essentially, I set up a host element entry in my server.xml with my lan servers IP. The router, when it receves a request to IP 12.12.12.12:80 will translate that request into 192.168.1.1:80 and sent it to the lan server. Thanks again. Dan

RE: Antwort: RE: SSL, keystore with ca hierarchy

2004-01-25 Thread Mark Thomas
I can't do step 1 and 2 because the certificate and private key has been created already with openssl. The file TestServer_APU.pem contains the private key and certificate in the PEM format. Should that work either? Sorry, no idea. You may need to convert formats. A quick Google found

Re: simple virtual host question

2004-01-25 Thread Miguel González Castaños
Yes, exactly. The NAT of your router will do the translation back and forth from the Internet IP to your server IP (lan). Tell me how it went Miguel Dan escribió: Thank you Miquel. Let me repeat what you are saying. Essentially, I set up a host element entry in my server.xml with my lan

Re: Tomcat5.0.16 Requested resource not available

2004-01-25 Thread Bill Trump
Thanks Tim, for pointing out to the materials :-) Looks like my reference book uses Tomcat 4.0.* where the invoker servlet is uncommented by default and there was no reference about the invoker. it finally works !! :-) On Sun, 2004-01-25 at 01:51, Tim Funk wrote: It probably works on the other

Re[2]: How to change page encoding, sent by server

2004-01-25 Thread Ivan Kozlov
Hello Mark, Sunday, January 25, 2004, 9:20:53 PM, you wrote: MT Have a look at MT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13231 MT In the meta tag has no effect. You need to use the [EMAIL PROTECTED] ... directive MT instead. I tryed to change index.jsp in /WEBAPP/ROOT - that only

DefaultContext Management from Tomcat Administration

2004-01-25 Thread Brandon Goodin
I have just installed Tomcat 5 and am very impressed with the usability changes from 4.x and am thrilled about the new spec. But, i use the DefaultContext configuration component quite often in my Host. After having used the Tomcat Administration Tool I found no way to establish a DefaultContext

mod_jk problem

2004-01-25 Thread Lukas Larsson
Hello Does anyone know of a good tutorial for setting up mo_jk or mod_jk2 in apache2? I've been trying now for 4 days to set it up but I've failed. I've been trying to set it up on SuSU linux 9.0 with apache2.0.48 (http://apache.archive.sunet.se/dist/httpd/httpd-2.0.48.tar.gz) and tomcat

mod_jk problem

2004-01-25 Thread Lukas Larsson
Hello Does anyone know of a good tutorial for setting up mo_jk or mod_jk2 in apache2? I've been trying now for 4 days to set it up but I've failed. I've been trying to set it up on SuSU linux 9.0 with apache2.0.48 (http://apache.archive.sunet.se/dist/httpd/httpd-2.0.48.tar.gz) and tomcat

RE: mod_jk problem

2004-01-25 Thread Brandon Goodin
That is the most informative link i know of. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html -Original Message- From: Lukas Larsson [mailto:[EMAIL PROTECTED] Sent: Sunday, January 25, 2004 12:33 PM To: 'Tomcat Users List' Subject: mod_jk problem Hello Does anyone know

Re: mod_jk problem

2004-01-25 Thread Mark Eggers
Please see the following: http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb or http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links Lots of information, including several step-by-step documents. HTH /mde/ just my two cents . . . . __ Do you Yahoo!?

Problems running Model2 webapp

2004-01-25 Thread Curt R. Crandall
I inherited a web application a couple of weeks ago and I'm having a hard time trying to get it to run within Tomcat. Unfortunately, I do not have any system documentation nor a buildfile for the system. I'm attempting to get this application to run in two different environments: Mac OS X

Re: Problems running Model2 webapp

2004-01-25 Thread John D. Hume
For the Tomcat 4.1.x issue, read here for a likely cause: http://jakarta.apache.org/tomcat/faq/classnotfound.html If it's a Servlet 2.2/JSP 1.1 application, you may do best to keep it in Tomcat 3... and a 1.3.1 JRE unless you move the classes into packages. For further debugging, try simple

Re: Tomcat und SSL

2004-01-25 Thread Adam Hardy
I never done that myself. But it would surprise me if the tomcat website at http://jakarta.apache.org doesn't have good documentation on it. Adam On 01/24/2004 07:49 PM Lars Schreiber wrote: Hi thanks for help and for confidene to my english knowledge :-) in order that you understand my

TC 5.0.16 - Embedded / Classloading problem

2004-01-25 Thread Michael Mangeng
a URLClassloader, adds all jars/dirs mentioned in a cfg file, uises teh nw classloader to load the launcher class of the application and then launches the main method. After this, the application itself starts up tomcat embedded after some time. During startup the following exception comes up: 20040125 22:26

Re: mod_jk problem

2004-01-25 Thread Lukas Larsson
Thx for the reply. I folloes your second link and found this site (http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html) on how to configure mod_jk but I still get the same problem. Apache says that it is working with mod_jk, but it does not translate *.jsp pages (see

Re: Problems running Model2 webapp

2004-01-25 Thread Curt R. Crandall
Thanks for the information. I was going to give JDK 1.3.1 a shot and recompile everything since I have no idea what JDK was used to compile all of the classes I have. I'd like to move all the classes into packages, but there's so many and I have limited time. Hopefully I'll get a zip of a

Re: Antwort: RE: SSL, keystore with ca hierarchy

2004-01-25 Thread Bill Barker
broken-record There is a utility at http://www.comu.de/docs/tomcat_ssl.htm to import your OpenSSL certs into a JKS keystore. Alternatively, the ssl_howto for TC 5.x contains an example of how to configure a PKCS12 keystore from an OpenSSL keystore. /broken-record Mark Thomas [EMAIL PROTECTED]

Re: Problems running Model2 webapp

2004-01-25 Thread Ben Souther
On Sunday 25 January 2004 06:30 pm, you wrote:  However, I did notice that on Tomcat 4.1.18 that making a simple HelloWorld servlet and popping that in ROOT/WEB-INF/classes did not work (couldn't find the file). This feature has been intentionally removed. Read here for more information.

Re: Problems running Model2 webapp

2004-01-25 Thread Curt R. Crandall
Thanks. I just took SL314 from Sun back in May '03. So, I've been going back through their material and I thought I was going crazy because half of the labs wouldn't work. I guess this solves all of this. If I had more documentation, on the system I'm working on, with an idea of what needs

http, https, shared, and deployment

2004-01-25 Thread Dean A. Hoover
Suppose I want to create a website that has some dynamic content (served by tomcat) and some static content (served by apache). Also suppose that some of the pages on my website need to be https and some of the pages need to be http. Some stuff is shared (both http and https), like the logo GIF

Multiple instances, multiple IPs

2004-01-25 Thread Chris
I need to run multiple instances of Tomcat on one box. The reason is that we have multiple websites, and I want them to have independent JVMs. There is some pretty good documentation out there on how to configure multiple instances of Tomcat, but all of it presumes that each instance runs on a

Re: Multiple instances, multiple IPs

2004-01-25 Thread Bill Barker
Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need to run multiple instances of Tomcat on one box. The reason is that we have multiple websites, and I want them to have independent JVMs. There is some pretty good documentation out there on how to configure multiple

Re: Apache/Tomcat Integration. Urgent!!

2004-01-25 Thread rohit chugh
Hi There, Can any body help please. Thanks --- rohit chugh [EMAIL PROTECTED] wrote: Thanks again. I tried that however , the problem persists. Following are the excerpts from the log files, if they can help ---Apache log. [Fri Jan 23 16:32:49 2004] [error]File does not exist:

Re: Repeated load-on-startup niggle

2004-01-25 Thread Joe Francis
Chris, thanks for responding. I think I understand. Sanity check: the filter is not even mentioned anywhere in the webapps/hal heirarchy, right? That hierarchy is totally unaware of the filter. If that's the case then all is making sense now. thanks again, -joe Chris Ward wrote: Hi Joe,

Question about Loggers

2004-01-25 Thread Ivan \I-Dawg\ Jouikov
Hi! I am looking for a way to log something from my .class files into Tomcat's /log folder without setting up any loggers of my own... I am guessing Logger entry in server.xml is the trick, but how do you access those loggers from .class files? An example would be awesome. Also, is there any

Apache .htaccess vs. realms in tomcat

2004-01-25 Thread Alexander Jay Storman
Is there anyway to secure a servlet via .htaccess in apache2 using jk2 with tomcat5 or do I have to use realms. Ideally, I would setup access via directory access using a .htaccess file, but all the documentation I have read seems to point to me needing to use realms and not using .htacess