Re: How do I get the line number in a JSP .....
Is there something that I need to add to web.xml file so that I could get the line number of a JSP when an exception gets thrown? Currently, when a NullPointerException is thrown, it gives me only the line number in the translated .java file. Nandyal - Original Message - From: Nandyal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 9:33 PM Subject: How do I get the line number in a JSP . Gurus, How do I get the line number in a JSP, when an exception occurs? Currently, the stack trace prints NullPointerException and says Unkown source. Any help would be highly appreciated. Thanks Sesha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I get the line number in a JSP .....
Thanks John, I have done that. I think, my question was not clear. In Weblogic, you could set the following tags: jsp-descriptor jsp-param param-namedebug/param-name param-valuetrue/param-value /jsp-param /jsp-descriptor in web.xml file to get the line number of the exception directly from the .jsp file. Is there something similar to this in tomcat by which I can get the line number? Thanks Nandyal - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 6:17 AM Subject: RE: How do I get the line number in a JSP . Go to Tomcat's work directory. Drill down within that directory until you find that java file. All JSPs are converted to .java files, then compiled into servlets by Tomcat (or rather, Jasper). Open up the java file in an editor, go to that line number. John -Original Message- From: Nandyal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 7:37 AM To: Tomcat Users List Subject: Re: How do I get the line number in a JSP . Is there something that I need to add to web.xml file so that I could get the line number of a JSP when an exception gets thrown? Currently, when a NullPointerException is thrown, it gives me only the line number in the translated .java file. Nandyal - Original Message - From: Nandyal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 9:33 PM Subject: How do I get the line number in a JSP . Gurus, How do I get the line number in a JSP, when an exception occurs? Currently, the stack trace prints NullPointerException and says Unkown source. Any help would be highly appreciated. Thanks Sesha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I get the line number in a JSP .....
Thank you Tim and John for your replies. Nandyal - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 6:28 AM Subject: Re: How do I get the line number in a JSP . Tomcat cannot do this at this point. It would be an enhancment to Jasper. Patches are greatly welcome to implement this. -Tim Nandyal wrote: Thanks John, I have done that. I think, my question was not clear. In Weblogic, you could set the following tags: jsp-descriptor jsp-param param-namedebug/param-name param-valuetrue/param-value /jsp-param /jsp-descriptor in web.xml file to get the line number of the exception directly from the .jsp file. Is there something similar to this in tomcat by which I can get the line number? Thanks Nandyal - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 6:17 AM Subject: RE: How do I get the line number in a JSP . Go to Tomcat's work directory. Drill down within that directory until you find that java file. All JSPs are converted to .java files, then compiled into servlets by Tomcat (or rather, Jasper). Open up the java file in an editor, go to that line number. John -Original Message- From: Nandyal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 7:37 AM To: Tomcat Users List Subject: Re: How do I get the line number in a JSP . Is there something that I need to add to web.xml file so that I could get the line number of a JSP when an exception gets thrown? Currently, when a NullPointerException is thrown, it gives me only the line number in the translated .java file. Nandyal - Original Message - From: Nandyal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 9:33 PM Subject: How do I get the line number in a JSP . Gurus, How do I get the line number in a JSP, when an exception occurs? Currently, the stack trace prints NullPointerException and says Unkown source. Any help would be highly appreciated. Thanks Sesha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do I get the line number in a JSP .....
Gurus, How do I get the line number in a JSP, when an exception occurs? Currently, the stack trace prints NullPointerException and says Unkown source. Any help would be highly appreciated. Thanks Sesha
JMS with Tomcat ..
Team, Has anyone used JMS with Tomcat? I am seing some weird problems. The init method of a servlet loads a JMSClient object - and the loading works fine if I comment out those methods that are involved in the messaging service (These methods are not called by the constructor of the JMSClient - during the loading process). However, if I uncommnet it - the loading does not happen. These methods are not called at all! Finally, is there a recommended way of integrating J2EE with tomcat? Thanks Sesha -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: JMS with Tomcat ..
Unfortunately I am foced to use Tomcat. Is it feasible to use J2EE with tomcat Sesha Shapira, Yoav wrote: Howdy, Finally, is there a recommended way of integrating J2EE with tomcat? Have you tried JBoss? Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
configuring tomcat to run behind iPlanet Web Server...
How do I configure Tomcat to run behind iPlanet Web Server? I have the tomcat-jk2.jar. How do I use this jar? Any pointers to docs would be very helpful. Thanks Sesha -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: configuring tomcat to run behind iPlanet Web Server...
John, Thanks for the reply - however, the first link uses NSAPI (C Version). I am trying to use the java version, tomcat-jk2.jar (the jakarta site has a note about it). So far I have not been able to find any doc that tells how this jar could be used. Incidentally, what is Coyote connector? Does it do the job of having Tomcat run behind an iPlanet Web Server? Sesha Turner, John wrote: Google is your friend. Always. http://tomcatbook.sourceforge.net/book/defaulthtml/ch06.html for other results: http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=iplanet+tomcat+integr ationbtnG=Google+Search John Turner [EMAIL PROTECTED] -Original Message- From: Sesha Nandyal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 11:57 AM To: [EMAIL PROTECTED] Subject: configuring tomcat to run behind iPlanet Web Server... How do I configure Tomcat to run behind iPlanet Web Server? I have the tomcat-jk2.jar. How do I use this jar? Any pointers to docs would be very helpful. Thanks Sesha -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: configuring tomcat to run behind iPlanet Web Server...
I am having troubles in creating the nsapi_redirector.so binary. If anyone has one for Solaris Operating System, can you please mail it to me or point me to a place where I can get it from. I am using the latest Tomcat engine and the latest iPlanet Web Server( .a.k.a Sun One Web Server). Thanks Sesha Sesha Nandyal wrote: How do I configure Tomcat to run behind iPlanet Web Server? I have the tomcat-jk2.jar. How do I use this jar? Any pointers to docs would be very helpful. Thanks Sesha -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]