Re: PROBLEM in Win98 startup-NoClassDefFoundError
On 12/30/2000 at 11:14 AM S Joseph wrote: My classpath is correctly set up to include d:\tomcat\classes and all the jar files in tomcat\lib directory ie; ant.jar, jasper.jar,jaxp.jar,parser.jar,servlet.jar and webserver.jar Tomcat uses its own classloaders, and doesn't need much there to actually run. It may be something is being loaded twice (webserver.jar?), and this is causing the exception. Try trimming your classpath down to ".;d:\tomcat\classes;" and see if that gets you past the exception. (Later, if you need to do development on the same machine, look at using Ant to compile your projects, since it can manage the classpath dependancies for you.) Can anyone tell me what all that %2 %3 etc means. Are they the command line parameters?? Yes, in order of appearance. I guess this class file should be in one of the jar files in lib directory Yes. The tomcat classes are in the webserver.jar. If you want to peek, you can drag a JAR file into WinZIP, or any other ZIP program, to see what's inside. Also, be sure that you are starting out with the latest 3.2.x release of Tomcat. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 425-0252; Fax 716 223-2506. -- http://www.husted.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How to enable ISAPI filters in IIS management console
The green arrow appears only when all the entries are correct. you don't have to do anything to enable it. The mistake could be anywhere, for example 1. Wrong directory specified in the registry entries 2. Some typos in the registry entries .. In my case, I had mistyped the directory name for the logs. The best thing is to go through each step carefully. p.s. tomcat+IIS is not quite ok. It throws new issues every day. better go in for Linux or sun-Solaris. Open-source s/w are allergic to windows! Regards Nagaraj. -Original Message- From: Hawkins, Keith (Keith) [mailto:[EMAIL PROTECTED]] Sent: Friday, December 29, 2000 9:41 PM To: [EMAIL PROTECTED] Subject: How to enable ISAPI filters in IIS management console I have installed the isapi_redirect.dll and have added the filter to the ISAPI filters tab of the Default Web Site properties page. The filter status has a red down arrow and the enable button is always greyed out. I tried restarting IIS, but the filter status never changed to active (Green up arrow.) What steps do I need to take to get IIS to activate this filter? This is pretty basic stuff I am asking. I hope someone can point me in the right direction. Thanks, Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
beginner needs help(Compile error)
Dear Helper, I am running the application fine with the following commands... set TOMCAT_HOME=e:\foo\jakarta-tomcat-3.2.1 set JAVA_HOME=e:\jdk1.3 cd jakarta-tomcat-3.2.1\bin startup cd .. cd doc cd appdev cd sample The above outputs the following path info also... Using CLASSPATH: e:\foo\jakarta-tomcat-3.2.1\classes;e:\foo\jakarta-tomcat-3.2.1 \lib\ant.jar;e:\foo\jakarta-tomcat-3.2.1\lib\jasper.jar;e:\foo\jakarta-tomcat-3. 2.1\lib\jaxp.jar;e:\foo\jakarta-tomcat-3.2.1\lib\parser.jar;e:\foo\jakarta-tomca t-3.2.1\lib\servlet.jar;e:\foo\jakarta-tomcat-3.2.1\lib\webserver.jar;C:\SilverS tream30\COMPILECACHE\LOCALHOST\DEVELOP_BEANS\CLASSES;C:\SilverStream30\LIB\Silve rServerAll.zip;c:\SilverStream30\lib\servlet.jar;c:\SilverStream30\jre\lib\rt.ja r;c:\SilverStream30\lib\silverdesignerall.zip;c:\SilverStream30\Docs\help\books\ TechCode\jsptech6;c:\SilverStream30\jre\lib\ext\jndi.jar;c:\SilverStream30\lib\j avax_sql.zip;e:\jdk1.3\lib\tools.jar I am then typing build in the sample directory but here I come unstuck... E:\foo\jakarta-tomcat-3.2.1\doc\appdev\samplebuild Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/ Main Can you throw any light on this? Regards Charles Your email address says a lot about you. Express yourself @ another.com http://another.com/jump.jsp?destDesc=another.com/login.jsp?sig=393 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Alias question
Pete Ehli wrote: Hello group -- I am trying to access a servlet via an alias. This I thought was done through the web.xml file in my directory webapps\practice\Web-inf\web.xml - practice is of course the name of my web application. I have changed only my web.xml file to run my servlet -- This is what I have put into my web.xml file (this is the only thing in it). servlet servlet-namehello/servlet-name servlet-classfoo.bar.baz.HelloWorld/servlet-class /servlet Looks to me like Tomcat will look for: webapps/practice/WEB-INF/classes/foo/bar/baz/HelloWorld.class is that what you have? WBB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: RequestDispatcher.include problem
I solved my problem with pageContext.getOut().flush() before the include instead of pageContext.getResponse().flushBuffer(). Strange. In any case, RequestDispatcher.include is supposed to flush the buffer, no? I looked at the source code of RequestDispatcherImpl (Tomcat 3.2.1) and it does a response.flushBuffer indeed, but it doesn't seem to work (it's got a comment stating that this is a hack to overcome a problem with session ids). So it might be a bug. Any developers out there listening? Borislav Reply-To: [EMAIL PROTECTED] Date: Fri, 29 Dec 2000 23:26:02 -0800 From: "biordanov Last Name" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RequestDispatcher.include problem Hi guys, Don't know whether this is really a problem or some sort of side-effect of the spec. In a tag library I have a tag which has to include an external ressources (a JSP page). In the tag I simple do the following: RequestDispatcher reqdisp = pageContext.getServletContext().getRequestDispatcher("/test.jsp"); reqdisp.include(pageContext.getRequest(), pageContext.getResponse()); test.jsp is compiled an included fine, but always at the beginning of response, before any other text. I tried calling manually flushing the response buffer before the include, but it didn't help. However, if the manual flushing is done in the page containing my tag, then the included test.jsp appears at right place. Anyone? Is this normal? Known? Didn't find anything related in the archive. Thanks a lot, Borislav --== Sent via Deja.com ==-- http://www.deja.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --== Sent via Deja.com ==-- http://www.deja.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: What's in the classes directory?
Title: Re: What's in the classes directory? Based on my set up, it is sufficient to have the 4 jar files that are part of the binary distribution reside in the lib directory that is parallel to the class directory. Nothing more is required. -- Tom Woteki, a.k.a. Dr. Wo mail to:[EMAIL PROTECTED] 202-544-2743 (fax) From: Robert Zazueta [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 29 Dec 2000 18:12:01 -0500 To: [EMAIL PROTECTED] Subject: What's in the classes directory? We're currently upgrading from 3.1.1 to 3.2.1. In the existing 3.1.1 dist (please keep in mind that I inherited this from another group) there is a directory called /usr/local/jakarta/tomcat/classes which contains the org.apache.tomcat, org.apache.jasper and javax.servlet packages. According to the documentation, the classes directory is meant for additional classes we'd like loaded along with Tomcat. However, these three packages -- at least to my understanding -- should automatically be loaded when Tomcat starts up, as they should be part of the standard tomcat dist and the JDK 1.2. So, question 1: Do those packages need to be in the classes directory for 3.2.1 or are they just extra fluff? Question 2: Did those classes need to be in there for 3.1.1? Why? Thanks a ton! Rob Z.
Re: Unsubscribing
Block sender - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 30, 2000 3:09 PM Subject: Unsubscribing Twice now I have sent a message to unsubscribe to the digest. Each time I have received a confirmation message that I have been "unsubscribed". I am still receiving the digest. What do I do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: PROBLEM in Win98 startup-NoClassDefFoundError
Use this Tomcat loader. Works 99.44% of the time. Take a look: http://www.geocities.com/jdrudnicki/ Jim - Original Message - From: "S Joseph" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 29, 2000 9:44 PM Subject: PROBLEM in Win98 startup-NoClassDefFoundError PLEASE HELP... I have been trying to get tomcat started up for last two days... I have checked the faq site and gone through the complete mailing list and I have not found any answer to my problem so far... ...snip... PLEASE HELP!! I have become obsessed in solving this problem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: SIMPLE SIMPLE QUESTION ON RUNNING TOMCAT
Use this Tomcat loader. Works 99.44% of the time. Take a look: http://www.geocities.com/jdrudnicki/ Jim - Original Message - From: "Mick Sullivan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 29, 2000 8:21 AM Subject: SIMPLE SIMPLE QUESTION ON RUNNING TOMCAT Hi I need help to run tomcat I have create a simple HTML website with Javascript for validation. I have downloaded tomcat and tried running the "startup.bat" file. In the Dos window a message as follows appears. Out of Environment space Out of Environment space ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]