Hi, now I have the stacktrace but the problem is that the stack do not involve my classes :|
java.lang.Throwable: Stack Info at org.apache.jk.core.MsgContext.action(MsgContext.java:263) at org.apache.coyote.Response.action(Response.java:183) at org.apache.coyote.Response.sendHeaders(Response.java:380) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305) at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273) at org.apache.catalina.connector.Response.finishResponse(Response.java:492) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:310) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Any idea? i'm going crazy on this problem :( best regards, Marco Rainer Jung-3 wrote: > > marcobalc schrieb: >> Rainer thanks for support. >> >> Now I have build tomcat but is not clear for me what you mean with >> "output >> of a stack" >> >> >> Could you seggest wath line write. >> >> (I think the line should be added in this block of code) >> >> if( actionCode==ActionCode.ACTION_COMMIT ) { >> ... >> ... >> } > > log.error("Stack at COMMIT:", new Throwable("Stack Info")); > > should be enough. If you want the info in textual form to do something > else with it, you could do: > > > import java.io.PrintWriter; > import java.io.StringWriter; > > Throwable th = new Throwable("Stack Info"); > StringWriter sw = new StringWriter(); > PrintWriter pw = new PrintWriter(sw); > th.printStackTrace(pw); > pw.close(); > String result = sw.toString(); > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20918077.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]