RE: Apache/tomcat serving weird pages

2004-06-12 Thread Carl Olivier
I have had similar problems. What version of Tomcat are you using? It could be that your mod_jk2.so is not of the correct version. If you are using TC 5.0.19 you should be using jk2.04 Carl -Original Message- From: Mike DiChiappari [mailto:[EMAIL PROTECTED] Sent: 12 June 2004 01:02

Problems building mod_jk2 with ant

2004-06-12 Thread Lars Nielsen Lind
I am having some problems building mod_jk2 with ant. I use jakarta-tomcat-connectors-jk2-2.0.4-src. I have modified ../jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build.properties.sample this way: tomcat5.home=/opt/jakarta-tomcat-5.0.25 and saved it as

Re: Problems building mod_jk2 with ant

2004-06-12 Thread Mark Lowe
I've never had any joy compiling jk or jk2 with ant, its more straight forward just to use the native scripts ./configure --with-apxs2=/usr/local/apache2/sbin/apxs make then copy the built module to the correct location. Mark On 12 Jun 2004, at 12:26, Lars Nielsen Lind wrote: I am having some

Re: Using Tomcat's HTTP processor and SSL

2004-06-12 Thread Michael Echerer
Jim Kennedy wrote: I am considering using Tomcat alone as my HTTP server as well as my servlet container with SSL. I know a lot of people use Apache HTTP Server instead of Tomcat for this and Tomcat is just the servlet container only. Is there any reason why I should not use just Tomcat alone

Re: Problems building mod_jk2 with ant

2004-06-12 Thread Mark Lowe
These instructions for for osx but are relevant to any *nix (at least most), I've done the same on slackware and redhat (albeit different directory structures). also the libtool stuff probably wont be a problem on linux http://homepage.mac.com/melowe/iblog/B141099555/C760077128/E1326304651/

RE: Apache/tomcat serving weird pages

2004-06-12 Thread Mike DiChiappari
I have tomcat 4.1.24 with apache 2.0.40-21. I am not sure of the version of mod_jk2. When the server was setup, the mod_jk2's that were available did not work (apache would display an error message when starting up). We were able to find a mod_jk2 with the file name rh_ap2_t4110_mod_jk2.so.

mod_jk2.so for NetBSD

2004-06-12 Thread Elijah Epifanov
Hello everybody! I have a little problem running Apache2(.0.48) + Tomcat5(.0.25) (jakarta-tomcat) on NetBSD 1.6.2 + JDK 1.3.1_12b03 (sun-jdk13). I can't install a mod_jk2 connector :( SuSe and FreeBSD binaries won't work. They don't load into Apache. FreeBSD version: Syntax error on line 232

R: How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-12 Thread Simone - Dev
OK, thank you very much Does it re-encode the text using 2 bytes per char as with real UTF encoding? Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic Life is short, play hard -Messaggio

Stop Tomcat over non-SSL connection with Apache2/JK2

2004-06-12 Thread Gordon Ross
I'm setting up a simple Apache 2/Tomcat4 configuration with Mod_JK2 and SSL. Without using SSL, I got going pretty quickly with Apache 2/Tomcat 4/JK2. i.e. I could go to http://hostname/gwise/blah (where gwise was a tomcat webapp) and that worked fine. I then introduced SSL, and I could then go

Re: Stop Tomcat over non-SSL connection with Apache2/JK2

2004-06-12 Thread Michael Echerer
Gordon Ross wrote: The problem, is that I do *NOT* want the webapp available over the non-SSL connection. In the VirtualHost section in Apache 2 where I defined the SSL VirtualHost, I put a JkUriSet command, but the tomcat apps were still available over port 80 (non-SSL) - even though there was

RE: Tomcat Default page

2004-06-12 Thread Chad Boyd
You need to and a Context element to the server.xml file with a zero-length path attribute. Check out http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 6:15 PM To: [EMAIL

RE: Database connection problems after redeploying war

2004-06-12 Thread Chad Boyd
OK, finally figured it out. I moved the Resource elements that contained the connection pools into the GlobalNamingResources element in server.xml. I then created the context.xml file that contained ResourceLink elements that pointed to the ones defined in the global section mentioned before. I

RE: Database connection problems after redeploying war

2004-06-12 Thread Tom . Williams
Sweet! Thanks for the info! Peace Tom Chad Boyd [EMAIL PROTECTED]

Using Tomcat's HTTP processor and SSL

2004-06-12 Thread Jim Kennedy
I am considering using Tomcat alone as my HTTP server as well as my servlet container with SSL. I know a lot of people use Apache HTTP Server instead of Tomcat for this and Tomcat is just the servlet container only. Is there any reason why I should not use just Tomcat alone for this. I'm

RE: Database connection problems after redeploying war

2004-06-12 Thread Chad Boyd
Just a side note. I couldn't get this to work in Tomcat 5.0.19. I had to upgrade to 5.0.25. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 12, 2004 2:27 PM To: [EMAIL PROTECTED] Subject: RE: Database connection problems after redeploying war

How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
http://localhost:8080/ I actually got this to work, but it images, etc can't be found. Thanks for your help. Jarl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Schalk
Is your webapp located in c:/your-Tomcat-install-directory/webapps/yourapp/? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED]

RE: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Schalk
What happens if you just enter: http://localhost:8080/ Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
What happens if you just enter: http://localhost:8080/ I located it in c:/your-Tomcat-install-directory/webapps/ROOT/ What happens if you just enter: http://localhost:8080/ It runs my servlet except without images, .css, .js files. -- They that can give up essential liberty to obtain a little

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Hassan Schroeder
Jarl Skogsholm wrote: What happens if you just enter: http://localhost:8080/ It runs my servlet except without images, .css, .js files. Sounds like the paths in your servlet are wrong; are they relative or absolute? What do the 404 entries in your logs say? -- Hassan Schroeder

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
The paths in my servlet are relative. I didn't see any 404 entries in my logs. Is that a different debug level? If I try to access an image directly it still brings up my servlet. On Sat, 12 Jun 2004 17:02:39 -0700, Hassan Schroeder [EMAIL PROTECTED] wrote: Jarl Skogsholm wrote: What happens

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Hassan Schroeder
Jarl Skogsholm wrote: The paths in my servlet are relative. I didn't see any 404 entries in my logs. Is that a different debug level? The standard Web logs from AccessLogValve -- if you haven't yet configured one, it'd probably be a good idea :-) But you can tell the effective URL of the image

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread Jarl Skogsholm
Here is my log entry: 127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET / HTTP/1.1 200 3567 127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET /css/style.css HTTP/1.1 200 3567 127.0.0.1 - - [12/Jun/2004:20:39:49 -0500] GET /js/functions.js HTTP/1.1 200 3567 127.0.0.1 - - [12/Jun/2004:20:39:50 -0500]

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread QM
On Sat, Jun 12, 2004 at 08:11:57PM -0400, Jarl Skogsholm wrote: : The paths in my servlet are relative. Be careful with that -- the definition of relative within a servlet is sketchy, at best. I don't remember the specifics right now, but there's a way to get a context-relative path within the

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread QM
Update to my original post: your problem likely lies in your servlet mapping: : servlet-mapping : servlet-nameHome/servlet-name : url-pattern//url-pattern : /servlet-mapping Mapping the servlet to / will pass *every* request through that servlet.

Need directions on how to connect to an IP address

2004-06-12 Thread Reid Peryam
I have no knowledge of either Ant or Tomcat other than a partner told me that both were necessary to download a file from his IP address. This being said I have tried very hard to figure out how to use them to accomplish this. I seem to be able to start Tomcat up and shut it down (seemingly

[Fwd: Tomcat5.0.25 and Java Mail not seem to work]

2004-06-12 Thread Alex Burton
Hi all, I am currently porting an application from Tomcat 4.1.x to Tomcat 5.0.25. Everything is going fine except for JavaMail. In the application we have setup both database and JavaMail as Global Naming Resources. The database global work fine but I am getting the following with the Mail

Re: Need directions on how to connect to an IP address

2004-06-12 Thread Jacob Kjome
At 10:54 PM 6/12/2004 -0400, you wrote: I have no knowledge of either Ant or Tomcat other than a partner told me that both were necessary to download a file from his IP address. U. you need to download a file or you need to host a file for download by others? If the latter, you might

help: remote management for hello.war

2004-06-12 Thread javac javac
i have a tomcat account at http://javac.eatj.com which tells me If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations! there are some links on the left, which i've mucked with: Administration Status Tomcat Administration Tomcat Manager

Re: [Fwd: Tomcat5.0.25 and Java Mail not seem to work]

2004-06-12 Thread Jacob Kjome
Maybe because of this? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29255 Grab 5.0.26beta. Jake At 01:45 PM 6/13/2004 +1000, you wrote: Hi all, I am currently porting an application from Tomcat 4.1.x to Tomcat 5.0.25. Everything is going fine except for JavaMail. In the application we have

Re: [Fwd: Tomcat5.0.25 and Java Mail not seem to work]

2004-06-12 Thread Alex Burton
Thanks Jake. Found same post just before and did exactly that. Solved my problem. Jacob Kjome wrote: Maybe because of this? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29255 Grab 5.0.26beta. Jake At 01:45 PM 6/13/2004 +1000, you wrote: Hi all, I am currently porting an application from