RE: trouble in untar tomcat binary file.
Hi , There is a diff between Solaris tar GNU tar. So if it is downloaded completly through binary mode, u can download GNU tar and untar it using that.Hope it helps. Karthik -Original Message- From: Cheng Yan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:23 PM To: [EMAIL PROTECTED] Subject: trouble in untar tomcat binary file. Hi, there, I am having trouble in untar tomcat binary file. I downloaded both jakarta-tomcat-4.0.2-LE-jdk14.tar.gz and jakarta-tomcat-4.0.2.tar.gz. However, when I tried to untar them, I got following error message: tar: directory checksum error What is the problem? BTW, I am using an ultra-sparc I box running solaris 2.7. Thanks for help. Cheng Yan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: trouble in untar tomcat binary file.
http://www.gnu.org/software/tar/tar.html#TOCdownloading is the link Karthik -Original Message- From: Cheng Yan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 4:10 PM To: Tomcat Users List Subject: Re: trouble in untar tomcat binary file. Thanks for the advices. However, I can not find gnu tar utility. I went to http://www.gnu.org/directory/index.html and did a search for gtar, gnu-tar and gnu tar. But I can not find anything similar. Could some one tell me where to get this utility? Sorry for asking such a dumb question. Thanks. Cheng Yan - Original Message - From: Karthikeyan.K.V [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Cheng Yan [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 4:26 PM Subject: RE: trouble in untar tomcat binary file. Hi , There is a diff between Solaris tar GNU tar. So if it is downloaded completly through binary mode, u can download GNU tar and untar it using that.Hope it helps. Karthik -Original Message- From: Cheng Yan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:23 PM To: [EMAIL PROTECTED] Subject: trouble in untar tomcat binary file. Hi, there, I am having trouble in untar tomcat binary file. I downloaded both jakarta-tomcat-4.0.2-LE-jdk14.tar.gz and jakarta-tomcat-4.0.2.tar.gz. However, when I tried to untar them, I got following error message: tar: directory checksum error What is the problem? BTW, I am using an ultra-sparc I box running solaris 2.7. Thanks for help. Cheng Yan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: java.lang.NoClassDefFoundError (help a newbie plz...)
U have to put the compiled class of HitCountBean(HitCountBean.class) in WEB-INF/classes/hit Karthik -Original Message- From: Claudiu Bran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 10:09 PM To: [EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError (help a newbie plz...) I have a simple .jsp which wants to use a bean named HitCountBean, but upon execution I get Internal Servlet Error: javax.servlet.ServletException: hit/HitCountBean [...] Root Cause: java.lang.NoClassDefFoundError: hit/HitCountBean [...] Here is HitCountBean.jsp, located in /var/tomcat/webapps/myex/ jsp:useBean id=counter scope=application class=hit.HitCountBean / jsp:setProperty name=counter property=newSession value=%= session.isNew() % / [...] And this is HitCountBean.java located in /var/tomcat/webapps/myex/WEB-INF/classes/hit/ package hit; import java.util.Date; import java.text.DateFormat; import java.io.Serializable; public class HitCountBean implements Serializable { private boolean b; private int hitCount; private String serverStart; private Date date = new Date(); [...] } So, what do I have to do, where do I have to put HitCountBean.java ? Thanks in advance PS: I am *very* newbie to jsp, java. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC Problem
Mark, Try to put the mysql-driver jar file in the WEB-INF\lib directory which will under tomcat\webapps\Your application directory.This maybe a classpath problem. Karthik - Original Message - From: Mark Peterson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 5:03 PM Subject: JDBC Problem I am experiencing a JDBC problem. I am attempting to execute the Java servlet from chapter 13 of the book entitled JSP, Servlets, and MySQL by David Harms; ISBN: 0764547879. But in Tomcat I get error message org.gjt.mm.mysql.Driver which is the name of the mm jdbc driver. The following steps have been completed: - Confirmed that Tomcat and MySQL were installed and configured. - Edited the server.XML file so the mm driver will be used. - Set the CLASSPATH variable to the following: c:\tomcat\lib - Copied the mm.mysql-2.0.6.1.jar file to the following path: c:\tomcat\lib The following software has been installed and configured: Tomcat 3.2.3 MySQL 3.23.47 Windows NT Server 4.0 (Service Pack 6) JDBC driver: mm.mysql-2.0.6.1 Here's a portion of the server.XML file: RequestInterceptor className=org.apache.tomcat.request.AccessInterceptor debug=0 / !-- Check permissions using the simple xml file. You can plug more advanced authentication modules. -- RequestInterceptor className=org.apache.tomcat.request.SimpleRealm debug=0 / !-- UnComment the following and comment out the above to get a JDBC realm. Other options for driverName: driverName=oracle.jdbc.driver.OracleDriver connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL connectionName=scott connectionPassword=tiger -- driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://localhost/authority connectionName=test connectionPassword=test !-- connectionName and connectionPassword are optional. -- Any help would be appreciated. Thanks, Mark Peterson -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mm.mysql driver
Put the mm.mysql*.jar file in the classpath of the machine running tomcat. Karthik - Original Message - From: Stephen Clarke [EMAIL PROTECTED] To: tomcat [EMAIL PROTECTED] Sent: Monday, January 28, 2002 6:41 PM Subject: mm.mysql driver Can anyone help me set up the MySQL drivers for Java. I have it working in stand alone programs. But in Tomcat I get error message org.gjt.mm.mysql.Driver which is supposed to be the name of the driver. Grateful for any assistance. Thanks. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat4 not unpacking wars
I also face the same problems.I would also like to know if there is a war file validator ?. Thanks Karthik - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 07, 2002 9:08 AM Subject: RE: Tomcat4 not unpacking wars Quick follow-up. Turned out to be a badly-packaged war file. Must throw it back to the developers. I tested by jar'ing the examples web-app and it unpacked OK. Is there a war file validator? How does tomcat validate war files? Thanks, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 27, 2001 2:54 PM To: [EMAIL PROTECTED] Subject: Tomcat4 not unpacking wars Tomcat4 is not unpacking my wars on startup. Do I have to configure it to do this? The following is the host element from my server.xml. Isn't this right? Host name=localhost debug=0 appBase=webapps unpackWARs=true Thanks, Jason E. Brawner -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]