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
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
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
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
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
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,
Hi,
Its 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
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) {
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
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
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
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.
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
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
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
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:
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
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
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
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
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
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
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
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
/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
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
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
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
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
/
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
/
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.
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
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
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
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
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
36 matches
Mail list logo