RE: Using JAR files
Normally it should pick it up from the CLASSPATH. Make sure you can see the added jar files in the CLASSPATH when you run your tomcat. If you dont then edit the bin/tomcat.conf to add the jar file manually. Z* -Original Message- From: Michael Day [mailto:[EMAIL PROTECTED]] Sent: Friday, 16 March 2001 11:48 To: [EMAIL PROTECTED] Subject: Using JAR files Hi, I have a servlet that requires classes from xalan.jar. I've tried placing this JAR file in TOMCAT_HOME/lib, WEB-INF/lib, in the CLASSPATH and nothing seems to work. When the servlet runs it invariably fails with a NoClassDefFound exception when it tries to access org.apache.xpath.XPathAPI. Any advice on how to get tomcat to see JAR files required by a servlet? Thanks, Michael
RE: first day with tomcat
You can find answers of your questions here http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/faq To start with i suggest you to look at the examples given under your tomcat directory doc/index.html. I hope this helps Z* -Original Message- From: Azhar Khan [mailto:[EMAIL PROTECTED]] Sent: Friday, 16 March 2001 12:20 To: [EMAIL PROTECTED] Subject: re: first day with tomcat I have installed tomcat on my machine. And i run the startup.bat file when I wan't to run Tomcat. But, I was wondering if i can go ahead and write jsp / servlets. Also, if i do how do i check them on my computer. And what will be the address C:\...\HelloWorld.java or http://localhost... Thanks. -- Azhar Khan Software Development Engineer Intranet Technologies, Amazon.com 206-266-1188 http://www.amazon.com
Error 500..JSP problem
Hi friends, I am trying to run the jsp examples under Tomcat 3.2.1 and i am geeting the Error 500 which is shown below.Can anyone help me or give me any hint to solve this. I have included the jasper.jar in my CLASSPATH too. Thanks Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper Root cause: java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12
Socket write error
Hi Folks, I am also getting the Socket Write error Ctx(): IOException in R:( + /Template/... + null) Connection aborted by peer:socket write error. Can someone suggest and help here. Thanks heaps Zaid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]