hi....

2001-08-20 Thread Raju Ram
hi, This is raju. I need ur help. This is the first time i am working on tomcat server and i am not using apache. I want to work on jsp,servelts so let me know how to configure the server. And how to deploy jsp,servlets in tomcat. I placed jsp file in .../jsp/webapps/jsp/.jsp directory but

HELP newbie tomcat...

2001-08-20 Thread Dave Lopez
how do you setup tomcat to work with apache?

Binary..for Pier

2001-08-20 Thread Roberto B.
For Pier.. Sorry for the delay... I have made a small vacation!! I send the file at your e-mail address. If you need other... I'm here !! Roberto.

AW: hi....

2001-08-20 Thread Christian Amann
Hi Raju, you just have to place your tools.jar from jdk (lib) into TOMCAT_HOME/lib because Tomcat needs the compiler for JSP. Tomcat will then detect tools.jar automatically, but if you want to run Tomcat as a NT-Service you must explicitly place the path to tools.jar into wrapper.properties.

Re: Tomcat before Apache

2001-08-20 Thread Roberto B.
Stop! Stop!.. I wanted to say that I'm the Root user !! - Original Message - From: Pier P. Fumagalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 6:56 PM Subject: Re: Tomcat before Apache Guys. If you wanted to scare the hell out of me, you succeeded... ARE

RE: Tomcat and Apache, can't get it up and running

2001-08-20 Thread gero
Hi, I tried to access the JSP by using the fullpath (localhost/examples/jsp/colors/colrs.jsp) but then the log file reports [Mon Aug 20 10:24:22 2001] [error] [client 127.0.0.1] File does not exist: /var/www/html/examples/jsp/colors/colrs.jsp I'm afraid that I made some other change also

Tomcat3.3b1 crashes when rendering JPEGs

2001-08-20 Thread Hans Schmid
Hi, we have frequent crashes when rendering JPEGs: Has anybody seen this kind of VM crash on Solaris 7? We have to restart our Tomcat every 3-4 days because of this. Our setup: Apache 1.3.19, Tomcat 3.3b1, mod_jserv which comes with JServ 1.1.2 since we still have our main part of the

problems with IIS/Tomcat integration on NTserver 2000

2001-08-20 Thread Ron Peleg
Hi, I have installed and integrated tomcat on an NT2000 workstation, but on an NT2000 server the redirector does not seem to work. IIS seem to load the redirector (shows the 'green arrow' icon) but no iis-redirect.log is created and I'm getting the error 501 (not implemented) whenever trying to

Re: Tomcat3.3b1 crashes when rendering JPEGs

2001-08-20 Thread Pier P. Fumagalli
Hans Schmid at [EMAIL PROTECTED] wrote: Hi, we have frequent crashes when rendering JPEGs: Has anybody seen this kind of VM crash on Solaris 7? We have to restart our Tomcat every 3-4 days because of this. Our setup: Apache 1.3.19, Tomcat 3.3b1, mod_jserv which comes with JServ

Re: tomcat and proxuy cache server problem

2001-08-20 Thread hatim
Le Samedi 18 Août 2001 19:55, vous avez écrit : hatim at [EMAIL PROTECTED] wrote: Hello , im using the latest release of mod_backhand with apache 1.3.20 and with jdk1.3 and tomcat . Desciption of my architecture : i have 2 web servers that make the same work , i use mod_backhand

tomcat3.1 win98

2001-08-20 Thread Josef Oberckal
Hi, at home I am using tomcat3.1 with JBuilder4 and win98 but without internet access (I just want to do some servlet testing). The TCP/IP protocol is installed. Nevertheless, when I try to run my servlet, the following message appears (see below). When I try to start tomcat from dos I also

Re: Hosting services that offer Tomcat 4?

2001-08-20 Thread Allan Kamau
aoindustries.com provide hosting service consisting of virtually the entire apache projects including JBoss an opensource J2EE application server. At the moment they are offering TC 3.2.3 hosting service. It appears as they've done before,they are waiting for TC4 to be released as production

RE: HELP newbie tomcat...

2001-08-20 Thread Rob S.
Try the documentation links on the tomcat home page: http://jakarta.apache.org/tomcat/index.html - r -Original Message- From: Dave Lopez [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 3:20 AM To: [EMAIL PROTECTED] Subject: HELP newbie tomcat... how do you setup

RE: Error-Log file ?

2001-08-20 Thread Rob S.
The Unix command line allows for stderr redirection. I'm sure there's a command-line HOWTO somewhere that dishes out the details since I've since forgotten =/ - r -Original Message- From: Kenny Ma [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 19, 2001 11:49 PM To: [EMAIL

RE: tomcat3.1 win98

2001-08-20 Thread Rob S.
Sweet almighty mother... your first step should be to upgrade to the latest production release of Tomcat, 3.2.3 =) Install that, get it working from DOS, then try to get it working from JB4. Btw, JB5 is out and it comes with a version of 3.2 I believe ;) - r -Original Message- From:

RE: Tomcat and Apache, can't get it up and running

2001-08-20 Thread Rob S.
Hi, I tried to access the JSP by using the fullpath (localhost/examples/jsp/colors/colrs.jsp) but then the log file reports [Mon Aug 20 10:24:22 2001] [error] [client 127.0.0.1] File does not exist: /var/www/html/examples/jsp/colors/colrs.jsp I'm afraid that I made some other change also

can't start tomcat 4

2001-08-20 Thread Renato Testa
Hello List, i'm completetly new to tomcat and to this list. I've installed the jakarta-tomcat-4.0-b7-src on a Mandrake 8.0 Linux. I proceeded with the BUILDING.txt-file and could run the ant dist cmd successfull in the tomcat.home I've then trying to start tomcat as described, but it fails. I

RE: tomcat and jdbc

2001-08-20 Thread Rob S.
Hi I am using tomcat in a win 98 environment. I registered my db as an ODBC data source. I have tried to go to the tomcat conf file looking for server.xml To enable the jdbc realm to be loaded but Tomcat is not connecting to jdbc. Please help... I have checkd with friends with same

RE: can't start tomcat 4

2001-08-20 Thread Rob S.
I've then trying to start tomcat as described, but it fails. I have the message Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap in the catalina.out file. not very close to java, what's not found? Since it's Java, you don't *have* to build it,

RE: ClassLoader Reloading issues: static values

2001-08-20 Thread Miles Daffin
This is an interesting one. I had assumed that statics were a nono in webapps because they broke Context encapsulation. It appears, however, that you can have your cake and eat it. At least in TC 3.2.1. I declared a public static String in a Base servlet and built the host webapp twice, with

JDBC and Oracle

2001-08-20 Thread hongx
I have a question about JDBC and Oracle. In my Jsp I make a connection pool bean to connect with Oracle. And I found when I access the Oracle it will build a new session every time. So at last I can=A1=AFt connect = with Oracle when it reaches the max session number. But if I don=A1=AFt use = the

Re: ClassLoader Reloading issues: static values

2001-08-20 Thread Endre Stølsvik
On Mon, 20 Aug 2001, Miles Daffin wrote: | This is an interesting one. | | I had assumed that statics were a nono in webapps | because they broke Context encapsulation. Easiest way to create e.g. Connection pools and the like. | I declared a public static String in a Base servlet | and built

JDBC and Oracle

2001-08-20 Thread hongx
I have a question about JDBC and Oracle. In my Jsp I make a connection pool bean to connect with Oracle. And I found when I access the Oracle it will build a new session every time. So at last I can't connect with Oracle when it reaches the max session number. Just when I restart Tomcat the

tomcat and apache jsp execution

2001-08-20 Thread Bernier, Melanie
Hi! I just installed tomcat 3.2.3 and I am trying to make it work with Apache. I followed the step described on the tomcat web site but I'm still not able to make it work properly. When I request html or jsp from port 8080, everything works fine. When I request html from port 80, again I have

Re: can't start tomcat 4

2001-08-20 Thread Renato Testa
On Mon, Aug 20, 2001 at 07:13:46AM -0400, Rob S. toeggelte: I've then trying to start tomcat as described, but it fails. I have the message Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap in the catalina.out file. not very close to java,

Re: tomcat and apache jsp execution

2001-08-20 Thread Dmitri Colebatch
Are you getting anything in the mod_jk log when doing a request? Another thing - if you're getting source I might guess that you have DocumentRoot=tomcatDirectory/webapps/ROOT? I'm sure that probably can work, but then you've got two web servers both serving content from one directory, and it

Re: JDBC and Oracle

2001-08-20 Thread Rob S.
On Mon, 20 Aug 2001 19:52:14 +0800 [EMAIL PROTECTED] wrote: I have a question about JDBC and Oracle. In my Jsp I make a connection pool bean to connect with Oracle. And I found when I access the Oracle it will build a new session every time. So at last I can't connect with Oracle when it

Re: can't start tomcat 4

2001-08-20 Thread Allan Kamau
Had the same problem. Set CATALINA_HOME variable in your startup scripts eg in the '/etc/profile' for the Linux or in the Environment variables in Windows NT/2000. Then logoff and login then try starting TC4. Allan Kamau. --- Renato Testa [EMAIL PROTECTED] wrote: On Mon, Aug 20, 2001 at

Does AJPv1x need Content-Length ?

2001-08-20 Thread ehugonnet
hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache to transfert the data to the servlet and afterwaerds I can't send any more data through this opened connection. Has

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread Rob S.
If you want to send data, you need to POST. - r On Mon, 20 Aug 2001 14:47:39 +0200 [EMAIL PROTECTED] wrote: hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache to

RE: jakarta NT service

2001-08-20 Thread Larry Isaacs
It is on my todo list to address this for Tomcat 3.3. It has not yet been addressed that I am aware of. JDK 1.3.1 provides a -Xrs option that avoids the CTRL_LOGOFF_EVENT problem. However, it does this by not installing a console control handler. I believe this means that Tomcat will not get

New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread chris hutchings
Hi, i am new to servlets, and i am working through the examples in a servlets book, I have to set some init-param parameters in web.xml that are used in one of the examples init() method. Unfortunately the initialisation is not working properly and i get a 'null' when I print out the variable.

WAP + Servlet

2001-08-20 Thread srt
Hi there I am a student doing my project on WAP which is generated from Servlets (i am using Apache Jserv as a server) so there is any emulator that runs WAP Servlets? if yes please let me know i am stuck and i may fail if i didn't do my project Note: it is better to have a local emulator

RE: mod_jk.log messages

2001-08-20 Thread Larry Isaacs
A bug in the uri_worker_map_free() and uri_worker_map_close() of the jk_uri_worker_map.c file in Tomcat 3.2.3 causes these messages to always be printed, regardless of whether an error occurred. I believe it is fixed in Tomcat 3.3 and jakarta-tomcat-connectors. Larry -Original

Re: WAP + Servlet

2001-08-20 Thread Rob S.
I'm not really sure I understand any of this... You're using JServ? Man, upgrade to Tomcat for crying out loud =) With the emulators (Nokia, etc.) you can request any URL. Install Tomcat locally, and you can just request your stuff from your own localhost. I have a feeling I'm opening a

Re: http vs https

2001-08-20 Thread John Baker
On Monday 20 August 2001 03:15 am, you wrote: You must be joking. We're charging them :) It's just the twisted way they like to deploy things. their own SSL accelerator sounded like they had their own... my bad =) but of course that needs to be: https://whatever if the

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Rob S.
Eeek, I'm not sure where to start =) I have to set some init-param parameters in web.xml that are used in one of the examples init() method. Unfortunately the initialisation is not working properly and i get a 'null' when I print out the variable. Are you aware that web.xml only applies to

RE: http vs https

2001-08-20 Thread Curtis Dougherty
I followed the SSL-How-2 and Still could NOT get /examples to load via the SSL link? Any ideas? -Original Message- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 8:09 AM To: [EMAIL PROTECTED] Subject: Re: http vs https On Monday 20 August 2001 03:15 am,

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Dmitri Colebatch
When you add a context entry in server.xml, you create your own little context. the path that you name in docBase should contain a WEB-INF directory, which contains its own web.xml file. that is the web.xml file that will be read for requests to that context. if you're after a simple way to

Problem with loading servlets on start up

2001-08-20 Thread Atanas Michev
Hello, I'm a quiet newbie with Tomcat, and I have problems with running correctly the sample HelloUser under Tomcat v3.2.1 I have cleaned the directory webapps and put there only the folder hellouser with web-inf and meta-inf subfolders, the subfolder web-inf looks like this :

Re: http vs https

2001-08-20 Thread Rob S.
They are using IIS. That just about sums up the collective IQ. I hear what you're saying, but banging our heads against the wall for something they should arguably be providing... grumble =) I'm still keen to know how to get the servlet context path for a web application.. ie how to get

Re: WAP + Servlet

2001-08-20 Thread Dmitri Colebatch
From memory nokia have a wap emulator available from their site that you can download. the only reliance it might have on the web would come from dtd references from memory... cheers dim On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote: Hi there I am a student doing my project on WAP which

Re: Problem with loading servlets on start up

2001-08-20 Thread Rob S.
http://localhost:8080/hellouser/hellouser.jsp is how you would request your servlet. I have NO idea how Tomcat deals with servlets named like JSP files. A servlet spec guru might be required to answer that one =) Err, just found it, section 10. You're better off naming it something like

Script for automatic startup of Tomcat

2001-08-20 Thread Roberto B.
I found in this list the following script to automatically startup Tomcat at boot time.. -- #! /bin/sh # Init file for Jakarta Tomcat # # chkconfig: 345 98 00 # description: Jakarta Tomcat daemon # # processname: # config:

New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread chris hutchings
Hi, Thanks for the replies, but perhaps I was a bit vague in my description. I have written a couple of example servlets which I placed in the \webapps\ROOT\WEB-INF\classes folder, and these work ok The next example that I tried involved setting an init-param parameter in web.xml (for a

FW: Error when reading a servlet

2001-08-20 Thread Jagadish Gopi
HI Richard, Thanx a lot for replying back. I have followed all your advices but still am facing the same problem. I have given something like this within my server.xml file Context path=/health docBase=/jakarta-tomcat-3.2.1/webapps/com/health/wls/servlets crossContext=true debug=0

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Dmitri Colebatch
you have restarted after editing the web.xml haven't you? it only gets parsed at startup... other than that, check you're calling the right getInitParameter - not the method exists on config and servlet... depending on where your entry is in the config file, you will use one or the other. hth

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Rob S.
I have written a couple of example servlets which I placed in the \webapps\ROOT\WEB-INF\classes folder, and these work ok Good =) Since I was using the \webapps\ROOT\WEB-INF\classes folder for my servlets, I altered the web.xml in /ROOT/WEB-INF. Good so far... hmm, why is this? Can

Re: Problem with loading servlets on start up

2001-08-20 Thread Dmitri Colebatch
Do you get any error messages? normally if tomcat cant load a servlet on startup you will get an error output informing you of that. I am also assuming that hello.NameHandler extends javax.servlet.http.HttpServlet and overrides the init(ServletConfig config) method and has some debug in that

Re: FW: Error when reading a servlet

2001-08-20 Thread Rob S.
I have given something like this within my server.xml file Context path=/health docBase=/jakarta-tomcat-3.2.1/webapps/com/health/wls/servlets crossContext=true debug=0 reloadable=true/Context The docBase is the root of your web application, where there will be a WEB-INF subdirectory. -

RequestInterceptor doubt

2001-08-20 Thread Jagadish Gopi
Hi Everyone, I have a doubt regarding requestInterceptor hope you guys will help me with this. RequestInterceptor className=org.apache.tomcat.request.InvokerInterceptor debug=0 prefix=/servlet/ / In this if the prefix is given as /servlet/ ,then when url is given as

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Matt He
Did you restart tomcat? matt - Original Message - From: chris hutchings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 8:53 AM Subject: New to servlets: Parameter initialisation in web.xml Hi, Thanks for the replies, but perhaps I was a bit vague in my

Re: RequestInterceptor doubt

2001-08-20 Thread Rob S.
but if the prefix is given as just / then when url ~localhost:8080/health is given it gives me a error saying page not found. Why is that. Buddy, I dunno what browser you're using, but ~localhost:8080 doesn't work for me on Opera, Netscape, or IE. - r

New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread chris hutchings
hi, the web xml and servlet code are below -thanks for taking the trouble.. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app !-- Define servlets that are

Re: New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread Rob S.
public void init() throws ServletException { Don't you have to do a super.init() here? I remember this being a common problem... - r

RE: RequestInterceptor doubt

2001-08-20 Thread Jagadish Gopi
sorry, It's not ~localhost:8080 it's http://localhost:8080 ok, It's just a way of writing it. -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 10:28 AM To: [EMAIL PROTECTED] Subject: Re: RequestInterceptor doubt but if the prefix is given as

SSL-How-2 for Tomcat 4

2001-08-20 Thread Curtis Dougherty
If you follow the steps... you CAN'T EVEN GET /examples in SSLThat sinches it... Abandom Hope All Ye Who Enter Here... I surmise that Tomcat4 b6 does NOT support SSL (any flavor / any way / never)... Looks like Bill will win again since the OSC is too busy writing viruses... cd

https, redirect

2001-08-20 Thread Erik Melkersson
Hi! I'm using Apache and tomcat version 4. Apache has ssl turned on and I use https. I'm trying to make a redirect using HttpServletResponse.sendRedirect(...) When I enter the absolute or relative url to the page it adds only http instead of https. This has been discussed before and the only

Re: RequestInterceptor doubt

2001-08-20 Thread Rob S.
sorry, It's not ~localhost:8080 it's http://localhost:8080 ok, It's just a way of writing it. Sorry, sometimes you just never know =) - r

Re: SSL-How-2 for Tomcat 4

2001-08-20 Thread Rob S.
If you follow the steps... you CAN'T EVEN GET /examples in SSLThat sinches it... Abandom Hope All Ye Who Enter Here... I surmise that Tomcat4 b6 does NOT support SSL (any flavor / any way / never)... Looks like Bill will win again since the OSC is too busy writing viruses... That's

IIS - Tomcat Caching problems

2001-08-20 Thread Georges Boutros
hi, it seems like tomcat-IIS does some caching (not client side). even if i have in my headers the no-cache specifications, the server seems to display the page from the cache. does anyone have any idea how to bypass this problem. i wan't the server to always check for new pages but without

Re: https, redirect

2001-08-20 Thread Erik Melkersson
Erik Melkersson wrote: Hi! I'm using Apache and tomcat version 4. Apache has ssl turned on and I use https. I'm trying to make a redirect using HttpServletResponse.sendRedirect(...) When I enter the absolute or relative url to the page it adds only http instead of https. This has

RE: https, redirect

2001-08-20 Thread Martin van den Bemt
I think you have to install the https protocol handler from the jsse pacakage. Documentation is provided with jsse to get it working (I had troubles with the non programming solution, the java.policy file, so if you bump in to that, register it in your servlet Mvgr, Martin -Original

RE: SSL-How-2 for Tomcat 4

2001-08-20 Thread Curtis Dougherty
I would LOVE to think that BUT... alas...that has NOT been my experience... I did it to two different machines... step-by-step (good instruction / lousy program) is my guess... I using Win2K / IIS 5 / Tomcat4 b6...my app aside... I could NOT get /examples to come over with SSL... I'm seeing a

Log problem

2001-08-20 Thread Kenny Ma
if i use log(testing) in Servlet using Tomcat where will this log going to ? How can I log somthing to a file from Servlet ? I use System.err.println(Testing) when I am using Jserv before But i cant now when using Tomcat 3.2.2 Can anyone help me ? It's very troblem when debuging servlet

Re: SSL-How-2 for Tomcat 4

2001-08-20 Thread Rob S.
Interesting... well Chris is a regular so I'm sure he'll have something to add =) - r On Mon, 20 Aug 2001 09:54:15 -0500 [EMAIL PROTECTED] wrote: I would LOVE to think that BUT... alas...that has NOT been my experience... I did it to two different machines... step-by-step (good instruction

Re: Log problem

2001-08-20 Thread Dmitri Colebatch
have a look in the $TOMCAT_HOME/logs directory. Assuming you've changed server.xml so that tc_log has a path=logs/tomcat.log then you will be capturing all logging in the files in the logs directory. From memory, serlvet.log(testing) will go into logs/servlet.log. cheesr dim On Mon, 20 Aug

RE: ClassLoader Reloading issues: static values

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Miles Daffin wrote: This is an interesting one. I had assumed that statics were a nono in webapps because they broke Context encapsulation. It appears, however, that you can have your cake and eat it. At least in TC 3.2.1. Actually, in all containers that

New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread chris hutchings
hi, thanks Rob, Matt, Dim I have tried inserting super.init(); , but it still gives the same results..ie a null. I also restart tomcat after compiling. I have now also tried down loading the authors code – he also supplies the web.xml file But i still cant get it to work. I will check his web

RE: New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread Charlie Cox
I thought you only need super.init(config) if you override init(ServletConfig config), not if you just have init() Charlie -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 10:38 AM To: [EMAIL PROTECTED] Subject: Re: New to servlets2:

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote: hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache to transfert the data to the servlet and afterwaerds I can't send

Re: Log problem

2001-08-20 Thread Rob S.
You could always run them in a debugger w/JBuilder =) Look into Log4J, another Jakarta subproject. It's good logging stuff. I'm not sure where, but I just checked the javadoc for the log() method: Writes the specified message to a servlet log file, prepended by the servlet's name There are

RE: SSL-How-2 for Tomcat 4

2001-08-20 Thread Curtis Dougherty
I wonder if anyone else has seen the eratic differences in behavior between Win2k Pro and Win2K Server... BIG Difference in IIS5 but... Chris - If you see this thread... Why won't the /examples site won't encrypt properly (https://localhost:8443/examples/servlets/index.html Thnx! cd

Re: New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread Rob S.
If the author supplies a .war file, just drop that into the /webapps directory and restart Tomcat. Everything will expand and you can see exactly what he's doing. Good luck! =) - r On Mon, 20 Aug 2001 16:10:41 +0100 (BST) [EMAIL PROTECTED] wrote: hi, thanks Rob, Matt, Dim I have tried

Re: New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread Rob S.
Could be. I can't rememeber the last time I've written a servlet =) - r On Mon, 20 Aug 2001 08:13:59 -0700 (PDT) [EMAIL PROTECTED] wrote: I thought you only need super.init(config) if you override init(ServletConfig config), not if you just have init() Charlie -Original

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, chris hutchings wrote: Hi, i am new to servlets, and i am working through the examples in a servlets book, I have to set some init-param parameters in web.xml that are used in one of the examples init() method. Unfortunately the initialisation is not working

Re: New to servlets2: Parameter initialisation in web.xml

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Rob S. wrote: public void init() throws ServletException { Don't you have to do a super.init() here? I remember this being a common problem... You do not have to if you implement the zero-arguments version of init(). The old problem was when you

RE: Log problem

2001-08-20 Thread Michael Weissenbacher
jakarta log4j ist definately worth a try, it solved many of my logging problems... but to answer your questions: usually System.out and System.err print to the console that started tomcat unless you 'ed into a file. the log() method of a servlet goes into servlet.log in tomcat's logs subdir.

RE: https, redirect

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Martin van den Bemt wrote: I think you have to install the https protocol handler from the jsse pacakage. Documentation is provided with jsse to get it working (I had troubles with the non programming solution, the java.policy file, so if you bump in to that, register

RE: Help Installing Tomcat on Win95

2001-08-20 Thread Sheila Ratnam
Dmitri, Yes, this is weird! If I try jar -tf servlet.jar from inside the lib folder I get a long list of classes. But if I try the same from c:\ the system can't locate the servlet file. So I placed the HelloWorld.java inside the lib folder (where the servlet.jar IS,) and I still get the

tomcat.policy and WEB-INF/lib?

2001-08-20 Thread Noel L Yap
Do I need to do anything in tomcat.policy in order to be able to use CONTEXT/WEB-INF/lib? Thanks, Noel This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of

Patch to bug #345 complete ?

2001-08-20 Thread Henry Yeh
I have noticed that after applying the patch the date is now included in the tomcat HTTP response header, but it still does not send back not modified 304 if the file requested hasn't been modified since the date specificed by the request ... anyone has any ideas on how to fix this ? thanks !

RE: tomcat.policy and WEB-INF/lib?

2001-08-20 Thread Filip Hanik
well you can use the classloader, let's say that you have a jar file (test.jar) containing a property file (test.properties) and the jar file is in lib, then from your servlet you can say this.getClass().getClassLoader().getResourceAsStream(test.properties); is that what you are trying to

docs

2001-08-20 Thread Noel L Yap
Exactly where can I find docs that describe how I can add java command line arguments (eg, I want to define some variables)? Thanks, Noel This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument

Re: https, redirect

2001-08-20 Thread Erik Melkersson
I made an ugly fix, but working, in the meantime. I Overwrite the Location header: response.sendRedirect(file); //file could be almost anything response.setHeader(Location, https://server/path/file;); //the real url Thanks for the replies! /Melker Craig R. McClanahan wrote: On Mon, 20 Aug

Re: http vs https And Windows

2001-08-20 Thread John Baker
On Monday 20 August 2001 14:11 pm, you wrote: I followed the SSL-How-2 and Still could NOT get /examples to load via the SSL link? Read it again? :-) I can happily make SSL work, but only on Linux. I have created the .keystore in Win2k, but of course, when I start tomcat the batch window

RE: Patch to bug #345 complete ?

2001-08-20 Thread GOMEZ Henri
Thanks to forward the request to tomcat-dev instead :) - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From:

WAP + Servlet in Tomcat 3.3

2001-08-20 Thread Kaneda K
At 23:30 20/08/2001 +1000, you wrote: From memory nokia have a wap emulator available from their site that you can download. the only reliance it might have on the web would come from dtd references from memory... 1- Opera is working with Wap. I wonder be the way in tomcat 3.3 to define mime

VHosts causing app to load twice

2001-08-20 Thread Steve Heard
I have a servlet based application that needs to be accessed using both the the server IP address and the server domain name. The problem is that because I have two host entries for the same application tomcat loads them twice. Not only does this leave me with two instances of the servlets, but

Servlets!! Servlets!!

2001-08-20 Thread Jagadish Gopi
Hi Everyone, I have followed the Tomcat Documentation and have deployed my web application exactly creating the required directories and making entries, but am not able to view my servlets, I get a error saying Page cannot be displayed. (url given is http://localhost:8080/health/healthLogin )

Re: docs

2001-08-20 Thread Rob S.
For TC4, set CATALINA_OPTS and for TC3, set TOMCAT_OPTS. They will go into the java command line when the container is started. - r On Mon, 20 Aug 2001 12:03:16 -0400 [EMAIL PROTECTED] wrote: Exactly where can I find docs that describe how I can add java command line arguments (eg, I want

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread ehugonnet
I've opened with a POST but I still can't send data without a content-length parameter in my header when I have apache + tomcat whereas tomcat standalone works fine. I've sent my testing classes also (I use \t\t as my data separator). Thanks for any help Emmanuel ServletOpenSocket.java

RE: tomcat.policy and WEB-INF/lib?

2001-08-20 Thread Noel L Yap
Actually, I'm having problems getting stuff in WEB-INF/lib jar files to be imported by my JSP's (I'm getting ClassNotFoundException's). I was wondering if tomcat.policy had anything to do with the problems. Thanks, Noel well you can use the classloader, let's say that you have a jar file

RE: WAP + Servlet in Tomcat 3.3

2001-08-20 Thread Larry Isaacs
In Tomcat 3.2.x and Tomcat 3.3, you will need add it to all your web.xml files. The reading of a default web.xml file was removed in favor of your web applications being more portable. Cheers, Larry -Original Message- From: Kaneda K [mailto:[EMAIL PROTECTED]] Sent: Monday, August

RE: Servlets!! Servlets!!

2001-08-20 Thread Wang, Jianming
where do you put your servlet class? -Original Message- From: Jagadish Gopi [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 12:32 PM To: '[EMAIL PROTECTED]' Subject: Servlets!! Servlets!! Hi Everyone, I have followed the Tomcat Documentation and have deployed my web

RE: http vs https And Windows

2001-08-20 Thread Curtis Dougherty
I'll try reading it again... So here's a new twist (for all you Win2K folks) - When I specify keystorepath on a Win2K Pro / Win2K Server box...do I use c:\someplace\like\here or c:\someplace\like\here\ or c:/someplace/like/here or c:/someplace/like/here/ OR c:\someplace\like\here or

Servlet!!Servlet!!

2001-08-20 Thread Jagadish Gopi
Hi Everyone, I have followed the Tomcat Documentation and have deployed my web application exactly creating the required directories and making entries, but am not able to view my servlets, I get a error saying Page cannot be displayed. (url given is http://localhost:8080/health/healthLogin )

Re: VHosts causing app to load twice

2001-08-20 Thread Rob S.
Interesting... the server domain name should resolve to that IP address, right? You can't just remove the IP-address Host entry? - r On Mon, 20 Aug 2001 12:39:09 -0400 [EMAIL PROTECTED] wrote: I have a servlet based application that needs to be accessed using both the the server IP address

Re: tomcat.policy and WEB-INF/lib?

2001-08-20 Thread Rob S.
No, it's the location of the jar file(s) and their contents that's tripping you up. tomcat.policy is meant for use under a SecurityManager, not the problem here. - r On Mon, 20 Aug 2001 12:33:11 -0400 [EMAIL PROTECTED] wrote: Actually, I'm having problems getting stuff in WEB-INF/lib jar

RE: Servlets!! Servlets!!

2001-08-20 Thread Filip Hanik
My directory sturcture is change the following c:/jakarta-tomcat-3.2.1/webapps/health/web.xml c:/jakarta-tomcat-3.2.1/webapps/health/WEB-INF/web.xml Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original

  1   2   3   >