Re: WebappClassLoader: Lifecycle error : CL stopped

2004-03-18 Thread Jerald Powel
Hello, Yes, I see it in the Javadoc. Here's my confusion. I am not 'using' Log4j-1.2.8 at all! To implement the logic you talk of, I would have to get a JAR from the Apache web site? Even though I am not using Log4j whatsoever on my app, is this necessary? I dont know what class I was

Re: WebappClassLoader: Lifecycle error : CL stopped

2004-03-18 Thread Jerald Powel
I have put down to the method not found thing to I my importing java.util.logging.LogManager! I have since acquired the JAR from Apache.org, implemented: public void contextDestroyed(ServletContextEvent event) { org.apache.log4j.LogManager.shutdown(); } in a servlet

Re: WebappClassLoader: Lifecycle error : CL stopped

2004-03-17 Thread Jerald Powel
Hi, Thank you for that, and excuse my delay in responding. I tried what you suggested, but found the LogManager class did not contain such a method. It did have one method to speak of - getLogManager() which returns an instance of LogManager, but that also has no shutdown method. I found

WebappClassLoader: Lifecycle error : CL stopped

2004-03-15 Thread Jerald Powel
Hello all, Can anyone shed some light on the above error please? On the web, I saw it often associated with NoClassDefFoundError, and something called DOMConfigurator. May app does indeed parse XML (JDom and Nano XML). Is this message linked to an error possibly residing in my XML

session-timeout

2004-03-08 Thread Jerald Powel
Hi all, I am experiencing problems with memory management. I load up my app in 10 or 15 browsers where various stuff is put on a session each time. In Windows Task Manager I can see java.exe incrementing by an amount of memory for each browser/app opened. No problem there. In my web.xml

RE: session-timeout

2004-03-08 Thread Jerald Powel
Hi and thank you to all concerned, Before I close, and consult the doco you talk of (URLs welcome), can you exaplain what you mean by whoever implements the JVM? In this instance, are we talking about Apache/TC developer team? thnx G. Yes, this is correct. The important point,

Re: reclaiming memory problem PS

2004-03-04 Thread Jerald Powel
Hi, It’s Gerald (long dull story), but you can call me anything you like. I can now say with some surety, that the forward is not the problem. In a Struts action, the null session is being picked up and the mapping.findForward(“a_file.jsp”); (a Struts forward method) is forwarding on

Re: reclaiming memory problem PS

2004-03-03 Thread Jerald Powel
Hello, and thank you for that, Yes, I am timing the session out and trying to handle the result. I have: HttpSession objSession = request.getSession(true); String sessionStatus = (String) objSession.getAttribute(sessionStatus); if (sessionStatus == null) {

Re: reclaiming memory problem

2004-03-02 Thread Jerald Powel
Hello and thank you for that (all), Originally, request.getSession().setMaxInactiveInterval(-1); was set. After some deliberation (not a lot), I opted for setting the session to time out, defined in web.xml: session-config session-timeout1/session-timeout /session-config

Re: reclaiming memory problem PS

2004-03-02 Thread Jerald Powel
PS is the session time out linked wirth inactivity? My session attribute only persists as long as I am using the app. G. - Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now

reclaiming memory problem

2004-02-29 Thread Jerald Powel
Hello, How might I reclaim memory, e.g after a session expires when a client browser is closed down? Predicament: as I open up new client windows, the memory (viewed in Windows task manager) creeps up with each new window opened. The app that is loaded creates a session and stores various

Re: RE : encodeURL / jsessionid

2004-02-26 Thread Jerald Powel
Hi, Thanks for that. can you tell me then the purpose of jessionid - (methods encodeURL and getRequestedSessionId)? It seems a bit strange to pass the session around while in the session. The purpose of the original post was due to a problem persisting an object across contexts.

Re: encodeURL / jsessionid

2004-02-25 Thread Jerald Powel
That was my first move, but it was null G. Antonio_Fiol_Bonnín [EMAIL PROTECTED] wrote: %= request.getSession().getAttribute(id); % Jerald Powel wrote: Hi, I wish to maintain state across contexts and have in app1: app2 when app2 is loaded the jsessionid is visible

RE: encodeURL / jsessionid

2004-02-25 Thread Jerald Powel
or getRequestedSessionId(), and acquiring the session ID, I could accomplish this? Please instruct me otherwise. regards G. when you say 'app1' and 'app2', what do you mean? Sessions are not shared between two different web-apps. -Original Message- From: Jerald Powel [mailto:[EMAIL

Memory leak across contexts?

2004-02-24 Thread Jerald Powel
Hello, I have 4 apps with different contexts running under the one instance of Tomcat. They run fine, but progessively get slower and slower until a server bounce is necessary. After that point, they run fine until they start to be become progressively slower etc. The apps all

encodeURL / jsessionid

2004-02-24 Thread Jerald Powel
Hi, I wish to maintain state across contexts and have in app1: % request.getSession().setAttribute(id,2004073258); % a href=%= response.encodeURL(../app2/index.jsp) %app2/a when app2 is loaded the jsessionid is visible in the address bar:

RTFM

2004-01-14 Thread Jerald Powel
Hi, Now I have your attention, will someone tell me if it is possible to forward control (either by JSP or Servlet) from one context to another, in the same browser window? i.e: forward from http://locahost:8080/app1/... to http://locahost:8080/app2/... in the same window

RE: RTFM

2004-01-14 Thread Jerald Powel
JavaScript. The window.location = http://localhost:8080/app2 may work. Allen -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:11 PM To: Tomcat Users List Subject: RTFM Hi, Now I have your attention, will someone tell me

RE: RTFM

2004-01-14 Thread Jerald Powel
a mutation with various error messages of the first can be seen. G. Have you tried using JavaScript. The window.location = http://localhost:8080/app2 may work. Allen -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:11 PM To: Tomcat Users

RE: RTFM

2004-01-14 Thread Jerald Powel
in traditional fashion, the subject was related to the contents of body of the email. George Sexton [EMAIL PROTECTED] wrote:I generally don't think it is required to resort to things like this to get our attention. -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent

RE: RTFM

2004-01-14 Thread Jerald Powel
it just shows how much perceptions can vary with Email. I read your first paragraph and formed the impression that the subject was designed to generate additional interest and to work to prioritize your request for help. -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED

RE: RTFM

2004-01-14 Thread Jerald Powel
request for help. -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 5:33 PM To: Tomcat Users List Subject: RE: RTFM in traditional fashion, the subject was related to the contents of body of the email. George Sexton wrote:I generally don't

Re: RTFM

2004-01-14 Thread Jerald Powel
work---here's my SWAG (silly wild-ass guess): After your response.sendRedirect() in the servlett, do you, um, well, include an explicit return statement? Jerry Jerald Powel wrote: OK, what I am trying to do is simple in theory. I have loaded in the browser an app - app1/. From a servlet

linking between contexts

2004-01-11 Thread Jerald Powel
Hi, Relating to a similar recent post, how do I configure Tomcat so that I can link between contexts, to appear in the same browser? Many thanks Gerald. - Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now

Re: context

2003-12-11 Thread Jerald Powel
/localhosts/*.xml? BTW what TC version are you running? Adam On 12/11/2003 01:19 AM Jerald Powel wrote: Yes, they are all (3) running on different ports. All of them running apps quite happily. This particular one is running a single WAR OK, and my app - not OK. (HTTP Status 500 - No Context

Re: context

2003-12-10 Thread Jerald Powel
Jerald Powel wrote: Sorry for any impropriety re the hijacking! I have a WAR running successfully under webapps. All other examples etc have been removed. I am running several instances/versions of Tomcat on the same box, and have no CATALINA_HOME env. variable defined. I am trying to port my

Re: context

2003-12-09 Thread Jerald Powel
Hi, Sorry for any impropriety re the hijacking! I have a WAR running successfully under webapps. All other examples etc have been removed. I am running several instances/versions of Tomcat on the same box, and have no CATALINA_HOME env. variable defined. I am trying to port my app

LifecycleException

2003-12-09 Thread Jerald Powel
Hi, Can someone please expand on a log entry LifecycleException (more below), or direct me towards Exception documentation? Thanks alot G LifecycleException: Container StandardContext[/TEMPLATE] has not been started at

context

2003-12-08 Thread Jerald Powel
Hello, Prostrating my self to a tongue lashing, can any one tell me why I am getting the 500 error: HTTP Status 500 - No Context configured to process this request ? In my server.xml I have defined: Context path=/myapp docBase=myapp debug=0 reloadable=true crossContext=true /

context

2003-12-08 Thread Jerald Powel
Hello, Prostrating my self to a tongue lashing, can any one tell me why I am getting the 500 error: HTTP Status 500 - No Context configured to process this request ? In my server.xml I have defined: Context path=/myapp docBase=myapp debug=0 reloadable=true crossContext=true /

Enforce no cache

2003-12-07 Thread Jerald Powel
Hello, How do I enforce no caching for a particular context under TC? Sites/doco welcome G. - BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be.

Tomcat and JBoss

2003-10-13 Thread Jerald Powel
Hello, Can I install and have running Tomcat and JBoss on the same box? Tomcat on J2SE and JBoss on J2EE. This will logically mean that I have 2 JREs running on one box? Unless Tomcat can be installed on J2EE? Thanks and regards J. - Want to chat

WAR

2003-09-18 Thread Jerald Powel
Hello, Can anyone tell me, what is the purpose of the WAR file, how does one create / implement it? Where may I find doco about WAR please? thanks J. P.S Why WAR? What does it stand for? - Want to chat instantly with your online friends? Get the FREE

generate WAR

2003-09-18 Thread Jerald Powel
Hi and thanks, My IDE is Eclipse. Are there any users of this software on this list who can tell me if Eclipse will build a WAR and how? I have looked at the help section but found nothing related to this subject. Thanks J. WAR stands for Web Archive Resource, it is basically

TC logfiles

2003-09-10 Thread Jerald Powel
Hi, I may have posted this previously, but dont think I was subscribed when I did! Enough of that..apologies if so. I am trying to differentiate Apache and Apache Tomcat in terms of the serving mechanism, and subsequent log files. Of course, Apache is a web server, and Tomcat a

TC as web server

2003-09-09 Thread Jerald Powel
Hello, I am trying to differentiate Apache and Apache Tomcat in terms of the serving mechanism, and subsequent log files. Of course, Apache is a web server, and Tomcat a servlet container, but Tomcat also is a/has a web server? If Tomcat contains a web server as a seperate entity, where can