Wrong page appearing - problem with WEB.XML?

2004-03-19 Thread jon yeargers
I enter a URL (EG http://server:8080/someServlet?param=value) but instead of getting the servlet I get the 'default' or 'welcome' page from the same site. The servlet in question doesn't have anything to do with the page that is appearing. The servlet does work - why wouldn't it appear when

building a server to maximize tomcat

2004-04-06 Thread jon yeargers
Im shopping about for a good server to run tomcat on. Im having a problem with my existing 700Mhz PIII in that it tends to bog down on longer processes. I bought it on EBay as a test machine and well.. its been ok to this point. It has 500 Mb RAM. Im running Tomcat and mySQL on it and it isn't

Trying to get past java.net.ConnectException

2003-10-08 Thread jon yeargers
Problem: Im trying to use an Applet to interact with my Tomcat code via sockets to transfer files. I get the following exception: java.net.ConnectException: Connection refused: connect and it points to a line in my code where I call URLConnection::getOutputStream(); All well and good. I can

RE: Trying to get past java.net.ConnectException

2003-10-09 Thread jon yeargers
To: Tomcat Users List Subject: Re: Trying to get past java.net.ConnectException If your applet is bombing with java.net.ConnectException, then your applet is the problem, not tomcat. -Tim jon yeargers wrote: Problem: Im trying to use an Applet to interact with my Tomcat code via sockets

Firewall rules - blocking tomcat traffic inadvertantly?

2003-10-09 Thread jon yeargers
I have a tomcat server in a DMZ coming off my firewall machine. I have permitted traffic to /from port 8080 but am having some connection problems. Are there other *standard* ports needed for communications with my server process? Specifically Im trying to call URLConnection::getOutputStream()

Getting a strange exception from Tomcat

2003-10-15 Thread Jon Yeargers
Im using a tomcat installation to do a some JPEG manipulation. From most machines it works fine but one customer causes this exception when the image code is hit. Why would different client machines cause problems running the same code with the same data? Im sure its a UFU but I don't have a clue

building mod_jk - exportable?

2003-11-26 Thread jon yeargers
Im wanting to integrate tomcat and Apache on a 'public' server. In the directions for building mod_jk it states that you need to modify the build.properties files to point to your apache and tomcat installations and the use 'ant' to build the code. For obvious reasons I don't have ant or any

errors from mod_jk2 / apache2

2003-12-11 Thread jon yeargers
After pounding my head on mod_jk2 for a few days I finally got the tomcat examples dir to appear.. woot!.. but my apache2 log is filling with errors v quickly. Can someone shed light on what configuration problems I have? Surely this isn't the normal output... [Thu Dec 11 13:51:18 2003]

Re: Image Viewing

2003-12-12 Thread Jon Yeargers
So your tag would be img src='servlet(params);' alt='something' ? If you do this do the images get cached by the browser? It sounds like what you're asking is: How can you allow users to view images via the app without allowing them to look at them directly with a browser? If that's what

Re: Image Viewing

2003-12-12 Thread Jon Yeargers
Errr.. right.. to a point - you can store something in the HttpSession that would indicate that a valid session was underway and to permit the tag to work. (per YS) In the end _it is_ still just a URL but there are 'other forces at work.' How does an image get displayed in a page? 1. The

Re: Image Viewing

2003-12-12 Thread Jon Yeargers
Another method Ive seen is to use an applet to display the images. One advantage to this is you can display any sort of graphic that you have the code to work with. You also get around the issue of having a displayed graphic end up in the cache for the user. Disadvantage.. well... its an applet..

using mod_rewrite with mod_jk2

2003-12-17 Thread jon yeargers
In what order do the various mod_* bits interact? Can I use mod_rewrite to setup the URL for passage to mod_jk2?

Foolish Java / Tomcat question

2004-06-15 Thread Jon Yeargers
asbestos underwear So I get the concept of the garbage collector.. at least in principal.. but what happens to all the memory that gets allocated for a tomcat session (by a single login) when that session closes or is timed out? is *everything* from that session decremented so it can be

communication issue between .jsp and servlet

2004-01-12 Thread jon yeargers
Im hoping to restrict access to a servlet object by setting a session attribute in the valid .jsp and looking for it in the called servlet. Unfortunately the object doesn't seem to be transferring properly. Are there issues with using: % HttpSession sessionObj = request.getSession();

RE: communication issue between .jsp and servlet

2004-01-12 Thread jon yeargers
ChemInformatics -Original Message- From: jon yeargers [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 12:57 PM To: [EMAIL PROTECTED] Subject: communication issue between .jsp and servlet Im hoping to restrict access to a servlet object by setting a session attribute

RE: communication issue between .jsp and servlet

2004-01-13 Thread jon yeargers
: Howdy, Are you sure it's the same session? (Check it's ID in the JSP and servlet). Yoav Shapira Millennium ChemInformatics -Original Message- From: jon yeargers [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 12:57 PM To: [EMAIL PROTECTED] Subject

RE: communication issue between .jsp and servlet

2004-01-14 Thread jon yeargers
enabled in your browser. On Monday 12 January 2004 01:00 pm, Shapira, Yoav wrote: Howdy, Are you sure it's the same session? (Check it's ID in the JSP and servlet). Yoav Shapira Millennium ChemInformatics -Original Message- From: jon yeargers [mailto:[EMAIL PROTECTED] Sent

Re: HOST - DNS setup

2004-01-30 Thread Jon Yeargers
Im doing something (vaguely)similar using Apache2, mod_jk and mod_rewrite. Im taking the 1st part of the address (http://1.2.3 - the '1') and using it to determine what db to access. mod_rewrite lets you get v detailed with parsing the incoming URL. Perhaps you could boil down your efforts into

RE: Image download?

2004-02-10 Thread jon yeargers
Can you be more specific as to whats (not) happening? Are you getting anything? How are you calling it? -Original Message- From: Josh G [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 3:59 PM To: [EMAIL PROTECTED] Subject: Image download? Hi, I have a servlet that's trying