Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Tom Oinn
The other way to do it would be to check the referer page, this seems to be quite a common trick and will confound most people trying to link directly to your images (which is what I imagine you're trying to prevent). There may be a more elegant way of doing it, but you could create a servlet

Re: Proper way to deal with serialization of session attribute withLogger attribute

2003-05-27 Thread Tom Oinn
Make the logger static? Effectively the same as you're creating it from the class name anyway, and avoids attempts to serialize it as it's not attached to an object of any kind. Tom Karr, David wrote: I'm using JDK 1.4.1, and Tomcat 4.1.24. I was seeing a strange situation where some

Re: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Tom Oinn
I find it unlikely that a path like that ever worked on any system. You're sending parameters to a server, so the code that needs to read the .war file is running remotely. There is no way that the remote server will understand your 'C:/path/.../foo.war', it simply doesn't exist there. You

Re: Servlet

2002-08-30 Thread Tom Oinn
Um, have you actually read the documentation? If you had then you would have seen references to WEB-INF directories, web.xml files and suchlike. I strongly suggest that you go read the docs that came with tomcat before asking questions to the list. Cheers, Tom Jaicey Ouseph wrote: I have

Re: NotSerializableException

2002-08-20 Thread Tom Oinn
Create a container object, which is serializable and put a member reference within it to your IMAPSession, marking this as transient. public class MyContainer implements Serializable { public transient IMAPSession mySession; } Tom Luminous Heart wrote: I only add the imap session to the

Re: Can two tomcats back each other up on one machine?

2002-07-25 Thread Tom Oinn
bits of kit so it's entirely likely you don't. Hope that's of some help, Tom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine

Re: Problem with doPost() method executed twice in parallel

2002-06-07 Thread Tom Oinn
, or that they are thread safe, as you have no control over when they are accessed. Exactly why you are getting two invocations of your doPost() call is unclear, it depends on what is trying to access it, but this kind of behavior is common and intentional. Hope that helps, Tom Oinn -- To unsubscribe, e-mail: mailto

Re: templating system?

2002-05-24 Thread Tom Oinn
Vincent Stoessel wrote: Hello All, I was wondering if there were any projects out there that provided any kind of database-html templating. I need the ability quickly create web pages that allow users to create/retrieve/update/delete rows from tables that I will be creating. I am

Re: I'm getting no responses to my requests for help on this list

2002-05-16 Thread Tom Oinn
Hi, We're going to need some details of your environment, os and suchlike. Do you have any other servers running on this machine? Tom Gary Frick wrote: Hi All, I've been working day and night trying to get Tomcat started and to get past the HTTP 500 error when trying to invoke the

Re: problem with mysql and tomcat

2002-04-23 Thread Tom Oinn
Amrinder Singh wrote: hi i've downloaded the mysql and loaded the driver(mm.nysql) driver for it.If i try to use it in a regular program without involving the server(tomcat3.2.1) it works fine . i can get the resultset etc which is fine. But when i created another applicatoin which

Re: image manipulating via servlets on tomcat4

2002-03-12 Thread Tom Oinn
yilmaz wrote: Hi everybody, I am using tomcat4 on win 2000. I have searched all the archives and almost all websites related with java, to no avail. My problem is manupulating images via servlets on Tomcat. In fact , there are tons of examples on the internet and on the archives

Re: How to use swing classes without X-server

2002-03-05 Thread Tom Oinn
Serge A. Redchuk wrote: Hello All ! I want to use some of Swing classes like import javax.swing.tree.TreeModel; import javax.swing.tree.TreePath; by tomcat in environment where no X-server running. snip Huh !! I do not need X-server !!! I just want to use a pair of Swing

Re: Why localhost:8080 NOT expanded to http://localhost:8080

2002-02-28 Thread Tom Oinn
Thomas Stiller wrote: After having started Tomcat 4.0.2 I entered the URL localhost:8080 into my browsers URL entryfield. Surprisingly it is not automatically expanded to http://localhost:8080 but gave an error (page not found) With other URLs in the outside internet world(when I am

Re: Tomcat in an academic development enviroment

2002-02-20 Thread Tom Oinn
Randy Layman wrote: -Original Message- From: Zoko, Anthony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 8:32 PM To: [EMAIL PROTECTED] Subject: Tomcat in an academic development enviroment 1) How do I isolate student applications into there own process

Re: bug?? linux7.1 tomcat4.0.1

2002-01-25 Thread Tom Oinn
Dean Hiller wrote: I have redhat linux 7.1 jdk1.3.1_02 tomcat 4.0.1 tomcat works, BUT all images come across corrupted on IE and netscape. Is there a bugfix/work around to fix this problem. I believe this is covered elsewhere on the list, recently, and has something to do with the

Re: GETTING STARTED WITH TOMCAT

2001-12-13 Thread Tom Oinn
[EMAIL PROTECTED] wrote: hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is

Re: Tomcat 3.3, server.xml and a lot of fun

2001-12-05 Thread Tom Oinn
java programmer wrote: snip webapps should never have made it into the spec. Name three well known web sites running in a mass virtual hosted environment and deployed as webapps with a web.xml file to boot ! Hell, name *any*. /snip Hi, We're the main european hub for bioinformatics

Re: New tomcat user questions

2001-11-19 Thread Tom Oinn
could set up a dummy context with access restricted to localhost that contains your configuration files. Hope this helps, Tom Oinn -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: log analyzer?

2001-11-12 Thread Tom Oinn
Y.H.Liu wrote: Hi friends, Is there any utility that can help to analyze the log file of Tomcat, such as webalizer for Apache? Thanks in advance. You could take a look at awstats, if you have tomcat-4 and set the log format to 'combined' then this works just fine out of the box,

Re: Is this the way to do it?

2001-09-17 Thread Tom Oinn
is not null and equal to true and Boolean.FALSE otherwise. The 'booleanValue' creates a primitive type from this. BTW - 'new Boolean(false)' is not all that good an idea, use 'Boolean.valueOf(false)' instead, as this avoids the overheads of object creation etc. Tom Oinn

Re: Destination Port for mod_jk

2001-09-14 Thread Tom Oinn
machines and it seems simple and secure enough. Tom Oinn --David Smith On Wednesday 12 September 2001 05:32 pm, you wrote: Hello, I'm setting a pair of machines, one of which is running tomcat, and the other of which is running apache. I am using ajp13 to connect the two machines, and am

Re: Announce: OurSQL, JSP interface for MySQL

2001-09-12 Thread Tom Oinn
Elm Gysel wrote: That page has 4 links of its own and 3 of them give you jsp errors. I'm not sure if I would join that project tho :) Greetings from Belgium! Elm - Original Message - From: Kaneda K [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12,