Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
I've been trying for last day to get Tomcat 4.1.12 to run a perl cgi script. I've done most of it based on this article: http://www.fawcette.com/javapro/2003_03/online/perl_teden_03_18_03/default_p f.aspx. But now I'm stuck with this error: java.io.IOException: CreateProcess: perl C:\Tomcat4112\web

RE: Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
Thanks Chris, I've tried "!#c:\perl\bin\perl.exe", "#!c:\perl\bin", "#!perl", and "#!/usr/bin/perl" and get same error on each. I've also added perl to the path environmental PATH variable. I do think that you're right about missing PATH information so I'll keep experimenting. I just can't figure

RE: Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:533) at java.lang.Thread.run(Thread.java:536) -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent

RE: Can Tomcat really run cgi scripts?

2003-12-03 Thread Januski, Ken
no answers. -Original Message----- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 3:21 PM To: Tomcat Users List Subject: RE: Can Tomcat really run cgi scripts? Beat my head against wall for another couple hours and still end up with this error. Anyone have any o

RequestDispatcher.forward to cgi?

2003-12-04 Thread Januski, Ken
I've finally managed to get cgi working in Tomcat. Now I need to forward from a servlet to a cgi page. But both RequestDispatcher.forward and RequestDispatcher.include are failing. I'm not surprised that include does but I thought it might be possible with forward. Since this is part of a large ap

RE: RequestDispatcher.forward to cgi?

2003-12-05 Thread Januski, Ken
Just curious ... what are the errors? -Tim Januski, Ken wrote: > I've finally managed to get cgi working in Tomcat. Now I need to forward > from a servlet to a cgi page. But both RequestDispatcher.forward and > RequestDispatcher.include are failing. I'm not surprised that inclu

RE: RequestDispatcher.forward to cgi?

2003-12-05 Thread Januski, Ken
I am unsure of how the CGI servlet goes to look for the exe with respect to a forward. (But I think you should be ok) -Tim Januski, Ken wrote: > Tim, > > Now that I look at them closely I see that most of them are due to a looping > problem in my program. So it just logs over a

IIS redirector works first time then fails

2003-12-10 Thread Januski, Ken
Hi, This error originally started on ArcIMS 4.01 with Tomcat 4.112 and IIS 5.0. But I now realize that it affects all servlets not just those used with ArcIMS. Though all attempts to myServer:8080 work fine attempts to myServer work once at most. After that they give a 404 error. So the example fi

RE: IIS redirector works first time then fails

2003-12-10 Thread Januski, Ken
Just to confirm that I'm not hallucinating I checked to make sure that uriworkermap.properties said "/examples/*=ajp13". Then I restarted both Tomcat and IIS. The HelloWorldExample in servlets worked. So I hit refresh. Same problem: Page cannot be found. -Original Message

RE: IIS redirector works first time then fails

2003-12-10 Thread Januski, Ken
stderr.log shows that connection is being closed and I wonder if that may be the cause of problem and how I might get around it? WARN common.ChannelSocket - server has closed the current connection (-1) -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: IIS redirector works first time then fails - fixed

2003-12-10 Thread Januski, Ken
been the one that fixed this. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 5:46 PM To: Tomcat Users List Subject: RE: IIS redirector works first time then fails stderr.log shows that connection is being closed and I wonder if that may

RE: google yourself

2003-12-11 Thread Januski, Ken
The sad part of googling yourself is when you google for answers to a certain problem and end up getting an earlier post of your own on same topic as the first result. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:30 PM To: Tomcat Users L

RE: CGI not working on Tomcat 5.0.16?

2003-12-16 Thread Januski, Ken
Jon, Just slightly off topic, have you gotten cgi to do more or less what you wanted with Tomcat? I can't get it working very well in Tomcat 4.1 and am wondering if it's just me. I can get one page to work but when it calls anohter cgi page I run into problems. Ken -Original Message- Fr

RE: CGI not working on Tomcat 5.0.16?

2003-12-17 Thread Januski, Ken
works for them on Tomcat 5. Jon - Original Message - From: "Januski, Ken" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 12:51 PM Subject: RE: CGI not working on Tomcat 5.0.16? Jon, Just slightly off top

OT?:Can't include .js file on jsp page controlled by front contro ller servlet

2004-01-12 Thread Januski, Ken
I may be getting in over my head here as I'm really not all that familiar with patterns. And I'm not sure that the pattern has anything to do with problem. But I have a controller servlet through which all web requests must pass. It has worked fine as is. Until I tried to include a .js file on a js

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Januski, Ken
W1T 1DF Phone numbers: Phone 020 7692 9922 Fax 020 7692 9923 "Januski, Ken" <[EMAIL PROTECTED]> 12/01/2004 16:58 Please respond to "Tomcat Users List" To: Tomcat Users List <[EMAIL PROTECTED]> cc: Subject:OT?:Can't inc

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Januski, Ken
nd would like to figure it out. Ken -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 12:25 PM To: Tomcat Users List Subject: RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet Thanks, The .js file is a d

SOLVED: OT?:Can't include .js file on jsp page

2004-01-12 Thread Januski, Ken
e the problem is coming from. Thanks to everyone for their suggestions, Ken -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 12:43 PM To: Januski,Ken Subject: RE: OT?:Can't include .js file on jsp page controlled by front co ntro ll

RE: RTFM

2004-01-15 Thread Januski, Ken
and let us know if it worked. -Original Message- From: Carlos Pereira [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 5:09 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: RTFM > no, I'm not returning anything from the servlet. It's not "returning anything"! You must

[OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
Sorry for this sort of OT question. I'm trying to get a jsp page to refresh with either response.setHeader("Refresh","30") or response.setIntHeader("Refresh", 30). But I can find no sign of any refreshing going on. Does anyone have any clues as to what might prevent the refresh? Exact code is: <

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
nday, February 02, 2004 6:00 PM To: 'Tomcat Users List' Subject: RE: [OT]:Jsp page won't refresh so you want you page to refresh every 30 seconds, right? You can use the tag, something like Hope this helps. -Yan -----Original Message- From: Januski, Ken [mailto:[EMAIL PRO

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
y response.setHeader doesn't seem to. Ken -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 6:04 PM To: Tomcat Users List Subject: RE: [OT]:Jsp page won't refresh I thought that response.setHeader("Refresh","30"

RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Januski, Ken
My wife loves the logo. She's a non-computer person. But she is a cat person. There is a fairly lengthy explanation of Tomcat origin in the O'Reilly book on Tomcat by the way. I just don't remember much of what it said other than that, I THINK, some code was shown on a screen at a convention, and

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Januski, Ken
Merrill, Much of what you're doing is just beyond me but I can't help but noticing this in your first post. password xxx Since you've included a password value in all the other places I'm wondering if the lack of it here could be part of the problem. Sorry if I'm way

RE: Apache/Tomcat/Struts Certification Proposal

2004-02-20 Thread Januski, Ken
Now if you had your spelling certification we wouldn't have to worry about this:-) I personally have found that certification has helped me learn a few things better. But I think that's really all that should be expected of them now: they may force you to study and learn a few things that you don'

Tomcat 4.1.2 jsps fail with JasperException

2004-02-24 Thread Januski, Ken
org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file This is on a new install of Tomcat 4.1.2. This example fails at localhost:8080. I can get the servlet examples to work by

RE: Tomcat 4.1.2 jsps fail with JasperException

2004-02-24 Thread Januski, Ken
riginal Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:23 PM To: Tomcat Users List Subject: Tomcat 4.1.2 jsps fail with JasperException org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file:

All jsps fail with JasperException

2004-02-24 Thread Januski, Ken
No luck with a reboot. All jsps are failing to compile with the message noted below. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:51 PM To: Tomcat Users List Subject: RE: Tomcat 4.1.2 jsps fail with JasperException This Tomcat

RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, window s XP p ro

2004-02-25 Thread Januski, Ken
The first thing I notice is "Ljava". Is that correct? -Original Message- From: Jesús Gutiérrez Ramírez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro Hi, I have

RE: Tomcat does not compiles my .jsp!

2004-06-24 Thread Januski, Ken
I seem to recall I had this problem once and it occurred because servlet.jar wasn't where it should be (/tomcat/common/lib in my setup). -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 11:21 AM To: Tomcat Users List Subject: Re: Tomcat does not

Importing Tomcat 5.0 webapp into Eclipse 3.0?

2004-07-06 Thread Januski, Ken
I'm new to both Eclipse and Tomcat 5.0 but have been using Tomcat 4.0 for quite a while. I'd like to move a project I'm working on in Tomcat 4.0 to Tomcat 5.0 and Eclipse 3.0? Has anyone successfully imported a Tomcat webapp into Eclipse 3.0? I continue to get "XML validation disabled" errors whene

RE: Importing Tomcat 5.0 webapp into Eclipse 3.0?

2004-07-06 Thread Januski, Ken
g/projects/lomboz/ (Lomboz 3.0 RC2 release is available) -Mensaje original- De: Januski, Ken [mailto:[EMAIL PROTECTED] Enviado el: Martes, 06 de Julio de 2004 12:02 p.m. Para: Tomcat Users List Asunto: Importing Tomcat 5.0 webapp into Eclipse 3.0? I'm new to both Eclipse and Tomcat 5.

RE: Importing Tomcat 5.0 webapp into Eclipse 3.0?

2004-07-06 Thread Januski, Ken
- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 3:53 PM To: Tomcat Users List Subject: RE: Importing Tomcat 5.0 webapp into Eclipse 3.0? There is also the sysdeo tomcat plugin which is free and works very well. -----Original Message- From: Januski, Ken [mailto:[

RE: Integrating Tomcat and IIS

2004-07-07 Thread Januski, Ken
Many, many people have had problems with this and a search of the archives may help. I do know that I read your lengthy message but didn't really see anything that was helpful in terms of pointing out the error. Having gone through this a number of times myself I also understand your frustration. B

RE: Integrating Tomcat and IIS

2004-07-08 Thread Januski, Ken
And what do you have to offer this list as help for the person asking the question? -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 7:57 PM To: Tomcat Users List Subject: RE: Integrating Tomcat and IIS I SUCCESSFULLY INTEGRATE TOMCAT 5 WITH I

RE: IIS Tomcat Web Log Error 500 Misleading?

2004-07-20 Thread Januski, Ken
This may not be the answer but I've always read that there's a limit on the number of characters in a GET request. I don't use many GETS so have never run into it. But that's the first thing I thought of when I saw the length of the query string... Ken -Original Message- Fro

Cannot get a DataSource

2004-08-20 Thread Januski, Ken
I've been beating my head against the wall on and off for a week now and just can't seem to get the hand of JNDI DataSources with Tomcat. Everything I try seems to end with "javax.naming.NamingException: Cannot create resource instance." Though I've also done a fair amount of research on this I ha

RE: JSTL / MYSQL JDBC / TOMCAT 5

2004-08-20 Thread Januski, Ken
I just noticed that this is the syntax given on http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how to.html, complete with the double tags so I wouldn't be surprised if a number of people run into this problem. -Original Message- From: QM [mailto:[EMAIL PROTECTE

RE: Problem with logging in Eclipse

2004-10-27 Thread Januski, Ken
This isn't much help but I have had a somewhat similar experience. I took the war for a working application running on Tomcat 4.0 at work and tried to get it running with Tomcat 5.0 and Eclipse 3.0 at home. It constantly complained about not being able to find log4j, this no matter where I put the

RE: Problem with logging in Eclipse

2004-10-29 Thread Januski, Ken
Donie, I just noticed this from your log: - Root Cause - java.lang.NoClassDefFoundError: org/apache/log4j/Layout I'm at work right now so can't check my logs at home but if they also point to Layout as the missing class rather than just Log4j that may tell us a little more about what's ca

RE: Problem with logging in Eclipse

2004-11-01 Thread Januski, Ken
ssage- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 11:22 AM To: Tomcat Users List Subject: RE: Problem with logging in Eclipse Donie, I just noticed this from your log: - Root Cause - java.lang.NoClassDefFoundError: org/apache/log4j/Layout I'm at

RE: ISAPI redirector warnings

2004-11-09 Thread Januski, Ken
Given all the problems that people have had with getting ISAPI redirector to work correctly I'd just be happy if it works and not worry about errors in the log. I say that after many attempts at tracking down errors in logs when I couldn't get it working correctly. Though I've always been a believe

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Januski, Ken
I'm part way through the Head First book. I really didn't like Head First Java though it got rave reviews when it came out. And I did like the first version of the Manning SCWCD book. That said I'm finding the Head First Servlets and JSP book enjoyable, though I've only read the first 150 pages or

RE: [OT] SCWCD Exam 1.4

2004-11-26 Thread Januski, Ken
ck out of the shop :-( Thanks, but no thanks, I'll be waiting until January. Andoni. - Original Message - From: "Januski, Ken" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Wednesday, November 24, 2004 11:06 PM Subject: RE: [OT] SCWCD Exam 1.4 &g

RE: [OT] SCWCD Exam 1.4

2004-12-08 Thread Januski, Ken
reilly.com/news/ksmanifesto.html -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Friday, November 26, 2004 10:19 AM To: 'Andoni '; 'Tomcat Users List ' Subject: RE: [OT] SCWCD Exam 1.4 Ha! Well I know this type of book has to come as a shock, especially as

RE: [OT] Re: Tomcat mailing list is full of non tomcat topics

2004-12-09 Thread Januski, Ken
And enjoyable reading for me. The fact is no one forces you to read an OT topic. I don't have time for more than one or two lists so my reading is pretty focused, sometimes moreso than I'd like. Sometimes reading an OT topic on Tomcat is a refreshing change from the normal questions. I don't think

<    1   2