Re: Images and STRUTS

2002-04-03 Thread Micael Padraig Og mac Grene
THNX Craig At 10:12 AM 4/3/02 -0800, you wrote: >On Tue, 2 Apr 2002, Micael Padraig Og mac Grene wrote: > > > Date: Tue, 02 Apr 2002 22:29:28 -0800 > > From: Micael Padraig Og mac Grene <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PRO

Re: NIGHTMARE

2002-04-08 Thread Micael Padraig Og mac Grene
Good move! If you find Tomcat hard, you need to stick to PHP. At 01:22 PM 4/8/02 +, you wrote: >Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days >trying to make it work without success. > >Endless configuration files, paths, etc. making this a impossible software >t

Re: NIGHTMARE

2002-04-08 Thread Micael Padraig Og mac Grene
I agree that the documentation on virtual hosts is too abstract, unless you want to really learn what you are doing, rather than merely how to do it. An example of different sample server.xml configurations would be advised. At 04:56 PM 4/8/02 +0200, you wrote: >On 08/04/2002 at 11:48 Martin M

What does IMHO mean?

2002-04-14 Thread Micael Padraig Og mac Grene
What does IMHO mean? -- To unsubscribe: For additional commands: Troubles with the list:

A Mature Response -- Good Show Matt Gregory

2002-04-15 Thread Micael Padraig Og mac Grene
Thanks. At 08:29 AM 4/15/02 -0400, you wrote: >RTFM "Read the Fine Manual" according to Zope, but many others like to >substitute fine with some other metaphore. >LOL "Laugh out loud" >ROFL "Rolling on floor laughing" >ROFLMAO "Rolling on floor laughing my arse off" >WTF "What the fsck" Use your

Re: Anybody know of JSP training classes where they use Tomcat?

2002-04-20 Thread Micael Padraig Og mac Grene
I think that if you need jsp pages training, you would not want to do it with Tomcat, as that would probably be too advanced for a beginner??? At 11:49 AM 4/19/02 -0600, you wrote: >I know Batky-Howell does great classes, and they use almost exclusively >Apache products. (Including Tomcat) >www

VIRUS from htillit@amurititania.mr -- W32Klez.gen@mm

2002-04-23 Thread Micael Padraig Og mac Grene
Watch for a virus. The Subject line says "ACCESS KEY". -- To unsubscribe: For additional commands: Troubles with the list:

Re: Out Of Memory Error

2002-05-12 Thread Micael Padraig Og mac Grene
Look at your options under the java command. At 05:54 AM 5/13/02 +0100, you wrote: >Hi All, >I am generating a report using servlets which has >7 records. While processing it gives an >OutOfMemory Error. Can any one tell me how and where >to add memory? My RAM is 512MB > > >URGENT!!! > >Thank

Re: Out Of Memory Error

2002-05-12 Thread Micael Padraig Og mac Grene
Try java on the command line with nothing else, and it will give you the information. Also, you can go to a bookstore and read Chapter 8 in Java in a Nutshell on java. Micael At 05:54 AM 5/13/02 +0100, you wrote: >Hi All, >I am generating a report using servlets which has >7 records. Whil

Re: Out Of Memory Error

2002-05-12 Thread Micael Padraig Og mac Grene
My guess, though, is that you are trying to do a database job with objects. Don't know what database you are using, but whichever one it is, it usually has some ways to do it better than you can using objects to order the data. I learned that the hard way. Micael At 05:54 AM 5/13/02 +0100, y

RE: PLZ HELP Administration TC 4.0.3

2002-05-19 Thread Micael Padraig Og mac Grene
Some people forget what they did not know at one point. Please forgive them. You may not realize that CATALINA_HOME, etc. are variables covering certain urls. I remember when I did not as well. On the context stuff, the only real way to understand this, because no one will really tell you o

RE: just one edit.

2002-05-20 Thread Micael Padraig Og mac Grene
You might want to check the work of Doug Lee on locks. Great existing functionality, which I understand is being groomed for a later SDK. At 02:38 PM 5/20/02 -0500, you wrote: >Hi, really apreciate your help. but What I mean is a case in web. >It is: > >administrator A login to a site and modif

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Micael Padraig Og mac Grene
What if it is not a servlet/jsp that is looking for the properties file, but, rather a garden variety file? -Original Message- From: Jan Labanowski <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Cc: Jan Labanowski <[EMAIL PROTECTED]> Date: Friday, August 17, 2001 7:16 PM Sub

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Micael Padraig Og mac Grene
Sorry, I did not mean "file" but, rather, "class". -Original Message- From: Jan Labanowski <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Cc: Jan Labanowski <[EMAIL PROTECTED]> Date: Friday, August 17, 2001 7:16 PM Subject: RE: Why and How Tomcat before Apache? > > >On Fri

Re: how to make a servlet as the home page

2001-08-26 Thread Micael Padraig Og mac Grene
Why don't you just have the welcome page in the web.xml contain: and have "/map*" mapped in web.xml to a servlet? I don't understand why you think going to a servlet in a problem? -Original Message- From: Aravind Naidu <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>

Re: can't access PostgreSQL from Servlet

2001-12-27 Thread Micael Padraig Og mac Grene
At 09:55 PM 12/27/01 -0800, you wrote: > When servlet is executed ResultSet >returns null when it shoud return result of SQL query. > > >I don't know where the problem could be but it seems >that Java code or some type of permission is >incorrect. Here is my Servlet code that compiles but >gives

Re: cloning an Enumeration - how?

2001-12-30 Thread Micael Padraig Og mac Grene
At 03:41 PM 12/30/01 +0200, you wrote: >Hi all, > >Forgive what may be a stupid question: > >I am trying to retrieve all the locales from the Accept-Language header >in a request. To do this I use the following call: > >Enumeration locales = pageContext.getRequest().getLocales(); > >My problem is

Re: cloning an Enumeration - how?

2001-12-30 Thread Micael Padraig Og mac Grene
At 03:41 PM 12/30/01 +0200, you wrote: >Hi all, > >Forgive what may be a stupid question: > >I am trying to retrieve all the locales from the Accept-Language header >in a request. To do this I use the following call: > >Enumeration locales = pageContext.getRequest().getLocales(); > >My problem is

Re: tomcat servlet output

2002-01-01 Thread Micael Padraig Og mac Grene
At 10:59 AM 1/1/02 -0500, you wrote: >At 05:13 PM 12/31/2001 -0800, you wrote: > > > >My servlets in Tomcat works just fine, but I was wondering where does the >'System.out.println("bla bla...")' goes when the servelet is executed. I >would like to use this to debug my servlet. > > > >thanks, > >

A Present for Sanjeev

2002-01-01 Thread Micael Padraig Og mac Grene
whatever length of values may occur, * unlike with a DOS window: the application * overloads add([Whatever]) methods for all data * types. * @authorMicael Padraig Og mac Grene * @version 1.2: 21 April 2001 * @since Version 1.2 */ public class Debugger { private FileWr

Re:Batteries for A Present for Sanjeev

2002-01-01 Thread Micael Padraig Og mac Grene
At 09:04 AM 1/1/02 -0800, you wrote: >At 07:52 AM 1/1/02 -0800, you wrote: >>At 10:59 AM 1/1/02 -0500, you wrote: >>>At 05:13 PM 12/31/2001 -0800, you wrote: >>> > >>> >My servlets in Tomcat works just fine, but I was wondering where does the >>>'System.out.println("bla bla...")' goes when the ser

Re: Ribbons on A Present for Sanjeev

2002-01-01 Thread Micael Padraig Og mac Grene
At 09:04 AM 1/1/02 -0800, you wrote: >At 07:52 AM 1/1/02 -0800, you wrote: >>At 10:59 AM 1/1/02 -0500, you wrote: >>>At 05:13 PM 12/31/2001 -0800, you wrote: >>> > >>> >My servlets in Tomcat works just fine, but I was wondering where does the >>>'System.out.println("bla bla...")' goes when the ser

RE: JDBC for mySQL

2002-01-01 Thread Micael Padraig Og mac Grene
At 01:05 PM 1/1/02 -0600, you wrote: >yep! >http://jdbc.postgresql.org/ > >http://sourceforge.net/project/showfiles.php?group_id=15923 > >both work with tomcat! >have fun. >B > >-Original Message- >From: Simon [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 01, 2002 12:44 PM >To: Tomcat

RE: SSL

2002-01-02 Thread Micael Padraig Og mac Grene
At 05:14 PM 1/2/02 +0800, you wrote: >There are many users in the list keep bombarding the mailing list w/o >properly doing homework first >please do RTFM first ! Ease up for god's sake. We have anthropologists in here. ;=) -- To unsubscribe: For additional comma

Re: Servlet running twice at the same moment.

2002-01-02 Thread Micael Padraig Og mac Grene
At 12:00 PM 1/2/02 -0700, you wrote: >Hello, > >I don't know why this is happening, but... It seems like whenever I run a >single servlet, there are times it will run twice. As in, this... >...Robin Robin, there is no way to have any clue why this is happening without seeing the code. Micael

RE: Extending Standard Context

2002-01-03 Thread Micael Padraig Og mac Grene
At 04:41 PM 1/3/02 -0400, you wrote: >I can suggest something for the second question: > >1) Define a java bean (a class) that implements runnable inside >WEB-INF\classes >2) Add this bean to every JSP & Servlet that you want it to include so, the >first will start() the process and also put the s

Re: JSP Escape character problem - PLEASE HELP

2002-01-10 Thread Micael Padraig Og mac Grene
At 05:27 PM 1/10/02 +0100, you wrote: >Hi, > >Exactly this code works perfectly fine in JRun! It seems like the parser >could not handle the escaped quotation mark in the document.write() >method. Could anybody help? I am currently working with Tomcat 4.0.1. I >have downloaded the binaries only

Re: Vectors? Why does this not work?

2002-01-10 Thread Micael Padraig Og mac Grene
At 03:49 PM 1/10/02 -0500, you wrote: >Why does this simple example not work? >I am using Tomcat 3.3 and JDK 1.3.1_01 and Redhat Linux 7.2 > >Thanks, > >== > >// SimpleClass.java >// A Simple Class >public class SimpleClass extends Object{ >private static String last_name; >pri

j2se 1.4.0-beta3 and Tomcat 4.0

2002-01-20 Thread Micael Padraig Og mac Grene
Is there any problem using the beta jdk with Tomcat 4.0? -- To unsubscribe: For additional commands: Troubles with the list:

startup and core dump

2002-01-20 Thread Micael Padraig Og mac Grene
I am getting a core dump when trying to startup Tomcat 4.0 on Linux. Any experiences with that? -- To unsubscribe: For additional commands: Troubles with the list:

Struts + Tomcat 4.0 + Red Hat 7.2 + JDK 1.4 + Apache

2002-01-20 Thread Micael Padraig Og mac Grene
Will this combination work? Any ideas? I am thinking of using this to build cool websites for regular folks. A volksite. Any comments, assistance with standard deployment options, whatever, will be greatly appreciated. I intend to document whatever I do and make it available for one and a

j2ee and Tomcat 4.0

2002-01-20 Thread Micael Padraig Og mac Grene
Do we add the javax/servlets to j2se or do we use j2se in conjunction with j2ee with Catalina (Tomcat 4.0)? -- To unsubscribe: For additional commands: Troubles with the list:

Re: j2ee and Tomcat 4.0

2002-01-21 Thread Micael Padraig Og mac Grene
At 12:54 AM 1/21/02 -0800, you wrote: >I am not certain if I am understaind you correctly. But you seemed >trying to understand the relationship between J2SE and J2EE. > >The J2SE is kinda JDK and the J2EE is a set of extensions for the >server side applications, so called "Enterprise Edition(EE).

Re: Problem starting Tomcat 4.01 on RedHat 7.1

2002-01-21 Thread Micael Padraig Og mac Grene
I had the same problem with RH 7.2 At 01:41 PM 1/21/31 +, you wrote: >Hi, > >This happened to me also. From what I can gather the tarball is corrupt, >I tried making a patched version between the windoze one and what >I got from the unix one, but java kept core dumping on me due to the fact >t

Re: canno startup Tomat 4.0.1

2002-01-21 Thread Micael Padraig Og mac Grene
Please keep me in this loop as well. At 07:07 AM 1/21/02 -0800, you wrote: >Hi David, > >I posted a similar problem today with RedHat 7.1 (see >problems starting tomcat4.01 on RedHat 7.1). Also see >the response that I got. I'll keep you updated as to >what I find. Please do the same with me. I'm

Re: startup and core dump

2002-01-21 Thread Micael Padraig Og mac Grene
At 10:27 AM 1/21/02 -0500, you wrote: >I believe this one is well documented, but there is an issue with JDK 1.3.x >and Linux where a stack set to unlimited will cause a seg fault. To fix, use >'ulimit -s 2048' in either startup.sh or catalina.sh. > >If this doesn't fix it, please post more info

Re: segmentation violations

2002-01-21 Thread Micael Padraig Og mac Grene
Not infrequenlty this is caused by a null pointer exception. At 05:23 PM 1/21/02 +, you wrote: >Hi, > >I am getting a 'SIGSEGV 11* segmentation violation' error within one of my >webapps. The app functions perfectly, until a call to a proprietary JAR >which has an associated '.so' file. The

Christopher St. John the Man!

2002-01-21 Thread Micael Padraig Og mac Grene
Thanks, Christopher, you the man! At 12:34 PM 1/21/02 -0600, you wrote: >Micael Padraig Og mac Grene wrote: > > > > I want to know essentially how Tomcat gets the servlet > > and jsp classes > > > > Everything you need to run servlets and jsp's is >provi

Re: startup and core dump

2002-01-21 Thread Micael Padraig Og mac Grene
Thanks, David, Could I ask you to send me the script you use in startup.sh? That would be super. I am quite adept at Java and C++ but have limited scripting abilities. -- micael At 01:40 PM 1/21/02 -0500, you wrote: >JDK 1.4? I haven't worked with that yet since last I checked it was still

Re: startup and core dump

2002-01-21 Thread Micael Padraig Og mac Grene
David, I am going to go back to jdk 1.3.1 I guess. No sense compounding my problems right now. Micael At 01:40 PM 1/21/02 -0500, you wrote: >JDK 1.4? I haven't worked with that yet since last I checked it was still a >beta release. As far as the ulimit... line goes, I was being literal >(e

Re: problem compiling a servlet

2002-01-24 Thread Micael Padraig Og mac Grene
I put in catalina_home/common/lib/servlet.jar and it works fine. At 02:04 PM 1/24/02 -0500, you wrote: >i have problem compiling a servlet; pls help out. >i have j2sdk1.3.1 in my 'path' and is installed alright. >i have tomcat 4.0.1 installed alright and many of the tests with the >'examples' see

Re: problem compiling a servlet

2002-01-24 Thread Micael Padraig Og mac Grene
Try catalina_home/common/lib/servlet.jar At 02:12 PM 1/24/02 -0500, you wrote: >- Original Message - >From: "graghavan" <[EMAIL PROTECTED]> >To: "'Tomcat Users List'" <[EMAIL PROTECTED]> >Sent: Thursday, January 24, 2002 2:04 PM >Subject: problem compiling a servlet > > > > i have proble

Re: AW: startup and core dump

2002-01-24 Thread Micael Padraig Og mac Grene
ent must be set in the script before >tomcat is started. > > > -Ursprüngliche Nachricht----- > > Von: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] > > Gesendet: Montag, 21. Januar 2002 18:41 > > An: Tomcat Users List > > Betreff: Re: startup and c

re: canno startup Tomcat 4.0.1

2002-01-24 Thread Micael Padraig Og mac Grene
I downloaded a new copy of Tomcat and the problems disappeared. At 11:40 AM 1/22/02 +, you wrote: >Despite the good advice to carefully go through the documentation again the >'problem' still persists : It appears neither to start nor to fail? >glibc version is 2.2.4-21 >jdk is 1.3.1 > >i

Re: Tomcat 4.0 JDK1.4 Up then DOWN

2002-01-25 Thread Micael Padraig Og mac Grene
At 08:33 AM 1/23/02 -0500, you wrote: >Is there no info in either the catalina_log or the application's log >(assuming you have logging turned on in server.xml for the app) that shows >what might be going on? I had something similar happen recently with JDK >1.3 where the main catalina window wou

Development URLs

2002-01-25 Thread Micael Padraig Og mac Grene
FIRST If I want several development urls, e.g. app1.mycompany.com app2.mycompany.com app3.mycompany.com to be accessed through one registered url, e.g. www.mycompany.com can I do this with server.xml alone or do I have to also configrue the dns server to coope

Re: Problem with JDBC-Connection to DB2 from Tomcat4.0.1

2002-01-25 Thread Micael Padraig Og mac Grene
The answer to this is always the same, the class is not where your application is looking. So, that is the correct answer. Without knowing more about your situation, it is hard to tell what that means. Find out where the application is looking for the driver. The driver is not there. Put

Re: Starting/stopping tomcat 4.0

2002-01-25 Thread Micael Padraig Og mac Grene
You need to download another copy. You copy is corrupted for some reason. At 03:40 PM 1/25/02 -0600, you wrote: >I just installed Tomcat 4.0. > >In the doc it says to start tomcat, go to <$CATALINA_HOME>/bin/startup.sh > >but there is no startup.sh there -- > >/var/tomcat4/bin only contains boot

Re: More novice questions

2002-01-25 Thread Micael Padraig Og mac Grene
Try the tutorials at www.java.sun.com. They are excellent, and have a search feature. At 02:41 PM 1/25/02 -0800, you wrote: >Does anybody know of another list which would be more suited for posting >novice questions like the following: > >What's the difference between a servlet, a javabean and

Is this a stupid question or something? Why no nibbles?

2002-01-26 Thread Micael Padraig Og mac Grene
At 01:08 AM 1/25/02 -0800, you wrote: >FIRST > >If I want several development urls, e.g. > > app1.mycompany.com > app2.mycompany.com > app3.mycompany.com > >to be accessed through one registered url, e.g. > > www.mycompany.com > >can I do this with server.xml alone

server.xml and Catalina

2002-01-26 Thread Micael Padraig Og mac Grene
I sure am having trouble getting an example of server.xml. I bathed! Is the 4.0 server.xml structured about like the 3.2 was? I have looked at the documentation, but I am practically oriented. If someone would show me one copy of a working server.xml with virtual hosting, I would be off and

Re: Is this a stupid question or something? Why no nibbles?

2002-01-26 Thread Micael Padraig Og mac Grene
At 04:16 AM 1/26/02 -0800, you wrote: >--- Micael Padraig Og mac Grene ><[EMAIL PROTECTED]> wrote: > > At 01:08 AM 1/25/02 -0800, you wrote: > > >FIRST > > > > > >If I want several development urls, e.g. > > > > > > app1.my

Re: canno startup Tomcat 4.0.1 - how to nobble JSP?

2002-01-27 Thread Micael Padraig Og mac Grene
Hi, David, I don't know why you hate jsp, and respect your decision. But, I find jsp is the cat's meow for me. I employ the taglibs extensively and love the results. Prior to developing my taglibs, I used a home made post controller filter interface Page which was just String [] processRe

Re: Is this a stupid question or something? Why no nibbles?

2002-01-27 Thread Micael Padraig Og mac Grene
" prefix="codemagi_com_access_log." >suffix=".txt" > pattern="common"/> > > > directory="logs" prefix="dev1_log." suffix=".txt" > timestam

Re: problem with shutting down

2002-01-27 Thread Micael Padraig Og mac Grene
What are the exceptions, what is the setup, etc.? At 05:30 PM 1/27/02 -0800, you wrote: >I am a new user of tomcat4.0. I shut down tomcat by running shutdown.bat >in the bin folder. But when I want to srart it again, it does not work. It >gives me some connection exceptions. Any idea? > >thank

Re: problem with shutting down

2002-01-27 Thread Micael Padraig Og mac Grene
to solve this? > >thanks, >LK > >- Original Message - >From: Lakshmi <[EMAIL PROTECTED]> >To: Tomcat Users List <[EMAIL PROTECTED]> >Sent: Sunday, January 27, 2002 11:42 PM >Subject: Re: problem with shutting down > > > > > > - Orig

Re: Solution to sun/tools/javac/Main - Problem and some Critique about classpath

2002-01-27 Thread Micael Padraig Og mac Grene
I just have the default jdk 1.4 and the following autoexec.bat on my laptop, and everything works great. Micael SET home = c:\ SET PATH=%PATH%;%JAVAHOME%\BIN SET JAVA_HOME=C:\j2sdk1.4.0-beta3 SET CATALINA_HOME=C:\tomcat SET ANT_HOME=C:\ant PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\j2sdk1.4.0-beta3\B

Re: Binary Dist. tomcat 4.01 Win32 can't find jdk on installation

2002-01-28 Thread Micael Padraig Og mac Grene
Michael From your other posts, it sounds as if you have an error in your JAVA_HOME classpath? Micael At 06:46 PM 1/28/02 +0100, you wrote: >Why would this happen? > >When I try to install jakarta-tomcat-4_0_1.exe on my server I receive this >error message: > >"Couldn't find a Java Development

Re: AW: Job situation in the US

2002-01-31 Thread Micael Padraig Og mac Grene
This reference seems to be to the UK rather than to Germany. Do you have any German references? Thanks. At 04:00 PM 1/29/02 +0100, you wrote: >Hi Lars, > >try http://www.jobserve.com . I believe in Frankfurt/Munich/Germany (that's >where all the banking and telco business is) is still a demand

Re: AW: AW: Job situation in the US

2002-02-01 Thread Micael Padraig Og mac Grene
Thanks for responding. I get nothing with those search parameters. At 09:59 AM 2/1/02 +0100, you wrote: >Jobserve also includes a lot of german jobs because of German recruitment is >done from within the UK. >You also have the advantage to being able to talk English with those guys. >Just sarch

What's wrong with my server.xml?

2002-02-01 Thread Micael Padraig Og mac Grene
I am using the following server.xml but cannot get to my sites. Anyone have an idea what I am doing wrong? I have set off my changes to server.xml with a number of markers. Thanks for any help.

HELP on server.xml PLEASE

2002-02-01 Thread Micael Padraig Og mac Grene
My forte is Java and at the XML configuration of Tomcat I suck. Could someone please help me with this? It would be greatly appreciated. If I add the following to servlet.xml, then I get the startup.sh to create the proper directories under TOMCAT_HOME/work/. But, then I cannot reach my sit

What is wrong with this server.xml?

2002-02-01 Thread Micael Padraig Og mac Grene
When I use the following server.xml, I get "Page cannot be displayed." But if I take out the context information in it works but only goes to the default ROOT. How come? Thanks.

Re: HELP on server.xml PLEASE

2002-02-01 Thread Micael Padraig Og mac Grene
der >the "WEB-INF\classes" directory and your custom JAR files under the >"WEB-INF\lib" directory. > >Now to access your files go to: http://:/home/something.jsp or >html. > >Hope this helps! >- Original Message - >From: "Micael Padraig Og mac

Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0?

2002-02-02 Thread Micael Padraig Og mac Grene
Clear question: No answers The subject, supra, asks the question. If you have a number of URLs pointed to a single IP address, can you map the URLs somehow to discrete web applications in Tomcat 4.0? I have read everything I know to read and cannot get the answer to this. I know I could

Not Virual Hosts: Re: Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0?

2002-02-03 Thread Micael Padraig Og mac Grene
Hi, Jochen, thanks for the help. But, I think, unless I misunderstand, that virtual hosts are not the solution. Virtual hosts are defined by the Host element in server.xml. Hosts are parents to one or more web applications, each represented by a Context component. I can see nothing in a vi

Re: Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0?

2002-02-03 Thread Micael Padraig Og mac Grene
by cron that parses the SQUID >access log and bans IPs with IPTables that match abuse patterns takes care >of that pretty quickly. > >Hope that helps > >-Pete > >Micael Padraig Og mac Grene wrote: > >>Clear question: No answers >>The subject, supra, as

Re: safety deploy in tomcat in a shared enviroment

2002-02-03 Thread Micael Padraig Og mac Grene
Not sure of what sort of security you are trying to develop, Eli. Be more specific. There are lots of available solutions for lots of differing objectives. For example, do you just want to avoid hackers, people jumping into the middle of your site, returns to sensitive pages, etc.? Micael

Re: Yes - Janet B

2002-02-03 Thread Micael Padraig Og mac Grene
/02 +, you wrote: > --- Micael Padraig Og mac Grene ><[EMAIL PROTECTED]> wrote: > Clear question: No >answers > > > > The subject, supra, asks the question. If you have > > a number of URLs > > pointed to a single IP address, can you map the URLs &g

Re: How to force Tomcat to compile?

2002-02-05 Thread Micael Padraig Og mac Grene
Anja. Your compilation cannot be the problem, Anja. I use only self-compiled classes. I don't even put my source code into Tomcat. Use the manager app to stop and restart your web application, is my suggestion, after you compile. Or, you can stop and start Tomcat. Micael At 07:49 PM 2/5/

Re: apache or tomcat

2002-02-05 Thread Micael Padraig Og mac Grene
Do you have some measurements on this, Chen? At 10:56 AM 2/5/02 -0800, you wrote: >I am using tomcat under IIS. IIS takes care of all the >static html and tomcat is only a servlet container. It >runs good. > >I think tomcat is not good for web server because of >performance. Apache with SSL is mu

Re: web hosting

2002-02-06 Thread Micael Padraig Og mac Grene
Why does the use of Apache preclude installing and so on web apps? At 12:54 PM 2/6/02 -0700, you wrote: >I have a friend that is hosting a apache/tomcat machine for a couple of >people. > >We are running apache and tomcat 4.0.1 > >Does anyone know a resource for information on how to set this e

Re: Empty documentations after installation

2002-02-10 Thread Micael Padraig Og mac Grene
That is not unusual, unfortunately, just keep trying. Took me about five downloads to get all of the src code the other day. At 04:10 PM 2/10/02 -0800, you wrote: >Hi, > >I downloaded and installed following rpms on a RedHat 6.2 box in the order >they appear, > >tomacat4-4.0.1-1.noarch.rpm >to

Re: Finding the content type from within a JSP

2002-02-11 Thread Micael Padraig Og mac Grene
How can your tags not know that type they are generating? I don't understand that. At 06:04 AM 2/12/02 +, you wrote: >I have an interesting question. I can see that there is a >ServletRequest.setContentType(String) method which would let me set >the content type, but from what I can tell,

Re: Finding the content type from within a JSP

2002-02-12 Thread Micael Padraig Og mac Grene
I can tell you that it is on a jsp page. What else would it be on? Maybe you are thinking about a response object, which has setContentType?? Your question probably makes sense but I cannot see what the sense is. At 06:57 AM 2/12/02 +, you wrote: > > How can your tags not know that

Re: JAXP

2002-02-13 Thread Micael Padraig Og mac Grene
Where did you find jaxp.jar, if you did? I have been looking everywhere for that damned thing. I have assumed it is out of circulation? At 08:13 PM 2/13/02 -0600, you wrote: > Hi all, > > I am using jaxp and this is the error I get when I try to >instantiate m

Re: JAXP

2002-02-14 Thread Micael Padraig Og mac Grene
I got the pack, and it was not in there. I will try again. Fourth time. At 09:52 AM 2/14/02 -0500, you wrote: >Hi, >It's in the Sun XML pack (among other places), at >http://java.sun.com/xml/downloads/javaxmlpack.html > >Yoav Shapira > > >[EMAIL PROTECTED] wrote: > > > > I got i

NO jaxp.jar --- WHY NOT?? Any smarty pants out there?

2002-02-14 Thread Micael Padraig Og mac Grene
The Sun XML pack includes jaxp-1.2-ea-1 but that only includes xerces.jar and xalan.jar and docs. What do we do with applications that have instructions calling for jaxp.jar?? Eh? I am not Canadian, but am on the Eh Team. ;-) At 09:52 AM 2/14/02 -0500, you wrote: >Hi, >It's in the Sun XML p

Re: JAXP

2002-02-15 Thread Micael Padraig Og mac Grene
Not in there. Probably deprecated forever. At 09:52 AM 2/14/02 -0500, you wrote: >Hi, >It's in the Sun XML pack (among other places), at >http://java.sun.com/xml/downloads/javaxmlpack.html > >Yoav Shapira > > >[EMAIL PROTECTED] wrote: > > > > I got it about 6 months ago and you'r

Re: Another Question About Tomcat Auth

2002-02-15 Thread Micael Padraig Og mac Grene
When I put jar files in $TOMCAT_HOME/common/lib they work fine for running Catalina, but they do not work for javac on my own classes, so I have had to put the actual classes into $TOMCAT_HOME/webapps/myapp/WEB-INF/classes/. Is there a reason why the common/lib directory does not work for jav

Re: JAXP -- File had a virus.

2002-02-15 Thread Micael Padraig Og mac Grene
Please note that the file you sent me was packed with a virus. At 10:04 AM 2/15/02 -0500, you wrote: >The following came from Anti-Virus (S5-CCR-R1) NRCan.RNCan: > >The Anti Virus software Antigen found jaxp.jar infected with >ExceedinglyInfected virus. The ExceedinglyInfected virus has been remo

Re: Tomcat 4 Realms and MySQL

2002-03-05 Thread Micael Padraig Og mac Grene
Hi, John, You need to switch your security realm from Memory Realm to JdbcRealm. Then you need to reconfigure the /conf/server.xml. Comment out! Then set up your MySql as follows: Okay dokay? Micael At 02:11 PM 3/5/02 -0500, you wrote: >Hello. I would like to be able to use a MySQL ta

Re: Tomcat 4 Realms and MySQL

2002-03-05 Thread Micael Padraig Og mac Grene
John, Also make sure that the JAR file containing the JDBC driver referenced by the driverName attribute is placed in Tomcat's CLASSPATH. If you are using the JDBC-ODBC bridge, the driver is already in Tomcat's CLASSPATH. Micael At 02:11 PM 3/5/02 -0500, you wrote: >Hello. I would like to be

Re: Tomcat 4 Realms and MySQL

2002-03-05 Thread Micael Padraig Og mac Grene
Also, John, Normally you would want to use three tables: user table (with user_name and user_pass columns) create table users { user_name VARCHAR(15) not null primary key, user_pass VARCHAR(15) not null }; roles table (with role_name column) create table roles { role_name VARCHAR(15) n

Re: Tomcat & Mysql

2002-03-05 Thread Micael Padraig Og mac Grene
Check your permissions. At 12:15 PM 3/5/02 -0800, you wrote: >Hi, > >I have been trying to setup JDBC Realm authen with mysql and have hit a >dead end. >I have been following the posts but my errors don't match what others are >getting. >I'm sure this is a config error on my part but I just ca

Re: Tomcat & Mysql

2002-03-05 Thread Micael Padraig Og mac Grene
This is a permissions problem on your system. The error means what it says. At 12:22 PM 3/5/02 -0800, you wrote: >Setting up Tomcat & Mysql is documented on the Tomcat >website. Look at the documentation link and then >under realms. There is a discussion of using database >for authentication a

Re: Does anyone know of a Tomcat 3.2.4 Memory Leak Problem?

2002-03-06 Thread Micael Padraig Og mac Grene
Can you give a bit more information, Brandon? Which Linux? What JVM? Etc.? At 02:32 PM 3/6/02 -0600, you wrote: >This is probably a problem with our application, but does anyone know of any >possible misconfiguration or anything that will cause a very slow increase >in the amount of memory that

Re: jsp parameters. Urgent!

2002-03-08 Thread Micael Padraig Og mac Grene
From your question, I assume you know nothing about the session object? Take a look at it. At 04:45 PM 3/8/02 -0600, you wrote: >Please I need help,... >This is not a Tomcat question, but I know here I can find some JSP >experts: > >Could you tell me all the ways I could send (safe) parameters

Re: jsp parameters. Urgent!

2002-03-08 Thread Micael Padraig Og mac Grene
Essentially, the answer is to have whatever page calls a page send the page the parameters, unless you want to store the data in a larger scope. The page that calls the page can be the page itself, of course. Nothing metaphysical about that. Just can be itself. If you mean can a page which

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread Micael Padraig Og mac Grene
Looks to me like you took all the "."s out, so you can hardly expect them to be replaced with anything. If that is not wrong, then you need to put a in wherever there is a new token. Micael At 10:57 PM 3/8/02 +, you wrote: >Thanks for your help. But I don't think that is >causing the pro

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread Micael Padraig Og mac Grene
Why don't you use a replace function instead of all this rigamorole? At 10:57 PM 3/8/02 +, you wrote: >Thanks for your help. But I don't think that is >causing the problem: > (a) for one thing, the other text written to > body content show up in the output. Only the > stuff insert

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread Micael Padraig Og mac Grene
Here is a suggested replace method (sorry for saying function). Cross-language pollution: private String replace(String content, String before, String after) { int cursor = content.indexOf(before); while (cursor > -1) { content= content.substring(0, curso

Re: Smart Upload

2002-03-11 Thread Micael Padraig Og mac Grene
I have, works great. At 09:54 AM 3/11/02 -0300, you wrote: >Did anyone already used it under linux/apache3/tomcat4?? >It is not working here >:((( > > >-- >To unsubscribe: >For additional commands: >Troubles with the list:

Re: image manipulating via servlets on tomcat4

2002-03-12 Thread Micael Padraig Og mac Grene
That should be easy. Call a class that does all that and then load the image. Do I misunderstand you? At 10:54 PM 3/12/02 +0800, you 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

<    1   2