virtual hosts and apache

2002-09-04 Thread Dionisio Ruiz de Zarate
I know how i must to configure the virtual hosts in apache but in the tomcat server.xml i don't know. 1.- can any body send me one sample? 2.- in the apache httpd.conf file, in the virtual host description i have the normal virtual host description but for the interaction with tomcat, must i add

Re: Errors for building mod_jk

2002-09-04 Thread jean-frederic clere
Manoj Kithany wrote: > Hi Experts, > > Greetings! > > I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. > I am havin high time in integrating APache and Tomcat. Binary "mod_jk" > is NOT available for IBM AIX System - so I try to build it using > following procedure but get ERR

Re: SSL

2002-09-04 Thread Øyvind Vestavik
That's right. I use a stand-alone version and am using SSL to encrypt requests and responses using a self-signed certificate created using the keytool from Sun for development of my servlets. This should be fairly well documented in the documentation. Øyvind Vestavik Norwegian University of Tech

Re: Relative Servlet Path

2002-09-04 Thread Jacob Kjome
Well, if you are talking about context.getRealPath("/"), that points to the root of your webapp. If you were to append your "db/file.dat" to that, you would be looking for it in: MyContext/ db/file.dat WEB-INF/web.xml I assume you want your db file hidden from

Object pooling

2002-09-04 Thread John Walstra
Hi ya, I'm trying to pool some objects. The objects consist of a hash filled in from XML files. I don't really want to reload the objects for each page hit and it's used by an object that can't be scoped for the application. I've grabbed commons-pool and incorporated it into my code. I have no

Re: Apache & Tomcat Howto

2002-09-04 Thread Robert L Sowders
Hello back, Naturally it depends on your choice of OS, Tomcat version, and connector choice. Try the search at http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ or Google. Here is mine for windows using all the latest of each. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.

Re: Index.html/default welcome file - OT

2002-09-04 Thread Martin Jacobson
garrett smith wrote: > Still having troubles? > > On Mac OS, the OS will add an extra extension based on file type. This is done > to make the computer more user-friendly, although it is exactly the opposite: > it is counter-intuitive. > > I had to check "Show Info" on right-click menu and rem

Re: getConnection() returning a NULL JDBC driver

2002-09-04 Thread Martin Jacobson
Robert Dunn wrote: > Hi all, > > I am attempting to get a connection to the JDBC entry from the server.xml > file and keep getting the error "Cannot load JDBC driver class 'null'". The > error occurs when I attempt to call "ds.getConnection();". I have placed all > of the Interbase JAR files in

Re: HTTP Keep Alive in Tomcat

2002-09-04 Thread Bill Barker
"Sam Cheung" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Does Tomcat use HTTP keey alive by default? In other > words, Tomcat does not close the socket connection > with the client AFTER the servlet finishes the doGet() > or doPut() call? Tomcat 3.

Re: Apache & Tomcat Howto

2002-09-04 Thread Phillip
If u have apache 13. and tomcat 4.0... (1)Add following lines at the end of httpd.conf i apache LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ (2) Add file mod_webapp.so in lib

Re: TC4.1.10: Can't install new app directly from GUI

2002-09-04 Thread David M. Karr
> "Daniel" == Daniel Kehoe <[EMAIL PROTECTED]> writes: Daniel> On 02 Sep 2002 21:12:59 -0700, "David M. Karr" <[EMAIL PROTECTED]> Daniel> said: >> I don't see any documentation on how to use the Manager GUI, >> In the "Install:" box, there are three fields... Daniel> Here

Apache & Tomcat Howto

2002-09-04 Thread Randy Secrist
Hello, I hate to beat a dead horse - but I have been using tomcat standalone for a few years now. I have a friend comming over tomorrow who knows apache in and out, but nothing about Tomcat. I would like to know if anyone has a reference to an online HOWTO so that together we can figure out wha

RE: Apache & Tomcat

2002-09-04 Thread Milt Epstein
On Wed, 4 Sep 2002 [EMAIL PROTECTED] wrote: > Hi John, I was reading your post and it seems very interesting, I'm > a newbie with these tomcat stuff... > > I read a lot of emails in the past about the connectors, but what I > don't understand is what is the function of these connectors... I > kno

RE: Tomcat Apache Config

2002-09-04 Thread Milt Epstein
On Wed, 4 Sep 2002, Ravindra K. Bhat wrote: > Hi: > > Yes..I tested the intgration it works on both 80 and 8080...should it not? It all depends on how you have it set up (and how you want it set up). > if not how do I disable 8080? All the connectors are defined in the server.xml file, in Conn

RE: Tomcat Apache Config

2002-09-04 Thread Milt Epstein
On Wed, 4 Sep 2002, Tam, Michael wrote: > Hi John, > >Just a quick question about this integration. Does it mean with > the integrated tomcat + apache, we would open 2 ports (80 + 8080) > instead of having port 80 only?? That would open up port 8080 to > public to directly reach tomcat woul

Configuring Tomcat 3.2.4 for use with a SecurityManager

2002-09-04 Thread defender
All, Is it just add the "-security" option in startup batch file? And if I want people can only access the "webapps/joe/examples" folder which come from port 8080 and "webapps/joe/examples" folder which come from port 8443, is it just like showed as below? grant codeBase "file:${tomcat.hom

Tomcat just stops

2002-09-04 Thread Chris Stokes
I am running Tomcat 4.0.3 with latest mod_jk and apache 1.3.22 on 2 servers running RHLinux 7.3 and 7.2 respectively On both of these machines I regularly (read a 5 or more times a day) have to start tomcat again as it's processes have gone. There are no errors in any tomcat logfiles. This is

Re: Tomcat Apache Config

2002-09-04 Thread Milt Epstein
On Wed, 4 Sep 2002, Ravindra K. Bhat wrote: > Hi: > > What is the difference between tomcat.conf and tomcat-apache.conf. Don't know, you tell us, what is different between them? > which of these two files need to be included in the httpd.conf file? Whichever one has the correct configuration d

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Robert L Sowders
Thanks, You are welcome to post it where ever you wish. I don't have a web site or I would have put it there. The more people who get involved with Tomcat the better and this is an easy way to get more people looking at it (Tomcat). It's public information now. You are welcome to use it, p

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Justin Ruthenbeck
Have you tried Randy Paries' suggestion about appending a bogus parameter like this: http://www.host.com/myApp/account/users/results.jsp?a=.xls I've seen this work for jpg and swf files before -- curious if this will solve your problem... justin At 04:19 PM 9/4/2002, you wrote: >I do use s

Tomcat 3.3 log rotation in Windows 2000

2002-09-04 Thread Jack Long
Anyone know a good way to rotate Tomcat logs (e.g., stdout.log) in Windows without stopping Tomcat? We capture lots of logging info and the file builds quickly, but we want to avoid the loss of user sessions that comes with stopping Tomcat to clear/delete the log file. While Tomcat is running, W

RE: global.jsa

2002-09-04 Thread neal
Actually, I just checked p 43 ... its talking about the init() and detroy methods() of a servlet. You sure that was 2nd edition? :) Neal -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:23 PM To: Tomcat Users List Subject: RE: global.jsa

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Robert L Sowders
Thanks for the help. I incorporated your suggestion. I added your name to the instructions too, hope you don't mind. The updated file is on my ftp site. I also have instructions there that include these steps and ArcIMS 4 if your interested. ftp://pokey.wr.usgs.gov/pub/rsowders "Andy E

libtool Error!

2002-09-04 Thread Manoj Kithany
Hi, I am getting following LIBTOOL Errors - wonder why. DO any of you Experts know how to tackle that - would appreciate that. I already have libtool on my system. The Error I get is: -- # make Making all in common Target "all" is

Re: Tomcat Apache Config

2002-09-04 Thread Eddie Bush
1) Open your server.xml 2) Locate the element that says "port='8080'" 3) Comment it out 4) Restart tomcat (and Apache) ... do you get connection refused on 8080? Good ... you did good ... If TC is run stand-alone, you need the HTTP connector -- that's the one that knows how to be a web se

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Zsolt Koppany
I do use setContentType(), but I do get asked by IE whether I want to open or save the document. From a servlet using the ...xls in the URL I can prevent the question whether I want to open the document, it will be opened without any questions. Zsolt On Wednesday 04 September 2002 20:46, Just

Re: Warp connector segfault

2002-09-04 Thread Eddie Bush
Suggestion: If you're integrating TC/Apache, use mod_jk instead. Suggestion: Upgrade your Apache :-) ... that's quite old! Search the archive for notes on integrating TC/Apache via mod_jk -- if you can't find what you're looking for by looking for "mod_jk" just search for "John Turner". He

Re: [Q] Singleton Objects across webapps...

2002-09-04 Thread Eddie Bush
Comments in-line. Shapira, Yoav wrote: >Hi, >Perhaps putting the common code, e.g. the singleton, in /common/lib will >work for you? > >Yoav Shapira >Millennium ChemInformatics > >>>A "best practices" question: >>> >>>What is the best way of sharing a single, changeable copy of common >>>informa

context creation

2002-09-04 Thread Richard Chamberlain
Hello, Sorry for barraging the list with questions - I'm trying to migrate quickly, so I'll hopefully quiet down in a day or so. When I create a host and a context in that host I restart tomcat and several other contexts appear. For instance I create a default context (i.e. /) and on restart

RE: Is Tomcat just an add-on?

2002-09-04 Thread Justin Ruthenbeck
Let's try saying this a different way... Tomcat and Apache are completely separate servers and running one, the other, or both does not affect how the other operates independently. If you configure Tomcat to receive requests from Apache, then you are opening an additional port (8009 by defau

SSL

2002-09-04 Thread neal
I am 99% sure that SSL can be setup directly with Tomcat, is this correct? I mean I've even looked at the connector node in the server.xml file and so it seems pretty obvious to me but the tech at my ISP is insisting he believes it is necessary to use Apache as the http server and apply the SSL t

Warp connector segfault

2002-09-04 Thread Zabel, Ian
Hello all, We are trying to get Apache 1.3.12 working with Tomcat 4.0.4 and are using the warp(1.2.0-dev, i think) connector. We are using solaris8, and Apache and Tomcat are on different servers. But, whenever we try to connect to / or /examples, we get segmentation faults in apache. Something's

RE: Is Tomcat just an add-on?

2002-09-04 Thread TOMITA_ALEX_NONLILLY
but when Tomcat is integrated with Apache, what happens with the webserver that comes with Tomcat??? Are ports 80 and 8080 working when both of them are integrated???... Alex Andy Eastham <[EMAIL PROTECTED]> 04/09/2002 04:49 p.m. Please respond to Tomcat Users List To:

RE: Is Tomcat just an add-on?

2002-09-04 Thread Andy Eastham
Ben, It's both, depending on how you configure it. It's pretty efficient standalone, or you can integrate with a web server to serve static content if you've got high traffic levels. Andy > -Original Message- > From: Ben Austin [mailto:[EMAIL PROTECTED]] > Sent: 04 September 2002 22:16

Relative Servlet Path

2002-09-04 Thread Chuck Carson
If I have a servlet, say ROOT/WEB-INF/classes/MyServlet, what would be the relative path for this servlet. ie: If I have a variable as such: String myconfig = "db/file.dat"; What is this path relatvie to, would it be the same directory as the servlet, thus I would create ROOT/WEB-INF/classes

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Short, Dave
Excellent job! This should be posted on the TC HOW-TO Page. -Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED]] Sent: September 04, 2002 2:17 PM To: Tomcat Users List Subject: RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2 Thanks, The document has been chan

RE: "make" Errors for Libtool - mod_jk

2002-09-04 Thread Manoj Kithany
Hi Mr. John, THANKS! I tried to do what Error suggest - but got this message - do not know what this message suggest. I alread have libtool installed in the system. Any Suggestions / information on this? --- # ./libtool --help --mode=ins

Re: Is Tomcat just an add-on?

2002-09-04 Thread Jean-Francois Arcand
Ben Austin wrote: > Is Tomcat a web server or is it just an add-on for web servers that > are not servlet-enabled? Its a web server. You can use Tomcat as your web server. Based on your needs, you can also decide to use Tomcat + Another Web Server (ex; Apache) -- Jeanfrancois > > > > > > _

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Robert L Sowders
Thanks, The document has been changed, thanks for your help with this and everything you've done with mod_jk2. I also have one that includes an ArcIMS installation. ftp://pokey.wr.usgs.gov/pub/rsowders/ rls "Mladen Turk" <[EMAIL PROTECTED]> 09/04/2002 02:22 AM Please respond to "Tomcat Use

Is Tomcat just an add-on?

2002-09-04 Thread Ben Austin
Is Tomcat a web server or is it just an add-on for web servers that are not servlet-enabled? _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mai

RE: Apache & Tomcat

2002-09-04 Thread TOMITA_ALEX_NONLILLY
Hi John, I was reading your post and it seems very interesting, I'm a newbie with these tomcat stuff... I read a lot of emails in the past about the connectors, but what I don't understand is what is the function of these connectors... I know that Apache and Tomcat use these connectors for in

RE: Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat
Hi: Yes..I tested the intgration it works on both 80 and 8080...should it not? if not how do I disable 8080? Thanks ravi On Wed, 4 Sep 2002, Tam, Michael wrote: > Hi John, > >Just a quick question about this integration. Does it mean with the > integrated tomcat + apache, we would open 2

HTTP Keep Alive in Tomcat

2002-09-04 Thread Sam Cheung
Hi, Does Tomcat use HTTP keey alive by default? In other words, Tomcat does not close the socket connection with the client AFTER the servlet finishes the doGet() or doPut() call? If yes, is this a Tomcat specified implementation? Or it is defined in the Servlet spec? Also, is it possible to con

RE: Tomcat Apache Config

2002-09-04 Thread Tam, Michael
Hi John, Just a quick question about this integration. Does it mean with the integrated tomcat + apache, we would open 2 ports (80 + 8080) instead of having port 80 only?? That would open up port 8080 to public to directly reach tomcat wouldn't it?? Regards, Michael -Original Message

RE: "make" Errors for Libtool - mod_jk

2002-09-04 Thread Turner, John
Have you done as the error message suggests: Try `libtool --help --mode=install' for more information. John > -Original Message- > From: Manoj Kithany [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 4:31 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: "m

RE: Tomcat Apache Config

2002-09-04 Thread Turner, John
You will know if the integration is successful if what your browser receives is identical for these 2 URLs: http://some.host.com:8080/some-servlet (or http://some.host.com:8080/examples) http://some.host.com/some-servlet (or http://some.host.com/examples) One is port 80, the other is port 8080

"make" Errors for Libtool - mod_jk

2002-09-04 Thread Manoj Kithany
Hi Experts! I am getting fololowing Errors when configuring, making and building mod_jk for IBM AIX System. I am using Apache(1.3) and Tomcat(4.0.4) on IBM AIX (5.1) I started with executing ./buildconf.sh and ./configure --with-apxs=/usr/local/apache/bin/apxs which worked propewrly without an

Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat
Hi: What is the difference between tomcat.conf and tomcat-apache.conf. which of these two files need to be included in the httpd.conf file? Also how do I know if request are being answerd by apache or tomcat ie how do I test if the integration is successful? Thanks Ravi -- To unsubscribe, e

RE: Connection Tomcat 4 Apache 2 fails without errormessage

2002-09-04 Thread Turner, John
This line in httpd.conf: #Include /luna_2/tomcat4/conf/auto/mod_jk.conf needs to be uncommented. Then restart Apache and Tomcat (restart Tomcat first). John > -Original Message- > From: Bernhard Blasen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 3:58 PM > To: [E

Connection Tomcat 4 Apache 2 fails without errormessage

2002-09-04 Thread Bernhard Blasen
Hello, I set up a linux system with tomcat 4.0.4 and apache 2.0.40 - connector is mod_jk (all built from downloaded sources from www.apache.org) j2sdk version is 1.4.0 (from a binary distribution) Kernel version is 2.4.0-4GB (from a SuSE-Distributon 7.3) starting tomcat allows me to make con

Re: Tomcat Apache Config

2002-09-04 Thread Thomas T. Veldhouse
Both -- start Tomcat first. Tom Veldhouse - Original Message - From: "Ravindra K. Bhat" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 2:54 PM Subject: Tomcat Apache Config > After Tomcat/Apache integration do you need to start both

Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat
After Tomcat/Apache integration do you need to start both Tomcat and Apache or does Apache alone do the job? Thanks Ravi -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: [Q] Singleton Objects across webapps...

2002-09-04 Thread Shapira, Yoav
Hi, Perhaps putting the common code, e.g. the singleton, in /common/lib will work for you? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Per Kreipke [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 04, 2002 3:44 PM >To: Tomcat Users List >Subject: RE: [Q] Sing

Re: Apache & Tomcat

2002-09-04 Thread Milt Epstein
On Wed, 4 Sep 2002, Rui Fernandes wrote: > Why not to use Tomcat alone? What offers the integration of Apache > with Tomcat for a pure Java/XML/HTML web site? John Turner's answer to this was good. Basically, if you can get your site working, with all the functionality you want, and acceptable

RE: [Q] Singleton Objects across webapps...

2002-09-04 Thread Per Kreipke
I hate to repost but I'm not clear why no one has any advice. Am I asking such a simple question that I just missed it in the FAQ somewhere? _any_ pointer is appreciated. Per > A "best practices" question: > > What is the best way of sharing a single, changeable copy of common > information ac

RE: Tomcat Apache Config

2002-09-04 Thread Turner, John
JServ is an early method of connecting Apache and Tomcat, known as a "connector". JK is a more recent implementation of the connector protocol that JServ used. So, ApacheModuleJServ.dll is a Windows DLL that implements JServ. mod_jk.dll is a Windows DLL that implements JK. The difference bet

Re: Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat
Hello: What is the difference between: mod_jk.dll and ApacheModuleJServ.dll..which of these files do I need to integrate Apache with Tomcat for servlets? Also what is the differnce between mod_jserv.so and ApacheModuleJServ.dll? Thanks Ravi -- To unsubscribe, e-mail:

Re: mod_jk.c Compilation Errors

2002-09-04 Thread Thomas T. Veldhouse
Try configuring like this: ./configure --with-apxs=/usr/sbin/apxs using your path to apxs. If you don't have apxs on your system, you probably should reinstall apache (with DSO support), from source is probably preferrable. Tom Veldhouse - Original Message - From: "Manoj Kithany" <[EM

Re: virtualhost - tomcat4.1.9

2002-09-04 Thread Richard Chamberlain
Hello again, I'll answer my own question just in case someone else comes unstuck with the same problem. It appears if you create a context using the admin tool and leave the path empty when it creates the path it adds a path='/' which is not correct. Deleting the / manually solves it. Cheers

RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Randy Paries
The only problem with using setContentType is a wonderful bug in IE Not sure if it is for excel but we are having the problem with pdf's The work around is to but a dummy name/value in the query string Foo=.pdf RP -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]] Se

Re: mod_jk.c Compilation Errors

2002-09-04 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Sep 04, 2002 at 07:14:27PM +, Manoj Kithany wrote: > /usr/bin/gcc -DPACKAGE=\"mod_jk\" -DVERSION=\"1.2.0\" -DHAVE_DLFCN_H=1 -I. > -I. -I../common -g -O2 -c mod_jk.c -DPIC -o .libs/mod_jk.lo > mod_jk.c:71: ap_config.h: No such file or dir

mod_jk.c Compilation Errors

2002-09-04 Thread Manoj Kithany
Hi Experts, Greetings! I am using Apache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is NOT available for IBM AIX System - so I try to build it using following procedure but get ERRORS. I tried to execute "./buildconf

RE: installing a war file to tomcat-4.0.4

2002-09-04 Thread Antoine Solomon
So it is best to just install using the directory structure instead? On Wed, 2002-09-04 at 14:58, Rob Reed wrote: > Just letting you konw I did this earlier in the morning. > > -Rob > > On Wed, 2002-09-04 at 11:40, Carlos wrote: > > Hi Antoine, > > Using the manger to deploy war files, I have f

RE: installing a war file to tomcat-4.0.4

2002-09-04 Thread Rob Reed
Just letting you konw I did this earlier in the morning. -Rob On Wed, 2002-09-04 at 11:40, Carlos wrote: > Hi Antoine, > Using the manger to deploy war files, I have found that I can deploy a war > file and the whole directory structure of the file is created properly. But > if I remove the war

Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat
Hi: I am trying to run apache1.3 with tomcat 3.2 on NT 4.0. I have apache and tomcat running independently and am trying to integrate the two. I have downloaded the mod_jserv to the apache libexec folder and have included the path in the httpd.conf file. But apache does not start when I includ

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Justin Ruthenbeck
Zsolt -- Guess I'm a bit confused why you wouldn't want to use the setContentType() method in your jsp ... this is how a problem like this is normally solved (and why the method exists in the first place). Regardless, you can also do it by extension on your jsp. Depending on how your projec

RE: installing a war file to tomcat-4.0.4

2002-09-04 Thread Carlos
Hi Antoine, Using the manger to deploy war files, I have found that I can deploy a war file and the whole directory structure of the file is created properly. But if I remove the war file (I even delete the directory that the war file created) and then re-deploy, sometimes the directory structure

Re: installing a war file to tomcat-4.0.4

2002-09-04 Thread Antoine Solomon
This is one of the most confusing things about tomcat. if you deploy a test.war file using the manager's install function, Why does tomcat simply create an empty directory using the name of the path? I can't get tomcat to see the war file I wish to deploy. I would have to restart tomcat in or

RE: General HTML/jsp question, any one

2002-09-04 Thread Rui Fernandes
I think you are generating you html by concatenation of strings or so. If you generate it as you should (as if it was a XML DOM object, to be serialized after) this would not happen. - Original Message - From: garrett smith <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent

Tomcat and SSL

2002-09-04 Thread Reis, Tom
Trying to incorporate SSL into Tomcat 4.04. I have it working but my question concerns configuring the web.xml for a particular web application. I know to use the auth-method as CLIENT-CERT but I am uncertain as what to put in the web-resource-collection. I should say I am very confused. T

Re: General HTML/jsp question, any one

2002-09-04 Thread garrett smith
To convert the string to xml compliant string, you could use a custom tag to convert " to ", < to <, et c. instead of having an input tag, you could have a custom tag such as filtered-input. This custom tag would replace " with " You could try to use single-quotes for attributes, but that will

Tomcat service -- it won't start

2002-09-04 Thread Pearsall, Kyle
I attempted to start Apache Tomcat 4.0.4 from the services panel in Windows. But a message came up... "The Apache Tomcat service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." I

Re: Errors for building mod_jk

2002-09-04 Thread Peter T. Abplanalp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Sep 04, 2002 at 04:46:39PM +, Manoj Kithany wrote: please do not cross-post to tomcat-user and tomcat-dev although i can see how you might think this problem could be posted to both. i would suggest you try tomcat-user first and then use

RE: mod_jk, autogen and additional parameters

2002-09-04 Thread Turner, John
Hmmm...excellent question. You could use the "append" parameter in your Listener element to append to another file instead of overwriting it. You could put the Apache directives that Tomcat doesn't auto-generate into the first file, and let Tomcat's auto-generated file be appended to it. I've

RE: specify session timeout

2002-09-04 Thread Chakradhar Tallam
u can specify it in web.xml like... 20 hope that helps. -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 September 2002 12:12 PM To: Tomcat Users List Subject: specify session timeout hi, can i specify a session timeout va

mod_jk, autogen and additional parameters

2002-09-04 Thread Thorsten Huber
Hi, I'm running Apache 1.3.26 and Tomcat 4.0.4 with mod_jk and autogenerating of mod_jk.conf enabled. So far it works. Now I have to put some additional parameters like ServerAdmin or DirectoryIndex to the VirtualHost section of mod_jk.conf. Is there a way to set such parameters in the server.

[mod_jk, autogen and additional parameters]

2002-09-04 Thread Thorsten Huber
Hi again, sorry, forgot formatting: - Forwarded message from Thorsten Huber <[EMAIL PROTECTED]> - Hi, I'm running Apache 1.3.26 and Tomcat 4.0.4 with mod_jk and autogenerating of mod_jk.conf enabled. So far it works. Now I have to put some additional parameters like ServerAdmin or Dire

Configuring Tomcat 3.2.4 for use with a SecurityManager

2002-09-04 Thread defender
All, Is it just add the "-security" option in startup batch file? And if I want people can only access the "webapps/joe/examples" folder which come from port 8080 and "webapps/joe/examples" folder which come from port 8443, is it just like showed as below? grant codeBase "file:${tomcat.hom

Re: apache tomcat response

2002-09-04 Thread R_Kannan
- Forwarded by R Kannan/TMs/TCSMUMBAI/TCS on 09/04/02 05:17 PM - John Turner

Errors for building mod_jk

2002-09-04 Thread Manoj Kithany
Hi Experts, Greetings! I am using APache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System. I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is NOT available for IBM AIX System - so I try to build it using following procedure but get ERRORS. I tried to execute "./buildconf

Tomcat 4.1.9: URL behavior

2002-09-04 Thread grenoml
If I type in a URL such as: http://localhost:8080/cocoon/samples I receive a Resource Not Found error. But, if I type in the URL like this: http://localhost:8080/cocoon/samples/ with a slash at the end it finds the page properly. Why is this? It doesn't do it for all URL's. It's confu

RE: Apache & Tomcat

2002-09-04 Thread Turner, John
Nothing. Tomcat is great at what it does. Apache is great at what it does. Some people have situations that require both, for various reasons. Maybe there is an existing site, and dynamic content via Tomcat is a retrofit. Maybe their application has a large amount of static content (an image

Re: global.jsa -> Struts

2002-09-04 Thread Eddie Bush
neal wrote: >Micael, > >You've mentioned Struts a couple of times and I admit I am curious. > >I did look into Struts but to be honost I wasn't all that impressed by what >(I think) I saw. It seemed like it was just offering a lot of lightweight >wrappers around the API. Case in point, the Cooki

RE: Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread Turner, John
OK. As far as I know, neither of those will work. I don't know about mod_jk2.dll, but that is not the same as mod_jk.dll, and the configuration is completely different. I doubt the other mod_jk.dll will work with Apache 2. I don't use Tomcat on Windows myself, but from previous traffic on the

RE: global.jsa -> Struts

2002-09-04 Thread Felipe Schnack
Yes, actually I just pass to a servlet the name of the "action" and any extra parameters the specific "action handler" needs. On Wed, 2002-09-04 at 13:00, neal wrote: > Good to know. Thanks for your thoughts on Struts. Yeah, I'll check out > those taglibs in the Jakarta lirary taglibs. I alr

Re: global.jsa -> Struts

2002-09-04 Thread Eddie Bush
Struts is *the* de-facto standard MVC framework. The problem is that there is a slight bit of initial learning curve, and it's hard to see the benefit until *after* you've used it (my opinion). You really should give it a go -- it's tons better than having to implement something analagous yo

Apache & Tomcat

2002-09-04 Thread Rui Fernandes
Why not to use Tomcat alone? What offers the integration of Apache with Tomcat for a pure Java/XML/HTML web site?

RE: Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread craig franke
I tried using both http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32/mod_jk2.dll and http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i386/mod_jk.dll These were the only two copies of mod_jk that I could find in the build tree. Most of the tom

RE: Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread Turner, John
Where did you get your mod_jk.dll? As far as I know, the mod_jk.dll file for 2.0.39 is not the same as the mod_jk.dll file for 2.0.40, hence you may be using the .40 DLL instead of the .39 DLL. Apache 2.0.39-40 and Tomcat 4.0.4 is a known-working configuration, according to previous posts on th

RE: global.jsa -> Struts

2002-09-04 Thread jeff . guttadauro
If you're looking for a very basic MVC implementation, you can use a small part of what Struts offers and be able to save the time you would spend writing your own. You do pretty much exactly what you wrote in your second paragraph. Set up your struts-config.xml file to define your actions and

Successful Integration of Tomcat/Apache 2 on Win32?

2002-09-04 Thread craig franke
Has anyone out there successfully integrated Tomcat 4.0.4 or Tomcat 4.1.9 with Apache 2.0.39 on a Win2K Server? So far when I try to restart Apache, I get the following error returned: Cannot load C:/Apache2/modules/mod_jk.dll into server: The specified module could not be found along with

RE: global.jsa -> Struts

2002-09-04 Thread neal
Good to know. Thanks for your thoughts on Struts. Yeah, I'll check out those taglibs in the Jakarta lirary taglibs. I already found some great functionality in their commons library. :) Yeah, for MVC implementation I was simply talking about a servelt that takes an "action" parameter to deter

Re: error accessing a context-param from web.xml

2002-09-04 Thread Michael R. Schwab
Thanks ilis and jon, I'll take a look at JNDI. Michael On Wed, Sep 04, 2002 at 10:34:10AM +0100, jon wingfield wrote: > The error you are getting is the JSP parser mistaking the data "<%= > application.getInitParameter(" as the value for the driver parameter of the > sql:setDataSource tag. Then

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Turner, John
OK, there you go. You are missing key parts of mod_jk configuration in httpd.conf (or you have them and didn't post them). - a JkMount directive needs "AJP13" as the second parameter: JkMount /examples/*.jsp ajp13 (the syntax here is "send this URL to this connector"...your line says "sen

RE: mod_jk for Tomact 4.0.4/Apache 2.0

2002-09-04 Thread Manoj Kithany
Hi Kishore, THANKS for information! I installed m4 and all other tools(libtool, autoconf,,,) I also tried running ./buildconf.sh on which it created "configure" file. I also executed ./configure but when I execute "make" it shows following errors - wonder why?:

RE: Invalid command JkMount (WAS: RE: Apache 2.0.40 + mod_jk + To mcat 4.1.9 + Load Balancing)

2002-09-04 Thread Milhomem, Marcus
Ok, I think you are right, so here we go: Module Version: mod_jk-3.3-ap13-eapi.so (downloaded the binary) Apache Version: 1.3.20-60 Tomcat Version: 4.0.3 Httpd.conf: # Apache no longer needs to be started with '-D ' switches (with # the exception of mod_ssl, which has a lot of conditional stat

Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-04 Thread TOMITA_ALEX_NONLILLY
I will appreciate it too. thanks.. Alex bwinders <[EMAIL PROTECTED]> 03/09/2002 07:41 p.m. Please respond to Tomcat Users List To: Tomcat Users List <[EMAIL PROTECTED]> cc: Subject:Re: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing I thin

Re: RE: how to use Jasper

2002-09-04 Thread Peter Kerekes
thanks > > You can use ant, with a call to jspc: > > http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html > > John > > > -Original Message- > > From: Peter Kerekes [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, September 04, 2002 11:11 AM > > To: Tomcat Users List > > Subject

RE: global.jsa -> Struts

2002-09-04 Thread Felipe Schnack
My opinion about development: you really should use only tags in JSP, and never write java code in a jsp file. You should always separate design from implementation. About Struts: yeah, we need lots of taglibs to avoid writing Java code in JSP. So, taglibs for standard APIs are welcome. But St

RE: global.jsa -> Struts

2002-09-04 Thread micael
I guess what I am saying is that if you don't know how to initialize a servlet with web.xml you are totally incapable of this point at assessing the value of struts or any other similar application, and I am suggesting struts ONLY so that you can look at it as an employment and example of the

  1   2   >