With the first solution commented:
ServletContext context;
context=session.getServletContext();
context.log("test message!!!");
I can`t read anything but it's solved, because if i try the original
System.out and .err it outputs in catalina.out. Thanks to everubody.
Now I've to configure parameters
Don't know if this will be of any use to you, but if you are using Tomcat
5.0.24, you can define where System.out and System.err are redirected by
Configuring Tomcat under the Logging tab.
-
To unsubscribe, e-mail: [EMAIL PROTECT
AM
>To: Tomcat Users List
>Subject: RE: Parameters and where is log
>
>That's what I've done, I've created a
>suffix=".txt" timestamp="true"/>
>
>I see all the webapp output in web_log file, but not the message from
the
>applicacion, wh
That's what I've done, I've created a
I see all the webapp output in web_log file, but not the message from the
applicacion, where I use the lines:
ServletContext context;
context=session.getServletContext();
context.log("test message!!!");
Perhaps the application does not have the correct Http
http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out
Where does System.out go?
How do I rotate catalina.out?
Gabi <[EMAIL PROTECTED]> wrote:I've put the context with his own Logger, I can see all
the info of this
host here, and in the JavaBean code I've put
ServletContext context;
cont
give the name of the log file in tag and try to view that log file .
Asim Ghosh
Gabi <[EMAIL PROTECTED]> wrote:
I've put the context with his own Logger, I can see all the info of this
host here, and in the JavaBean code I've put
ServletContext context;
context=session.getServletContext();
cont
I've put the context with his own Logger, I can see all the info of this
host here, and in the JavaBean code I've put
ServletContext context;
context=session.getServletContext();
context.log("test message!!!");
But I don't see this message in the log.
And, there is a global way I can defi
hello,
this is reply to your second query. U have to use tag in server.xml and in
code
ServletContext context;
context.log("");
Asim Ghosh
Gabi <[EMAIL PROTECTED]> wrote:
Trying to pass from resin to apache, in resin Coonection='jdbc:bla bla...'/> I've put
the equivalent in /WEB-INF
Trying to pass from resin to apache, in resin I've put the equivalent in /WEB-INF/web-xml
as:
"Connection"
"jdbc:bla bla..."
But the servlet response is a NullPointer, I think it's not taking the value
from the session (HttpSession object). What am I doing wrong?
The second ques