AW: redirect problems?

2000-10-30 Thread Amrhein, Thomas
Do you make a return after the sendRedirect? ... response.sendRedirect("/checkout2.jsp"); return; ... Otherwise, the output of checkout2.jsp is added (and not a 'new' output). Hint: Call sendRedirect before you make any output!!! -Ursprüngliche Nachricht- Von: jim [mailto:[EMAIL

Re: destroy() method invocation

2000-10-30 Thread mike niemaz
Hi, "Craig R. McClanahan" wrote: You don't ... and you should NOT ... call destroy() on your servlet instance. Yes I understand that. I just meant to invoke the detroy method indirectly when launcing the shutdown tomcat script. Tomcat calls it for you when it is shut down normally. Failure

AW: Win98 Tomcat 3.1 - Starts to launch but then exists???

2000-10-30 Thread Merdes, Matthias
hi, have you checked if your TOMCAT_HOME ends with \jakarta-tomcat not \tomcat ? matthias -Ursprüngliche Nachricht- Von: David Harris [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 30. Oktober 2000 07:15 An: '[EMAIL PROTECTED]' Betreff: RE: Win98 Tomcat 3.1 - Starts to launch but

catalina.sh IS tomcat.sh ?

2000-10-30 Thread mike niemaz
I'm updating jakarta to 4.0 and i noticed that some scripts (and more?) has disapeared, which can be quiet crtitical since I had modified some ... So is catalina sh script the old tomcat.sh? Any more noticeable diffs? Thanx, --mike

response.sendRedirect stops working in Apache/Tomcat setup

2000-10-30 Thread mih
Hi! I recently setup my Tomcat to run integrated with Apache. Everything worked fine, except that any jsp-page that contained a response.sendRedirect stopped redirecting. I don't get any response at all. Any clues? Thanks! /Martin Holmgren Check out the latest in z.com programming, produced

Re: response.sendRedirect stops working in Apache/Tomcat setup

2000-10-30 Thread Leon Palermo
Instead of redirecting, try forwarding like this: getServletConfig().getServletContext().getRequestDispatcher("/jsp/forwardto.jsp").forward(request, response); Leon - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 30, 2000

IIS-Tomcat problem: Posting forms

2000-10-30 Thread Mauro Angonesi
Hello everybody! I have a problem when trying to POST forms to ASP pages, it seems that the posted information gets lost. As far as I understand, IIS first tries to redirect requests to Tomcat and, if it's not handled, IIS takes care of it. So, I guess the information is being

May I ask a question of Tomcat?

2000-10-30 Thread Baron
Hi, I was installing Tomcat and Apache for testing. Most of functions were working fine. But there was a problem when I want to upload a file. A form tag was setting in a jsp file as following form enctype="multipart/form-data" action="/servlet/UploadDepartmentImage" method=POST when I

Re: Session Info Sharing

2000-10-30 Thread Wyn Easton
And ... when is this servlet preloaded: is it when you start the server ? The line load-on-startup1/load-on-startup tells Tomcat to pre-load this servlet first (1) when Tomcat starts. If yes, does this mean that if you have 10 web-apps, each of which has one preloaded servlet, Tomcat will

RE: Tomcat Apache

2000-10-30 Thread Jagannathan, Giri (c)
hello, download the source distribution of tomcat 3.2 beta 6. I am sure you would find subdirs under /src... -Giri -Original Message- From: Da Eriksson Brothers [mailto:[EMAIL PROTECTED]] Sent: Friday, October 27, 2000 5:18 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat Apache No I

Strange behavoir

2000-10-30 Thread Phillip T. Gerringer
This weekend Tomcat stopped running. It can be started but throws errors in the mod_jk.log. Then Apache will fail to start with no errors. If I comment out the Include tomcat line in the httpd.conf file, Apache runs fine. The lines in the mod_jk.log file are: [jk_ajp12_worker.c (201)]: In

RE: strange Error 404

2000-10-30 Thread Wolfgang Egger
Servus Wyn, first thanx for your answer. -Original Message- I'm sure the problem is with the URL used to access the servlet of WebAppB. I don't think so, because of the following behaviour: Our WebServerDirStructure looks like this /websites/WebAppA /websites/WebAppA/WEB-INF

Making SOAP sample work on Tomcat

2000-10-30 Thread Alejandro Carrillo
I run the SOAP GetQuote sample against Tomcat, and got the following error messages on the Tomcat screen: (Mon Oct 30 09:24:59 EST 2000) Processing SOAP request... java.lang.NullPointerException at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet. java, Compiled Code)

Re: APJ12: connection failed

2000-10-30 Thread Joakim Verona
hello, apache and tomcat talk to each other using the ajp protocoll on a port, normally 8007. apache needs to have a plugin properly configured and running for this to work. there appears to be both mod_jserv and mod_jk you can use for this, where mod_jk is never. i use mod_jserv. read the

Re: AW: redirect problems?

2000-10-30 Thread ok
yeah, I have returns, why does this do this, there is no documentation in the JSP spec saying i have to do returns after a redirect. Is this a bug in tomcat? On Mon, 30 Oct 2000, you wrote: Do you make a return after the sendRedirect? ... rresponse.sendRedirect("/checkout2.jsp"); return;

RE: Logger

2000-10-30 Thread Andy LaMora
You might just try Webtrends... -Original Message- From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 05:00 To: '[EMAIL PROTECTED]' Subject: RE: Logger Hi Craig, I need a logger to collect data on tomcat contexts usage. I want to know how many

RE: APJ12: connection failed

2000-10-30 Thread Jagannathan, Giri (c)
hey, 1) Try changing the default apj12 worker definition section of workers.properties file as follows: worker.ajp12.host=your serverip(instead of the default localhost!) see if it works. 2) Make sure you have Included tomcat.conf at the end of httpd.conf if you are using mod_Jserv / Include

reuse of JServ Applc. with Tomcat

2000-10-30 Thread thomas . maesing
Hi, I have a question to configure Apache to work with Tomcat instead of JServ. The Apache Sever works with Tomcat but I cannot find a solution for the servlet mapping. For JServ "/servlets/" maps the servlet repository. How must I configure Tomcat to use this Repository? regards Thomas

XML, DTD, Tomcat

2000-10-30 Thread Alex Tang
Hi folks. I've got a servlet (actually a couple) that are doing some XML parsing (Mainly SAX, some DOM). The only problem I seem to be having is that when if I have a XML file that looks like this: ?xml version="1.0" encoding="UTF-8"? !DOCTYPE taglist SYSTEM "taglist.dtd" Tomcat

READ THIS First! Mailing-list archive and good tips

2000-10-30 Thread Wolfgang Stein
To unsubscribe from this list mailto:[EMAIL PROTECTED] To stop subscription for an alternate account (e.g. [EMAIL PROTECTED]) send an eMail to [EMAIL PROTECTED] Before posting any questions --- + We welcome open discussion of Tomcat issues at both

freebsd, jdk1.2, tomcat 3.1 help

2000-10-30 Thread Mike Haberman
I can't get tomcat 3.1 to run under freebsd 3.4-RELEASE FreeBSD 3.4 Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) Here's the message I get When I try to connect Error reading request Resource temporarily unavailable: Resource temporarily una vailable It seems to run fine

Re: (Possible VIRUS) Re: ???????? - ????????????

2000-10-30 Thread Martin Smith
"C. Jason Benedict" wrote: i have cut the binary code out of this one sinboda wrote: [Image] The original message made my Netscape running under RedHat 6.1 linux crash. I had to remove the message by other means before I could run netscape again. Don't know what that means. martin

RE: BindException on Solaris + Q

2000-10-30 Thread Jeff Klein
Does anyone know if/where I can get mod_jserv.so for sparc? Get the jserv src code from java.apache.org and statically link it into your apache instance. (makefiles are included so usually this is a triial task ;-). J PS (To Mike...) What is that lsof command you mentioned? I have never

Re: RE: [tomcat-user] issues with mod_jk (consuming 100% of cpu)

2000-10-30 Thread ricksmth
If you download with Netscape it can save it as text and that will leave it garbled. Download with Lynx or some other browser and you won't have that problem. Rick [EMAIL PROTECTED] wrote: Speaking of mod_jk, where can I find the source and instructions to compile it? Apache complains that

RE: [tomcat-user] issues with mod_jk (consuming 100% of cpu)

2000-10-30 Thread kenneth topp
in the tomcat source bundle... --- to unsubscribe: [EMAIL PROTECTED] for more info: http://jakarta.apache.org/getinvolved/mail.html On Mon, 30 Oct 2000, Ranko Bijelonic wrote: Speaking of mod_jk, where can I find the source and instructions to compile it? Apache complains that the one I

Configuring Tomcat - Examples don't work.

2000-10-30 Thread Sterling
H- I have been through the archive and found references to this problem but haven't found any solutions. Or at least any that give examples on the solution. Being a newbie to tomcat (and linux to a degree) I was wondering if anyone could help me out with a Tomcat problem? Here's what I have so

Re: Configuring Tomcat - Examples don't work.

2000-10-30 Thread Craig R. McClanahan
Sterling wrote: java.lang.NoClassDefFoundError: sun/tools/javac/Main Add "$JAVA_HOME/lib/tools.jar" to your classpath. Adding just "$JAVA_HOME/lib" is not sufficient, because that only looks for unpacked classes -- not classes that are resident in JAR files in the named directory. Craig

Managing Live Sessions

2000-10-30 Thread Anand Prasad
Hi All, I would like to limit number of live sessions to say x number. Is there a way where I can configure in Tomcat or in apache. Can I set the number of live sessions from Tomcat from a JSP or Servlet, if so could any let me know. Thanks --Anand

RE: [tomcat-user] issues with mod_jk (consuming 100% of cpu)

2000-10-30 Thread Ranko Bijelonic
Thanks guys, dowloaded, compiled, and working (kind of) -Original Message- From: Jagannathan, Giri (c) [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 2:02 PM To: '[EMAIL PROTECTED]' Subject: RE: [tomcat-user] issues with mod_jk (consuming 100% of cpu) U got to download the

jsp compilation problem

2000-10-30 Thread Sibon Barman
Hi all, Here is a snippet of jsp code that I am having trouble in compiling jsp pages: jsp:usebean id="traverser" scope="session" class="com.ss8networks.smp.sms.provisioning.jsp.Service800NumberBean" / % QuestionnaireTreeModel model = traverser.getModel(); if (model != null){

strange applet/plugin issues

2000-10-30 Thread Harding, David
im not sure where to get help on this one but here goes...perhaps someone here has had this problem: i am developing swing applets on a freebsd machine running tomcat 3.1. i write two hello world type applets that used swing. on my client machine (redhat 7, netscape 4.75) i installed the java

Re: strange applet/plugin issues

2000-10-30 Thread Harding, David
now things are working againodd...very oddi think maybe my jdk/jre install is not clean. hr

Execute JSP's in a different directory - sans-examples.

2000-10-30 Thread Sterling
H- I've been poking around the docs and archives for this list and from what I see there isn't a simple way to make this happen. Set up another directory that will execute JSP files without having to go through examples. (And from what I've seen this directory cannot be inside the httpd/htdocs

server.xml and individual servlets

2000-10-30 Thread Scott Goldstein
I'm fairly new to Tomcat and I have a configuration question. I want to register a number of individual servlets without grouping them under a web application as follows: path = domain/servlet1 will invoke servlet1 path = domain/servlet2 will invoke servlet2 . . . It seems that

Re: freebsd, jdk1.2, tomcat 3.1 help

2000-10-30 Thread Michael Westbay
Haberman-san wrote: I can't get tomcat 3.1 to run under freebsd 3.4-RELEASE FreeBSD 3.4 Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) I have not problem running the native FreeBSD port of 1.2.2 on FreeBSD 4.1-RELEASE. Have a look at

Re: ClassCastException,Beans, and Constant Restarts

2000-10-30 Thread Julio Serje (@canada.com)
I agree with you, there's no clarity about that issue, so I tried to put together some of the references in the different available documents: From the User Guide, defining the RELOADABLE parameter of the context tag in server.html: "When developing a servlet it is very convenient to have

RE: NT-Service-Howto

2000-10-30 Thread Hovnan Jonah Alexanian
Hi Again, Everything is fine now. I had to use version 3.2 beta 6 for everything. Cound not mix them up. Regarfds, Jonah -Original Message- From: Hovnan Jonah Alexanian [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 2:39 PM To: [EMAIL PROTECTED] Subject: RE:

Re: catalina.sh IS tomcat.sh ?

2000-10-30 Thread mike niemaz
"Craig R. McClanahan" wrote: For the purposes of starting up Tomcat 4.0, this is correct -- use catalina.sh or catalina.bat instead of tomcat.sh / tomcat.bat. Any more noticeable diffs? Quite a few. One of the primary reasons that Tomcat 4.0 is still "pre-alpha" is (incomplete or

RE: Servlet loading on linux startup

2000-10-30 Thread Kitching Simon
Hi, Maybe this is a file permissions or paths problem... Check what user tomcat runs as when started from inittab. Is this the same user you use when you "log in to linux" to start tomcat? If not, does this user have access permissions to the WEB-INF/classes directory, the web.xml file, etc?