Ajp13 help needed.

2000-11-30 Thread Simon Lam
Hi! All. I got the following error in mod_jk's error log when trying to use Ajp13. Does anyone know what may be the cause of the error? Thanks in advance. [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111 [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed err

How to get webapp context path from javax.servlet API in init method?

2000-11-30 Thread Vijayanand Sukumar
Can I get the context path in the init() method of the server because i do not have a request object there??? Thanks Vijay -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 10:22 AM To: [EMAIL PROTECTED] Subject: Re: How to get web

RE: REVERSE the AGING PROCESS 10-20 Years!

2000-11-30 Thread David Harris
fuck off -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: None To: [EMAIL PROTECTED] Subject: REVERSE the AGING PROCESS 10-20 Years! This message uses a character set that is not supported by the Internet Service. To view the original message content, open t

REVERSE the AGING PROCESS 10-20 Years!

2000-11-30 Thread Younger
HAVE YOU HEARD OF HUMAN GROWTH HORMONE (HGH)??? Released by your own pituitary gland, HGH starts declining in your 20s, even more in your 30s and 40s, eventually resulting in the shrinkage of major organs-plus all other symptoms related to old age. THIS CAN NOW BE REVERSED!!! IN THOUSANDS OF CL

Fwd: Fwd: caught SIGTERM?

2000-11-30 Thread Simon Lam
Sorry. I think I made a mistake. SIGTERM doesn't matter. My only trouble is that I can't use Ajp13 protocal. Is there anything special need to be done to use it? Simon Lam <[EMAIL PROTECTED]> wrote: > > Subject: Fwd: caught SIGTERM? > > This happens when I use Ajp13 protocol. If I change the

Re: SSL, AJP13, and security related questions

2000-11-30 Thread kashish
Please send a copy of the reply (on SSL, APJ13...l) to me (or to this list). Thanks in advance. --- Ashish "Jonathan Eric Miller" <[EMAIL PROTECTED]> on 12/01/2000 12:07:54 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Ashish Kundu/India/IBM) Subject: SSL, A

SSL, AJP13, and security related questions

2000-11-30 Thread Jonathan Eric Miller
NOTE, PLEASE RESPOND TO ME DIRECTLY AT [EMAIL PROTECTED] AS I AM NOT ON THIS LIST. I would like to be on the list, but, I can't handle getting all the email right now. I really wish there were a Usenet newsgroup for Tomcat to be honest. I'm using Tomcat 3.2 release with Apache 1.3.12, mod_ssl, an

Fwd: caught SIGTERM?

2000-11-30 Thread Simon Lam
This happens when I use Ajp13 protocol. If I change the protocol to Ajp12, everything is alright. Simon Lam <[EMAIL PROTECTED]> wrote: > > Subject: caught SIGTERM? > > Hi! All. > I got a notice says "caught SIGTERM, shutting down" in Apache's error log when I was >trying to use mod_jk with T

caught SIGTERM?

2000-11-30 Thread Simon Lam
Hi! All. I got a notice says "caught SIGTERM, shutting down" in Apache's error log when I was trying to use mod_jk with Tomcat 3.2. And there was an Internal Server Error in my browser window. What does this notice mean? How can I avoid it? Thanks in advance. Regards, Simon Lam

Re: password and login to admin context

2000-11-30 Thread David Bussenschutt
Ignore my previous mail, I just saw an earlier mail stating that it was a known bug that is fixed in 3.2 final. I guess I'll upgrade and try again. David. At 03:48 PM 12/1/00 +1000, you wrote: >>It is up to you to set these values. You need to create a username/password >>combination that has t

Re: password and login to admin context

2000-11-30 Thread David Bussenschutt
>It is up to you to set these values. You need to create a username/password >combination that has the role "admin" assigned to them. > >If you are using a stock Tomcat configuration, you can do this by editing the >file "conf/tomcat-users.xml" user the Tomcat distribution directory. Seems a lot

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Chris Fox
As a lurker on this thread I now feel inspired to come out and say a BIG THANKS to Mr. Craig. "A true guru above ALL" without whom we would all not be here you are THE MAN Chris Fox "Craig R. McClanahan" wrote: > The most anticipated release from the Jakarta project yet! We hereby announce > t

Content-Type: text/vnd.wap.wml

2000-11-30 Thread guy
I am running a servlet(on Tomcat 3.1beta) (that uses XT and an XSLT stylesheet to convert data to WML). When I try to affect the output header with response.setContentType("text,vnd.wap.xml"), my output contains: HTTP/1.0 200 OK Content-Type: text/vnd.wap.wml Content-Type: application/xml which d

RE: Running JSP's w/ Apache and Tomcat

2000-11-30 Thread David Rees
What you want to do is to override the root context. Put this in your server.xml file: Now, you'll also have to create a WEB-INF and it's corresponding subdirectories (lib, classes, ets) under /usr/local/apache/htdocs, as well as add a section to your Apache httpd.conf file to disallow access

Re: Does anyone have mod_jserv.so for solaris 2.6?

2000-11-30 Thread bryan
Scott, Had the same problem 2 hours ago. You need to rebuild "apache" to handle DSO support. >From Apache's README.configure: Dynamic Shared Object (DSO) support --- Apache 1.3 supports building modules as shared objects on all major Unix platforms (see sec

Re: Running JSP's w/ Apache and Tomcat

2000-11-30 Thread bryan
If you use mod_jk (JSERV is obsolete) you don't need to touch server.xml. Just read the mod_jk docs and you should be fine. The only tomcat file that needs modifications is conf/worker/properties. http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html Good luck, Bryan |

Re: Solaris binary for mod_jk.so

2000-11-30 Thread bryan
Brent, The docs ASSUME you are compiling using gcc not Sun's cc. If you use Sun's compiler you have to add -DSOLARIS and -lposix4 to the command line. You also have to manually edit some files in ../jk/ because Sun's cc doesn't like comments after a #endif (i.e. #endif /* netware */ ). $(APX

Solved --> WAIT...there's more --> Tomcat bombs out as an in-process add -on to IIS 4.0, WinNT 4.0/SP 6a

2000-11-30 Thread Desaulniers, Peter
Nevermind all... the sample jni worker.properties file was pointing at jni_servlet.xml and I had edited and renamed jni_servlet.xml to servlet.xml. It works fine now. Happy Days all around. But Michael's suggestion to move to 3.2 is a good one...that's tomorrow's adventure! -- Peter > -Ori

RE: WAIT...there's more --> Tomcat bombs out as an in-process add-on to IIS 4.0, WinNT 4.0/SP 6a

2000-11-30 Thread Michael Percy
Use Tomcat 3.2, there are huge improvements in it. But, I know nothing about your problem. http://jakarta.apache.org/ Mike > -Original Message- > From: Desaulniers, Peter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 30, 2000 6:03 PM > To: '[EMAIL PROTECTED]' > Subject: WAIT...th

WAIT...there's more --> Tomcat bombs out as an in-process add-on to IIS 4.0, WinNT 4.0/SP 6a

2000-11-30 Thread Desaulniers, Peter
After thinking more about this... as an in-process add-on, I shouldn't have to start tomcat independently like I did for the out of process add-on. So, just trying to go to the same url for the //localhost/examples/jsp/index.html, I get a 404 error (which worked when I tried that exact same url f

mod_ajp23.c and jakarta-tools/do-build-apache1.3

2000-11-30 Thread Scott Liu
Hi, I am trying to create "mod_jserv.so" by running the script of jakarta-tools/do-build-apache1.3. In the script file mod_ajp23.c is being called. But there is no copy of this file in the "tomcat-3.1" source release. I downloaded the file from the web, which is dated back in Nov 1999 and written

Netscapes crashes everytime when view pages from Jakarta

2000-11-30 Thread Anand Prasad
I dont know whether this is issue related with Jakarta or Netscape. It always crashes with bus error. Is the value I am getting from server side is very simple... Have some seen this. I have a JSP page which Jakarta process and sends me a string Any Help or suggestions will be appreciated.

RE: Tomcat 3.2 ClassCastException after servlet update on getAttribute

2000-11-30 Thread David Rees
Hi Craig, > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > > David Rees wrote: > > > I also just tried this on Tomcat 3.2, same problem. > > > > Again, here's the problem: > > > > I have a form which posts to a jsp, which then instantiates a > bean with the >

the Faster?

2000-11-30 Thread Charles Sabourdin
Hi I was wondering what code would be faster between : <% String thekeySearche = ""; if(request.getParameter("thekeySearche")!=null){ thekeySearche = request.getParameter("title"); }%> and <% StringBuffer thekeySearche = new StringBuffer(""); if(request.getParameter("thekeySearche")!=null){ t

Re: hrefs in documents and sendRedirect()

2000-11-30 Thread Dave Smith
Russell, In order to use response.sendRedirect("/somepage.html"); you need to be working in the root context. Out of the box, this means document path webapps/Root/somepage.html (at least for tomcat 3.1). If you make your own context, you will need /contextname/somepage.html, which will transl

Re: Unsubscribe Help

2000-11-30 Thread Mark Koscak
Wait for the e-mail confirming your unsubscription. Respond to that and you will be unsubscribed. Good luck. - Original Message - From: Cory C. Omand <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 01, 2000 11:02 AM Subject: Unsubscribe Help > After many attempts to u

Re: Servlet in the middle... in the middle.. in the middle

2000-11-30 Thread Vik P. Solem
I think that you could try to implement something by taking a look at how Tomcat is doing the web server work. One of the advantages of open source ... The other solutions that we've used for this require the use of multiple servers. 1) Web server(authenticate via basic authentication) -> servle

Tomcat bombs out as an in-process add-on to IIS 4.0, WinNT 4.0/SP6a

2000-11-30 Thread Desaulniers, Peter
Hello all, I am fairly new to tomcat and this list, so if this has been asked and answered, my apologies. First, where should I go to search this list for possible answers to problems? And what do I do when I get there (assuming its not obvious.) Now, for my problem: Using the How To document

Re: formbased security

2000-11-30 Thread Craig R. McClanahan
John de la Garza wrote: > arg! > > I meant insufficient...sorry > I wondered if that's what you really meant :-) > > Is there more than the servlet 2.2 spec? > You might look into some of the new books and articles coming out that talk about servlet 2.2. Or, you could ask specific questions o

Re: mod_jk.so problem on Linux

2000-11-30 Thread Graham Freeman
Thanks for your advice. The apxs in my default path was in /usr/sbin and not the apache one. It is now working fine. Graham

Re: mod_jk.so problem on Linux

2000-11-30 Thread Graham Freeman
Thanks for your advice. I have got it working by recompiling with the correct version of apxs (that came with apache) and not the one sitting in /usr/sbin. Graham

RE: formbased security

2000-11-30 Thread John de la Garza
arg! I meant insufficient...sorry Is there more than the servlet 2.2 spec? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 4:22 PM To: [EMAIL PROTECTED] Subject: Re: formbased security John de la Garza wrote: > where can I get

null pointer exception while invoking servlet

2000-11-30 Thread Srinivas, Rajesh
hi , i am getting the following message quite ofen when invoking servlets. i am not able to find out the problem. thanks Rajesh Using classpath: .:/usr/TV2.1/tomcat/lib/ant.jar:/usr/TV2.1/tomcat/lib/jasper.jar:/usr/TV2.1/ tomcat/lib/servlet.jar:/usr/TV2.1/tomcat/lib/test:/usr/TV2.1/tomcat/lib/w

Does anyone have mod_jserv.so for solaris 2.6?

2000-11-30 Thread Scott Liu
Hi All, I have tried to make "mod_jserv" for solaris 2.6 to integrate tomcat with apache server with no success. Can anyone give me a hint on what went wrong? Thanks. # /usr/local/apache/bin/apxs -o mod_jserv.so -c *.c apxs:Error: Sorry, no DSO support for Apache available apxs:Error: under your

Re: formbased security

2000-11-30 Thread Craig R. McClanahan
John de la Garza wrote: > where can I get complete documentation on formbased security? The servlet > 2.2 spec is sufficient. http://java.sun.com/products/servlet/download.html Craig

Re: Postgres Driver.

2000-11-30 Thread Craig R. McClanahan
Sterling wrote: > H- > > Thanks for the reply. > > I ftp'd into posrgresql.org but didn't find any src directory. 8^( > > Are you saying that you went into this directory and downloaded a file that you > compiled on your system (using root) and it than was able to be called via JSP? > Or was the

Re: Tomcat 3.2 ClassCastException after servlet update on getAttribute

2000-11-30 Thread Craig R. McClanahan
David Rees wrote: > I also just tried this on Tomcat 3.2, same problem. > > Again, here's the problem: > > I have a form which posts to a jsp, which then instantiates a bean with the > data from the form, which then forwards the request to a servlet which does > a getAttribute to obtain then the

Unsubscribe Help

2000-11-30 Thread Cory C. Omand
After many attempts to unsubscribe, I have still not been unsubscribed from this list. Can someone point me to the correct person to remove me? I've already sent mail to tomcat-user-unsubscribe and tomcat-user-help with no result. Thanks, c.

Re: Postgres Driver.

2000-11-30 Thread Sterling
H- Thanks for your email. I found another page that has the download file but not for my version. I'm using postgres 6.5.3. Here's the page in case others are looking for it. http://www.retep.org.uk/postgres/download.html The closest version I found on this page is 6.5.2. Would it be a problem

web app. mapping configuration

2000-11-30 Thread Stefan Woithe
Hi all, Using Tomcat 3.2final In $TOMCAT_HOME/conf/server.xml: In myapp/WEB-INF/web.xml: MasterServlet com.hulla.devil.MasterServlet MasterServlet /

RE: Servlet in the middle... in the middle.. in the middle

2000-11-30 Thread Bragg, Casey
Neat solution! Thanks Vik. One snafu though this only protects JSPs... I also need to protect html and gif files. Thanks again... ...Casey == Casey Bragg - Software Engineer Allegiance Telecom, Inc. Dallas, TX 214-261-8679 - [EMAIL PROTECTED]

Re: Postgres Driver.

2000-11-30 Thread Sterling
H- Thanks for the reply. I ftp'd into posrgresql.org but didn't find any src directory. 8^( Are you saying that you went into this directory and downloaded a file that you compiled on your system (using root) and it than was able to be called via JSP? Or was there some other setup and README.tx

Re: Import statements in JSP generated servlets

2000-11-30 Thread Craig R. McClanahan
Elijah Roberts wrote: > I have a question regarding the import statements that get inserted into > the servlet code generated from JSP files. Specifically with Tomcat 4, > but it is really just a general JSP question. At the top of each > generated servlet file, Tomcat inserts serveral import sta

formbased security

2000-11-30 Thread John de la Garza
where can I get complete documentation on formbased security? The servlet 2.2 spec is sufficient.

Tomcat 3.2 ClassCastException after servlet update on getAttribute

2000-11-30 Thread David Rees
I also just tried this on Tomcat 3.2, same problem. Again, here's the problem: I have a form which posts to a jsp, which then instantiates a bean with the data from the form, which then forwards the request to a servlet which does a getAttribute to obtain then the bean data. It then forwards on

Re: j_security_check mapping

2000-11-30 Thread Mike La Budde
Yes, sorry for the incomplete explanation, iristafulfill is the name of the project/context that I'm working on. In order to integrate the Apache web server w/ Tomcat you need to tell Apache which "things" to redirect to Tomcat. That is the whole point of the JkMount xyz worker lines in your

custom tag life cycle question - are custom tags expensive?

2000-11-30 Thread Dave Harms
I notice that section 5.4.7 of the JSP 1.1 spec states that "at execution time the implementation of a JSP will use an available Tag instance with the appropriate prefix and name that is not being used, initialize it, and then follow the protocol described below. Afterwards, it will release th

Don't try to mix jaxp-1.1ea with Tomcat!

2000-11-30 Thread Duane Morse
I've tried for 3 days to get Tomcat 3.2 (b8 and now the final release0 to work with Sun's 1.1 early release of XML parsing software (jaxp-1.1ea), without success, so if you're looking for XML parsers to use with your Tomcat build, don't use these! Duane Morse, Eldorado Computing Inc., Phoenix Ari

Import statements in JSP generated servlets

2000-11-30 Thread Elijah Roberts
I have a question regarding the import statements that get inserted into the servlet code generated from JSP files. Specifically with Tomcat 4, but it is really just a general JSP question. At the top of each generated servlet file, Tomcat inserts serveral import statements, such as: import java.

MySQL driver

2000-11-30 Thread c cw288
Hi, I am using tomcat and apache on Solaris 7 and I want to use MySQL as my JDBC. I need a driver for this. Is mm.mysql driver is the one I should use and where can I download this driver? Thanks, Cathy _ Get more

Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-11-30 Thread Craig R. McClanahan
Duane, The problem you're referring to doesn't happen to me, even though I use this kind of programming approach all the time (in Struts). Do you have a simple test case that you can send to help us isolate this? Craig McClanahan Duane Morse wrote: > The following partial stack trace illustr

Re: Servlet in the middle... in the middle.. in the middle

2000-11-30 Thread Vik P. Solem
As I mentioned on the same thread "MVC problem" (after I had a few false starts...) you can do your authentication in a single servlet and then use <%@ page extend="MySecureServlet"%> in your pages so that they all extend your servlet with the desired functionality. -Vik "Craig R. McClanahan" wr

Re: connection pool

2000-11-30 Thread Craig R. McClanahan
Landaluze Produktions IS - Carlos wrote: > in the tomcat conf file (server.xmlk) i have see that there is a conection > pool for oracle and mysql This is not actually a connection pool. It is configuring which JDBC driver will be used by the JDBCRealm module to look up users for container-man

Re: MVC problem

2000-11-30 Thread Vik P. Solem
OK, this works (tested in Tomcat 3.1). Extend HttpServlet and implement HttpJspPage. (The easy way is to copy HttpJspBase.java and then edit the service() method.) Then have your JSP's (or your servlets I think, but I haven't tested that yet) extend the new class that you just created. In the s

Re: Postgres Driver.

2000-11-30 Thread Craig R. McClanahan
Sterling wrote: > H- > > Can anyone point me in the direction of a postgres driver so I can hook > up JSP to work with my postgres database? > I checked the Postgres website and it's down. 8^( > I got my driver by downloading the Postgres source distribution from . It

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Matt Goss
Michael Percy wrote: > WOOHOO! Congratulations all Tomcat developers, you rock! Ditto!!! :) begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US version:2.1 email;int

RE: build failed on tomcat

2000-11-30 Thread Renee Petris
You' need to install an XML parser that is compatible with the Java API for XML Parsing (JAXP) specification. Try Sun's reference implementation at: http://java.sun.com/xml. You'll need to add jaxp.jar and parser.jar to your classpath. -Original Message- From: Robert B. Easter [mailto

Re: build failed on tomcat

2000-11-30 Thread Scott Liu
Now it is being built after I modified the "build.sh" and "build.xml" to reflect the change of "xml.jar" in jakarta-ant. Thanks, Scott Robert B. Easter wrote: > On Thursday 30 November 2000 14:57, Scott Liu wrote: > > Hi All, > > > > I have installed j2sdk1_3_0 binary version on solaris 2.6 >

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Larry Isaacs
Win32 binaries are now available under: http://jakarta.apache.org/builds/tomcat/release/v3.2/bin/win32/i386 Zips are available too for those downloading with Netscape. IMPORTANT NOTE: The nsapi_redirect.dll was built with a borrowed nsapi.h and ns-httpd36.lib from iPlanet WebServer 4.1. It is

Re: build failed on tomcat

2000-11-30 Thread Craig R. McClanahan
Scott Liu wrote: > Hi All, > > I have installed j2sdk1_3_0 binary version on solaris 2.6 > and had jakarta-ant built. When I tried to build the tomcat > it failed since there was no class of SAXParserFactory. > I could not find anything in the j2sdk1_3_0 directories. > Do I need to install other

Re: j_security_check mapping

2000-11-30 Thread Jacob Kjome
Mike, I'm confused as to what you mean here?  First of all, what is that "iristafulfill" context?  Is that you own?  I also looked for a class file called "j_security_check.class" and I didn't find it anywhere in the sample context or any other context that comes with 3.2 final. Can you or someo

Re: MVC problem

2000-11-30 Thread Vik P. Solem
OOPS. Sorry about that folks. This won't work in Tomcat the way I described. I just noticed that in the Tomcat source the service method on HttpJspBase is final. We're still waiting for management to decide on Apache-Tomcat vs. WebLogic. It looks like lessons learned previously in WebLogic

Postgres Driver.

2000-11-30 Thread Sterling
H- Can anyone point me in the direction of a postgres driver so I can hook up JSP to work with my postgres database? I checked the Postgres website and it's down. 8^( I'm getting javax.servlet.ServletException: Unable to load class postgresql.Driver errors when I attempt it. I believe that's th

Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-11-30 Thread Duane Morse
The following partial stack trace illustrates a problem/bug in Tomcat 3.2 (final release) when a servlet processes a POST request and then forwards processing to a JSP. In "pre-processing", Tomcat is trying to read the form data, but since it's already been read, it generates a "short read" erro

connection pool

2000-11-30 Thread Landaluze Produktions IS - Carlos
in the tomcat conf file (server.xmlk) i have see that there is a conection pool for oracle and mysql 1.- is posible to make a conecion pool to a MSQL server? 2.- if a am using a JDBC driver (rmijdbc) and the SQLserver ip is 192.168.1.3, how can i make a conection pool to this database? i dont know

linux and mod_jk

2000-11-30 Thread Landaluze Produktions IS - Carlos
i am using linux suse. i have dounload the tomcat 3.2 final i have a fiel mod_jk.so for running with linux i must compile this file(mod_jk.so)? if i must compiled it: i have my tomcat in /opt/jakarta the mod. in /usr/lib/apache how i compile it? thanks Carlos

Re: MVC problem

2000-11-30 Thread Vik P. Solem
Hello David. I don't know if this will help you, but when we needed to perform some basic functionality prior to each page request we created a super-class for our servlets (actually it was jhtml, not JSP, but it was a while ago). This super class was a servlet that implemented the method servic

Re: build failed on tomcat

2000-11-30 Thread Robert B. Easter
btw, I'm using JDK 1.2.2 but I don't think it matters On Thursday 30 November 2000 14:57, you wrote: > Hi All, > > I have installed j2sdk1_3_0 binary version on solaris 2.6 > and had jakarta-ant built. When I tried to build the tomcat > it failed since there was no class of SAXParserFactory. > I

Re: build failed on tomcat

2000-11-30 Thread Robert B. Easter
On Thursday 30 November 2000 14:57, Scott Liu wrote: > Hi All, > > I have installed j2sdk1_3_0 binary version on solaris 2.6 > and had jakarta-ant built. When I tried to build the tomcat > it failed since there was no class of SAXParserFactory. > I could not find anything in the j2sdk1_3_0 directo

In the process of installing tomcat: failed to build

2000-11-30 Thread Scott Liu
Hi All, In order to install tomcat I upgraded our system to Java 2. In both binary version of j2sdk and source version of it I could not find the "classes.zip" (so that I could locate the javax.xml.parsers.SAXParserFactory class to build jakarta-tomcat). Can anyone tell me what I am missing here?

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Michael Percy
WOOHOO! Congratulations all Tomcat developers, you rock! Hey, wait a minute! Why isnt this in BIG BOLD LETTERS on the Jakarta home page and on the Tomcat home page! We need to do that immediately!!! AND HAVE A BIG LINK SAYING DOWNLOAD THIS NOW!!! :))) And especially thanks to you, Craig. Thank

Running JSP's w/ Apache and Tomcat

2000-11-30 Thread Jeff Brown
hi, I would like to set up apache and tomcat so that apache handles all of my static html pages and all of the JSP pages are handled by tomcat basically exactly how JServ/GNUJSP works. What do I need to add to tomcat.conf/server.xml in order to get this scenario to work correctly? I've been

Init-Parameters in web.xml

2000-11-30 Thread Thorsten Moeller
Hi! I use Visual Age for Java 3,02 with Tomcat 3.1 integrated. I have the problem that when I start Servlets (e.g. http://localhost:8080/servlet/my.package.MyServlet) the parameters standing in "web.xml" are not read in. The file is stored in the directory \webapps\ROOT\WEB INF. The web.xml shoul

Re: Getting jsession param from URL

2000-11-30 Thread Craig R. McClanahan
Brian Hannan wrote: > I write jsession into URLs I generate for web pages being served. This > all works fine and Tomcat detects the session id in the URL. > > The only problem is I would like to also grab the jsession ID from the > URL to detect URLs sent from pages related to a stale session.

Re: Solaris binary for mod_jk.so

2000-11-30 Thread brent . johnson
Why should they worry about compiling that for you? I just installed 3.2 a little while ago and I had no problems. If you'd just take a look at the mod_jk documentation it gives you the EXACT command you need to run under Solaris to get mod_jk.so to compile. If you still can't get it to work t

build failed on tomcat

2000-11-30 Thread Scott Liu
Hi All, I have installed j2sdk1_3_0 binary version on solaris 2.6 and had jakarta-ant built. When I tried to build the tomcat it failed since there was no class of SAXParserFactory. I could not find anything in the j2sdk1_3_0 directories. Do I need to install other class libraries to make it work

Re: Servlet in the middle... in the middle.. in the middle

2000-11-30 Thread Craig R. McClanahan
"Bragg, Casey" wrote: > Is there a way to do the following? > > Let's say a user requests /foo/junk.gif, or /foo/test.jsp. > > I'd like all requests to /foo/* to first be processed by a servlet. > The servlet performs some operation (user authentication specifically). > If the servlet processing

Re: Thread handling question

2000-11-30 Thread Aleksey Tsalolikhin
On Thu, Nov 30, 2000 at 05:21:56PM +0100, Kai Müller wrote: > Hi, > > I try to understand how Tomcat 3.1 handles requests. [...] > > What about Tomcat 3.2 (announced today) and thread pooling? Is it > similar? Dear Kai, Check out the "Use a Thread Pool in your Connectors" section in Tomcat

Getting jsession param from URL

2000-11-30 Thread Brian Hannan
I write jsession into URLs I generate for web pages being served. This all works fine and Tomcat detects the session id in the URL. The only problem is I would like to also grab the jsession ID from the URL to detect URLs sent from pages related to a stale session. I'm unable to see the jsessio

Re: Solaris binary for mod_jk.so

2000-11-30 Thread Craig R. McClanahan
Jonathan Eric Miller wrote: > First off, I would like to congratulate the Tomcat developers for the > release of 3.2. You guys are doing a greate job and I look forward to using > it. > > One thing that I think would be very helpful to users is if you could > provide binaries for mod_jk. I'm gues

Re: j_security_check mapping

2000-11-30 Thread Mike La Budde
I ran in to the same problem. The solution is to modify the mod_jk.conf-auto file (and save w/ a different name) as follows: # # The following line mounts all JSP files and the /servlet/ uri to tomcat # JkMount /iristafulfill/servlet/* ajp12 JkMount /iristafulfill/*.jsp ajp12 JkMount /iristafulf

Servlet in the middle... in the middle.. in the middle

2000-11-30 Thread Bragg, Casey
Is there a way to do the following? Let's say a user requests /foo/junk.gif, or /foo/test.jsp. I'd like all requests to /foo/* to first be processed by a servlet. The servlet performs some operation (user authentication specifically). If the servlet processing performs normally, I want the r

Re: hrefs in documents and sendRedirect()

2000-11-30 Thread Craig R. McClanahan
Russell Freeman wrote: > To restate a so far unresolved problem, > > Do I need to include the name of my context in all hyperlinks, e.g. if my > context is /foo, then a link will be , my > stylesheet will be in "/foo/styles.css" etc. > If you are creating hyperlinks that start with "/" then you

Re: Tomcat 3.2 thread-pool

2000-11-30 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > Tomcat 3.2 allocates a thread from a pool to handle a session. Actually, to handle a request -- not a session. > > Can this pooling behavior be turned off so that threads die at the end of a >request/response cycle? (as per the Tomcat 3.1 default) Not with the stand

TomCat and Apache

2000-11-30 Thread William Colls
In getting my Tomcat-Apache set to work, I need to create another alias in the tomcat-apache.conf file. However, modifying this file by hand seems a bad idea since it is regenerated at each tomcat startup. Where, (server.xml, web.xml, somewhere else) and in what form can I put this information, so

Re: mod_jk.dll

2000-11-30 Thread Craig R. McClanahan
Saikat Chatterjee wrote: > Hello, > Does it come with Tomcat3.2. I have installed Tomcat 3.2, and Apache > 1.3.12 is already installed.SO i need the mod_jk.dll which i shall place > in modules directory of Apache. > But I am not getting the mod_jk.dll in Tomcat3.2 installation. > I have not

Solaris binary for mod_jk.so

2000-11-30 Thread Jonathan Eric Miller
First off, I would like to congratulate the Tomcat developers for the release of 3.2. You guys are doing a greate job and I look forward to using it. One thing that I think would be very helpful to users is if you could provide binaries for mod_jk. I'm guessing it's just a matter of resources and

Re: jtml - howto

2000-11-30 Thread Craig R. McClanahan
lbihyd wrote: > friends, > does tomcat support jhtml files ? if so , how do i run them. > thanks a bunch > > mohan Tomcat does not currently have any support for .jhtml files. It would seem feasible to write such a thing, and anyone interested is invited to submit it for possible inclusion in s

Re: mod_jk.so problem on Linux

2000-11-30 Thread Dominique BATARD
You must compile mod_jk with the right apxs. Dom - Original Message - From: "Phillip T. Gerringer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 30, 2000 2:20 PM Subject: Re: mod_jk.so problem on Linux > I know this is going to help very little but... Apparently

Re: CGI-Wrapper for Tomcat?

2000-11-30 Thread Craig R. McClanahan
Karsten Hahn wrote: > Hi all, > > I'm wondering if there is a Servlet that wraps (and hide) a old > CGI-scripts. > > Thanks a lot, > > Karsten There is not such a servlet in any current distribution of Tomcat. If someone wanted to write one, I'd certainly be willing to include it. Craig McClan

Re: How to get webapp context path from javax.servlet API?

2000-11-30 Thread Craig R. McClanahan
Vijayanand Sukumar wrote: > Hi , > I need to know if there is a way to get the context path from without > creating a dependency on tomcat. If my web-app context is /foo and I want > to convert a URL relative to the current context back into an external URL > with the full syntax. When proces

Re: servlet-api

2000-11-30 Thread Craig R. McClanahan
Carlos wrote: > i have download the tomcat 3.2 final and servlet-apic3.2 > what i must to make wiht the servlet api file? > thanks > carlos You only need it if you want to look at the sources for the API classes found in "servlet.jar". The Tomcat distribution includes the executable version of

Re: Question about Tomcat4.0 work with Apache

2000-11-30 Thread Craig R. McClanahan
KINGMAN wrote: > Tomcat4.0 have no config file tomcat-apache.conf in directory /TOMCAT_HOME/conf; > Tomcat is diffcult.If I make tomcat plug-in Apche.Then I need not config tomcat? Tomcat 4.0-m4 (and earlier) did not support connection to Apache. It only runs in stand-alone mode. The code t

Not finding index.html file

2000-11-30 Thread Neil Aggarwal
Hello: I am using tomcat 3.1. I create a directory for my web application in the web apps directory. When I got to /myapp/index.html, I get the index.html file, but when I go to /myapp, I get a 404 not found. Apache does load index.html files for other directories. Does tomcat load index.html

Re: MVC problem

2000-11-30 Thread Craig R. McClanahan
See below. "Aiken, David" wrote: > > hi all.. > > > > We're hitting a problem with the MVC approach in tomcat. > > > > Our controller is designed to intercept all requests for URLs within our > > web application so that it can handle internationalization and security > > checks centrally. > > >

More Tomcat problems.

2000-11-30 Thread Panagiotis Konstantinidis
Title: More Tomcat problems.   Hello there again, this is the second message I am sending regarding problems with Tomcat. In my previous message Kief answered solved my question correctly, so I would really appreciate if he could answer again this one. It seems that I have exactly the same pro

Re: send redirect question

2000-11-30 Thread Moursli Nabil
no! - Original Message - From: Anand Prasad <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 30, 2000 4:04 AM Subject: RE: send redirect question > Craig, > > Is there way using RequestDispatcher or sendReDirect() to send a page to > particular frame. > > For examp

Freebsd and mod_jk

2000-11-30 Thread AC
I've just downloaded the 3.2 release on my Frebse 4.1 and I was trying to use the mod_jk insetad mod_jserv. After following the instructions I've compiled with the Freebsd Makefile and include in my http.conf th Load module directive. This is the response I get apachectl configtest Syntax erro

Re: MVC problem

2000-11-30 Thread Mike La Budde
> >I believe one solution offerred previously on this list (thank you Craig!) >was to place all of your .jsp pages underneath /WEB-INF (e.g. >/WEB-INF/jsp/...) Since these can never be served up (goes against the >jsp/servlet spec) > >HTH, > >Mike > > >At 11/30/2000 10:20 AM -0600, you wrot

j_security_check mapping

2000-11-30 Thread Juergen Weber
hello, with 3.2 final I ran into the same problem as the message below. Is there a solution, so the 8080 is not necessary, now? Thanks, Juergen http://mikal.org/interests/java/tomcat_users/msg09581.html I am using Tomcat 3.2b6 with mod_jk. When accessing http://localhost:8080/examples/jsp/sec

  1   2   >