RE: Tomcat setup

2001-03-05 Thread BENARD Christophe, DDE 34/SG
6.6 Avoiding "Out of environment space" errors on Windows 95/98 This error can easily occur since the default amount of environment space is typically insufficient to run Tomcat. Here are a couple of ways to avoid it. A. If you use the MS-DOS Prompt to start Tomcat, execute Programs ->

RE: TomCat - IIS - Security

2001-03-05 Thread Brett Knights
Authentication and IIS seems to be a bit of a joke. One of the sites I develop needed to use NTLM for an intranet application. After some trials with IIS we ended up with Apache and mod_ntlm. It works like a charm. If you try to write your own realm you may want to check the code for that. OTO

RE: JDBC Realm not triggering

2001-03-05 Thread Ignacio J. Ortega
Please revise http://localhost:8080/examples/jsp/security/protected .. The problem is that you need to access a protected resource for FORM auth to work.., not directly the Login formin the config below .. you need to acess a url with the form http://localhost:8080/context/pwAdmin/ i.e ( i do

RE: jdbc realm

2001-03-05 Thread Ignacio J. Ortega
> 3) It doesn't do any pooling of databases - each time that > you go to the > database, its reconnecting to the > database. That is a heavy cost... One of the reasons why it was > synchronized was because of the lack of > database pool handling. > No need to do pooling AFAIK, only one connec

ODP: JDBC Realm not triggering

2001-03-05 Thread Herchel Wojciech
form auth does work, only j_security_check is not found. vVolf > -Oryginalna wiadomooeæ- > Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] > Wys³ano: 5 marca 2001 09:52 > Do: '[EMAIL PROTECTED]' > Temat: RE: JDBC Realm not triggering > > > Please revise http://localhost:8080/examples

RE: Upcoming Tomcat book...

2001-03-05 Thread Stefán F. Stefánsson
One thing I'd like to see in such a book is about how to embed tomcat in other applications (discuss the pros and cons of EmbededTomcat vs. regular Tomcat). Regards, Stefan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: Upcoming Tomcat book...

2001-03-05 Thread GOMEZ Henri
>I currently have the task of writing a proposal for content of >the book. The >book's target audience is web developers who will be using >Tomcat. It will >be based on Tomcat 4.0, but will also be useful for Tomcat 3.x. I'm just curious why you write a book with Tomcat 4.0 as target instead o

can not run tomcat on redhat7.0

2001-03-05 Thread Rick Yu
Hi, I've used jdk1.2.2 and tomcat on redhat6.2 before,it's good. But now when i install them on redhat7.0 and run "startup.sh", everything seems ok, but i can not visit port 8080. Why? I've add correct classpath. Rick Yu [EMAIL PROTECTED]

mod_jk: Apache core dump!

2001-03-05 Thread Hiendl Elke
Hi everybody, I have a really weird problem: my setup is Solaris8 /Intel Apache 1.3.14 mod_ssl 2.7.1 with openssl 0.9.6 JDK1.3 Tomcat 3.2.1 As I have gcc installed, all the builds went

RE: JDBC Realm not triggering

2001-03-05 Thread Ignacio J. Ortega
Hola Herchel: I'm lost.., I dont understand what are you doing.. Please revise http://localhost:8080/examples/jsp/security without JDBCRealm .. make it work with the default config...sure it works.. if not file a bug under http://nagoya.apache.org/bugzilla.. You dont need to call the login page

RE: can not run tomcat on redhat7.0

2001-03-05 Thread J. Sainz
What startup message do you get? I have RH7 and when I first installed tomcat it wouldn't work. I was using jdk 1.2.4 and the java compiler was busted. Don't know why! I never used it. Anyway, I downloaded and installed jdk 1.3 and tomcat started right away. Perhaps you need to get a newer jdk?

ODP: JDBC Realm not triggering

2001-03-05 Thread Herchel Wojciech
> JDBRealm has *nothing* to do with FORM or BASIC or web.xml > settings.., > it's ONLY a way to store user details inside a DB, . very much so. but the problem is with the form, not with jdbc or anything else. tomcat cannot exceute action j_security_check, thus throwing a 404 error. i did

RE: a brain dump on i18n, tomcat, xerces, oracle, etc.....

2001-03-05 Thread Tagunov Anthony
On Mon, 5 Mar 2001 11:05:44 +0200, Amir Nuri wrote: >But when I get the text from an html form to my servlet, and put it into a >string (by getParameter) I get text in UTF-8 (3 bytes for character), Maybe the problem is here: usually i have to do the following: new String (request.getParameter(

Re: Jakarta NT Service

2001-03-05 Thread Andreas Leitel
try http://www.alexandriasc.com/software/JavaService/ I have a configuration running with Tomcat 3.2.1. Just a hint: Make sure when you specifiy the classpath (which is stored in the Windows registry) used by the service, that this path does not have more than 255 characters. This seems to

WG: Jakarta NT Service

2001-03-05 Thread Andreas Leitel
try http://www.alexandriasc.com/software/JavaService/ I have a configuration running with Tomcat 3.2.1. Just a hint: Make sure when you specifiy the classpath (which is stored in the Windows registry) used by the service, that this path does not have more than 255 characters. This seems to

tc4: logfiles date postfix..

2001-03-05 Thread Endre Stølsvik
Is it possible to turn of that dating stuff of the logfiles? I don't like the date-turning now in the development environment. Of course, it's very good to have in production environments, but I get a bit annoyed of having to break my tails and finding the most current of a whole bunch of log file

Re: Assigning Servlets to different ports.

2001-03-05 Thread Alex Fernández
Someone please correct me if I'm wrong here, since it seems important for William -- and eventually it's an important capability, I don't want to mislead anyone. William Wishon wrote: > Here's the problem I keep running up against. > > The top level XML element is a Server, it contains a

RE: Assigning Servlets to different ports.

2001-03-05 Thread Ignacio J. Ortega
Use a Virtual host in tomcat too.. Revise the standard server.xml, at the end there is a sample virtual host config commented but working.. AFAIK it should work as you need.. It's the same config trick you do in apache but translated to tomcat terms . Saludos , Ignacio J. Ortega > -Mensa

"classname is null, who added this ?" error message.

2001-03-05 Thread Hariharasubramanian Ranganathan
Hi All,   When I refresh the browser after updating the servlet, I get the following error.  What could be the problem?   Thanks,   Hari.   Error: 500 Location: /webconsole/html/index.htmlInternal Servlet Error:java.lang.IllegalStateException: Can't happen - classname is null, who added this

list server problem

2001-03-05 Thread William BC Crandall
Sorry to interrupt with administrivia... I've sent a dozen emails to: [EMAIL PROTECTED] without the desired effect. I've also sent three emails to: [EMAIL PROTECTED] asking for human intervention. No answer. Sorry to bother you all, but how do I turn this -- very nice and quite usef

apache <-> mod_webapp <-> catalina

2001-03-05 Thread Hon Wai Wan
Hello, I'm a new user (tomcat 4). I would like using tomcat with apache, I can make connection between apache and catalina with mod_webapp, but I can't running servlet. When I type URL : http://myserver/test I have the same page on http://myserver:8080/test but URL : http://myserver/test/ser

SSL w/ Tomcat and/or Apache

2001-03-05 Thread W W D Dowdell
I need to provide SSL support on Windows 2000 through Tomcat and/or Apache. Does anyone have any thoughts or experience? Thanks, Dick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED

Re: can not run tomcat on redhat7.0

2001-03-05 Thread David Crooke
(offtopic) I have answered this half a dozen times already - can someone please, please fix the AutoFAQ, and the broken link to it at http://java.apache.org/faq RH7 ships with a buggy glibc, download and install the patch Rick Yu wrote: > Hi, >I've used jdk1.2.2 and tomcat on redhat6.2 bef

Re: Copying Result set

2001-03-05 Thread Andrew
Use CachedRowSet(clone() etc.) from: http://developer.java.sun.com/developer/earlyAccess/crs/ - Original Message - From: "Venkat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 05, 2001 7:23 AM Subject: Copying Result set > Hi all > > If this a repeated post, please excu

page buffer, autoFlush and forward

2001-03-05 Thread Kurt, Oliver
Hi, when I use the errorPage attribute (which basically is AFAIK a forward) I have to use a autoFlush="false" and I have to set my buffer large enough. Is it true, that errorPage forces me to set autoFlush=false?? (if I want that errors are handled properly, even an error occurs at the end of a

servlet Query string

2001-03-05 Thread shlomi sarfati
Hi every one I have a problem in my servlets. when someone sends parameters through the query string to my servlet that have the character '%' in it , something like: myservlet?param=fh%fjnv I cannot receive the parameter in my servlet I know that there is encoding for urls and when the % comes

mod_jk and conf files

2001-03-05 Thread Carlos
in the mod_jk.conf file i have: .. JkMount /*.jsp ajp13 . i start the tomcat and it sort a file, mod_jk.conf-auto, and this files jk references are ajp12 and not ajp13 i read this file, mod_jk.conf-auto, and alwways the references to ajp are ajp12 is this well? is tehre is not well how c

AW: servlet Query string

2001-03-05 Thread Alan Stenhouse
you must use "param" + URLEncoder.encode(paramValue) when passing the parameter. i.e. ensure that it's encoded correctly... HTH Alan > -Ursprüngliche Nachricht- > Von: shlomi sarfati [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 5. März 2001 12:55 > An: [EMAIL PROTECTED] > Betreff:

RE: servlet Query string

2001-03-05 Thread shlomi sarfati
Thanks for the help But I am not sending the parameters to the servlet ! it automatically receiving them from another program when I used the same servlet on another servlet machine I had no problems ! -Original Message- From: Alan Stenhouse [mailto:[EMAIL PROTECTED]] Sent: Mon, March

AW: servlet Query string

2001-03-05 Thread Alan Stenhouse
Hi again Well, AFAIK the sending program should be ensuring that it sends parameters to the servlet already encoded... > Thanks for the help > > But > I am not sending the parameters to the servlet ! > it automatically receiving them from another program > when I used the same servlet on anoth

Weird problem with Tomcat web.xml configuration

2001-03-05 Thread Thierry Leveque
Hi It's not the first time I ask it here, put I'm still unable to resolve this problem: We have a working application under Tomcat 3.2. To call our main jsp, we have to call the full URL: www.abcd.com/app/index.jsp If we try: www.abcd.com/app We've got an error from Tomcat: 2001-03-02

apache fails to start

2001-03-05 Thread Cynic
Hi there, I've got trouble trying to get Apache to start with tomcat/mod_jk. apache starts fine without mod_jk. this is what I get when I try to start apache with mod_jk: the error: == [Mon Mar 05 15:07:16 2001] [emerg] Error while opening the workers mod_jk.log: === [jk_uri_

forbidden with the tomcat and apache

2001-03-05 Thread Carlos. UNICA COMUNICACION.
in my linux i have the tomct only running in the 80 port. ther eis not progblem. but if i put the tomcat and the apache running (in the 8080 and 80 ports) the apache says me that tehre is not permission tosee the page, access forbidden. what can i make? thanks Carlos

apache forbidden to see the pages

2001-03-05 Thread Carlos
in my linux i have the tomct only running in the 80 port. ther eis not progblem. but if i put the tomcat and the apache running (in the 8080 and 80 ports) the apache says me that tehre is not permission tosee the page, access forbidden. what can i make? thanks Carlos --

Overriding JspWriter/JspFactory

2001-03-05 Thread Jim Cheesman
Is there anyway to redirect the JSP output (in my case xml, html and wml) to a file? The web.xml that tomcat uses on startup has the servlet org.apache.jasper.runtime.JspServlet controlling the JspFactoryImpl (and JspWriterImpl, PageContextImpl etc.) implementations, but I'd rather not have t

RE: tomcat-user Digest 5 Mar 2001 06:58:17 -0000 Issue 744

2001-03-05 Thread Rob Cartier
I have reviewed the mod_jk how-to and still am stuck I get the following error during httpd shutdown [Sun Mar 4 08:40:28 2001] [notice] caught SIGTERM, shutting down [Sun Mar 4 08:40:28 2001] [error] Cannot remove module mod_jk.c: n found in module list [Sun Mar 4 08:40:51 2001] [error] Cannot

Getting mod_jk to work with Apache

2001-03-05 Thread Rob Cartier
I have reviewed the mod_jk howto and still am stuck I get the following error during httpd shutdown [Sun Mar 4 08:40:28 2001] [notice] caught SIGTERM, shutting down [Sun Mar 4 08:40:28 2001] [error] Cannot remove module mod_jk.c: not found in module list [Sun Mar 4 08:40:51 2001] [error] Canno

Re: Overriding JspWriter/JspFactory

2001-03-05 Thread William Brogden
Jim Cheesman wrote: > > Is there anyway to redirect the JSP output (in my case xml, html and wml) > to a file? > > The web.xml that tomcat uses on startup has the servlet > org.apache.jasper.runtime.JspServlet controlling the JspFactoryImpl (and > JspWriterImpl, PageContextImpl etc.) implement

web.xml configuration

2001-03-05 Thread liselotte . ramvik
Hi, Can someone please tell me whats wrong with this web.xml file? nData se.tj.activity.servlets.NServlet nData /se/tj/activity/servlets/nData The servlet is in the \webapps\Activety\WEB-INF\classes\se\tj\activity\servlets directory and the servlet class is in a package calle

CLASSPATH with jdk-1.3 and tomcat-3.2.1

2001-03-05 Thread Cynic
What should this variable contain if I want to use mentioned versions of jdk and tomcat? the docs only contain stuff like "Configure the CLASSPATH environment variable as well, if required." Cynic: A member of a group of ancient

Re: web.xml configuration

2001-03-05 Thread Brett W. McCoy
On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote: > Can someone please tell me whats wrong with this web.xml file? It would help if you could tell what errors you are getting or what is not working. Is this the complete file? If so, it is missing some things. > > > > nData > > > se.tj.activity.serv

Basic Authentication

2001-03-05 Thread Cory Hubert
Can someone point me to the right direction. I am trying to setup Basic Authentication. I realized that it wasn't as simple as creating an .htaccess file. The documentation on this seems pretty skimp. Can anyone outline the process or point me to a good resource. ---

tomcat and mod_jk in linux

2001-03-05 Thread Carlos
for using mod_jk must i to edit the tomcat.conf file? thanks PD: can any body send me the conf files for using the mod_jk? i dont know if i am makking wel thanks Carlos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Taglibs

2001-03-05 Thread Martin Mauri
Dear people:   I've faced with the same problem once and again trying to use taglibraries and I read the documentation but nothing seems to be wrong.   In fact, I've copied the example that comes with the tag libraries suite from Apache and I published the context in the tomcat.conf and serv

Re: Overriding JspWriter/JspFactory

2001-03-05 Thread Jim Cheesman
At 04:21 PM 3/5/2001, you wrote: >Jim Cheesman wrote: > > > > Is there anyway to redirect the JSP output (in my case xml, html and wml) > > to a file? > > > > > >I have seen suggested that you simply create another local application >which sends a request to the JSP URL (emulating a browser)

RE: getPathInfo() returns null

2001-03-05 Thread Marc Saegesser
I tested this in 3.2.2b1 using the SnoopServlet that comes with the examples web app and it seems to work fine. To test test it yourself you'll need to make a small modification to examples/web-inf/web.xml. Change the url-pattern for snoop to be /snoop/* instead of /snoop. Then you can try the

mod_jk is correct

2001-03-05 Thread Carlos
i have a great proble. I dont know if i have, in my linux, runing wel the mod_jk i send my conf files. can any body helop me to say if they are well config? i dont know how running well. thanks Carlos workers.properties mod_jk.conf-auto

RE: web.xml configuration

2001-03-05 Thread Stefán F. Stefánsson
I'm not sure about this but try to skip that leading '/' in . I think I remember correctly when I say that it's not supposed to be there. Regards, Stefan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 5. mars 2001 15:28 To: [EMAIL PROTECTED] Subject: web.xm

Re: web.xml configuration

2001-03-05 Thread prasad . upadhyayula
[EMAIL PROTECTED] wrote: > > Hi, > Can someone please tell me whats wrong with this web.xml file? > > > > nData > > se.tj.activity.servlets.NServlet > > > > > > nData > > /se/tj/activity/servlets/nData > > > > The servlet is in the > \webapps\Activety\WEB-INF\classes\se\tj\activity\s

Re: web.xml configuration

2001-03-05 Thread liselotte . ramvik
Sorry. The complete web.xml file loks like this: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> nData se.tj.activity.servlets.NServlet nData /se/tj/activity/servlets/nData My Java applet says that the servlet file

Re: Taglibs

2001-03-05 Thread Frank Peters
Hi, You seem to be missing your tag library desriptor file, an XML file in which the tag properties are listed. If you do have the taglib.tld file, you might want to check whether its location is set correctly in your web.xml See http://jakarta.apache.org/taglibs/tutorial.html#tag_library HTH F

RE: getPathInfo() returns null

2001-03-05 Thread Karl Martino
The following code will take care of your troubles. It was explained to me recently that URL patterns to servlets like "/*" are actually inccorret. They mask *.jsp and other possible extentions. You should, when you have to, map a servlet to a path ending with "/". But pathInfo disappears then

Test message

2001-03-05 Thread Manish Shahdadpuri
Please ignore this message. This is a test message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: web.xml configuration

2001-03-05 Thread liselotte . ramvik
Thanks, But the applet still can´t find the servlet. /Lisa Stefán F.

RE: Upcoming Tomcat book...

2001-03-05 Thread Rob Tanner
Probably because a lot of time elapses between proposal and bookstore. In fact, a lot of time elapses between final manuscript and bookstore. Publishing (especially technical stuff) is not a speedy process, and by the time that book hits the streets Tomcat 4 will be production and Tomcat 3.x w

Re: Taglibs

2001-03-05 Thread Jon Crater
i had the same problem and solved it by creating a META-INF directory directly off my context root. i then created a tld directory and put my tld files in there. so my path to the tld looks like this: /webapps//meta-inf/tld/some_tld.tld from a jsp, access the tld like so: <%@ taglib uri="me

Re: web.xml configuration

2001-03-05 Thread Brett W. McCoy
On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote: > > nData > /se/tj/activity/servlets/nData > > > My Java applet says that the servlet file can´t be found. The servlet is > supposed to return a Vector > with customers. I think for your mapping you don't wan

RequestDispatcher.forward()-Problem with anchors

2001-03-05 Thread Sebastian Schulz
hi, i have a problem with RequestDispatcher.forward(): if the url contains an anchor like "example.jsp#position1" then forwarding seams to be be all right (no error, exception ...), but the 'new' page has no content. i tried to forward to a url with parameters like "example.jsp?name=value", this

Re: web.xml configuration

2001-03-05 Thread liselotte . ramvik
I tried to put just /ndata in , but I can´t get it to work. I am a Java and tomcat newbie so I don´t realy know what´s supposed to be in the server.xml file. I have runed the admin program though and there is a context for ActivetyJE. /Lisa |+-->

Tomcat 3.2 & jdk1.3

2001-03-05 Thread Peter Alfors
Hello, Has anyone noticed any speed issues with tomcat 3.2 and jdk 1.3? Maybe this question would be better for a Java list, but since we don't seem to ever come across this with Tomcat 3.2 with JDK 1.2.2, I thought I would try here first. Sometimes (not always repeatable) a co-worker of min

Re: mod_jk and conf files

2001-03-05 Thread Rob Tanner
It would be nice if they did it right, but they didn't. Copy the conf-auto to mod_jk.conf, manually change ajp12 to ajp13, and use that file instead. Fortunately, webapps are organizationally a step above servlets and jsp pages, and are not something you create all the time. But when you do,

Re: web.xml configuration

2001-03-05 Thread Rob Tanner
My working assumption (and web.xml seems to be happy with it) is that the canonical name of a servlet and it's class are the same thing. Thus, for servlet-name think class name. For servlet-class, you want the full class path. And so, if your servlet-name is 'nData', your servlet-class shoul

Re: web.xml configuration

2001-03-05 Thread liselotte . ramvik
Thanks, but I can´t get it to work. /Lisa "Brett W. McCoy"

Re: getPathInfo() returns null

2001-03-05 Thread Vladimir Grishchenko
OK, I haven't tried it yet, but this is certainly my problem. I have neither of the solutions implemented (/* or SerfvletPath) in my case. I'll give it a try. Thanx, Vlad. Karl Martino wrote: > > The following code will take care of your troubles. It was explained > to me recently that URL pa

Fwd: RE: getPathInfo() returns null

2001-03-05 Thread Karl Martino
The following code will take care of your troubles. It was explained to me recently that URL patterns to servlets like "/*" are actually inccorret. They mask *.jsp and other possible extentions. You should, when you have to, map a servlet to a path ending with "/". But pathInfo disappears then

Tomcat usability as a WebServer?

2001-03-05 Thread Manish Shahdadpuri
I am a new Tomcat user. As far as I understand, tomcat is also a web server in itself. Is it possible to use tomcat alone as a web server without using any other WebServer e.g Apache etc. - To unsubscribe, e-mail: [EMAIL PROTEC

Re: QuickSorting Vectors

2001-03-05 Thread Vladimir Grishchenko
I claim this is faster (inspired by the Vector's source code, he-he): public class VladsVectorSort { SortableVector vec = new SortableVector(); public static void main(String[] args) { VladsVectorSort v = new VladsVectorSort(); v.arraySimpleSort

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Brett W . McCoy
On 2001.03.05 12:36 Manish Shahdadpuri wrote: > I am a new Tomcat user. As far as I understand, tomcat is also a web > server in itself. Is it possible to use tomcat alone as a web server > without using any other WebServer e.g Apache etc. Only if you are serving JSP and servlets and no static

tomcat-apache

2001-03-05 Thread Carlos. UNICA COMUNICACION.
can anybody says me if i must to load the mod_jk before or after than the mod_rewrite? thakns - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RequestDispatcher.forward()-Problem with anchors

2001-03-05 Thread Sebastian Schulz
hi, i have a problem with RequestDispatcher.forward(): if the url contains an anchor like "example.jsp#position1" then forwarding seams to be be all right (no error, exception ...), but the 'new' page has no content. i tried to forward to a url with parameters like "example.jsp?name=value", this

mod_jk and redwrite

2001-03-05 Thread Carlos
can anybody says me if i must to load the mod_jk before or after than the mod_rewrite? thakns - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Steve Ruby
Manish Shahdadpuri wrote: > > I am a new Tomcat user. As far as I understand, tomcat is also a web > server in itself. Is it possible to use tomcat alone as a web server > without using any other WebServer e.g Apache etc. Yes... It just isn't recommended for high volume sites, as well as the fa

Re: QuickSorting Vectors

2001-03-05 Thread Vladimir Grishchenko
Ooops... Replace java.util.Arrays.sort(elementData, 0, elementCount - 1); with java.util.Arrays.sort(elementData, 0, elementCount); I claim this is faster (inspired by the Vector's source code, he-he): public class VladsVectorSort {

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Steve Ruby
"Brett W . McCoy" wrote: > > On 2001.03.05 12:36 Manish Shahdadpuri wrote: > > > I am a new Tomcat user. As far as I understand, tomcat is also a web > > server in itself. Is it possible to use tomcat alone as a web server > > without using any other WebServer e.g Apache etc. > > Only if you a

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Michael Weissenbacher
you can use tomcat for static pages, but it's not recommended, since other web servers are faster, more reliable and already established as web servers. there is no way to use tomcat for CGI or PERL michael -Original Message- From: Brett W . McCoy [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Jay Mairley
Tomcat will serve static pages also. Jay -Original Message- From: Brett W . McCoy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 10:52 AM To: [EMAIL PROTECTED] Cc: tomcat Subject: Re: Tomcat usability as a WebServer? On 2001.03.05 12:36 Manish Shahdadpuri wrote: > I am a new

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Kevin Sangeelee
On Mon, 5 Mar 2001, Manish Shahdadpuri wrote: > I am a new Tomcat user. As far as I understand, tomcat is also a web > server in itself. Is it possible to use tomcat alone as a web server > without using any other WebServer e.g Apache etc. I've used it in both situations and have been happy wit

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Endre Stølsvik
On Mon, 5 Mar 2001, Brett W . McCoy wrote: | On 2001.03.05 12:36 Manish Shahdadpuri wrote: | | > I am a new Tomcat user. As far as I understand, tomcat is also a web | > server in itself. Is it possible to use tomcat alone as a web server | > without using any other WebServer e.g Apache etc. | |

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Samson, Lyndon [IT]
But but but... tomcat does serve static pages. It can be used as a stand alone web server, and with a simple servlet, it could run cgi progams. -Original Message- From: Brett W . McCoy [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 5:52 PM To: [EMAIL PROTECTED] Cc: tomcat Subject

RE: RequestDispatcher.forward()-Problem with anchors

2001-03-05 Thread Filip Hanik
I thought the anchor tag was something that was interpreted by the browser, not the server. doesn't the server just ignore those? correct me if I am wrong! Filip > -Original Message- > From: Sebastian Schulz [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 05, 2001 9:48 AM > To: [EMAIL

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Michael Wentzel
> On 2001.03.05 12:36 Manish Shahdadpuri wrote: > > > I am a new Tomcat user. As far as I understand, tomcat is > also a web > > server in itself. Is it possible to use tomcat alone as a web server > > without using any other WebServer e.g Apache etc. > > Only if you are serving JSP and servle

RE: Upcoming Tomcat book...

2001-03-05 Thread David Oxley
A couple of things I would like to see in a book (and seems to have never been covered before): 1. How to structure large servlet applications (Data model). 2. Scalable/fail safe servlet applications. i.e. Our application is accessing a database of up to 100Gb and we cache all of our data in the

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Brett W. McCoy
On Mon, 5 Mar 2001, Samson, Lyndon [IT] wrote: > But but but... tomcat does serve static pages. It can be used as a stand > alone web server, and with a simple servlet, it could run cgi progams. Sorry, I had been under the original impression that Tomcat couldn't do static pages or serverd them

RE: Assigning Servlets to different ports.

2001-03-05 Thread William Wishon
> In Tomcat 3.3, you can setup two different ContextManager's, so > each will listen to a > different port. I believe it should be the same in 3.2.1? In the configuration I am looking at (for Tomcat 3.2.1) it looks like the connectors are where the port numbers get assigned. Is there a port prop

RE: RequestDispatcher.forward()-Problem with anchors

2001-03-05 Thread Michael Wentzel
> I thought the anchor tag was something that was interpreted > by the browser, > not the server. > doesn't the server just ignore those? > > correct me if I am wrong! > > Filip Yes, this is correct. The server just streams HTML to the client and the client interprets that stream and renders

RE: RequestDispatcher.forward()-Problem with anchors

2001-03-05 Thread Rob Tanner
When you do a RequestDispatcher.forward(), that's an internal operation, and not a redirect send back to the browser. In the latter case, the browser initiates a new GET request to the new URL. In the former case, the page at the RequestDispatcher.forward() address is simply sent to the brow

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Martin Mauri
> > On 2001.03.05 12:36 Manish Shahdadpuri wrote: > > > > > I am a new Tomcat user. As far as I understand, tomcat is > > also a web > > > server in itself. Is it possible to use tomcat alone as a web server > > > without using any other WebServer e.g Apache etc. > > > > Only if you are servin

loading problem mod_j.so ->apache 1.3.19

2001-03-05 Thread Diman
Hello people, I'm banging my head against this weirdness : in jakarta-tomcat-3.2.1-src/src/native/apache1.3 I successfully ran /usr/local/sbin/apxs -o mod_kj.o -I/usr/local/jdk1.2.2/include / -I/usr/local/jdk1.2.2/include/freebsd -DFREEBSD -I../jk -c mod_jk.c ../jk/*c and then gcc -s

Re: web.xml configuration

2001-03-05 Thread Rob Tanner
--On Monday, March 05, 2001 11:34:13 AM -0500 "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > > I think for your mapping you don't want that full directory path for > your url pattern. The idea is that you don't want to use that full > path, but something simple that will get mapped automagical

Re: loading problem mod_j.so ->apache 1.3.19

2001-03-05 Thread Brett W. McCoy
On Mon, 5 Mar 2001, Diman wrote: > in jakarta-tomcat-3.2.1-src/src/native/apache1.3 > I successfully ran > > /usr/local/sbin/apxs -o mod_kj.o -I/usr/local/jdk1.2.2/include / > -I/usr/local/jdk1.2.2/include/freebsd -DFREEBSD -I../jk -c mod_jk.c > ../jk/*c mod_kj.o? That should be mod_jk.o

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Jan Labanowski
On Mon, 5 Mar 2001, Samson, Lyndon [IT] wrote: > But but but... tomcat does serve static pages. It can be used as a stand > alone web server, and with a simple servlet, it could run cgi progams. > Where is this simple servlet? Please do not confuse people... Supporting the CGI protocol accordi

RE: loading problem mod_j.so ->apache 1.3.19

2001-03-05 Thread Filip Hanik
you have a typo somewhere >Cannot load /usr/local/libexec/apache/mod_kj.so into server: >Shared object "mod_kj.o" not found it is supposed to load mod_jk not mod_kj Filip > -Original Message- > From: Diman [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 05, 2001 10:37 AM > To: [EMAIL

RE: QuickSorting Vectors

2001-03-05 Thread Craig O'Brien
Hey, Good job. Nice trick. I messed around with an ArrayList and Collections.sort which was faster then my original (the 15 minute job) but yours was still faster. I tried your trick only to find out that in ArrayList the elementData field is private. :0( Short of customizing an implementatio

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Milt Epstein
On Mon, 5 Mar 2001, Brett W. McCoy wrote: > On Mon, 5 Mar 2001, Samson, Lyndon [IT] wrote: > > > But but but... tomcat does serve static pages. It can be used as a > > stand alone web server, and with a simple servlet, it could run > > cgi progams. > > Sorry, I had been under the original impre

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Xu, Lifeng
you can do that by disabling HTTP protocal from server.xml I think. The port # for that is 8080 by default... -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 1:36 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat usability as a WebServer? On M

Re: QuickSorting Vectors

2001-03-05 Thread Vladimir Grishchenko
I missed that Array.sort() excludes last index from sorting Craig O'Brien wrote: > > Hey, > > Good job. Nice trick. I messed around with an ArrayList and > Collections.sort which was faster then my original (the 15 minute job) but > yours was still faster. I tried your trick only to find

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Randy Layman
Remove the line from the server.xml file for the HttpConnector (lines involving port 8080). Randy -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 2:36 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat usability as a WebServer?

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Randy Layman
Its one of those things that is, and isn't, very easy. In its most simplistic form, running a CGI is as easy as calling exec. Passing parameters specificed by GET are set as enviornment parameters, which exec supports passing. Pasing POST data is as easy as connecting the CGI's input s

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Filip Hanik
>On a related note, I'm assuming it's possible to disable Tomcat as a >standalong web server (i.e. to just use it with Apache), but how does >one do that? Thanks. I would assume to just remove the HTTP connector in server.xml Filip > -Original Message- > From: Milt Epstein [mailto:[EM

RE: Tomcat usability as a WebServer?

2001-03-05 Thread Milt Epstein
On Mon, 5 Mar 2001, Milt Epstein wrote: > On Mon, 5 Mar 2001, Brett W. McCoy wrote: > > > On Mon, 5 Mar 2001, Samson, Lyndon [IT] wrote: > > > > > But but but... tomcat does serve static pages. It can be used as a > > > stand alone web server, and with a simple servlet, it could run > > > cgi p

  1   2   >