Re: Admin Utility Install

2005-12-23 Thread Ashish Nabira
1) Download. 2) Unzip (or untar) into the Tomcat installation directory, maintaining the directory structure of the archive. 3) Edit conf/tomcat-users.xml to include a userid with the role "admin". Thanks & regards Ashish Nabira ITOPS TIER1 ,BLR NOC X89845 Sun Microsystems Ph: +91 80 56930854

Re: Admin Utility Install

2005-12-23 Thread Warren Pace
What operating system? > > From: "Jason Shadonix" <[EMAIL PROTECTED]> > Date: 2005/12/23 Fri PM 03:04:23 EST > To: > Subject: Admin Utility Install > > Any pointers on installing the Admin Utility on Tomcat 5.5. > > > > I don't see any obvious documentation on it. The download gives you a

Re: How to forward external-ip-facing requests from ApacheHTTPServer to Tomcat?

2005-12-23 Thread devlists
use mod_proxy, much easier, and in our tests has proven to scale better, and you will wanna look for a directive called ProxyHostPreserve so that request.getServerName returns the right name, then the IP address will be stored in x-forwarded-for header in the HTTP request. Filip > Hello Everyone,

How to forward external-ip-facing requests from ApacheHTTPServer to Tomcat?

2005-12-23 Thread Pulkit Singhal
Hello Everyone, I have successfully configured Apache to forward requests to my Tomcat instance. But it does so...only for requests whose IP resolves to 127.0.0.1 If I try to access a page through apache server (that's actually on tomcat) with the outside-facing-ip of my computer it fails. For e

Admin Utility Install

2005-12-23 Thread Jason Shadonix
Any pointers on installing the Admin Utility on Tomcat 5.5. I don't see any obvious documentation on it. The download gives you a conf and server folder, and my assumption was to add the contents of those folders to the appropriate folders, but it did not work. Any suggestions would be app

Re: restart servlet from cron

2005-12-23 Thread rusty+tomcat
Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. http://myhost.mycompany.com/manager/"; username="manager" password="managerpw" path="/${webapp}" /> ---

[ANN] Clustering broken 5.5.10-5.5.14

2005-12-23 Thread devlists
I've been getting a good amount of emails regarding the clustering system being broken in Tomcat 5.5, so I thought I make the announcement here so that we can clear the air once and for all. In tomcat 5.5.10 the underlying communication protocol for the clustering system changed, and not only made

Re: restart servlet from cron

2005-12-23 Thread rusty+tomcat
You could use ant. It has tomcat tasks for stopping, starting, and restarting tomcat web apps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: administration applications install instructions

2005-12-23 Thread Miguel Angel Armas Aleman
Hi I followed the instructions of Caldarale and the stop/start server of Prathibha and it worked for Tomcat 5.5.12 on WindowsXP Remember to reload http://localhost:8080/admin/ because of the cache. Thanks Mike Armas -Mensaje original- De: Prathibha, Bharathi [mailto:[EMAIL PROTECTED]

Re: SOLVED RE: JRE versions (UNCLASSIFIED)

2005-12-23 Thread Steve Ochani
On 23 Dec 2005 at 8:44, Samara, Fadi N Mr ACSIM/ASPEX wrote: > Classification: UNCLASSIFIED > Caveats: NONE > > I don't have to read anything. I am a programmer, but I am not Nice attitude. Of course you don't *have to*, but the same goes for everyone else, they don't *have to* help you or

Re: redirecting logging messages from a thread within a servlet

2005-12-23 Thread Boris Unckel
Hi Bill, hm, the same logger (name) is not necessarily the same instance due to org.apache.juli.ClassLoaderLogManager with TCCL approach. But a configuration entry should work for the same category. I am sorry, but I do not have my home computer here (somehow public terminal), I am not able to te

IllegalAccessException expected all the time, but only occurs sometimes. Why?

2005-12-23 Thread Sean Dockery
I have a TestCase as follows... package example; import java.util.Date; import junit.framework.TestCase; public class JavaBeanTest extends TestCase { public JavaBeanTest(String testName) { super(testName); } public void testThrowawayCopy() throws Exception { // setup final JavaBean b

Re: redirecting logging messages from a thread within a servlet

2005-12-23 Thread Martin Gainty
Good Morning Bill- It appears this is a synchronisation issue as you are not obtaining a lock on the object until both the Super class and your class are both being initialised (without exception) the quickest workaround is to declare the static field as final OR lock the object and then manipu

Re: redirecting logging messages from a thread within a servlet

2005-12-23 Thread Bill Comer
Cheers Boris but I had already tried that, but with no luck I am afraid. Yes I am using java.util.logging.Logger. Regards, Bill On 12/23/05, Boris Unckel <[EMAIL PROTECTED]> wrote: > Hello Bill, > > may be the following changes can help. I assume you are using > java.util.logging.Logger > > Bil

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Durfee, Bernard
Does Tomcat call releaseAll() when a web-app is undeployed? Bernie > - It is very common to find a declaration like this: > > private static final Log log = LogFactory.getLog(MyClass.class); > > From the commons-logging API documentation: > > "LogFactory needs to keep a static map of L

Season's Greetings

2005-12-23 Thread Carl Olivier
Greetings to all Tomcat folk! For all of you that celebrate Chrsitmas - a very merry one indeed! A big thank you to all the Tomcat contributors - for all the great work and effort being done in such a selfless way! I, for one, really appreciate your efforts! Regards, Carl

Re: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Stephen Caine
Chuck, For starters, I'd try -verbose:gc and perhaps -verbose:class to give you a general idea of what's happening when. There are many flavors of profilers out there, a lot of them free. (Our customers tend to go for the premium stuff like Wily Introscope, which definitely isn't free,

SOLVED RE: JRE versions (UNCLASSIFIED)

2005-12-23 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I don't have to read anything. I am a programmer, but I am not PROGRAMMED. Anyways, the issue is resolved -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 4:40 PM To: Tomcat Users List Subjec

Re: log4j: making standard error go to tomcat logs

2005-12-23 Thread Boris Unckel
Hello Bill, Bill Comer wrote: > we have recently taken management of a web application that uses > log4j. I am used to using java.util.logging.Logger > > I have setup the log4j.xml so that the logging messages go to the > standrad tomcat log file. > > However stack traces still go to catalina.out.

Re: redirecting logging messages from a thread within a servlet

2005-12-23 Thread Boris Unckel
Hello Bill, may be the following changes can help. I assume you are using java.util.logging.Logger Bill Comer wrote: > Any ideas how this can be resolved ? > > thanks in advance. > Bill > > Below is a code snippet. > > public class BillTestServlet extends BaseServlet { > >private final Logge

log4j: making standard error go to tomcat logs

2005-12-23 Thread Bill Comer
we have recently taken management of a web application that uses log4j. I am used to using java.util.logging.Logger I have setup the log4j.xml so that the logging messages go to the standrad tomcat log file. However stack traces still go to catalina.out. How can I get them to go to the tomcat lo

redirecting logging messages from a thread within a servlet

2005-12-23 Thread Bill Comer
I have a requirement that all servlets in an application to return immediately and with a standard response. Any processing needs to be done offline. I could have the servlet log the request to a database for a separate application to pick up. I do not want this solution as we have atleast 20 unas

Tomcat and Apache weird problems

2005-12-23 Thread Xabier Guitián
Hi! I've been experiencing some problems with Apache 2.0.48 and Tomcat 3.2.4. I know it's a bit old, but i'm in charge of this now and the website is not mine, so I can't drop the service. For the last week or so our log files are filled up with this kind of errors: [... A lot of this

restart servlet from cron

2005-12-23 Thread Bjørge Solli
Setup: Fedora Core 4, Tomcat 5 Is there a way to restart a single servlet in a cronjob? The only way I have found so far is to restart tomcat itself. Either way, what would I have to do to achieve this in a cronjob run as the tomcat-user? The servlet[1] gets new configfiles daily and therefor

Erro getting PageContext from servlet

2005-12-23 Thread Juan Luis de Amaya Robles
hi everybody, I use Tomcat 5.5 under windows, and i have a little webapp with a servlet: ... JspFactory factory = JspFactory.getDefaultFactory(); resp.setContentType("text/xml"); //int bufferSize = (JspWriter.DEFAULT_BUFFER <= 0) ? 1024 : JspWriter.DEFAULT_BUFFER; PageContext p

How to share session content in an ajax environment ?

2005-12-23 Thread Didier BRETIN
Hello, I'm working on an application with spring/hibernate/tomcat. I'm using Tomcat 5.5 under windows. In one of my vue, I use the Prototype library to call a particular controller where I can retrieve the HttpServletRequest and HttpServletResponse. I do some logs in this controller: logger.lo

Re: log4j - Class.forname - black magie

2005-12-23 Thread Philippe LEGAY
Boris Unckel wrote: Good Morning, Philippe LEGAY wrote: Hello I succeed by black magie to have log via log4j under tomcat 5.5.9. So when a call my servlet, I have some trace into a file (/tmp/phl.log). I said black magie, because I had a lot of problems to put the log4.jar in the right

RE: java.lang.OutOfMemoryError: PermGen space

2005-12-23 Thread Rodrigo Ruiz
Mike, The PermGen space is the area where classes, methods and the like are stored. There are two possibilities to the cause of this OutOfMemory: - The best case: the application is simply loading too many classes, and they do not fit in the PermGen space. In this case, it will be enough to i

Re: mod_jk (1.2.14 & 1.2.15) bug

2005-12-23 Thread Mladen Turk
OG wrote: Aaah, what a let down! :( You can easily see it if you just go to http://www.simpy.com/login and use demo/demo account. Then just click on the logo (top left), and notice how you get logged out, due to lost session information (normally identified via cookies). Use Opera and th

Re: mod_jk (1.2.14 & 1.2.15) bug

2005-12-23 Thread OG
Aaah, what a let down! :( I just patched 1.2.15 with the patch at: http://marc.theaimsgroup.com/?l=tomcat-dev&m=113397833612749&w=2 Then I tested it (on Simpy.com) and found that the patch does _not_ fix the problem I was describing: http://mail-archives.apache.org/mod_mbox/tomcat-users