Re: Google Map of active users on this list

2005-11-04 Thread Ken Perl
When can I see this map in Google Maps web site? On 11/4/05, Claire McLister <[EMAIL PROTECTED]> wrote: > Hi, > > We've been working with Google Maps to see if we can automatically map > origins of emails to groups. > > As a trial, we've been mapping active emails to this group since Oct > 27th

Re: Is this good flow control?

2005-11-04 Thread B Wiley Snyder
Howdy, So are you basically implementing your own authentication system instead of using the one that comes with tomcat ? If your just starting out figure out how to use the one that comes with tomcat before you make your own. At 05:19 PM 11/4/2005, you wrote: Hi all, I thought that once

Re: Is this good flow control?

2005-11-04 Thread Giorgio Clavelli
Hi all, I thought that once an user is authenticated, using the session object at the head of each page, should be nearly a default way to ensure only allowed user can navigate the 'secured pages'. I'm relatively new to JSP/ Servlet programming, so more than an answer, I guess mine is a query too

Re: response.sendError

2005-11-04 Thread PHIL CAVAZOS
It turns out that I was issuing the sendError without immediately returning. After reading the documentation it states that no more output should be sent after calling this method. My code was continuing with output that was causing the ISE. Thanks for the response. >>> [EMAIL PROTECTED] 11/4/2

RE: Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Preston CRAWFORD
Actually, I looked at /var/log/messages (duh to me) and saw this... Nov 4 14:03:05 dhsdl270 su(pam_unix)[2565]: session opened for user tomcat by (uid=0) Nov 4 14:03:05 dhsdl270 tomcat5: Do you want to choose a different one? [n] I Googled this and found that that this is related to trying to s

Page cannot be displayed with ssl/https connectors and Tomcat 5.5.12

2005-11-04 Thread Jean-Pierre Pelletier
Hi, I upgraded from Tomcat 5.5.9 to Tomcat 5.5.12 and cannot get https connectors to work. Here is an extract from my server.xml It was working fine with Tomcat 5.5.9 I am using Windows XP with Service Pack 2. I tried it on both Internet Explorer 6 and Firefox. Thanks Jean-Pierre Pelletier e

Re: response.sendError

2005-11-04 Thread Mark Thomas
A guess without seeing the stack trace but I suspect that some of your response has been committed before you issue the redirect. This will cause an ISE to be thrown. See SRV.15.5 Mark PHIL CAVAZOS wrote: Anyone run across this before? I created a servlet which has JDBC calls in it. As part

RE: Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Richard Mixon
Preston, Assuming you are on some form of *nix and your script starts with something like ... #! /bin/sh ... you can probably put the following statement right after it ... set -o xtrace This will trace the script to standard output. But come to think of it, if this is at boot time it may no

Re: Is this good flow control?

2005-11-04 Thread Mark Thomas
Why not just specify the protected pages in your web.xml and let Tomcat do this for you? If that isn't flexible enough, I would do this as a servlet filter. Mark Dola Woolfe wrote: Hi, I'm adding a level of security to my web applicaiton. Certain pages are only available to certain users. So

Re: SSL cipher to use for HTTPS

2005-11-04 Thread Mark Thomas
As I recall, if the cipher suite isn't recognised, it doesn't get added so I am guessing that ciphers="bf-cbc" is not the name of a support cipher suite. They usually look something like SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA Mark Zoltán FARKAS wrote: Hi All, I've got an 5.0.28 Tomcat ins

Re: xmlValidation is Broken (and Undocumented) in TC 5.5.12

2005-11-04 Thread Mark Thomas
Bob Bronson wrote: Hi All, Just a word of warning...apparently the sloppy Tomcat programmers did not thoroughly test TC 5.5.12. Tomcat isn't perfect but it looks like the validation errors you are seeing are caused by a spec problem. See http://issues.apache.org/bugzilla/show_bug.cgi?id=311

Re: Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Preston CRAWFORD
One more question. Is there any way for you to log out an init script like this to see where it's getting hung up? As a java developer I'm wanting to Log4J this. :-) Preston - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Tomcat 5.0.28 hangs on boot

2005-11-04 Thread Preston CRAWFORD
I'm using the Daemon script located here... http://www.linuxjava.net/howto/webapp/#daemons http://www.linuxjava.net/howto/webapp/install_files/tomcatd This has worked very well so far, but during boot the tomcat script fails. It just hangs. I have no idea why. It starts fine by calling /etc/ini

response.sendError

2005-11-04 Thread PHIL CAVAZOS
Anyone run across this before? I created a servlet which has JDBC calls in it. As part of error catching, I have a response.sendError called if there is no data returned from a table call. I input to the sendError method the value of 700 (my custom error number) and a test message. I have a cus

Re: Can a "return" statement cause a problem?

2005-11-04 Thread Dola Woolfe
Sorry, forgot to paste. package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import html.*; public final class ErrorPage_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private

Re: Can a "return" statement cause a problem?

2005-11-04 Thread Dola Woolfe
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > It might be interesting to look at the class file > generated from your > JSP... many times things like this become fairly > obvious when you see the > code that is actually being executed. Here's the entire generated file and the troubling

Re: Can a "return" statement cause a problem?

2005-11-04 Thread Frank W. Zammetti
It might be interesting to look at the class file generated from your JSP... many times things like this become fairly obvious when you see the code that is actually being executed. Also, if your using a JSP 2.0 container, you may be interested in playing with tag files: http://today.java.net/pub

Re: Can a "return" statement cause a problem?

2005-11-04 Thread Dola Woolfe
--- Bob Bateman <[EMAIL PROTECTED]> wrote: > On Fri, 4 Nov 2005 11:14:19 -0800 (PST) > Dola Woolfe <[EMAIL PROTECTED]> wrote: > > Hi, > > > > In one of my JSP pages (ErrorPage.jsp) I have the > > following code. > > > > <% > > if (display-nothing-only-forward) { > > out.println(" 0 > > seco

Re: Can a "return" statement cause a problem?

2005-11-04 Thread Bob Bateman
On Fri, 4 Nov 2005 11:14:19 -0800 (PST) Dola Woolfe <[EMAIL PROTECTED]> wrote: Hi, In one of my JSP pages (ErrorPage.jsp) I have the following code. <% if (display-nothing-only-forward) { out.println(""); // return; } //Lot's more code %> It works, but prints out unnecessary html before it

Can a "return" statement cause a problem?

2005-11-04 Thread Dola Woolfe
Hi, In one of my JSP pages (ErrorPage.jsp) I have the following code. <% if (display-nothing-only-forward) { out.println(""); // return; } //Lot's more code %> It works, but prints out unnecessary html before it forwards. But if I uncomment "return" it stops working. I get HTTP 500 - Intern

Is this good flow control?

2005-11-04 Thread Dola Woolfe
Hi, I'm adding a level of security to my web applicaiton. Certain pages are only available to certain users. So the page first checks wither the user is authorized to view it. If yes, it displays the page. Otherwise it offers to login. I don't want to do this with a (short) "if" and a (long) "the

RE: Monitoring Tomcat with SNMP?

2005-11-04 Thread Dave Morrow
It is just the SNMP stuff I am initially after...but I cannot seem to get it to work, was hoping someone had some experience with it. Thanks for the advice though. David A. Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079

Re: Annoying JBuilder copying problem

2005-11-04 Thread Dola Woolfe
--- Mark Sutton <[EMAIL PROTECTED]> wrote: > I used JBuilder on a previous job and I seem to > recall that it had the > habit of trying to be clever and only copying over > classes that were > directly referenced by other classes. > Unfortunately, this didn't seem > to include stuff that was on

RE: Load class from different web app

2005-11-04 Thread Michael Forster
Well for the JNI it was necessary as it is like a dll in windows and cannot be loaded more than once - which Tomcat would try to do - 1 for each instance. Mike. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 04 November 2005 12:40 To: Tomcat Users List Subject: Re: Load

Re: Monitoring Tomcat with SNMP?

2005-11-04 Thread Peter Lin
that depends on what you want to monitor. if you just want low level JVM stuff, SNMP is probably sufficient, though I personally haven't tried. If you want to know the stats that Tomcat maintains in it's mbeans for the container, I don't think SNMP is going to give you those stats. just something

Re: Annoying JBuilder copying problem

2005-11-04 Thread Mark Sutton
I used JBuilder on a previous job and I seem to recall that it had the habit of trying to be clever and only copying over classes that were directly referenced by other classes. Unfortunately, this didn't seem to include stuff that was only referenced in JSP pages. Could this be causing the probl

RE: Monitoring Tomcat with SNMP?

2005-11-04 Thread Dave Morrow
I'd like to use SNMP which is referenced here http://java.sun.com/j2se/1.5.0/docs/guide/management/SNMP.html David A. Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 Fax: (519) 451-6615 < Poor planning on your part does not

Re: Annoying JBuilder copying problem

2005-11-04 Thread Rhino
I used JBuilder(6) on a project for a few months back in 2002. As I recall, they had a fairly active set of private newsgroups with some very helpful people on them. Maybe that would be a better place to ask your question? I'm not saying that the Tomcat mailing list is inappropriate, just that you

[OT ANN] Roomity v 1.5 w/ video, social networking and html editor + JDNC article

2005-11-04 Thread netsql
Roomity.com v 1.5 is a web 2.01/RiA poster child community webapp. This new version ads broadcast video, social networking such as favorite authors and html editor. It likely already has groups and content you are already using but aggregated and safer, including technology, Java, etc., but it o

Re: Annoying JBuilder copying problem

2005-11-04 Thread Seak, Teng-Fong
I'm not using JB. So what exactly is your problem? JB doesn't copy all files for you? Or you don't want JB to copy at all? Well, I mean, WEB-INF/classes is the correct place to put .class files, so I don't see any problem that JB copies them there. If you want to make sure all .clas

Annoying JBuilder copying problem

2005-11-04 Thread Dola Woolfe
Hi, Those (very few) of you who use JBuilder for Tomcat development know that JB insists on copying .class files into the WEB-INF/classes directory for you. Ordinarily, this is ok, but with the new version of JBuilder (2006), in one of the diectories it decides to copy 67 out of 78 files. 1. Has

Re: jboss/tomcat on linux: request times out for client over VPN

2005-11-04 Thread faria hassan
that is not the issue here. After further research, I have found that anything over 1k is timing out. I can go to other websites, download megs of data without problem. I also ran tcpdump on the server. I see that the vpn client is requesting over HTTP/1.0. According to release notes, Coyote is sup

Re: Google Map of active users on this list

2005-11-04 Thread Christoph Kutzinski
I would guess that I'm responsible for 2 entries in germany, because my works ISP is in Karlsruhe and my home ISP is in Hamburg :) Christoph Claire McLister wrote: Hi, We've been working with Google Maps to see if we can automatically map origins of emails to groups. As a trial, we've b

Problem when going to my "default" web site

2005-11-04 Thread David Thielen
Hi; I have IIS and Tomcat and except for this one problem, it is working fine. IIS has 18 websites that are all the same IP address and requests are routed to each based on the header. These all work fine, both htm and jsp. If the requesting header does not match any of those specified for

RE: Google Map of active users on this list

2005-11-04 Thread Januski, Ken
Yes it would be interesting to get some idea of how you did it. -Original Message- From: Luis Torres [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 10:29 AM To: Tomcat Users List Subject: Re: Google Map of active users on this list I'm the only one in Mexico?? Wow... guess tha

Welcome files in subdirectories

2005-11-04 Thread Peter Becker
[reposted since there was no answer yet] Hello all, I just started working on an existing webapp which runs under Tomcat 4.x. Being a 5.5 user myself I tried deploying the app on Tomcat 5.5.4, but the application fails to work properly -- all static content is missing. I tracked the problem

[OT] RE: Google Map of active users on this list

2005-11-04 Thread Peter Crowther
> From: Luis Torres [mailto:[EMAIL PROTECTED] > Very nice work. Any plans to release details on how you did > it? One could do something similar by: - Subscribe to the list. - Archive the messages in (say) mbox format. - Write yourself a little script that pulls out message headers, in partic

SSL cipher to use for HTTPS

2005-11-04 Thread Zoltán FARKAS
Hi All, I've got an 5.0.28 Tomcat installation functioning as a web serverver. I've commented out the SSL part to get HTTPS connections. Next step I've tried to set the used cipher to something else (by default 128 bit AES is used, I'd like to get something faster, bf-cbc). So I've added 'c

Re: Google Map of active users on this list

2005-11-04 Thread Luis Torres
I'm the only one in Mexico?? Wow... guess that means if the user base grows in my country then I'll get more job offers =) Very nice work. Any plans to release details on how you did it? I'd be really interested in doing something similar just for kicks. Regards, Luis Claire McLister wrot

RE: MHT file dosn't show correctly

2005-11-04 Thread Richard Mixon
Search the list. I believe there was a post about a similar mime problem yesterday. The mime settings where slightly different what you show in your post. HTH - Richard -Original Message- From: Yair Fine [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 5:53 AM To: Tomcat Users

Re: jboss/tomcat on linux: request times out for client over VPN

2005-11-04 Thread Steve Dodge
It depends on how your VPN is setup. I know my company starts throttling back my bandwidth when I try to transfer a file greater than 2 meg. The first 2 megs go through ok, but they tar-pit me after that so the remaining transfer can take forever. faria hassan wrote: Hi, I'm running jboss

Re: Google Map of active users on this list

2005-11-04 Thread Claire McLister
Thanks. Yes, at this point only country locations can be trusted. On Nov 4, 2005, at 4:43 AM, James Black wrote: I think the concept is interesting though, albeit not perfect. It would be difficult to know where people are unless the ISPs gave that information. But, as a proof-of-concept, es

Re: Google Map of active users on this list

2005-11-04 Thread Claire McLister
Right on. On Nov 4, 2005, at 2:33 AM, Peter Crowther wrote: It appears to be analysing the 'Received from' headers in the email and finding the one closest to the head of the message with a hostname that can be resolved to an IP, then using one of the IP range to location databases - not sure w

Re: Monitoring Tomcat with SNMP?

2005-11-04 Thread Peter Lin
tomcat has the status servlet, so you could use that to monitor tomcat. other than that, you'd probably have to write a servlet to return snmp results peter On 11/4/05, Dave Morrow <[EMAIL PROTECTED]> wrote: > > Does anyone out there have any experience with monitoring Tomcat using the > SNMP age

Monitoring Tomcat with SNMP?

2005-11-04 Thread Dave Morrow
Does anyone out there have any experience with monitoring Tomcat using the SNMP agent in JDK 1.5? I am looking to use an SNMP tool to gather statistics from the JVM. David A. Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 F

Re: MHT file dosn't show correctly

2005-11-04 Thread Yair Fine
Hi, Sorry for nagging, I just thought to mention: I use TC 5.0.27 Thanks, Yair Yair Fine <[EMAIL PROTECTED]> wrote: Hi, I have am .MHT file on my web application. It is a web-archive page. If i open it through the file system ( double click) , an internet explorer is opened and the page is see

Re: Google Map of active users on this list

2005-11-04 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think the concept is interesting though, albeit not perfect. It would be difficult to know where people are unless the ISPs gave that information. But, as a proof-of-concept, esp using google maps, I think it is a great idea. - -- "Love is mutual s

Re: Load class from different web app

2005-11-04 Thread Tim Funk
Placing classes jdk/jre/lib/ext puts them into the system classloader. This opens a whole class of class not found errors and errors related to tomcat not reloading classes. (As well as memory leaks due to Classloaders not being freed) -Tim Michael Forster wrote: That is not strictly true,

Re: Unix socket communications on Tomcat 5.5

2005-11-04 Thread Pau Garcia i Quiles
Quoting Nikola Milutinovic <[EMAIL PROTECTED]>: Talking about JNI, Unix and Java, what about this? http://freshmeat.net/projects/nl.hen.ictjavapackage/ It may be useful. It has versions for Linux and Solaris and I do know the author would be pleased to provide the source code. Oliver Hookins

RE: Load class from different web app

2005-11-04 Thread Michael Forster
That is not strictly true, We had an application at work that used JNI and was part of a Database access library as well as accessing things like the Machines Hostmac address. We could not run it from the Tomcat area and had to put it into a jar file and put the jar file into the JVM jdk/jre/lib/e

Re: Load class from different web app

2005-11-04 Thread Tim Funk
You are violating the servlet spec. Do not pass go, do not collect $200. Classes for a webapp need to be in WEB-INF/classes and WEB-INF/lib. Tomcat does allow for webapps to share classes via the $CATALINA_HOME/shared and $CATALINA_HOME/common directories but you'll need to see the classloader

Re: Unix socket communications on Tomcat 5.5

2005-11-04 Thread Nikola Milutinovic
Oliver Hookins wrote: I've been trying to find some decent documentation on setting up Tomcat to communicate with mod_jk2 and Apache over unix sockets. So far what I've found suggests I only need to alter jk2.properties with details of the socket, and workers2.properties with the same details.

Re: Google Map of active users on this list

2005-11-04 Thread Mike Fowler
Oops, I'm not in Fremont, California I'm in Cwmbran, South Wales!!! Mike Fowler Registered Linux user: 379787 "I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it" -PULP 'Glory Days' --

Re: How to use -security when running as a service under Windows.

2005-11-04 Thread Bruno Georges
FYI Hp and Dell support a full stack Linux/JBoss at a very competitive price, with support. This in my view is another alternative. Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 |-+---> | | Andoni | |

RE: Google Map of active users on this list

2005-11-04 Thread MW Janssen
the same for me...i am not living in nijmegen...my isp is...:) -Oorspronkelijk bericht- Van: Peter Crowther [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 4 november 2005 11:33 Aan: Tomcat Users List Onderwerp: RE: Google Map of active users on this list > From: Allistair Crossley [mailto

RE: Google Map of active users on this list

2005-11-04 Thread Peter Crowther
> From: Allistair Crossley [mailto:[EMAIL PROTECTED] > yes this is very very cool. i'm in london though - on the map > i'm in cambridge .. i think are corporate ISP is there though ;) It appears to be analysing the 'Received from' headers in the email and finding the one closest to the head of t

Re: Apache filters?

2005-11-04 Thread ALEX HYDE
Hi Bruno, I think that is the sort of thing I need. That sounds pretty much equivelent to the Tomcat Filter. Credentials will be stored on a database so fairly easy to hook into. I'm not sure what you mean by security boundary but each request for a resource under the remit of Apache will be indi

RE: Google Map of active users on this list

2005-11-04 Thread Allistair Crossley
yes this is very very cool. i'm in london though - on the map i'm in cambridge .. i think are corporate ISP is there though ;) > -Original Message- > From: ALEX HYDE [mailto:[EMAIL PROTECTED] > Sent: 04 November 2005 10:20 > To: Tomcat Users List > Subject: Re: Google Map of active users

Re: Google Map of active users on this list

2005-11-04 Thread ALEX HYDE
Very nice. Africa's a bit under-represented. --- Claire McLister <[EMAIL PROTECTED]> wrote: > Hi, > > We've been working with Google Maps to see if we > can automatically map > origins of emails to groups. > > As a trial, we've been mapping active emails to > this group since Oct > 27th

Re: How to use -security when running as a service under Windows.

2005-11-04 Thread Andoni
Thanks a million for that. It sound like exactly what I need. I also found this website which gives a way of registering the Tomcat service. I added the switches to it and that seems to work also, though it is aimed at Tomcat 4 users and yours seems to be particularly for Tomcat 5 users? The we

Re: How to use -security when running as a service under Windows.

2005-11-04 Thread Andoni
From: Caldarale, Charles R Subject: RE: How to use -security when running as a service under Windows. > From: Andoni [mailto:[EMAIL PROTECTED] > Subject: Re: How to use -security when running as a service > under Windows. > > Ok, as I said to my boss: > 2. OpenVMS is still stuck on Tomcat 4.1 Not