Re: Exception loading custom Realm

2005-10-10 Thread Larry Meadors
Where did you put the classes? They have to go in either common/lib, or server/lib. Larry On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote: Hi, I created my own realm by extending UserDatabaseRealm. But when I start the tomcat server, I get the following exception. If I use

Re: Exception loading custom Realm

2005-10-10 Thread Larry Meadors
/UserDatabaseRealm Thanks -Surya On 10/10/05, Larry Meadors [EMAIL PROTECTED] wrote: Where did you put the classes? They have to go in either common/lib, or server/lib. Larry On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote: Hi, I created my own realm by extending

Can someone remove RTE - Meridian Club [EMAIL PROTECTED] from this list

2005-10-07 Thread Larry Meadors
No, not my email address, I know how to subscribe/unsubscribe, thatnks. This one needs to be removed: RTE - Meridian Club [EMAIL PROTECTED] Please? Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
You may be able to use this instead: src=js/EdiHost.js IDEA will get pissed about it, but it should work (I know it does for images). It is nice, because you can rename your context, and not break your webapp. :) Larry On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote: Greetings, I'm

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
Yeah, i just hate the tag inatag / / stuff. Messy. ;-) Larry On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote: Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp

Re: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Larry Meadors
Hm, in my 5.5.9, it is in the bin directory... Larry On 10/4/05, Barnett, Brian W. [EMAIL PROTECTED] wrote: I am going through a tuturial on setting up JAAS with Tomcat. It says to modify $CATALINA_HOME/bin/catalina.sh or $CATALINA_HOME/bin/catalina.bat. The edit it suggests is something

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Larry Meadors
So, once you know the threads that are left, what is the cleanest way to kill them? I have had this problem too, but since it was on a *nix platform, and just used 'kill' to get rid of the parent process. Larry On 10/3/05, Jon Wingfield [EMAIL PROTECTED] wrote: Yep. It's a FAQ, but not in the

Re: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Larry Meadors
the irresponsible threads and fix their code :D Larry Meadors a écrit : So, once you know the threads that are left, what is the cleanest way to kill them? I have had this problem too, but since it was on a *nix platform, and just used 'kill' to get rid of the parent process. Larry

Re: Capturing User Passwords

2005-09-28 Thread Larry Meadors
Here is the code (this is for tomcat 4.1.x): if(log.isDebugEnabled()){ Principal principal = req.getUserPrincipal(); PropertyDescriptor[] pds; pds = PropertyUtils.getPropertyDescriptors(principal.getClass()); for(int i = 0; i pds.length; i++){

Re: Does Tomcat run better on Linux or Windows?

2005-08-30 Thread Larry Meadors
Eeek, this is almost like a which is better: vi or emacs? thread... Having used tomcat in both environments, here is my $0.02 on the topic: - Linux + more secure out of the box + simpler for more complex configurations + simpler for upgrades + usually more uptime + more controlled

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Larry Meadors
You could do it easily with a servlet - read the blob as a byte[], and server it up in response to a request to /myservlet/imageid/image.jpg, where /imageid/ is used to provide the id of the record that contains the image. Larry On 8/24/05, Philip Cote [EMAIL PROTECTED] wrote: I'm trying to

re: MAIL FAILURE

2005-08-24 Thread Larry Meadors
Come on, do we have a list admin who can remove this address? Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Please kill the MAIL FAILURE user

2005-08-24 Thread Larry Meadors
Do we have a list admin who can do this? Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Context-specific System.properties

2005-08-15 Thread Larry Meadors
Not by the looks of the javadocs..fwiw, what 3rd-party dependency is this, so I know to steer clear of it? Larry On 8/15/05, Nelson, Lorrin [EMAIL PROTECTED] wrote: I've got some 3rd-party dependencies that rely on System.Properties for part of their configuration. I'd like to use these same

Re: can I prevent DoS (Denial of Service) Attacks in JSP?

2005-08-02 Thread Larry Meadors
Hmm, that is like asking how to avoid automobile accidents. Larry On 8/2/05, Ben Bookey [EMAIL PROTECTED] wrote: Dear List, I have been asked if its possible to prevent DoS attacks inside Java (JSP/Servlet). I guess it is ... is this something however that TC would be configured to

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread Larry Meadors
You need the compatibility stuff: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Search for compat on that page, and you'll see it. Larry On 25 Jul 2005 18:52:00 GMT, David E. Shapiro [EMAIL PROTECTED] wrote: I have the same problem here. If you tail -f the catalina log it

Re: dubugging tomcat

2005-07-25 Thread Larry Meadors
Start it with this (from $CATALINA_HOME/bin): ./catalina.sh jpda run Larry On 7/25/05, blackwater dev [EMAIL PROTECTED] wrote: Hello, I have fedora core 3 and have tomcat installed. I can start it up successfully using startup.sh but can't connect to localhost at localhost:8080. How

Re: Max thread/session timeouts

2005-07-21 Thread Larry Meadors
Whoa! Someone forgot to take their meds today... To unsubscribe, e-mail: [EMAIL PROTECTED]http://a.apache.org Larry On 7/21/05, Warren Taylor [EMAIL PROTECTED] wrote: To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [OT] Relating source code to class code

2005-07-05 Thread Larry Meadors
Wehn you compile, you have to included debugging information. This can be done with the javac task in ant (debug=true), or on the commnad line for javac using the -g option. Larry On 7/5/05, Ciaran Hanley [EMAIL PROTECTED] wrote: Hi, Is there a way to build a webapp so that once

Re: Problem in Resource declaration

2005-06-29 Thread Larry Meadors
Without more info, my guess is that it doesn't work. Maybe you could tell us *how* it doesn't work. Do you get an error? Does smoke pour out of your server? Do the lights dim? Throw us a bone here. Larry On 6/28/05, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi I want to define a DBCP

Re: [Q] when to share jars

2005-06-15 Thread Larry Meadors
How many web apps do you have? Put the jar in shared, and you get to restart them all anyway...on each shared jar update. I am sure your users will love that. ;-) Larry On 6/15/05, teknokrat [EMAIL PROTECTED] wrote: delbd wrote: Then put those libs in WEB-INF/lib too And if we need to

Re: [Q] when to share jars

2005-06-14 Thread Larry Meadors
Amen brother! Sharing jars between web apps is just a Bad Idea (tm). Disk is cheap, and so is the time required to copy a jar. ...unless you are an ISP with 1000+ web apps running on a sinlge box, then it *might* be OK, but even then, I would stop and think very carefully before doing it.

Re: How to get user's password from tomcat

2005-06-04 Thread Larry Meadors
The principle may contain it, but you would have to get it via reflection or cast it to it's original type to see it. Larry On 6/2/05, Jo [EMAIL PROTECTED] wrote: Hi all, Once Tomcat has authenticated a login, we can get the the authenticated user's name from the request's getRemoteUser()

Re: How to get user's password from tomcat

2005-06-04 Thread Larry Meadors
was with any of the realms i have used. Larry On 6/4/05, Digby [EMAIL PROTECTED] wrote: I'm not sure you're supposed to be able to get it. Also, what would you expect to get if the password was hashed? Can you not just read the password from the database / ldap source? Digby Larry Meadors wrote

Re: Cannot download files with IE through tomcat. SSL with no-cache problems?

2005-05-06 Thread Larry Meadors
Hey! I had that problem too, and the fix is as sexy as any windows fix: Edit the registry! [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings] BypassSSLNoCacheCheck=dword:0001 This tells IE that it is OK to use cached data that was delivered over SSL. I know

Re: Common vs. Shared

2005-05-05 Thread Larry Meadors
Common is available globally to the server, and to all of the web-applications. Shared is available globally, but only to all of the web-applications. IMO, both are bad places to put stuff unless you *really need* to. Larry On 5/5/05, Michael Oliver [EMAIL PROTECTED] wrote: I am quite

Re: Unsubscribe me!!!!!!!!!!!!!!!!!!!!!!!

2005-04-26 Thread Larry Meadors
At the bottom of EVERY EMAIL you get from this list, you'll find this: To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] It is even in english for your benefit. :-) Try it. If it does not work, read the response. It will tell you WHY it did not work.

Re: development environment

2005-04-22 Thread Larry Meadors
Gentoo (2.4 kernel) on Intel 2.8GHz w/ 1GB RAM - IntelliJ IDEA.

Re: class path (UNCLASSIFIED)

2005-04-13 Thread Larry Meadors
Oh, and spaces in your install directory (despite that being the default) is a bad idea. On 4/13/05, Samara, Fadi N Mr ACSIM/ASPEX [EMAIL PROTECTED] wrote: Classification: UNCLASSIFIED Caveats: NONE Try compiling the class by including the path for servlet.jar in your javac command, if

Re: multiple parameters and Laszlo

2005-04-13 Thread Larry Meadors
Use String.split(,) if you are on JDK1.4 or later to make it a String[]. If you are pre JDK1.4, you can use a java.util.StringTokenizer to accomplish a similar thing. Larry On 4/13/05, Guillaume Lederrey [EMAIL PROTECTED] wrote: Hello ! This is not directly Tomcat related, but more of a

Re: Retrieving driver-specific implementation of ResultSet

2005-04-12 Thread Larry Meadors
Why do you need that? On Apr 12, 2005 9:05 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, as Marco helped me to solve my previous problem, i'm now facing the next one. It seems the org.apache.tomcat.dbcp.dbcp.DelegatingResultSet does not provide any facility to retrieve the

Re: class path

2005-04-12 Thread Larry Meadors
*http://tinyurl.com/6t89b* On Apr 12, 2005 2:03 PM, S M [EMAIL PROTECTED] wrote: Hi all, I am a first time user of Tomcat. I am able to see the Tomcat default page on http://localhost:8080/index.jsp Now, I want to compile HelloWorld.java using JDK 1.4, the program does not compile and

Re: Application Data sharing -- store large object?

2005-04-11 Thread Larry Meadors
Maybe I am missing something, but this sounds like a data model that should live in a database. That way, you could have your database layer (iBATIS or Hibernate) cahce it for you, and use standard APIs to get to the data. Larry On Apr 11, 2005 11:59 AM, Daxin Zuo [EMAIL PROTECTED] wrote:

Re: Debugging tomcat startup

2005-04-02 Thread Larry Meadors
Realm implementations should go into server/lib. On Apr 2, 2005 12:16 AM, Anto Paul [EMAIL PROTECTED] wrote: On Apr 2, 2005 1:27 AM, Sasha Borodin [EMAIL PROTECTED] wrote: What is the motive to place jars in server/lib. These jars are not visible to applications.

Re: Debugging tomcat startup

2005-04-02 Thread Larry Meadors
Hey Sasha, I have been wanting to do an iBATIS realm for a while. Glad to see I am not alone. ;-) You have a couple of options. I use IDEA, and run tomcat externally. When I want to debug startup code, I set JPDA_OPTS (in setenv.sh/bat) to this: JPDA_OPTS=-Xdebug

Re: Using hibernate

2005-03-13 Thread Larry Meadors
I have used straight JDBC, Hibernate, and iBATIS. For me, the sweet spot is iBATIS. It provides very near the performance of JDBC, without the complexity. IMO, I will use ORM when database vendors support it directly, not when I have to wrap my database in a ORM layer. Larry On Sun, 13 Mar

PDFs with IE - a fix

2005-02-28 Thread Larry Meadors
Sorry for the cross-post, but if anyone is having issues serving up pdfs to IE users over ssl, here is a fix for the browser: === [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings] BypassSSLNoCacheCheck=dword:0001 === It took us a few days to find this, so hopefully this

Re: Throughput and scalability

2005-02-23 Thread Larry Meadors
I do not think that anyone can answer that but you. It is so application specific that any answers we give would be SWAGs at best. Larry On Wed, 23 Feb 2005 14:25:32 -0800, Ross Poppel [EMAIL PROTECTED] wrote: Hi Tomcat Users - We are implementing Tomcat (with Axis) for HTML translation to

Re: Getting userid of current authenticated user

2005-02-23 Thread Larry Meadors
look at the request, there is a user principle there that is the current user On Wed, 23 Feb 2005 22:58:32 -0600, J Malcolm [EMAIL PROTECTED] wrote: Is it possible to obtain the userid within a servlet of the person that has logged in via a realm authentication? I want to use the standard

Re: Putting JDBC drivers in common/lib

2005-02-18 Thread Larry Meadors
if you are using jndi, i think they have to be in common/lib. If not, they can go in WEB-INF/lib instead. Larry On Sat, 19 Feb 2005 02:42:35 +0330, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Is it mandatory to put the JDBC drivers in the common/lib? Or can I put the JDBC drivers in each

Re: The requested resource (/myApp/servlet/TestingServlet) is not available.

2005-02-12 Thread Larry Meadors
Do some reading before trying to code: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ There are several issues with your example - too many to answer in a simple email. You need to get a deeper understanding of the process before building things. If you learn best by doing, follow the

Re: Version control tool

2005-02-07 Thread Larry Meadors
Eclipse?! For version control, go with CVS or subversion. Most apache projects these days are going to subversion. It integrates very nicely with Windows. For bug tracking, I have yet to find a free bug tracking too that does not suck. If there is anyway, drop the $1200 and get JIRA. IMO, it is

Re: java.awt.headless=true in tomcat startup

2005-02-04 Thread Larry Meadors
no no no - it should go in setenv.sh - that is what it is for - that way you do not have to tweak the existing files. On Fri, 04 Feb 2005 12:04:36 -0500, Charles N. Harvey III [EMAIL PROTECTED] wrote: You set this somewhere in either the tomcat-home/bin/catalina.sh or

Re: isUserInRole question

2005-02-03 Thread Larry Meadors
Use a debugger, set a breakpoint in your code and examine the principle that represents the user. IIRC, the request has a reference to the user principle. On Thu, 3 Feb 2005 08:54:20 -0800 (PST), Denny Lee [EMAIL PROTECTED] wrote: Hello, Thanks for your reply. When I use IE to bring up the

Re: Tomcat's Java parameters

2005-02-01 Thread Larry Meadors
The $JAVA_OPTS variable is ignored by the service, you have to add them in the registry. On Tue, 1 Feb 2005 16:45:15 -0500, Jared Ingersoll [EMAIL PROTECTED] wrote: No takers? Should I take this question to the Dev list? jared -Original Message- From: Jared Ingersoll

Re: Basic Authentication Window

2005-01-28 Thread Larry Meadors
If you are using basic authentication, that is out of your control - the browser will resend the authentication with every request. I does not care at all about your session. I think your simplest solution is to switch to form-based authentication. Larry On Thu, 27 Jan 2005 19:58:16 -0800

Re: Realms getting confused in context reload

2005-01-27 Thread Larry Meadors
I was equally surprised to see this behavior, but my hat is off to the people who read this specification, and implemented it - the RFCs are a can of worms. The RFC for this (#2617 - HTTP Authentication: Basic and Digest Access Authentication - http://www.ietf.org/rfc/rfc2617.txt) says that The

Re: How to identify automatically in spite of a Realm

2005-01-25 Thread Larry Meadors
This may work: http://www.sys-con.com/story/?storyid=37660DE=1 On Wed, 26 Jan 2005 00:08:18 +0100, Philippe Mathieu [EMAIL PROTECTED] wrote: I develop a war with Tomcat 5.0.28 and in this application some users are already known by the system and must be authentified (via a Realm and LOGIN

Re: Tomcat does not evaluate jspf extension files

2005-01-24 Thread Larry Meadors
See the problem below? On Mon, 24 Jan 2005 17:01:38 -0800 (PST), Norris Shelton wrote: Everytime I try to use a .jsfp extension for a file, tomcat does not evaluate it. Comments come out, code is displayed, etc. servlet-mapping servlet-namejsp/servlet-name

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Larry Meadors
Call me a realist, but the jars you are talking about are only 375k...if 375k of memory kill your web app, go to ebay, and pick up another gig of ram, and it will be fine. :-) Seriously, I have been down the path you are describing (I only want one copy of my jars, so when I upgrade, I only have

Re: [Fatal Error] :2:1: Content is not allowed in prolog.

2005-01-22 Thread Larry Meadors
http://tinyurl.com/6d7dz On Sat, 22 Jan 2005 19:01:55 +0100, Omar Adobati [EMAIL PROTECTED] wrote: Does anybody know what this line of log mean: [Fatal Error] :2:1: Content is not allowed in prolog.?? I'm using tomcat 5.0.28, JDK 1.5.0_01 and Win XP SP2 -- Adobati Omar [EMAIL

Re: You cannot do that!

2005-01-21 Thread Larry Meadors
I know, I know, I am working on it... ;-) On Sat, 22 Jan 2005 00:00:37 +0530, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Let'us be short: you have no experience in writing letters!!! - To unsubscribe, e-mail: [EMAIL

Re: [OT] a website run on Tomcat and powered by Struts

2005-01-19 Thread Larry Meadors
Gah! Get rid of that book.gif, that looks like something from a late 80's BBS. ;-) Grab one from here instead: http://art.gnome.org/art-icons/ Larry On Wed, 19 Jan 2005 06:59:07 -0800 (PST), t t [EMAIL PROTECTED] wrote: Hi, all, I just updated www.sportslovers.net using tiles. Take a look.

Re: [OT] Modifying Reply-To header in list messages

2005-01-19 Thread Larry Meadors
Werks fer me. On Thu, 20 Jan 2005 09:59:03 +0530, Antony Paul [EMAIL PROTECTED] wrote: Hi all, What people here think about this article. http://www.unicom.com/pw/reply-to-harmful.html The Apache lists modifies reply-to field and put in the list address. Is this acceptable ?

Re: Handling Exceptions thrown from a Filter

2005-01-18 Thread Larry Meadors
is this before or after the call to the filter chain? On Tue, 18 Jan 2005 15:51:01 -0700, Wendy Smoak [EMAIL PROTECTED] wrote: If a ServletException is thrown from a Filter, is there a way to show a nice error page? I have put this in web.xml: error-page

Re: more benchmark results

2005-01-14 Thread Larry Meadors
On Fri, 14 Jan 2005 09:07:37 -0500, Peter Lin [EMAIL PROTECTED] wrote: what a concept Schnapps over speed. Wonder what would happen if someone made a redbull + Schnapps + speed cocktail 8-) Use it to chase the diet pills and nodoz, and you may never sleep again. :-)

Re: Memory leak

2005-01-12 Thread Larry Meadors
Another (simpler) solution is to let someone else write that code. ;-) I know there are times when you need JDBC directly, but tools like iBATIS make it darn easy to handle the other 99% of the cases. Here is a tutorial on using struts with iBATIS that could be helpful if people are interested.

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Larry Meadors
Uhh, that is what I was thinking. On Tue, 11 Jan 2005 19:17:00 +0200 (EET), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To

Re: Memory leak

2005-01-11 Thread Larry Meadors
Possibly. If you are using a connection pool and do not close the connection, it will not be released back to the pool, so subsequent calls to the pool will create new connections. In addition, as if that were not bad enough, any resources created that are referenced by that connection

Re: Can anyone see this message?

2005-01-06 Thread Larry Meadors
No. [EMAIL PROTECTED] 01/06/05 4:02 PM Thanks, Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Displaying XML in Safari

2004-12-08 Thread Larry Meadors
If you have a String, you could use c:out, and the escapeXml attribute. [EMAIL PROTECTED] 12/8/2004 1:33:00 PM Hi, The current version of Safari has no support for pure XML à la Internet Explorer. What a pity ! I was wondering if there is a simple way to convert an XML document to HTML that

Re: Profilers for Tomcat

2004-12-08 Thread Larry Meadors
JProbe is the coolest profiler on the planet, expensive, but you can get a 2-week trial version...if that is enough time. If not, netbeans has one called JFluid as a plug-in that is free. Larry [EMAIL PROTECTED] 12/08/04 4:29 PM Hey guys Just wondering if there are any profilers for Tomcat5

Re: Profilers for Tomcat

2004-12-08 Thread Larry Meadors
WOW! Awesome! I did not know about that version! Thanks for mentioning it! Larry (downloading now ;-) [EMAIL PROTECTED] 12/08/04 5:24 PM Thank you to Larry for suggesting JProbe, there is a community edition that does all i need, Cheers Rich QM wrote: On Wed, Dec 08, 2004 at 11:29:09PM

Re: Best place to store files ?

2004-12-07 Thread Larry Meadors
Put them in a database instead? [EMAIL PROTECTED] 12/07/04 3:11 PM Hi, I'm developing a servlet which needs to handle file uploads and downloads. I manage to store the files in a directory inside my servlet, but each time I upload a new version of my servlet, the files are destroyed. Is there

RE: jsp on windows/linux

2004-12-03 Thread Larry Meadors
For crying out loud! GOOGLE IS YOUR FRIEND! http://tinyurl.com/5pzjb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: jsp on windows/linux

2004-12-03 Thread Larry Meadors
Open up $CATALINA_HOME/conf/web.xml, search for fork, set it to false. Larry [EMAIL PROTECTED] 12/03/04 1:18 PM I saw a lot posting, but they are almost all talking about space in dirs on windows. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: December 3, 2004

Re: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Larry Meadors
They are all sharing one JVM and it's resources. Java knows nothing of tomcat or contexts. [EMAIL PROTECTED] 11/19/04 8:59 AM Hi! I have 3 virtual hosts in tomcat, each with it's own java app/context (total of 3 apps). When I set JAVA_OPTS=-Xmx 512m, in the bin/setenv.sh on UNIX, does this max

Re: secure jsp using web.xml in tomcat 5.0.19

2004-11-17 Thread Larry Meadors
You told tomcat to only allow post and get access to your jsp files. Uhh, that is about all you can possibly allow. What are you trying to do? [EMAIL PROTECTED] 11/17/2004 3:06:18 PM Hi I want to secure all my jsp in my web application, I added following security constraint in my web.xml

Re: My Context don't workie

2004-11-09 Thread Larry Meadors
I wonder if it is the docBase=../../webroot thingy. Use a full path, and see if it works. [EMAIL PROTECTED] 11/09/04 12:01 PM Hello to all, I have an app that works fine on Red Hat, Susie, Debian, or even Windows. I built a Gentoo box and it wont work. TomCat runs but the webapp is

RE: My Context don't workie

2004-11-09 Thread Larry Meadors
Is this using gentoo's tomcat install? If so, you may want to download and setup tomcat manually, to see if the problem persists. Gentoo's java tools are...umm..interesting at times. Larry [EMAIL PROTECTED] 11/09/04 4:24 PM Thanks but this is a tried and true app that has been out for two

Re: reinstalled SDK - NT Service doesn't start

2004-11-05 Thread Larry Meadors
Search the registry for your old sdk path. When you find it, replace it with the new one. Repeat as necessary. [EMAIL PROTECTED] 11/05/04 2:24 PM The Tomcat config app has been long gone. Is there any way to do it without the interface? - Original Message - From: Ben Souther [EMAIL

Re: reinstalled SDK - NT Service doesn't start

2004-11-05 Thread Larry Meadors
Chicken. :-D [EMAIL PROTECTED] 11/05/04 2:56 PM But, before you edit your registry, I would strongly recommend backing it up. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: which Linux Platform is best for Tomcat?

2004-10-26 Thread Larry Meadors
..nor mine - gentoo! [EMAIL PROTECTED] 10/26/04 9:02 AM What the heck.. haven't heard mine yet. Slack 9, no problems at all. :) -Original Message- From: Giuseppe Briotti [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 9:18 AM To: [EMAIL PROTECTED] Subject: Re: which

Re: New User needing urgent help

2004-10-23 Thread Larry Meadors
Correct. When you import w/o a package like you have, it will import from the current package - that is org.apache.somethingorother. Put them in a package, and change the imports. Larry [EMAIL PROTECTED] 10/23/04 11:47 AM Hi Steve! I don't belive that you can import at root-level. You have

RE: Tomcat classloading...a theory question..

2004-10-21 Thread Larry Meadors
Yoav, I could not agree with you more! I think a lot of people are abusing comon/lib (and shared/lib) and learning this lesson the hard way (like I have). Hopefully, your advice will help others learn it the easy way! :-) We have tried so many clever schemes to make sure that we have only one

Run a war file without unpacking?

2004-10-19 Thread Larry Meadors
I asked this a while back, and really did not get any responses... Can you run a web app from a war file without having tomcat unpack it anywhere? I see that in TC4, you can tell it in the Host configuration not to unpack it, but it seems that what that *really* means is to unpack it into the

RE: Run a war file without unpacking?

2004-10-19 Thread Larry Meadors
and management are internal to Tomcat. Other Servlet Containers and J2EE servers employ a similar division. What's your motivation? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 12:08 PM To: [EMAIL PROTECTED

RE: Run a war file without unpacking?

2004-10-19 Thread Larry Meadors
Hmm, it seems that keeping it in memory would provide better performance than writing it to disk...admittedly with a higher cost in terms of overhead. I guess I still do not see the difference between a war file and a jar file other than the size - they are both zip files, they are both intended

RE: Run a war file without unpacking?

2004-10-19 Thread Larry Meadors
Hmm, doesn't it do that already? ...just in either the work directory, or the webapp directory instead of a zip file. In all cases, it looks like an InputStream is used. The JRE *does* support url based class loading...I wonder if you could use the jar:file! syntax to get an InputStream from the

RE: Run a war file without unpacking?

2004-10-19 Thread Larry Meadors
[EMAIL PROTECTED] 10/19/04 1:19 PM You can, and Tomcat does this, for the relevant parts of the WAR. But a WAR can contain an unlimited amount of resources, including for example 2 GB of static .html files ;) Heheh, yeah, and i *could* write my entire web application using inner classes

RE: IO error: request.getReader(); readLine(); on Netscape

2004-10-18 Thread Larry Meadors
http://tinyurl.com/6llx2 [EMAIL PROTECTED] 10/18/04 2:12 PM Yes, it is on the server. Our application by default is Tomcat. But if the customer insists in different application server, we need to support customer's server. So I like to ask if the Jakarta Commons Fileupload is a standard

Re: org.apache.catalina.Realm

2004-10-15 Thread Larry Meadors
IIRC, it is in $CATALINA_HOME/server/lib/catalina.jar, and that is where you would put your implementation, too (if it is in a jar...if it is a class, put it in $CATALINA_HOME/server/classes). Larry [EMAIL PROTECTED] 10/15/04 9:21 AM Can someone help me get started building my own custom

RE: org.apache.catalina.Realm

2004-10-15 Thread Larry Meadors
to the implementation of this class? -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.catalina.Realm IIRC, it is in $CATALINA_HOME/server/lib/catalina.jar, and that is where you would put your

Re: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Just curious...Why are you using a symlink? [EMAIL PROTECTED] 10/14/04 9:59 AM Hello! I'm having an interesting problem wherein about 5-10% of the time, for no apparent reason whatsover, the MySQL driver just can not be found. I have a symlink to it in TOMCAT_DIR/common/lib. I just

RE: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
Interesting question...how does that impact classloading? [EMAIL PROTECTED] 10/14/04 10:15 AM Hi, Does it happen without the connectors/Apache in front? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, October

RE: MySQL driver randomly not found?

2004-10-14 Thread Larry Meadors
the OP's test results. The less moving pieces, the less chance for error. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 12:38 PM To: [EMAIL PROTECTED] Subject: RE: MySQL driver randomly not found

Re: mandatory packages for beans in Tomcat 5.0?

2004-10-14 Thread Larry Meadors
Yes, this was added in tomcat 4.x, and is required. [EMAIL PROTECTED] 10/14/04 2:27 PM I'm evaluating TC 5.0 on Windows XP, coming from TC 3.3.1 on RH7.3. I can't get TC 5.0 to recognize any beans I put in the WEB-INF/classes directory(windows perms all good). If I put the bean into a package

Re: unpackWARs=false = hot unzip for static resources

2004-10-12 Thread Larry Meadors
From what I have seen, everything gets unpacked anyway...just into the work directory instead of the webapps directory (with my version of tomcat - 4.1.29). Larry [EMAIL PROTECTED] 10/12/04 3:54 AM Hello ! I would like to have confirmation for this topic : Says a XML context file myapp.xml

Does unpackWARs setting work?

2004-10-11 Thread Larry Meadors
OK, here is my config: Host name=localhost debug=0 appBase=webapps unpackWARs=false autoDeploy=false Context path=/ngts reloadable=false docBase=/tmp/ngts/ngts/dist/ngts.war debug=0 / /Host When I start tomcat, I see everything unpacked into my work directory. What's up

Re: HOW INCREASE URL length size ?

2003-09-26 Thread Larry Meadors
You can't. :-D That is a browser limitation. Most are in the range of 2000 chars, but at any rate that is out of your control. You will need to POST if you have a form sending more data than that. If you have urls that are longer than that, then you are in a bad place. ;-) Larry [EMAIL

Re: can't setup

2003-09-24 Thread Larry Meadors
I have a friend named google who can help you. www.google.com :-D [EMAIL PROTECTED] 09/24/03 2:34 PM Hi, I've just installed Tomcat 4.1.24-LE-jdk14 for Windows and I have Sun's J2SDK1.4.2. The installation seems to go on perfect, but when I try to see http://localhost:8080 on my browser I

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Larry Meadors
You have a old version of the tools.jar file. Get rid of it. Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Larry Meadors
the one in tomcat [EMAIL PROTECTED] 08/20/03 2:07 PM Larry Meadors writes: You have a old version of the tools.jar file. Get rid of it. I checked yesterday after looking through old message on this archive and I don't see how that can be the problem. I have precisely two copies

Re: Post-authentication tasks

2003-07-28 Thread Larry Meadors
I did this with a filter. Happens on each requests, but the performance was acceptable. Another alternative is to extend the Realm you are using to meet your needs. Larry [EMAIL PROTECTED] 07/28/03 1:53 PM AFAIK, this is the appropriate list. You could try tomcat-dev, but that is more for

Re: Post-authentication tasks

2003-07-28 Thread Larry Meadors
Borodin On 7/28/03 14:59, Larry Meadors [EMAIL PROTECTED] wrote: I did this with a filter. Happens on each requests, but the performance was acceptable. Another alternative is to extend the Realm you are using to meet your needs. Larry [EMAIL PROTECTED] 07/28/03 1:53 PM AFAIK

Re: JDK for Linux on Power PC

2003-07-24 Thread Larry Meadors
Did you try blackdown? [EMAIL PROTECTED] 07/23/03 7:34 AM where can I find JDK for Linux on Power PC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how-to specify Java runtime options -Xmx128m, w/ Tomcat 4as Win2k service

2003-07-24 Thread Larry Meadors
Or you can edit the registry, it is not that bad. Search for your service name... [EMAIL PROTECTED] 07/24/03 12:26 PM You must rebuild the service with the new options. $CATALINA_HOME$\bin\tomcat.exe -install Apache Tomcat 4.1 $JAVA_HOME$\jre\bin\client\jvm.dll -Xmx512m -Xms256m

Re: Remote debugging on linux for TOMCAT 4.1.24

2003-07-15 Thread Larry Meadors
I use './catalana.sh jpda run' fron the $CATALINA_HOME/bin directory. Larry [EMAIL PROTECTED] 07/15/03 8:20 AM The documentation states add SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 to catalina.bat. Does

Re: display tag

2003-06-16 Thread Larry Meadors
If you are going through another struts action, this should work: display:table name=results width=55% pagesize=15 cellpadding=3 cellspacing=0 border=0 requestURI=results.do summary=Table summary blah blah Larry [EMAIL PROTECTED] 06/16/03 9:15 AM Why can I not do the following:

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Larry Meadors
Hey Brandon, Are you using this code to get a classloader? Thread.currentThread().getContextClassLoader(); If not, you are not getting tomcat's you are getting the system one. Larry [EMAIL PROTECTED] 06/05/03 8:04 AM Yes, it is closed. Brandon Goodin -Original Message- From:

  1   2   3   >