Re: NoClassDefFoundError

2001-04-04 Thread Hossein Tahani
I am includeing the tools.jar. My classpath is /usr/tomcat/lib/ant.jar:/usr/tomcat/lib/jasper.jar: /usr/tomcat/lib/jaxp.jar:/usr/tomcat/lib/parser.jar: /usr/tomcat/lib/servlet.jar:/usr/tomcat/lib/webserver.jar: /usr/jdk1.3/lib/tools.jar:/usr/jdk1.3/lib/classes102.jar I added a -verbose to the

How to set extension mapping

2001-04-04 Thread Lomesh Contractor
Hi All, Here is my question. I want to map files with ".xyz" extension to be treated as a ".jsp" file. i.e. if any request comes with .xyz extension ( e.g. http://myserver/mydomain/mydirectory/myfile.xyz ) and if myfile.xyz contains jsp code. So, for the above

RE: How to set extension mapping

2001-04-04 Thread Warren Crossing
ok.. quickly.. add a servlet myRedirectServlet servlet servlet-namemyRedirectServlet/servlet-name servlet-classcom.nowhere.myRedirectServlet/servlet-class /servlet servlet-mapping url-pattern*.xyz/url-pattern

RE: NoClassDefFoundError

2001-04-04 Thread Warren Crossing
so java -classpath /usr/local/jdk1.3/lib/tools.jar sun/tools/javac/Main should return the usage options - Usage: javac options source files ... try add java -bootclasspath usr/jdk1.3/lib/tools.jar:/usr/jdk1.3/jre/lib/rt.jar classpaths rfukt@best. -Original Message- From: Hossein

Don't finish loading

2001-04-04 Thread IT Division
Sri, I am using IIS- 3.0 with tomcat 3.0 as out-of-process sevlet containers. When I am loading Jsp/Servlet it don't finishing loading pages. Kindly give me some suggestions. With regards, Sunny Joseph

RE: 2nd Post: Servlets and mod_jk problem -- thanks!

2001-04-04 Thread Jim Cheesman
At 09:53 PM 4/3/2001, you wrote: One thing to note, Tomcat for NT is not picky about this, because on my NT deployment of Tomcat, I have the WEB-INF directory named "web-inf" and everything works fine. [ ... ] You must come from a Windows background :-) -- under UNIX, everything has always

Question regarding autoFlush

2001-04-04 Thread Mueller, Franz
Hi all, If the page-directive autoflush is set to "true" %@ page autoFlash="true" % and when the JSP uses a body-aware Tag class MyTag extends BodyTagSupport {...} the JSP-environment will generate a BodyContent ( which extends JspWriter) out = pageContext.pushBody();

mod_webapp compilation

2001-04-04 Thread Bojan Smojver
Anyone out there had any luck compiling the mod_webapp? Even after removing double new lines from the Makefiles, there is a whole heap of compilation error messages (mostly undeclared stuff)... And if mod_webapp is not ready, can mod_jk be used with Tomcat 4.0? Configuration: RedHat Linux 7.0

Re: How to get the parsed JSP string

2001-04-04 Thread Rhett Savage
if i understand correctly then one way you could accomplish that is simply by reading the output of the JSP (which you serve in the usual way) into a string using the java.net.URL class, something similar to the code below - this way any includes, interpolations, calculations that occur in the

Re: How to get around a tricky situation.

2001-04-04 Thread Stéphane BAUDET
Hello You could also create a new "empty" context called /images with docbase properly set to the location of your images. This context will serve your images. Jacob Kjome a crit : the loading of images is a function of your browser after the page has been sent by the server to it. The

how to install tomcat on freebsd

2001-04-04 Thread wanglijun
hi, I am newer of tomcat, who can tell me how to install tomcat on freebsd, so I can develop sevlet and jsp program, include all software need. thanks wanglijun

RE: Tomcat 4.0-beta-3 Released (SECURITY VULNERABILITY)

2001-04-04 Thread GOMEZ Henri
The source are still missing in : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b3/src/ Regards. Tomcat 4.0-beta-3 is an update to the Tomcat 4.0-beta-2 distribution that was released on 30 March 2001. It fixes a further security vulnerability related to potentially

how to install tomcat on freebsd

2001-04-04 Thread wanglijun
hi, I am newer of tomcat, who can tell me how to install tomcat on freebsd, so I can develop sevlet and jsp program, include all software need. thanks wanglijun

Re: Still Can't set-up Tomcat for ssl. Please help.

2001-04-04 Thread Alex Colic
Hi, Thanks for the reply. I changed the port to 443 but there was no change. Am I correct in assuming that once I have https working I should be able to access the same page via: http:\\localhost\index.html and https:\\localhost\index.html or https:\\localhost:443\index.html Because I can see

Support WML in Tomcat

2001-04-04 Thread kaiye
Hi there, Is there anyone can help me this puzzle? I am trying to make tomcat to provide WML output. I add following into web.xml. " mime-mapping extension wml /extension mime-type text/vnd.wap.wml /mime-type /mime-mapping " But, my nokia toolkit

AW: question about uploading files and multipart/form-data FORMS

2001-04-04 Thread Andreas Mecky
Hi Betty, I am using the perfect class from O'Reilly (MultiPartReuqest) for uploading files. This classes works fine for me. I never had any problems with Tomcat and uploading any kind of file. OK, I haven't tested all types of files to be honest but so far everything is fine. Try this

RE: Support WML in Tomcat

2001-04-04 Thread Francois Meillet
Put that in your card ?xml version="1.0"? !DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml" wml You will find a good document on : http://developer.java.sun.com/developer/technicalArticles/wireless/wap/index .html Francois -Original

Re: java.lang.UnsatisifedLinkError

2001-04-04 Thread marco
thanks for the link, but i'd already seen that post and the problem is that i'm also working on the class which calls the JNI so moving it out of WEB-INF isn't really an option. If i figure something out i'll make speak up. -- -Marco Ring the bells that still can ring. Forget the perfect

Tomcat3.2 on Win2000

2001-04-04 Thread Arun Jayaprakash
Hello to all, I have a rather strange problem with Tomcatv3.2 on Windows2K. I have developed a JSP package that conducts tests on the company's intranet. I had initially developed it on Tomcat v3.0 and Win98. After completing it, I deployed it on the company server, the Windows 2000 machine and

Re: tomcat without apache logging security

2001-04-04 Thread Ed Gomolka
On Tuesday 03 April 2001 10:47, [EMAIL PROTECTED] wrote: I would like to log all the queries to the database in logs/servlet.log. I put the verbosityLevel to DEBUG which didn't seem to have an effect on the logfile (it only logs the init calls). In server.xml, there are all these

JDBCReamls Still freeze after 24 hours wokrs

2001-04-04 Thread Kaneda K
Hello, I upgrade my tomcat to 3.2.2 beta 6 (BTW how to check version when you did not downloaded it yourself ?) and the JDBCReamls still freeze after 24 hours. on redhat 6.2 jdk sun 1.3.0 256 mo Ram the package I download was at this url :

RE: JDBCReamls Still freeze after 24 hours wokrs

2001-04-04 Thread Ignacio J. Ortega
Please some logs, config files..every bit of info you can send will be useful trying to find that.. attached files better.. Versions of JDBC drivers db too TIA Saludos , Ignacio J. Ortega -Mensaje original- De: Kaneda K [mailto:[EMAIL PROTECTED]] Enviado el: mircoles 4 de abril

Re: How to get around a tricky situation.

2001-04-04 Thread Ed Gomolka
On Tuesday 03 April 2001 09:23, Alex Colic wrote: Hi, I need some advice on how I might fix a problem with one of our web apps. We farmed out an app that works ok except that the web pages which are created by servlets are looking for images in the tomcat root images directory. This

Commercial support for Tomcat?

2001-04-04 Thread gavin . spittlehouse
We're interested in getting a commercial support contract for Tomcat on Solaris. We want 24x7 technical support for a mission-critical system. Europe / UK presence preferred (but not necessarily required). If you know or have experience of any company offering this kind of support, please let me

RE: question about uploading files and multipart/form-data FORMS

2001-04-04 Thread Randy Layman
Actually, this is a know problem with mod_jk using ajp13 - if it sees a particular byte string the process stops reading prematurely. I believe that this has been fixed for the upcoming 3.2.2 and 3.3 releases and you might want to try one of their betas to pickup this fix.

RE: JDBCReamls Still freeze after 24 hours wokrs

2001-04-04 Thread Kaneda K
At 13:13 04/04/2001 +0200, you wrote: Please some logs, config files..every bit of info you can send will be useful trying to find that.. attached files better.. Versions of JDBC drivers db too TIA Saludos , Ignacio J. Ortega server.xml : RequestInterceptor

[T4b3] An Exception at the SHUTDOWN stage

2001-04-04 Thread Pae Choi
It seems running fine on NT as a standalone so far, and it shows all 4 ports, i.e, 8005, 8008, 8080, and 8443 -- just by using the 'netstat' utility. When I, however, am shutting down the T4b3 it shows an exception as: Stopping service Tomcat-Standalone java.lang.NullPointerException

Re: How to get around a tricky situation.

2001-04-04 Thread Alex Colic
Just so I understand, to do the below I would have to modify my server.xml file...correct? This cannot be done in my web.xml file? Thanks Alex Date: Wed, 04 Apr 2001 09:47:56 +0200 To: [EMAIL PROTECTED] From: =?iso-8859-1?Q?St=E9phane?= BAUDET [EMAIL PROTECTED] Subject: Re: How to get around a

Can a servlet call another servlet to receive it's XML data inorder to sent it to XSLT processor?

2001-04-04 Thread Ganasen Gounden
Hello I have a XMLservlet() that is called from the browser with certain parameters. It returns a set of XML data that is transformed to HTML using an XSLT style sheet on the client side browser(ie5). Because not all users browsers have this capability yet, I want to try using XALAN parsers

Workaround for ISAPI Index Loading Problem

2001-04-04 Thread Ricardo Gladwell
Dear All, About a couple of days ago I posted a query regarding Gal Shachor's ISAPI filter for Tomcat. After fruitless searching I discovered a solution (read hack) to the problem quite by accident. The problem is thus: configuring IIS server to forward any requests from its root for servlets

RE: 2nd Post: Servlets and mod_jk problem -- thanks!

2001-04-04 Thread Milt Epstein
On Wed, 4 Apr 2001, Jim Cheesman wrote: At 09:53 PM 4/3/2001, you wrote: One thing to note, Tomcat for NT is not picky about this, because on my NT deployment of Tomcat, I have the WEB-INF directory named "web-inf" and everything works fine. [ ... ] You must come from a Windows

Re: How to get the parsed JSP string

2001-04-04 Thread Eduard Witteveen
Rhett Savage [EMAIL PROTECTED] wrote: if i understand correctly then one way you could accomplish that is simply by reading the output of the JSP (which you serve in the usual way) into a string using the java.net.URL class, something similar to the code below - this way any includes,

RE: file reading and writing

2001-04-04 Thread William Kaufman
A call to getServletContext().getAttribute("javax.servlet.context.tempdir") returns: jakarta-tomcat-3.2.1/work/localhost_8080 Did you intend to put output.txt in the temp directory? AFAIK, it won't go there by default: you'll need to specify that directory, like, String tmpdir =

Repaint( )

2001-04-04 Thread Sunil Chandurkar
Hello All !! Do anybody of you know how to repaint particular area of Applet rather than repainting an entire applet. First tell me is it possible to repaint particular area. Sorry I am asking this question in Tomcat user list but i found this is the only way to ask this question where

Re: How to get around a tricky situation.

2001-04-04 Thread Stéphane BAUDET
Yes, you have to modify the server.xml. I'm using this and it works fine. If somebody know how to do this within the web.xml, please let us know ! Stph Alex Colic a crit : Just so I understand, to do the below I would have to modify my server.xml file...correct? This cannot be done in my

tomcat security

2001-04-04 Thread Andrej Koelewijn
Hi, Is there any information available about tomcat security options? I want to know if you can limit the ip addresses ajp will listen to and if it's possible to encrypt ajp communication. Thanks, Andrej

How to use SVG-Files?

2001-04-04 Thread Matthias Zumstein
Hello, I want to display SVG-Files but I only get the CDATA from the SVG-File. I think I have to set up the web.xml but I don't know if I only have to change this file or if I need another change? Thank you Matthias Zumstein -- GMX - Die Kommunikationsplattform im Internet.

How do I know if I'm actually using ajp13 workers?

2001-04-04 Thread Peter Smith
I can see the ajp12 and 13 worker threads being instantiated (via log messages in the console) when I crank up Tomcat, but how do I know if the 13's are being used at all? All my auto-generated files continue to point to 'ajp12' workers, even after I've changed almost every reference I can find

Directory changes

2001-04-04 Thread Sonia Sh
Hi All I have tested a simple application called greeting by putting it into tomcat_home\web-apps directory. Now when I am putting the same application into a different directory outside the Tomcat_home and adding the Context in the context manager, I am not able to access the application.

A message to tomcat-user@jakarta.apache.org

2001-04-04 Thread lucy
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Are you bored and want some excitement? Las Vegas Has Just Showed Up In Your Neigbourhood! In fact, you wont even have to leave your computer! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Queensclub Online Casino

Re: Can a servlet call another servlet to receive it's XML data inorder to sent it to XSLT processor?

2001-04-04 Thread Bap
Ganasen Gounden wrote: Hello I have a XMLservlet() that is called from the browser with certain parameters. It returns a set of XML data that is transformed to HTML using an XSLT style sheet on the client side browser(ie5). Because not all users browsers have this capability yet, I

Can a servlet call another servlet to receive it's XML data inorder to sent it to XSLT processor?

2001-04-04 Thread Ganasen Gounden
Hello I have a XMLservlet() that is called from the browser with certain parameters. It returns a set of XML data that is transformed to HTML using an XSLT style sheet on the client side browser(ie5). Because not all users browsers have this capability yet, I want to try using XALAN parsers

ClassNotFound from lib in a webapp

2001-04-04 Thread Taylor, Richard
Hi, I'm running Tomcat 3.2.1 (as NT service), Apache 1.3.17 (mod_jk), JDK1.3, (and JBoss but thats not related) I'm coming across this problem time and time again and am wondering if all will be solved if I move to Tomcat 4.x. If there is a solution/explanation please let me know. I am

Re: Repaint( )

2001-04-04 Thread Mark Mynsted
Have you tried the paint method? Each class derived from the java.awt.Component has a paint method to do what you want. This forum is likely not the best place to ask your question. You may want to try Sun's forum. See www.java.sun.com. [EMAIL PROTECTED] 4/4/2001 8:44:25 AM Hello All !!

Re: mod_webapp compilation

2001-04-04 Thread Marcel Landman
I have exactly the same problem with TC 4.0-b3 while compiling the connector to use Apache 1.3 with tomcat 4.0! Can anyone tell us how to work around this problem(s)?? Thanks in advance. Marcel Landman DIC Information Consultants Bojan Smojver wrote: Anyone out there had any luck compiling

web.xml problem?

2001-04-04 Thread tomcat user
I'm using tomcat321 on NT4.0. I have a simple login page that I'm trying to call my servlet to do some processing on the request parameters. But, Tomcat cannot find my servlet. See the details below. Any suggestions? Here are my paths:

Tomcat 3.2.1 returns a Java.exe error. when I use JSP

2001-04-04 Thread Shivraj Singh
Hello, I get a message saying "Program Error java.exe" when I execute JSP pages on Tomcat 3.2.1. I don't get this error until I try to connect to the db. (SQL setver 2000). This is happening at random and we cannot find a pattern to it. The OS is Win2K Pro. We also have Apache 1.3 running on

RE: web.xml problem?

2001-04-04 Thread Michael Wentzel
I'm using tomcat321 on NT4.0. I have a simple login page that I'm trying to call my servlet to do some processing on the request parameters. But, Tomcat cannot find my servlet. See the details below. Any suggestions? Here are my paths:

RE: web.xml problem?

2001-04-04 Thread Samson, Lyndon [IT]
IANAE but... this url-pattern /TrainingPlansRepository/born/servlets/LoginController /url-pattern doesn't seem to match this FORM METHOD=POST ACTION="born/servlets/LoginController" try changing one or the other. regards lyndon -Original Message- From: tomcat user [mailto:[EMAIL

RE: Tomcat 3.2.1 returns a Java.exe error. when I use JSP

2001-04-04 Thread pedro . nunes
I had the same problem using JDK1.2.2 and Sun jdbc-odbc bridge. Use JDK1.3 :-) -Original Message- From: Shivraj Singh [SMTP:[EMAIL PROTECTED]] Sent: quarta-feira, 4 de Abril de 2001 14:36 To: [EMAIL PROTECTED] Subject: Tomcat 3.2.1 returns a Java.exe error. when I use JSP

RE: mod_webapp compilation

2001-04-04 Thread GOMEZ Henri
Many solutions : 1) You can patch the mod_webapp (I started to do that) but all your changes will be lost when cvs will be updated 2) Wait Pier to update the CVS. The lack of visibility on mod_webapp is a real problem on Tomcat 4.0. I'm sorry to say if the code is in OpenSource the

Re: Can a servlet call another servlet to receive it's XML data in order to sent it to XSLT processor?

2001-04-04 Thread Jim Cheesman
At 04:13 PM 4/4/2001, you wrote: (Not really a Tomcat question, but...) ie I would like the browser to call a JSP or another Servlet program to receive the paramters from the browser, call the XMLservlet with these parameters, receive the xmldata from the XMLServlet and parse it to the

RE: web.xml problem?

2001-04-04 Thread tomcat user
Thanks! That did the trick. Now, I'm getting NULL's in getting the request parameters in my serlvet. I'll have to look at that a little more. --Original Message-- From: Michael Wentzel [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Sent: April 4, 2001 2:08:46 PM GMT

using Tomcat Test Environnement in Visual Age

2001-04-04 Thread Patrick . Pierra
Hello, I'm tryinng to use Apache Tomcat Test Environnement for VA. The Test Environnement run well. I've deployed a index.html file in Apache_Tomcat_Test_Environnement/webaaps/myWebFolder and I access it well whith my browser http://localhost:8080/myWebFolder/. This index.html file have a form

tomcat mail cleanup...

2001-04-04 Thread GOMEZ Henri
Hi, each time I post a message I receive : The original message was received at Wed, 4 Apr 2001 12:02:46 -0400 from mercury.drfirst.com [172.1.1.36] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while

RE: .java being taken for a .jsp ??? - Thanks!

2001-04-04 Thread George McKInney
Matt, It doesn't sound like Tomcat is mistaking your Java file for a jsp. It actually looks like it's trying to recompile a file inside of your one of your jars, which is pretty weird. Thanks. Your comment put me on (what appears to be ) the right track. There are some .java files in the

RE: using Tomcat Test Environnement in Visual Age

2001-04-04 Thread Trakhtenberg, Victor
May be you can explain how to use the Tomcat with VA. Thank you in advance. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: 04 2001 17:02 To: [EMAIL PROTECTED] Subject: using Tomcat Test Environnement in Visual Age Hello, I'm tryinng to use

session + cookie

2001-04-04 Thread Connie Chan
Hi, My application handles session via cookies. I notice that Tomcat, by default, sets the cookie name to JSESSIONID. Is there any ways I can rename the cookie name? Thanks, Connie

RE: using Tomcat Test Environnement in Visual Age

2001-04-04 Thread Patrick . Pierra
I've just downloaded the zip file Apache Tomcat Test Environnement on www.ibm.com. When you run the .exe file, it create a project and a set of package in VA. Then run TomcatRunner. Patrick PIERRA

Re: Directory changes

2001-04-04 Thread Pae Choi
Provide us how you delcared the *new context* in your server.xml and description of how you access your application including the info of directory hierarchy where your application is deployed. Some of us will may help you. Pae -Original Message-From: Sonia Sh [EMAIL

servlets, sessions, and memory ..

2001-04-04 Thread Danny Angus
I see from the archive that the memory "leak" effect is caused by session handlers creating a session for each.. well.. session. My question is how can I take charge of this, i cant seem to turn off session tracking for servlets. Simply removing the interceptors from server.xml doesn't help. I

RE: using Tomcat Test Environnement in Visual Age

2001-04-04 Thread Patrick . Pierra
Sorry, find here reply with history I've just downloaded the zip file Apache Tomcat Test Environnement on www.ibm.com. When you run the .exe file, it create a project and a set of package in VA. Then run TomcatRunner. Patrick PIERRA Patrick PIERRA

Inputstream blocking during read, when there is nothing to read

2001-04-04 Thread Adam Ratica
If I send an empty get request to my servlet, get the inputstream, and do a read it will block forever. (eg: just call the servlet from IE or Netscape it just hangs). InputStream in = servletRequest.getInputStream(); byte[] buffer = new byte[bufferSize]; ByteArrayOutputStream byteStream = new

debugging servlets

2001-04-04 Thread Christoph Kukulies
What was again the magic modification one has to make to allow a more descriptive line in backtrace rather than '(compiled code)' when one gets for example: java.lang.NullPointerException at java.util.Arrays.sort(Compiled Code) at Some.doGet(Compiled Code) at

Tomcat (+Cocoon) with SSL

2001-04-04 Thread Robert Arthur
Sorry for the re-post, but I urgently need this problem remedied! I have installed Apache+mod_ssl on a Win32 system. I then installed Tomcat with mod_jk (recompiled for EAPI), and set it up to start a secure handler on 8443, using JSSE. Finally I installed Cocoon (from xml.apache.org), and

directory changes

2001-04-04 Thread Sonia Sh
The new location of my application is C:\Java\4656\Chapter07\greeting (This is actually a dnloaded source code from some book). And the context I added just before /ContextManager is Context path="/greeting" docBase="C:\Java\4656\Chapter07\greeting" /Context /ContextManager Now I

RE: debugging servlets

2001-04-04 Thread Benoît Jacquemont
You have to use the -Djava.compiler=NONE command line option in your java command line in the tomcat.bat/tomcat.sh Benot -Message d'origine- De : Christoph Kukulies [mailto:[EMAIL PROTECTED]] Envoy : mercredi 4 avril 2001 17:38 : [EMAIL PROTECTED] Objet : debugging servlets

Re: directory changes

2001-04-04 Thread Pae Choi
Try with '/', not '\'. For example, c:/java/4656/Chapter07/greeting. Let us know if it does not help you. We will delve into your directory hierarchy. :-) Pae -Original Message-From: Sonia Sh [EMAIL PROTECTED]To: Tomcat-User@Jakarta. Ap [EMAIL PROTECTED]Date:

RE: debugging servlets

2001-04-04 Thread William Kaufman
There's no magic: you need to re-compile your classes with the "-debug" flag on. -- Bill K. -Original Message- From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 8:38 AM To: [EMAIL

thanks

2001-04-04 Thread Sonia Sh
Thanks Pae It did help(changing '\' to '/') Benoit suggested me this solution sometime back. Thanks a lot to all of you. Regards Sonia

Turn off auto-gen

2001-04-04 Thread Chad LaJoie
How do you turn off the configuration file auto-generation? (Like mod_jk.conf-auto, obj.conf-auto, etc)? Chad La Joie "Only a man who can not conquer IT Specialist his deficiencies feels the need to ISC - WARD

First ExceptionInInitializerError Then NoClassDefFoundError

2001-04-04 Thread Rajesh A
Everytime I start tomcat 3.2.1 (win2k) and run a servlet I get java.lang.ExceptionInInitializerError. Subsequent requests to the same servlet throw java.lang.NoClassDefFoundError. The servlet class file is located in the webapps/myapp/web-inf/classes/. This dir is in the classpath before

Re: session + cookie

2001-04-04 Thread Milt Epstein
On Wed, 4 Apr 2001, Connie Chan wrote: Hi, My application handles session via cookies. I notice that Tomcat, by default, sets the cookie name to JSESSIONID. Is there any ways I can rename the cookie name? I don't believe so -- the session id cookie name is mandated by the spec. Why do

RE: First ExceptionInInitializerError Then NoClassDefFoundError

2001-04-04 Thread Samson, Lyndon [IT]
Are you running the supplied examples or your own servlet? Try compiling a helloworld servlet, then modifying it incrementally. regards lyndon -Original Message- From: Rajesh A [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 5:12 PM To: [EMAIL PROTECTED] Subject: First

RE: debugging servlets

2001-04-04 Thread Duck-Jin Chun
I also find that defining an evironment var works too. For windows try: set JAVA_COMPILER=NONE -Original Message- From: Benot Jacquemont [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: RE: debugging servlets You have to use

Servlet Chaining...

2001-04-04 Thread Gaël Oberson
Hello I try to use Servlet Chaining with Tomcat. Can I do that with a tag in the web.xml file (with servlet-mapping for example), or must I modify my Request parameters?? does anyone know how to do that??? I have a Servlet that generates an complete and valid XML file from a database, and

Tomcat serving up unprocessed JSP?

2001-04-04 Thread Alec Smecher
Hi, While debugging a JSP application on Tomcat 3.2.1 on Linux (the recently released binary distribution of Tomcat from the Jakarta website, more or less default configuration), I found something interesting... I did a netcat (direct TCP/IP communication) and sent Tomcat the following: GET

loadbalancing - java.io.IOException: Stream closed prematurely

2001-04-04 Thread Guntupalli Shanti
Hi, When I start tomcat with loadbalancing I see the following error even though everything seems to work fine HANDLER THREAD PROBLEM: java.io.IOException: Stream closed prematurely java.io.IOException: Stream closed prematurely at

RE: First ExceptionInInitializerError Then NoClassDefFoundError

2001-04-04 Thread Animesh Chaturvedi - US
Is your servlet part of a package? if yes then you need to specify in web.xml file like the fuly classified path of the servlet and in your WEB_INF/classes folder you need to reflect the whole pacakage hierarchy. Animesh -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL

tomcat with ssl difficulty

2001-04-04 Thread Wei Luo
environment: tomcat 3.2.1, window 2000 setup: installed jsse 1.02 (tested, ok), uncomment ssl connector in server.xml (keystore and password ok), generate key pairs and self-signed certificate problem: try to do https put upload through cURL v7.7. tomcat start ok with port 8443 ready for

Re: Servlet Chaining...

2001-04-04 Thread Scott Walter
Could you use a request dispatcher to forward the request to the second servlet? From the first servlet's request object you could code this: RequestDispatcher rd = req.getRequestDispatcher("path to second servlet"); rd.forward(); --- Gaël_Oberson [EMAIL PROTECTED] wrote: Hello I try

RE: Servlet Chaining...

2001-04-04 Thread Gael Oberson
No, it doesn't work, because the HttpServletRequest class used in HttpServlet doesn't implement the getRequestDispatcher method... But it we can make your idea work, I don't understand how my XML file is sent to the cocoon servlet... My XML file is printed do the response (out.print(String);),

run tomcat under apache.

2001-04-04 Thread Xiaoyu Zhang
Hi All, I tried to configuring Apache 1.3.17 to use mod_jk compiled from tomcat 3.2.1, my platform is SunOS 5.6. Under TOMCAT_HOME/src/native/apache1.3, I run the following command to compile the code: apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c

RE: session + cookie

2001-04-04 Thread Connie Chan
Please bear with me if I am not familiar with Tomcat. What will happen when a user go to two different sites that both run tomcat? A user goes to site 1 and has a session in the site 1. And then the user logins to the site 2 and has the session in site 2. At this point, will the cookie get

Loading .properties file

2001-04-04 Thread Leon Palermo
Hello, I am loading a .properties file from a jsp. Where should the properties file reside so that I dont need to use application.getRealPath("/")? The file is found when I put it in tomcat/bin, but shouldn't it be found by putting it in the /web-inf folder specific to my application

getting unll object

2001-04-04 Thread Batsheva Raviv
i am using auto-methodForm/auto-method I get back null, when sending home.jsp that include login. for example http://localhost:8080/ems/home.jsp I get back http://localhsot:8080/ems/null I checked tomcat-usr. my xml.page ?xml version="1.0" encoding="ISO-8859-1"? !DOCTYPE web-app PUBLIC

tomcat in comb. with apache randomly rejecting requests

2001-04-04 Thread Kresimir (Binsco)
Hi, I have already posted this quesion, but maybe I have not given enough detail. Please help as this is getting very frustrating. Ok, this is the problem briefly: Very randomly when we try to submit the request to tomcat (that is working with apache) we get the error message from the

RE: Tomcat (+Cocoon) with SSL

2001-04-04 Thread Herbert, Brent
Maybe something to do with file permissions on an NTFS or FAT partition? -Original Message- From: Robert Arthur [mailto:[EMAIL PROTECTED]] Sent: 04 April 2001 16:40 To: tomcat-user Subject: Tomcat (+Cocoon) with SSL Sorry for the re-post, but I urgently need this problem remedied! I

EA: Tomcat not shutting down properly

2001-04-04 Thread borg borg
I have RH 7.0, java 1.3_02, Tomcat latest ( I think 3.21 ) Running it in VMWare installed on directory /usr/local/share/tomcat I start it as follows bin/startup.sh Everything works great, it starts fine and I can hit it without a problem but when i try to stop it bin/shutdown.sh I get the

Re: file reading and writing

2001-04-04 Thread Brian Teutsch
On Wednesday, April 4, 2001, at 08:38 AM, William Kaufman wrote: A call to getServletContext().getAttribute("javax.servlet.context.tempdir") returns: jakarta-tomcat-3.2.1/work/localhost_8080 Did you intend to put output.txt in the temp directory? AFAIK, it won't go there by default:

JSP errors

2001-04-04 Thread Nick Stoianov
Hi, I installed Tomcat on Apache 1.3.9/Linux. The sample servlets are working fine. But the problem is with the JSPs. Some of them (snoop, plugin) are working great - but when I try to load the other JSPs I get the following errors:

RE: Session problem -- sessions being recreated, browser related?

2001-04-04 Thread Milt Epstein
On Wed, 4 Apr 2001, Warren Crossing wrote: check ie.. it stores all cookies in a folder called cookies somewhere each cookie in a seperate file.. however theres an index.dat .. no idea what this does but you could delete it ( backup!! ) and all the cookies.. ( ??sorry?? but i've had this

RE: Session problem -- sessions being recreated, browser related?

2001-04-04 Thread Steven Carbone
We had a similar problem with cookies, but not the session cookie. Maybe this info will help nevertheless. We noticed the server wasn't seeing the cookie whenever we clicked on a form's submit button. What happened was, all our forms were JSP's and our form handlers were servlets. Even

Tomcat Configuration

2001-04-04 Thread Noone Anil Kumar
Hi , I am running my servlet:" MarsDm" on the following set up: Apache 1.3.12 Tomcat 3.2.1 WinNt 4.0 When i started Apache Tomcat i do see the following error message on Tomcat 3.2 server console : " Ctx( /webSnm ): Mapping with unregistered servlet MarsDm" where webSnm is a dir under

Re: Tomcat 4.0 b2 and classloader

2001-04-04 Thread Dmitry Rogatkin
I've resolved my problem putting all common classes archives in directory common/lib Thanks, the product is amazing, but not so well documented. Dmitry R., [EMAIL PROTECTED] Chief Architect, MetricStream.COM Santa Clara, CA -Original Message- From:Dmitry Rogatkin [EMAIL

Caching

2001-04-04 Thread Chris Andreou
I am using Tomcat 3.3 running Apache 1.3.14 on an NT plaform. I am running my applications using Netscape 4.7 and IE 5.0. I have a lot of problems with caching. How other people handled the caching of the browsers. I set the properties to no-cache on botn NN and IE and set the HTTP header to no

Re: Security Problem with Tomcat

2001-04-04 Thread Mike Spreitzer
The best description I have seen is at http://www.securityfocus.com/bid/2518. That's Bugtraq ID 2518. I was using Tomcat 3.2.1 on UNIX systems, and it had the bug. I have updated to Tomcat 3.2.2b2, and the bug is gone there. I am using Tomcat directly, not through Apache. I do not know

Fuzzy Math

2001-04-04 Thread Jeff Crawford
Hi all, George Bush just might call it just another example of "Al Gore's Fuzzy Math." We are experiencing bizarre bad math in a JSP (included below and enclosed). Our environment is as follows: Solaris 7 Tomcat 3.2.1 Apache 1.3.19 JDK1.2.2_006

context problem?

2001-04-04 Thread Shun-Luoi Daniel Fong
Hi, 1. I created a context in server.xml as follows Context path="/gamezone" docBase="/home/sdfong/public_html/rubyfong/gamezone" crossContext="false" debug="0" reloadable="true" /Context 2. I also added the

tomcat internal server error

2001-04-04 Thread Florian Richter
Hi, maybe somebody can help me, my tomcat works fine at port 8080 but when I use it with apache (mod_jk) I get an internal server Error. The CLASS_PATH and PATH Variable is properly set. Here is the Error message from the mod_jk.log: [jk_uri_worker_map.c (344)]: Into

  1   2   >