Re: howto mirror a jsp site.. convert ?/= to .do/param1/param2?

2001-08-31 Thread Pier Fumagalli
"Matt Pease" <[EMAIL PROTECTED]> wrote: > Hi all - > > I'd like to mirror my jsp generated website, in an effort to > reduce the memory / hardware requirements of the site. My site's > content won't change so often that it needs to see immediate updates. > > I plan on using wget -m to mirror

Re: Add common stuff to pages served by Tomcat

2001-08-31 Thread Pier Fumagalli
"Henry Wang" <[EMAIL PROTECTED]> wrote: > I am using Tomcat 3.2.1 as a standalone server. I would like to add some > common stuffs (like an image) to every page (may from distinct contexts) > served by this server. Is there an easy way to do so? > > I am considering to let the server to run one

[TC3.3b1] use of taglib causes "org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found error"

2001-08-31 Thread Paul Spencer
I am getting the following error while using Jetspeed with Tomcat 3.3-b1. This error does NOT occur in Tomcat 3.3-m4! [Fri Aug 31 22:19:33 EDT 2001] -- ERROR -- Error rendering Velocity template: /controllers/html/multicolumn.vm: Invocation of method 'getContent' in class org.apache.jetspeed

howto mirror a jsp site.. convert ?/= to .do/param1/param2?

2001-08-31 Thread Matt Pease
Hi all - I'd like to mirror my jsp generated website, in an effort to reduce the memory / hardware requirements of the site. My site's content won't change so often that it needs to see immediate updates. I plan on using wget -m to mirror the site. This works but for one problem...wge

[FAQ] jGuru FAQ Update

2001-08-31 Thread Alex Chaffee
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] . - Alex

Re: It worked - Can someone explain why?

2001-08-31 Thread Charles Webber
Since this is originally my post, and I now understand why/how this works, I think I'll share with the Tomcat community at-large. I found an excellent book on the topic of servlets, which goes into a lot more detail than any of the online Tomcat documentation that I've read with regard to the conf

Re: Book

2001-08-31 Thread Dmitri Colebatch
On Fri, 31 Aug 2001, mazzen al-najjar wrote: > Victor Martinez wrote: > > Does anybody knows a book about Tomcat? I´m looking for one and i haven´t > > seen anything... > > an opinion i don't find expressed in the archives, so i'll say it once: > > just about every book on jsp or servlets ever p

Re: accessing servlets without a port number

2001-08-31 Thread Dmitri Colebatch
Alex, port 80 is the default port for http, so what you are wanting to do is have tomcat listen on port 80 instead of 8080. to do this on a *nix box you'd need to run tomcat as root (for 3.x anyway - I believe 4.0 has a wrapper that does this properly), which isn't a good idea. alternatively, i

Add common stuff to pages served by Tomcat

2001-08-31 Thread Henry Wang
I am using Tomcat 3.2.1 as a standalone server. I would like to add some common stuffs (like an image) to every page (may from distinct contexts) served by this server. Is there an easy way to do so? I am considering to let the server to run one serverlet or Jsp page each time it responds a re

Re: JSP Output Refresh problems

2001-08-31 Thread Catalin Palsu
Delete your Temporary Internet Files. Maybe you need to delete the servlets created by the JSP (if there is one) CATA At 10:48 AM 8/31/01 -0700, you wrote: >Hello, > >I found a very strange problem us TC 3.2.2, if I update one of the jsp >page (using JavaBean), this page display fine, and after

RE: Loggin out using JDBC realms

2001-08-31 Thread PHAM,TAM (HP-Vancouver,ex1)
Taavi: Thanks for you help. I have implemeted the call as you suggested when the user logs out. Regarding logging out of JDBC realms. This does not seem ideal if I have to explicitly call session.invalidate() when the user logs out. Do you have any suggestions for having Jakarta-tomcat auto

Re: jdbc realms timing out database connection and not reconnecting

2001-08-31 Thread Andrew Robson
Hi, I bet the elapsed time between your last succesful login and the next attempt is 8 hours. There's a connection timeout variable in MySql which controls this value but can't remember exact name off the top off my head. Anyway to sort it out try adding - autoReconnect=true to the connectionU

Re: tomcat 3.2.3 and mod_jk

2001-08-31 Thread Jason Koeninger
It's in there, but it's not on by default. Copy the ajp12 connector section of server.xml and paste the same thing right below. Change the port number and change all of the 12's to 13's, and you should be ready to go. Best Regards, Jason Koeninger J&J Computer Consulting http://www.jjcc.com

tomcat 3.2.3 and mod_jk

2001-08-31 Thread Jason Novotny
I see mod_jk in the tomcat 3.2.3 source distribution- however I see no reference to the mod_jk or AjpV13 connector in the included server.xml file. Am I supposed to use mod_jserv only with Tomcat 3.2.3??? If not, where's the right server.xml file. Thanks, Jason -- Jason Novotny

jdbc realms timing out database connection and not reconnecting

2001-08-31 Thread PHAM,TAM (HP-Vancouver,ex1)
Everyone: I am seeing some odd behavior using mysql database and jdbc realms. When I first start up jakarta-tomcat it allows me to authenticate in and navigate my protected web area. I can even exit and relogin within a couple of minutes later. When I go away for the day and come back it doe

Re: Loggin out using JDBC realms

2001-08-31 Thread Taavi Tiirik
> when using security realms, more specifically JDBC realms, > how do you log-out? Call session.invalidate() and it does the trick. with best wishes, Taavi

Loggin out using JDBC realms

2001-08-31 Thread Roland
Hello, when using security realms, more specifically JDBC realms, how do you log-out? Thanks for answers, Roland

Re: mod_webapp errors....

2001-08-31 Thread Pier Fumagalli
"Jack Lauman" <[EMAIL PROTECTED]> wrote: > Myself. No RPM's. (Deleted the original install ones). > mod_jk from 3.2.3 and php 4.0.5 compile with apxs with no problems. Can you send me your APXS binary? It's a shell script... (Privately, don't clog the ML :) :) :) Pier

SSL: keystore and private key/certificate storage

2001-08-31 Thread Solomon Gorlick
Hi Tomcat Users, Do I need to store my signed certificate and private key in a keystore to use SSL with tomcat 3.2.3 stand alone? If so, how do I get an already-generated private key AND signed certificate in there? I've followed the documentation at the below url: http://jakarta.apache.org/tom

Load balancing and redundancy

2001-08-31 Thread Leon Nicholls
I managed to get my Apache server configured with two Tomcat servers with load balancing. Everything works as expected with the requests evenly handled by the two Tomcat servers. I was thinking of using this architecture for redundancy, but I have discovered a problem. If the first Tomcat server

Re: mod_webapp errors....

2001-08-31 Thread Jack Lauman
Myself. No RPM's. (Deleted the original install ones). mod_jk from 3.2.3 and php 4.0.5 compile with apxs with no problems. Jack Pier Fumagalli wrote: > > Broken APXS... It's an issue I need to address... It seems it always arises > from RedHat distributions... Did you compile Apache yourself

RE: Accessing protected files trough JSP how?

2001-08-31 Thread Randy Layman
The JSP/servlet could use the java.io.File/FileInputStream classes to read the file and stream it out to the web browser - this way the files wouldn't even have to be in the webapps directory. Randy > -Original Message- > From: Roland [mailto:[EMAIL PROTECTED]] > Sent: F

Re: mod_jk.so woes

2001-08-31 Thread David Smith
I got my mod_jk file from the Tomcat 3.3 binary distribution. There's a folder in there named native with two version of mod_jk -- eap and noeap. How your Apache was built (with or with out EAP) will determine which to use. Just a hint though -- if your version of Apache uses SSL, it definit

Re: accessing servlets without a port number

2001-08-31 Thread David Smith
Web browsers expect and assume the port number of a web server to be 80 if it's not specified in the URL. So just configure Tomcat to work at port 80 or to work with Apache at port 80 using mod_jk or mod_webapp. The docs and config files that come with Tomcat should be able to help you config

RE: mod_jk Virtual Host Problems

2001-08-31 Thread Eric Rosenberry
You are exactly right! That was my problem. I had not uncommented the line "NamedVirtualHost *" from the example I used. The Asterisk does work fine as long as you have a "NamedVirtualHost" for it. Thank you very much! -Eric -Original Message- From: Jason Koeninger [mailto:[EMAIL PRO

Re: webapp_mod error!

2001-08-31 Thread Pier Fumagalli
"Sebastian Hagenbrock" <[EMAIL PROTECTED]> wrote: > Hi... > > I've logged an error in case of using the webapp_mod. But I didn't know what > this error means... > > 2001-08-29 14:11:02 [org.apache.catalina.connector.warp.WarpConnection] > Exception on socket > java.io.IOException: Premature pac

Re: Tomcat/Apache +webapp_mod

2001-08-31 Thread Pier Fumagalli
"Sebastian Hagenbrock" <[EMAIL PROTECTED]> wrote: > Hi... > > I've Tomcat 4.0 and Apache 1.3 (EAPI) + webapp_mod (EAPI) running under a > SuseLinux 7.2 Server. > > I have configured the httpd.conf & server.xml files like the webapp > installguide describes. I used the /examples context for a te

Re: mod_webapp errors....

2001-08-31 Thread Pier Fumagalli
Broken APXS... It's an issue I need to address... It seems it always arises from RedHat distributions... Did you compile Apache yourself or you're using a RPM? Pier "Jack Lauman" <[EMAIL PROTECTED]> wrote: > > Apache 1.3.20, php 4.05, mod_perl 1.26, etc are all on the system. > They and oth

Re: mod_webapp and make !!!

2001-08-31 Thread Pier Fumagalli
"Bekkali Hatim - Soamaï" <[EMAIL PROTECTED]> wrote: > Le Vendredi 24 Août 2001 13:40, vous avez écrit : >> Quoting hatim <[EMAIL PROTECTED]>: > >> >> You downloaded the wrong version of the binary... There's one for GLIBC >> 2.2 and one for GLIBC 2.1 >> > > Where can i find the version for Gl

Re: 3 days trying to make mod_webapp.so !no succes

2001-08-31 Thread Pier Fumagalli
"Bekkali Hatim - Soamaï" <[EMAIL PROTECTED]> wrote: > Hi > > i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20 > i tried to use the mod-webapp.so comming from > webapp-module-1.0-tc40b7-linux.tar.gz > but apache didnt start because of error > Cannot load /usr/local/apache/libexec/

Re: mod_webapp and make !!!

2001-08-31 Thread Pier Fumagalli
"hatim" <[EMAIL PROTECTED]> wrote: > Hi > > i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20 > i tried to use the mod-webapp.so comming from > webapp-module-1.0-tc40b7-linux.tar.gz > but apache didnt start because of error > Cannot load /usr/local/apache/libexec/mod_webapp.so int

mod_jk.so woes

2001-08-31 Thread Procek, Brett
I've been having problems for days compiling mod_jk.so. I would like to see if a pre-compiled one would work for me. Does someone have this file available for me to use. I am running Apache 1.3.9, Tomcat 3.2.3, and Solaris 8. Thanks, Brett [EMAIL PROTECTED]

Re: Link error with mod_webapp

2001-08-31 Thread Pier Fumagalli
"Shaun Campbell" <[EMAIL PROTECTED]> wrote: > Pier > > I don't suppose you had any more thoughts on my problems building > mod_webapp.so. > > Just out of interest I installed a built version of mod_webapp.so and I got > an error with an undefined symbol ap_ctx_get when I started Apache. I gues

Re: Book

2001-08-31 Thread mazzen al-najjar
Victor Martinez wrote: > Does anybody knows a book about Tomcat? I´m looking for one and i haven´t > seen anything... an opinion i don't find expressed in the archives, so i'll say it once: just about every book on jsp or servlets ever published uses tomcat as the example engine. they may not ha

Re: mod_jk Virtual Host Problems

2001-08-31 Thread Jason Koeninger
I may be mistaken, but this is an Apache problem, isn't it? To do name based virtual hosts in Apache, you have to have a NamedVirtualHost (not sure if that's exactly the right directive) entry that gives the IP where you'll put the hosts. Then, the VirtualHost entries have to use that same IP

Accessing protected files trough JSP how?

2001-08-31 Thread Roland
Hello, we are creating a JSP web-page for several users with login. Now my question is, each user has specific files, which other users shouldn't be allowed to read. Now one alternative would be to create a directory for each user and only assign the specific user the rights to read that directory

mod_jk Virtual Host Problems

2001-08-31 Thread Eric Rosenberry
I am trying to get apache setup with four virtual hosts that send requests for .jsp files to four separate tomcat workers. I am using mod_jk to do this with the commands below in my httpd.conf file. My problem is that mod_jk seems to only pay attention to the first set of JKMount commands. So t

JSP Output Refresh problems

2001-08-31 Thread David Cao
Hello, I found a very strange problem us TC 3.2.2, if I update one of the jsp page (using JavaBean), this page display fine, and after I went to another page, and link back to the first page, then it display an old page (before I change), if i refresh the screen, it will display new value. So s

Can't get the IIS to work with Tomcat

2001-08-31 Thread Rehan Janjooa
Hi I am constantly getting the message GET /myapp/servlet/dissertation.Search?keyword1=action 404 I have don't all the troubleshooting but it is still getting the same message in the log file Can you help me please Thank you Rehan --- Outgoing mail is certified Virus Free. Checked by AVG anti-

accessing servlets without a port number

2001-08-31 Thread alex reuter
Hello List, I'd like to access my servlets without using the port number, and I've seen a whole bunch of config files and directives and I was wondering if anyone could tell me exactly how its done, or point me to some solid documentation. Oh, and if the answer to this question is staring me in t

Re: Tomcat 4.0 and Apache 2.0

2001-08-31 Thread Ryan Bloom
On Friday 31 August 2001 05:43, Kemp Randy-W18971 wrote: Apache 2.0 has no built-in support for Tomcat. There are two modules that allow you to connect Apache 2.0 with Tomcat 4.0, mod_webapp and mod_jk. At least, I believe mod_jk works with Tomcat 4.0 and Apache 2.0, but I'm not 100% sure. In g

Merci à tous

2001-08-31 Thread Arnaud Tuffery
Gael et moi même vous remerciont pour votre accueil chaleureux et votre disponibilité de tous les instants. Nous vous convions à un petit apéritif vers 17h15. e-mail: [EMAIL PROTECTED] phone: 04.67.79.63.07 mobile: 06.67.29.45.84

Re: Filepath quesiton

2001-08-31 Thread Ramesh Yerneni
Thanks all for trying to help me. The problem I had was Tomcat is looking for the javascript file in my src directory (which is set as docbase for my application), instead of in current jsp directory. But in case of included jsp files it looks in the current directory and not the docbase. Now i

tomcat-4.0-b7 startup failure (can't find org.apache.catalina.connector.warp.WarpConnector)

2001-08-31 Thread Cliff Lang
Platform: Win2000 JDK: jdk1.3.1 J2EE: j2sdk1.3 beta 2 Tried both the jakarta-tomcat-4.0-b7.exe, and zip files, and both fail the same on startup. Everything looks right - warp.jar in server/lib - Even if I include server/lib/warp.jar in my classpath catalina still doesn't find the WarpConnecto

Re: problem

2001-08-31 Thread Chris Beggy
[EMAIL PROTECTED] (Wojciech Sobczuk) writes: > hello, > > i have an applicAtion called shop, deployed in tomcat webapps (it has a > context configured in server.xml too). Is this app available for inspection someplace? Thanks. Chris

Re: I thought this was a tomcat list

2001-08-31 Thread drachma drachma
Hi there, anyone know where i could buy a decent space heater? I know this is a litle off the topic, but since tomcat is built off of java, and java can run on windows, and windows is installed on my PC, and my PC sits on my desk, and my desk was made in scandinavia, and scandinavia is really co

Tomcat 4 and IIS Plugin

2001-08-31 Thread CAMPANA,SAL (HP-Philadelphia,ex1)
Is anyone using an IIS plugin with Tomcat 4? If so is it the one from Tomcat 3?? Is it configured the same?? I noticed a TODO for buiding connectors...but is seems like people are using it Thanks!

Re: Graphics

2001-08-31 Thread Andrej Rosenheinrich
Hi, I just wrote this email to somebody else, but it should solve your problem too. Hello, here is a simple jsp-page, that takes a BufferedImage (provided as sessionAttribute) converts it and shows it as jpeg. <%@ page contentType="image/jpeg" import="java.awt.image.*, com.sun.image.codec

Tomcat 4.0 and Apache 2.0

2001-08-31 Thread Kemp Randy-W18971
I read somewhere that Apache 2.0 has build in support for Tomcat. I guess my question would concern itself with integrating Tomcat 4.0 and Apache 2.0 when they are both production ready. In the Tomcat 3.x documentation, it mentions using mod_jk, which I currently have set up: Integrating Tomc

Help with ssl client authentication

2001-08-31 Thread Ricardo
Hi all, and thanks for reading me ... I have read a lot of posts about client authentication with tomcat and i """pray""" to somebody for giving a final solution to this problem in Tomcat 4.0 b7. I mean, could somebody describe all the process (commands used) of the certificates generation (keyto

RE: Book

2001-08-31 Thread David DELGRANCHE
Hi Victor, I think there is no book for the moment. There is a working group to write a book on tomcat, but I think they don't have finished yet. There is onlythis possibility, you won't find a book in the library!!! You only have the documentation! -Message d'orig

Re: Graphics

2001-08-31 Thread Jim Cheesman
At 12:39 PM 31/08/01, you wrote: >Hi. >I need create graphics and convert them in jpeg format. Just out of interest, what makes you think that this is the correct forum for this? Have you done any kind of investigation beyond sending this mail? (Hint: check out java 2d at java.sun.com. Or sea

Graphics

2001-08-31 Thread Ruben Domene
Hi. I need create graphics and convert them in jpeg format. My questions are: - Class that i need for doing it. - where can i download this class? Thank you for your helps.

Re: SQL Error

2001-08-31 Thread MindTerm
Dear David , Please noted that each connection may have a time out period. If all of your statement use the same connection object, it maybe timeout at some time. Hope it can help ~ M.T. --- David DELGRANCHE <[EMAIL PROTECTED]> wrote: > Hi > > I have a question p

Book

2001-08-31 Thread Victor Martinez
Does anybody knows a book about Tomcat? I´m looking for one and i haven´t seen anything... Un saludo. Victor Martinez Conte ([EMAIL PROTECTED]) Analista funcional Ariceta & Asociados http://www.ariceta.com Grupo IT Deusto Alberto Alcocer 24, 7ª Pl

RE: Pass arguments from html file to servlet

2001-08-31 Thread Alexander Jesse
Hi, two cases: - normal link: use URL-parameters .ServletName?parmname1=value1. - form: field-values will be added to the request. -> every servlet-tutorial deals with that kind of questions regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

SQL Error

2001-08-31 Thread David DELGRANCHE
Hi I have a question perhaps more on JDBC than on tomcat but perhaps someone could help me. I call a servlet using Tomcat 3.2.2. My servlet is doing an Oracle Database access using JDBC. I have to iterate many time in it. It seems that after several iteration m

Re: Catalina New Features: Startup as root

2001-08-31 Thread Steven Elliott
>>> Steven Elliott wrote: >>> Anyone got this to work via inetd? Don't mean to be stupid >>> but I have no >>> idea what *JavaService or equivalent* is.<8( >> jean-frederic clere wrote: >> >> jakarta-tomcat-service? > Steven Elliott wrote: > > Sorry but what is a *jakarta-tomcat-service*?

problem

2001-08-31 Thread Wojciech Sobczuk
hello, i have an applicAtion called shop, deployed in tomcat webapps (it has a context configured in server.xml too). i'm having the following problems with tomcat 3.2.3: - tomcat doesn't see classes which i place in webapps/shop/WEB-INF/lib, to be precise, i place a .jar there in which there i

Pass arguments from html file to servlet

2001-08-31 Thread Ruben Domene
Hi. My question is, how can i pass arguments from a html file to servlet? Thank you.

Re: Ajp13 protocol

2001-08-31 Thread Roberto B.
Yes.. I have the same ones ! But I'm asking now what does it means that is written in the doc. mod_jk-howto for Tomcat 3.2... Roberto. - Original Message - From: "Cristian Bortolato" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 31, 2001 10:16 AM Subject: RE: Ajp13

configuration problem ?

2001-08-31 Thread Marciu Ion-Liviu
Hi, My application runs on 3.2.3, I'we redirected a port from my Linux server to the 8080 port of the computer where I run Tomcat. I just put the files there i didn't modifie any conf file. The problem is that I have a JSP with a form in it, when I call submit on that form, it calls a Servlet. T

RE: Ajp13 protocol

2001-08-31 Thread Cristian Bortolato
Hi, I've written these lines in workers.propeties: workers.tomcat_home=/usr/local/tomcat workers.java_home=/usr/java/jdk1.3.1 ps=/ worker.list=ajp12, ajp13 ... ajp12 conf... worker.ajp13.port=9009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 -Original Message- From: Roberto B