tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5379] New: - j-t-c webapps java can not compile
Date Wed, 12 Dec 2001 15:44:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5379>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5379

j-t-c webapps java can not compile

           Summary: j-t-c webapps java can not compile
           Product: Tomcat 4
           Version: Nightly Build
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: AJP Connector
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bpm@ec-group.com


Some system particulars:
shaka: uname -a
SunOS shaka 5.8 Generic_108529-12 i86pc i386 i86pc
shaka: java -version
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
shaka: gcc -v
Reading specs from /opt/sfw/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)

Configuring as:
./configure --with-apr=/home/bpm/compile_area/httpd-2.0/srclib/apr \
            --with-apxs=/opt/apache2/bin/apxs \
            --enable-java \
            --with-tomcat=/opt/jakarta-tomcat \
            --enable-debug

/usr/j2se/bin/javac  -d . -classpath
/opt/jakarta-tomcat/common/lib/servlet.jar:/opt/jakarta-tomcat/server/lib/catalina.jar:${CLASSPATH}
\
    Constants.java WarpConfigurationHandler.java WarpConnection.java
WarpConnector.java WarpEngine.java WarpHost.java WarpLogger.java WarpPacket.java
WarpRequest.java WarpRequestHandler.java WarpResponse.java WarpCertificates.java
WarpSSLData.java
WarpConnector.java:80: org.apache.catalina.connector.warp.WarpConnector should
be declared abstract; it does not define
setFactory(org.apache.catalina.ServerSocketFactory) in
org.apache.catalina.connector.warp.WarpConnector
public class WarpConnector implements Connector, Lifecycle, Runnable {
       ^
Note: WarpConnector.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
1 error
gmake[2]: *** [warp.jar] Error 1
gmake[2]: Leaving directory
`/home/bpm/compile_area/cvs_jakarta/jakarta-tomcat-connectors/webapp/java'
gmake[1]: Exiting directory "java"
gmake[1]: *** [template] Error 2
gmake[1]: Leaving directory
`/home/bpm/compile_area/cvs_jakarta/jakarta-tomcat-connectors/webapp'
gmake: *** [java-build] Error 2
shaka: 


Quick observation shows that the java code from the j-t-c/webapp/java directory
is way out of sync with the jakarta-tomcat-4.0 code.

Meaning that the WarpConnector code does not match the Jakarta-tomcat-4.0 code. 

Looking for ServerSocketFactory in jakarta-tomcat-4.0:

shaka: cd ../../jakarta-tomcat-4.0/
shaka: find . -name ServerSocketFactory.java
./catalina/src/share/org/apache/catalina/ServerSocketFactory.java
./catalina/src/share/org/apache/catalina/net/ServerSocketFactory.java

So which one?

Why is code checked in that can not compile?

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message