=== files missing ... ? ====

2001-04-11 Thread Pedro Henrique Ponchio

Hello,

Im trying to compile the source code of Tomcat, but I receive some
errors. What have I have to do to make it? I known that are some files
mising like moo.jar e dev.jar ... I already compile and install the
apache, mod_ssl, servletapi, ant, jaxp, etc, etc ... here the build.sh
file:

#! /bin/sh

# $Id: build.sh,v 1.11 2000/05/01 15:46:47 craigmcc Exp $

if [ -z "$JAVA_HOME" ]
then
JAVACMD=`which java`
if [ -z "$JAVACMD" ]
then
echo "Cannot find JAVA. Please set your PATH."
exit 1
fi
JAVA_BINDIR=`dirname $JAVACMD`
JAVA_HOME=$JAVA_BINDIR/..
fi

if [ "$ANT_OPTS" = "" ] ; then
  ANT_OPTS=""
fi

JAVACMD=$JAVA_HOME/bin/java $ANT_OPTS

cp=../jakarta-ant/lib/ant.jar:../jakarta-servletapi/lib/servlet.jar:../j
akarta-tools/moo.jar:../build/tomcat/class
es:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar

$JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@"





 ---  and here the error message that I receive:






[javac] Compiling 5 source files to
/usr/local/tomcat_3.2.1/build/tomcat/classes
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/compiler/JspCompiler.java:136: Method
getClassName(java.lang.String) not found in class
org.apache.jasper.compiler.ClassName.
[javac] realClassName = ClassName.getClassName(
getClassFileName() );
[javac]   ^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/compiler/JspCompiler.java:137: Exception
org.apache.jasper.JasperException is never thrown in the body of the
corresponding try statement.
[javac] } catch( JasperException ex) {
[javac]   ^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/compiler/JspParseEventListener.java:867: Wrong number of arguments
in constructor.
[javac] = new GeneratorWrapper(new
ForwardGenerator(start, attrs, param),
[javac]^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/compiler/JspParseEventListener.java:877: Wrong number of arguments
in constructor.
[javac] = new GeneratorWrapper(new
IncludeGenerator(start, attrs, param),
[javac]^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/JspC.java:367: Method compile() not found in class
org.apache.jasper.compiler.CommandLineCompiler.
[javac] clc.compile();
[javac]^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/servlet/JspServlet.java:462: Method compile() not found in class
org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac]^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/servlet/JspServlet.java:467: Method compile() not found in class
org.apache.jasper.compiler.Compiler.
[javac] outDated = compiler.compile();
[javac]^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/servlet/JspServlet.java:471: Exception
java.io.FileNotFoundException is never thrown in the body of the
corresponding try statement.
[javac] } catch (FileNotFoundException ex) {
[javac]   ^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/ja
sper/servlet/JspServlet.java:473: Exception
org.apache.jasper.JasperException is never thrown in the body of the
corresponding try statement.
[javac] } catch (JasperException ex) {
[javac]   ^
[javac]
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/to
mcat/request/JspInterceptor.java:205: Method compile() not found in
class org.apache.jasper.compiler.Compiler.
[javac] compiler.compile();
[javac] ^
[javac] Note:
/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/src/share/org/apache/to
mcat/request/JspInterceptor.java uses or overrides a deprecated API.
Recompile with "-deprecation" for details.
[javac] 10 errors, 1 warning

BUILD FAILED

/usr/local/tomcat_3.2.1/jakarta-tomcat-3.2.1-src/build.xml:94: Compile
failed, messages should have been provided.

Total time: 4 seconds



CAN ANYONE HELP-ME??

Thanks a lot 4 all!!

Pedro



Tomcat as service wrapper files missing

2000-11-29 Thread Vince Ulfig



Hi,

I want Apache and Tomcat to start automatically as 
a service
on my NT machine when the machine boots, or when I 
log in.

I'm following the instructions on this 
page:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.html

This page refers to these files, that I cannot 
find:

  Locate the wrapper.properties template file in your Tomcat conf directory. 

  Update the wrapper.tomcat_home property to point at your tomcat home. 
  Update the wrapper.java_home property to point at your Java home. 
I'm attempting to use Apache and Tomcat with another software
that refers to this wrapper files.

I installed this version of tomcat:
apache_1_3_14_win32_r2.exe
from the URL:http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/

The install exe was encased in this zip file on the above URL:
jakarta-tomcat.zip

Why did my installation not install the wrapper files, and
how do I find them?

Thanks!