AW: got a doubt
Sajan, be sure to have created your DSN as a system DSN. If you created your DSN as a User DSN this wont work. (I guess that you have created a DSN at all.) Grtx Jan -Ursprüngliche Nachricht- Von: sajan koshy george [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 30. Juli 2001 10:06 An: [EMAIL PROTECTED] Betreff: got a doubt Hi, when i installed tomcat as a service in nt machine.u get the default page and everything.but when i try to use a JSP page that has to interact with a database.i get the following error. Internal Servlet Error: javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at jsp.apepmail._0002fjsp_0002fapepmail_0002fdetails_0002ejspdetails_jsp_0._jsp Service(_0002fjsp_0002fapepmail_0002fdetails_0002ejspdetails_jsp_0.java:137) 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.ja va: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:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) 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.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188) at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:2458) at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:320) at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:163) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:199) at apepmail.sqlbean.makeConnection(sqlbean.java:19) at jsp.apepmail._0002fjsp_0002fapepmail_0002fdetails_0002ejspdetails_jsp_0._jsp Service(_0002fjsp_0002fapepmail_0002fdetails_0002ejspdetails_jsp_0.java:87) 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.ja va: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:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) 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 This error comes only when i try to use tomcat as a service .if i directly start tomcat with startup.bat it works.is there any classpath or anything like that i should set for driver only?.would be grateful if u could help me out. with regards sajan _ For Rs. 2,000,000 worth of Aptech scholarships click below http://events.rediff.com/aptechsch/scholarship.htm
AW: user admin
For tomcat 3.3-m4 change the file conf/admin-users.xml hth Jan -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 17. Juli 2001 09:48 An: [EMAIL PROTECTED] Betreff: user admin Which is the password and the user default for Tomcat admin? How can I Find it and replace?
Tomcat documentation?
What happened to the tomcat documentation project ? The mail from K. Kaneda is an excellent candidate for it: Hi, I wanted to ask if there is a way to add more jars to the classpath environment when Tomcat starts ? Currently I am linking jar files to the lib directory. Is there a way to tell Tomcat to load jars from carious directories ? N. The tomcat version have different implementation for that, meanwhile you can : those will add the jars for every webapps - simply add your jar to the common CLASSPATH - edit the script (tomcat.sh, start.sh, or the .bat version) to add you jar to the CLASSPATH (using the -cp:/myjar/toto.jar;/myjar/myfunny.jar;.; ... syntaxe) - add the jars in $TOMCAT_HOME/lib Greetings Jan
AW: Tomcat 4 and apache. How to make them work together?
Hi Alejandro, yesterday i tried to do the same, but had not the patience to get it done. So i downloaded tomcat-3-3 and this has a new feature. tomcat automatically configures itself for Apache. you have to insert ApacheConfig/ into the server.xml file. as i write this, i begin to understand, that i dont understand this feature. Anyway, it works (examples run fine) Maybe the approach on tomcat 4 is the same. just an idea... Jan --- no, don't need no tagline -Ursprüngliche Nachricht- Von: Alejandro Arredondo [mailto:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 27. Juni 2001 17:24 An: [EMAIL PROTECTED] Betreff: RE: Tomcat 4 and apache. How to make them work together? Krishna, Thanks a lot for your help. Unfortunately the tomcat 4 version(catalina) doen not use the same schema than tomcat 3 for configuration. I found some documentation and I will try to see if it works. Any way if it doesn't work I will install the older one. Thank you again, Alejandro Arredondo P.S. I like you name a lot --- Krishna Muthyala [EMAIL PROTECTED] wrote: All you have to do is the following include this line at the end of https.conf in apache/conf include path_to_tomcat/tomcat/conf/tomcat-apache.conf and then do the following in tomcat.conf uncomment the line based on which platform you are in # Tell Apache on win32 to load the Apache JServ communication module LoadModule jserv_module modules/ApacheModuleJServ.dll # Tell Apache on Unix to load the Apache JServ communication module # For shared object builds only!!! # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so #LoadModule jserv_module libexec/mod_jserv.so if its nt you have to get the .dll and place it in apche/modules folder and if unix etc i think u are fine.check to see if the above is present in your modules folder. you are set to go dude Kris --- Jann VanOver [EMAIL PROTECTED] wrote: Did you check the tomcat user guide? -Original Message- From: Alejandro Arredondo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 7:31 AM To: [EMAIL PROTECTED] Subject: Tomcat 4 and apache. How to make them work together? I have installed Tomcat 4 configured it and it works fine. Now I want it to work with apache together. Where can I find info on how to configure them? Thanks in advance, Alejandro Arredondo _ Free E-mail --- http://letodesigns.mail.everyone.net Letodesigns Programming Free e-mail 6MB limit http://letodesigns.8k.com __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ _ Free E-mail --- http://letodesigns.mail.everyone.net Letodesigns Programming Free e-mail 6MB limit http://letodesigns.8k.com