pageContext

2003-07-16 Thread Dominic Parry
Hi I have an jsp that outputs an image. What do I need to set the pagecontext type to in order for the browser to understand the image? At the moment it prompts me to save the image as jspname.jsp, but If I rename the extension to jpg, it has actually downloaded the image. Thanks Dom ---

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-25 Thread Dominic Parry
you are trying to use JK2 configs with JK DLL. - Original Message - From: Januski, Ken To: Tomcat Users List Sent: Wednesday, June 25, 2003 8:23 PM Subject: RE: Connectors for IIS/Tomcat SHOULD make sense Some progress... I haven't spent much

Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Dominic Parry
Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties fi

Re: Tutorial for Tomcat Beginners!!

2003-06-25 Thread Dominic Parry
Subject: Re: Tutorial for Tomcat Beginners!! * Dominic Parry > Hi David > > I think you didn't look hard enough :) > > Try http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ Been there, done that. It didn't work. E.g. the links are broken: <http://jakarta.

Re: Tutorial for Tomcat Beginners!!

2003-06-25 Thread Dominic Parry
Hi David I think you didn't look hard enough :) Try http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ XML is easy to learn. So no problem there. Also see: http://jakarta.apache.org/tomcat/faq/ for more help. Cheers Dom - Original Message - From: David To: Tomcat User Sent:

Re: Conflict of Kazaa and Tomcat

2003-06-25 Thread Dominic Parry
I'm running Kazaa Lite, and Tomcat with NO hassles. Tomcat runs on port 80. you can get kazaa lite from http://www.kazaalite.tk/ It also has no adware or spyware. Good luck. - Original Message - From: David To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 9:21 AM Subjec

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Dominic Parry
Hi Ken Also you might like to have a look at this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/thrd5.html#93616 - Original Message - From: Jason Bainbridge To: Tomcat Users List Sent: Tuesday, June 24, 2003 10:09 PM Subject: Re: Connectors for IIS/Tomcat SHOULD mak

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Dominic Parry
Hi Ken I'm assuming you mean that http://inqtomcat:8080/examples/jsp/index.html is working. Have you set the permissions on the folder containing the isapi dll such that your IUSER has read and execute permissions? -Dom - Original Message - From: Januski, Ken To: Tomcat Users Li

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Dominic Parry
Hi Ken I have a suggestion. You should try using JK2 instead of JK, ie use isapi_redirector2.dll. If you want, I can send you all my working configs for this connector. If you don't want to use it, try posting your workers.properties file, and we can try to spot that "typo" Cheers Dom -

Re: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Dominic Parry
I got the same error on WinXP. Disappeared with a reboot, I think it had something to do with registry entries that were cleaned up at boot time. This wouldn't be the same in your case, But the error is the same. Cheers Dom - Original Message - From: Marcia de Oliveira Cardoso T

Re: Need help on deploying application

2003-06-23 Thread Dominic Parry
I've seen this come up as a suggestion many time, and I must disagree. I'm using the same set up as him, and I have many spaces in my dirs. It makes no difference. My apps all work perfectly, spaces or no. Just my five cents. Dom - Original Message - From: Roberts, Eric To: Tomc

Re: web.xml init param

2003-06-19 Thread Dominic Parry
My Guess is that you've Misplaced, or misspelled the ShowMessage class somewhere. Remember that it is Case Sensitive. The other thing is that you have packaged it so you should be calling /conserv/servlet/TestPkg/ShowMessage Hope this helps Cheers Dom - Original Message - From: Ji

Re: JSPs not compiling

2003-06-17 Thread Dominic Parry
Hi Kevin Did you by any chance add the Tomcat Jars to the %JAVA_HOME%\jre\lib\ext folder? If you did, you should remove them, and add the ones you need to your CLASSHPATH. Java puts some security restrictions on jars in the ext folder, for good reason. Cheers Dom - Original Message -

Re: Can't get to /admin dir of our webapp

2003-06-16 Thread Dominic Parry
That's a good point. There I go again. Always thinking of the Quick fix! - Original Message - From: Phillip Qin To: 'Tomcat Users List' Sent: Monday, June 16, 2003 9:26 PM Subject: RE: Can't get to /admin dir of our webapp I strongly disagree with all of you. Suppose yo

Re: Can't get to /admin dir of our webapp

2003-06-16 Thread Dominic Parry
And then Restart Tomcat :) - Original Message - From: Dominic Parry To: Tomcat Users List Sent: Monday, June 16, 2003 8:53 PM Subject: Re: Can't get to /admin dir of our webapp Hi There, You need to make sure that Tomcat does not Deploy the Admin App. You can do

Re: Can't get to /admin dir of our webapp

2003-06-16 Thread Dominic Parry
Hi There, You need to make sure that Tomcat does not Deploy the Admin App. You can do this by removing the Deployment descriptor admin.xml from the webapps folder, also move/rename the admin folder in the TOMCAT_HOME\server\webapps folder. Check in server.xml that you have removed the /admin c

Re: Tomcat classpath not set at boot

2003-06-14 Thread Dominic Parry
Do you set your CLASSPATH in your Shell script? or in .login or something like that? Cos then that will work for a manual start, but not for the /init.d one. You'll have to set up the classpath in that script. -Tom - Original Message - From: Tim Funk To: Tomcat Users List Sent

Re: more problem about emails using servlets

2003-06-13 Thread Dominic Parry
You should write the mail server you use to send email. It can be either your own one, or your ISP's SMTP server. - Original Message - From: bilal sulehri To: [EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:59 AM Subject: more problem about emails using servlets java Emai

Re: Special characters

2003-06-12 Thread Dominic Parry
someone posted an FAQ on this a while ago, if I remember correctly. check the archives. - Original Message - From: David Del Sacramento To: Tomcat Users List Sent: Thursday, June 12, 2003 5:13 PM Subject: RE: Special characters I proved that, but it isn't work :-( Any ot

Re: [redirecting startup exception trace to a file]

2003-06-12 Thread Dominic Parry
Hi Vijay The only other suggestion I can give is that you edit the catalina.bat file and redirect the programs it calls the same way i.e > out.txt Cheers Dom - Original Message - From: Vijay Pawar To: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:12 AM Subject: [redir

Re: redirecting startup exception trace to a file

2003-06-12 Thread Dominic Parry
Hi Vijay Try tomcat > out.txt Cheers Dom - Original Message - From: Vijay Pawar To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:47 AM Subject: redirecting startup exception trace to a file Hi, I am using tomcat 4.1.18 on windows 2000

Re: JK2 crashes IIS on win2000

2003-06-11 Thread Dominic Parry
Hi Tim I had the same problem. I'm not sure why it happened, but I had to remove all the sup-up stuff and start again. One thing I did change was to put the isapi_redirector2.dll file inside tomcat's conf folder, in a connector subfolder, and I have READ and EXECUTE rights to the IUSR to the co

Re: where to find sample config files for JK2

2003-06-10 Thread Dominic Parry
you need the following files in your TOMCAT_HOME\conf dir: workers2.properties Mine contains: -- # Define the communication

Re: virtual hosts - tomcat 4

2003-06-10 Thread Dominic Parry
if you set your context path tp "/" It might make a difference. At the moment, the path is set to "" which is nothing. - Original Message - From: Fiona To: Tomcat Users List ; Jens Skripczynski Sent: Tuesday, June 10, 2003 1:42 PM Subject: Re: virtual hosts - tomcat 4 I'v

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-10 Thread Dominic Parry
ld I have the file parameter point to C:\Jakarta-4.1.24\logs\shm.file since all my log files are in that directory? Jeff -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:52 PM To: Tomcat Users List Subject: Re: Having a probl

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Dominic Parry
problem with IIS and Tomcat 4.1.24 config I'm pretty sure Jeffrey did...at least as far as I can tell. Do you have some examples of the correct way? John On Mon, 9 Jun 2003 18:16:49 +0200, Dominic Parry <[EMAIL PROTECTED]> wrote: > you need to specify

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Dominic Parry
you need to specify your uri's in workers.properties - Original Message - From: John Turner To: Tomcat Users List Sent: Monday, June 09, 2003 6:13 PM Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config Sorry, I'm stumped, and I don't use IIS enough (hardly at a

Re: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-09 Thread Dominic Parry
On this same note, when you upgrade your JVM in windows, you have to change that same registry key to reflect the update, otherwise Tomcat won't start. - Original Message - From: Yoav Shapira To: Tomcat Users List Sent: Monday, June 09, 2003 1:32 PM Subject: RE: [SOLVED] -Xinc

Re: TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
quests will be handled by IIS. > > If however you put /examples/* in the file then IIS will forward all and > every request on to Tomcat for processing and IIS won't handle anything in > that directory. > > > David Legg > > > -Original Message- > From:

Tomcat destoying beans

2003-06-09 Thread Dominic Parry
Hi After I call a servlet that accesses two beans created in a jsp, the beans seem to have been destroyed. They are created like this: <%@ page import="beans.*"%> this page then response.sendRedirect("MyServlet"); code in MyServlet: session = req.getSession(); UserAuth authBean = (beans.

Re: TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
- - Original Message - From: "Dominic Parry" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS

TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom

Re: How can I run tomcat on port 8080 and have the users think it's on port 80?

2003-06-06 Thread Dominic Parry
You might find this useful. Skip to near the bottom. http://server.ccl.net/cca/software/UNIX/apache/tomcat4.1.18-linux/README.shtml cheers! Dom - Original Message - From: Michael Mattox To: Tomcat Users List Sent: Friday, June 06, 2003 2:08 PM Subject: How can I run tomcat o

Re: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Dominic Parry
riginal Message - From: "Brandon Goodin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 4:04 PM Subject: RE: getResourceAsStream cached by Tomcat's Classloader? > Yes, it is closed. > > Brandon Goodin

Admin Tool

2003-06-05 Thread Dominic Parry
Hi I've noticed something funny about the Tomcat Admin tool. If you change details about users with the tool, it removes the roles entry for that user. Has anyone else experience this? Thanks Dom - To unsubscribe, e-mail: [E

Re: getResourceAsStream cached by Tomcat's Classloader?

2003-06-05 Thread Dominic Parry
did you close the original stream before making changes and reloading? - Original Message - From: "Brandon Goodin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 3:45 PM Subject: getResourceAsStream cached by Tomcat's Classloader? > I saw a question similar t

Re: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread Dominic Parry
What is the page Title? could you give the whole error output? - Original Message - From: Graham Reeds To: Tomcat Users List Sent: Thursday, June 05, 2003 11:55 AM Subject: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags I dunno if this is the correct mailing since I have on

Re: changing tomcat configuration on the fly

2003-06-05 Thread Dominic Parry
you can find it in the Tomcat source. Just look in the source for the admin app. - Original Message - From: Adi Katz To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 4:08 PM Subject: changing tomcat configuration on the fly Hello, I am interested in changing the serv

using manager functions from within servlets - SOLVED

2003-06-04 Thread Dominic Parry
Hi I managed to get this working:     try { URL url = "" URL("http://localhost/manager/reload?path=/HamiltonBank");   HttpURLConnection con = (HttpURLConnection)url.openConnection(); // Add the necessary Auth Header information   String input = "username" + ":" + "password";

Re: Connecting IIS 5.0 to Tomcat 4.1.24? - SOLVED

2003-06-04 Thread Dominic Parry
Hope this helps you too! Dom - Original Message - From: Dominic Parry To: Tomcat Users List Sent: Wednesday, June 04, 2003 8:49 AM Subject: Re: Connecting IIS 5.0 to Tomcat 4.1.24? - SOLVED It's a pleasure! I have similar warnings in my logs, but they haven't cau

Re: Connecting IIS 5.0 to Tomcat 4.1.24? - SOLVED

2003-06-04 Thread Dominic Parry
It's a pleasure! I have similar warnings in my logs, but they haven't caused any problems so far. Does anyone know what they are caused by? Error: [jk_worker_ajp13.c (416)]: ajp13.service() ajpGetReply recoverable error 12 Error: [jk_workerEnv.c (482)]: workerEnv.processCallbacks() Error rea

Re: Connecting IIS 5.0 to Tomcat 4.1.24?

2003-06-04 Thread Dominic Parry
Hi David I have exactly that configuration working :). Here are my configs: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] "serverRoot"="C:\\Program Files\\Apache Group\\Tomcat 4.1" "extensionUri"="/jakarta/isapi_redirector2.dll" "workersFile"="C:\\Program F

Re: Problems with Tomcat - IIS integration ...

2003-06-03 Thread Dominic Parry
check the filter setting in the IIS control Panel in the virtual folder that you created for jakarta. - Original Message - From: Adeniyi Ibironke To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:49 AM Subject: Problems with Tomcat - IIS integration ... Hi, I have fo

Re: Issues with web.xml

2003-06-03 Thread Dominic Parry
Hi Robert I think I may know what your problem is. I remember reading that you web.xml has to be in a specific order: in your HelloWorld HelloWorld My test servlet you need to swap the and the items around: HelloWorld My test servlet Hell

Re: Issues with web.xml

2003-06-03 Thread Dominic Parry
Hi Robert How are you running Tomcat? With Apache, or with PWS? or standalone? - Original Message - From: Robert Seeger To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:08 PM Subject: Issues with web.xml I'm having issues with the web.xml file in my webapps/root/web-i

Catalina api and Jars

2003-06-03 Thread Dominic Parry
Hi I don't have any of the jar files that people mention in this list regarding Catalina. Tomcat is up and working fine. These are the jars I have in my tomcat4.1\common\lib folder: activation.jar ant.jar commons-collections.jar commons-dbcp.jar commons-logging-api.jar commons-pool.jar jasper-c

Re: Merging Multiple Web Apps

2003-06-03 Thread Dominic Parry
Apps I was thinking more of aliasing the context if possible in the server.xml or on the apache level. -Mike >From: "Dominic Parry" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[

Re: Merging Multiple Web Apps

2003-06-03 Thread Dominic Parry
virtual folders? or sym links? - Original Message - From: Mike Medwith To: [EMAIL PROTECTED] Sent: Monday, June 02, 2003 9:32 PM Subject: Merging Multiple Web Apps I have two webapps running under different contexts. They are both fairly large and reference their contex

Re: Manager app and HttpURLConnection

2003-06-03 Thread Dominic Parry
Thanks Tim, This is why I assumed that http://user:[EMAIL PROTECTED]/reload?path=/DynaServlet would work, as it does when called from a browser window. Does anyone know of any other way of calling this url with credentials? I'm trying to get the Servlet to reload itself every time it runs. (For

Manager app and HttpURLConnection

2003-06-02 Thread Dominic Parry
Hi I'm trying to do this: try { URL url = new URL("http://localhost/manager/reload?path=/DynaServlet";); HttpURLConnection con = (HttpURLConnection)url.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader(

Re: /admin

2003-06-02 Thread Dominic Parry
t with jk2 on IIS. - Original Message - From: Kwok Peng Tuck To: Tomcat Users List Sent: Monday, June 02, 2003 12:30 PM Subject: Re: /admin No. You may use it even if it is connected to apache or some other webserver Dominic Parry wrote: >Hi > >I'm I

/admin

2003-06-02 Thread Dominic Parry
Hi I'm I right to assume that the /admin app is only needed to configure the Tomcat if it is used as a standalone web server. Thanks Dom

Re: oci8 driver problem on Linux

2002-04-23 Thread Dominic Parry
> Hi, > I have been using classes12.zip in the CLASSPATH for oci8 driver on > Win2k. Now I am porting on Linux6.2. It says the following error : > > java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path > some other exception.. java.lang.UnsatisfiedLinkError: no ocijdbc8 > in ja

Re: Standalone meaning??

2002-04-23 Thread Dominic Parry
--- Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 10:58 AM Subject: Standalone meaning??

Re: Session already invalidated

2002-04-09 Thread Dominic Parry
> if( monitor.containsKey(user)){ Check what if this returns true of false for "has a session". Try if !(monitor.containsKey(user)){ see if the case where the user has no session now works. Hope this helps. -- To unsubscribe: For additional commands:

Re: someone....need help!!!!....

2002-04-09 Thread Dominic Parry
This is ok during development but is bad for performance. Once development is done you should really set reloadable=false. The manager works fine, I find running an app which precompiled the jsp helps too. Cheers Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer

Re: zipped class file.

2002-04-09 Thread Dominic Parry
rename the file to .jar, it should work. Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: "Xiao, Wei" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 3

Re: NIGHTMARE

2002-04-09 Thread Dominic Parry
I think it is, try their home page. www.opera.com cheers Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: "Jean-Luc BEAUDET" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EM

Re: NIGHTMARE

2002-04-09 Thread Dominic Parry
Ever heard of Opera? Now that works Damn well. Dominic Parry B.Sc. (Computer Science, Information Systems) B.Sc Hons Computer Science M.Sc. I Computer Science Rhodes University - Original Message - From: "Martin Mauri" <[EMAIL PROTECTED]> To: "Tomcat Users List"

Re: Managing WebApplications

2002-04-04 Thread Dominic Parry
I would also like to know the same thing. Thanks Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Message - From: "Dieter Kaltenbach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, A

Re: Tomcat configuration question

2002-03-27 Thread Dominic Parry
Hi find the following section in server.xml and change the port: to -> hope this helps. Server.xml should be in your conf directory in tomcat home. cheers Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University - Original Mess

Re: Question on reloading web-applications.

2002-03-27 Thread Dominic Parry
> Hi Tarun, > > >One way would be provide every user a way to reload their web-application only, without granting > > >access to the manager application (and thus without bothering the sys-admin). Or is there a parameter > > >in Tomcat that checks whether the class files have changes every once in

cvs

2002-03-27 Thread Dominic Parry
Hi Is there an easier way to get everything I need to build tomcat 4 from the csv repository other that getting all the required modules one at a time? Thanks Dominic Parry B.Sc (Information Systems, Computer Science) B.Sc (Hons) Computer Science Rhodes University -- To unsubscribe: <mai