DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th September 2011
redaxe12 redaxe12 is offline
New User
 
Join Date: Sep 2011
Posts: 1
Thanked 0 Times in 0 Posts
Question Unable to Build Tomcat 7 - OpenBSD 4.9

I am trying to build tomcat 7 source for openBSD 4.9 using apache ANT 1.8x by following the instructions in BUILDING.txt file.

but it returns compile errors while compiling tomcat-dbcp, following is error log. If some one can let me know from where i can get tomcat 7 ports for openBSD if compiling is not possible, Thanks

Code:
build-tomcat-dbcp:
 [copy] Copying 64 files to /usr/share/java/tomcat7-deps/dbcp
 [move] Moving 64 files to /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp
[javac] Compiling 64 source files to /usr/share/java/tomcat7-deps/dbcp/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java:53: BasicDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[javac] public class BasicDataSource implements DataSource {
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingStatement.java:46: DelegatingStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
[javac] public class DelegatingStatement extends AbandonedTrace implements Statement {
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingPreparedStatement.java:57: DelegatingPreparedStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
[javac] public class DelegatingPreparedStatement extends DelegatingStatement
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingCallableStatement.java:58: DelegatingCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
[javac] public class DelegatingCallableStatement extends DelegatingPreparedStatement
[javac]        ^
[javac]   where T is a type-variable:
[javac]     T extends Object declared in method <T>getObject(String,Class<T>)
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingConnection.java:65: DelegatingConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection
[javac] public class DelegatingConnection extends AbandonedTrace
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingDatabaseMetaData.java:41: DelegatingDatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
[javac] public class DelegatingDatabaseMetaData extends AbandonedTrace
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingResultSet.java:61: DelegatingResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet
[javac] public class DelegatingResultSet extends AbandonedTrace implements ResultSet {
[javac]        ^
[javac]   where T is a type-variable:
[javac]     T extends Object declared in method <T>getObject(String,Class<T>)
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolableCallableStatement.java:38: PoolableCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
[javac] public class PoolableCallableStatement extends DelegatingCallableStatement implements CallableStatement {
[javac]        ^
[javac]   where T is a type-variable:
[javac]     T extends Object declared in method <T>getObject(String,Class<T>)
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolablePreparedStatement.java:41: PoolablePreparedStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement
[javac] public class PoolablePreparedStatement extends DelegatingPreparedStatement implements PreparedStatement {
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolingConnection.java:45: PoolingConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection
[javac] public class PoolingConnection extends DelegatingConnection implements Connection, KeyedPoolableObjectFactory {
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolingDataSource.java:45: PoolingDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[javac] public class PoolingDataSource implements DataSource {
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolingDriver.java:52: PoolingDriver is not abstract and does not override abstract method getParentLogger() in Driver
[javac] public class PoolingDriver implements Driver {
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/cpdsadapter/DriverAdapterCPDS.java:87: DriverAdapterCPDS is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[javac] public class DriverAdapterCPDS
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/datasources/PerUserPoolDataSource.java:60: PerUserPoolDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[javac] public class PerUserPoolDataSource
[javac]        ^
[javac] /usr/share/java/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/datasources/SharedPoolDataSource.java:52: SharedPoolDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[javac] public class SharedPoolDataSource
[javac]        ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 15 errors
[javac] 1 warning
`BUILD FAILED
Reply With Quote
  #2   (View Single Post)  
Old 30th September 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,930
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by redaxe12 View Post
I am trying to build tomcat 7 source for openBSD 4.9 using apache ANT 1.8x...
Neither Tomcat 7 nor Apache-Ant 1.8 were ported to OpenBSD 4.9. Ant 1.8 is available for -current users, but Tomcat 7 is not available yet.

I also don't see a maintainer mentioned for version 6 either:

http://www.openbsd.org/cgi-bin/cvswe...?annotate=1.15

If you must have Tomcat 7, I would suggest downloading the ports tree & study the Makefile & patches made to version 6. Building Java applications on OpenBSD is not trivial. Simply downloading source & using the default Makefile is most likely a futile effort. Understanding what changes have been required in previous versions may help you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 7: Apache Servlet Container declared stable J65nko News 0 15th January 2011 01:49 AM
How to build a OpenBSD server? fender0107401 OpenBSD Installation and Upgrading 6 15th October 2010 07:11 PM
The right way to build an OpenBSD port with debug symbols WeakSauceIII OpenBSD Packages and Ports 7 20th April 2009 12:40 PM
Tomcat n00b error disappearedng FreeBSD General 0 18th November 2008 05:14 AM
Unable to build custom kernel [Wrong configuration?] jrick FreeBSD General 3 31st July 2008 01:53 PM


All times are GMT. The time now is 07:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick