Re: (application library) ClassNotFoundException
Hey Mike, Your advice helped immensely. Can you help me with this one too, we use HTTP Apache based authentification. So we need to pass a HREF in HTML with the syntax username:password@URL. But thing is, this URL is a JSP page that invalidates the session of a USER. So what we did is call the JSP page in the URL, and redirect in that JSP page with the username:password. You cannot put this information in the redirect JSP command or forward. How would I solve this? Warmest Regards, Eric Dunn Software Engineer ZBE [EMAIL PROTECTED] - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 10:34 AM Subject: RE: (application library) ClassNotFoundException The only change I made for 9i was to change the driverName from oracle.jdbc.driver.OracleDriver to oracle.jdbc.OracleDriver as recommended by Oracle. In my application lib directory I made a link to the classes12.zip (and .jar file) and rebuilt. I've confirmed that the classes12.{jar,zip} files are in /usr/local/jakarta/jakarta-tomcat-4.0-b5/src/build/webapps/opf /WEB-INF/lib/ Herein lies your problem. The classes12.jar(it has to be a jar not a zip), has to be in TOMCAT_HOME/lib, not your webapps lib folder. Think of it this way. Where do you configure the JDBCRealm? In TOMCAT_HOME/conf/server.xml. The server.xml file is parsed at startup and therefore the Realm is created before the context(s) have been loaded. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com
Re: Determining if Tomcat is running
ps -A in linux/unix look for java instances or in windows ctrl alt del look for java instances - Original Message - From: Fredrik Liden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 3:15 PM Subject: Determining if Tomcat is running hey all, Is it possible to determine if Tomcat is running? I'm using Tomcat as a standalone server. Occasionally Tomcat goes down and the page will not display. It's just gets stuck. Is there some way I can redirect a user if the servletEngine goes down? Any suggestions would be greatly appreciated
Unusual Error 500 AFTER many successful runs of same test case
Dear all, I am recieving the following error AFTER many, many executions of the jsp pages involved. Normally, this error only occurs if your classpath was incorrectly set intially and does not run once successfully. But in our case our software runs fine for a while and then chokes. Does anyone have any idea why this could be happening. Warmest Regards, Eric Dunn [EMAIL PROTECTED] Software Progammer ZBE, Incorporated Error: 500 Location: /products/multiserver/requestmail.jspInternal Servlet Error:javax.servlet.ServletException: javax/mail/internet/InternetAddress 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.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.NoClassDefFoundError: javax/mail/internet/InternetAddress at products.multiserver._0002fproducts_0002fmultiserver_0002frequestmail_0002ejsprequestmail_jsp_2._jspService(_0002fproducts_0002fmultiserver_0002frequestmail_0002ejsprequestmail_jsp_2.java:145) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) 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.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread