You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Apache Hudson Server <hu...@hudson.apache.org> on 2011/03/04 16:02:20 UTC

Build failed in Jenkins: Derby-trunk #789

See <https://hudson.apache.org/hudson/job/Derby-trunk/789/changes>

Changes:

[tiago] DERBY-4907 EmbeddedXADataSource with ;create=true attribute set in setDatabaseName fails with java.sql.SQLException: Database not available

Patch contributed by Siddharth Srivastava <ak...@gmail.com>

------------------------------------------
[...truncated 113 lines...]

state:
     [echo]   Generating SanityState.java...
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/generated/java/org/apache/derby/shared/common/sanity>
[propertyfile] Updating property file: <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/generated/java/org/apache/derby/shared/common/sanity/state.properties>

shared:
     [echo] building generated sanity info

compile:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 10 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

shared:

engine:

engine_169:

compile_reference:
    [javac] Compiling 11 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_authentication:
    [javac] Compiling 2 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

authentication:

compile_security:
    [javac] Compiling 2 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

security:

compile_io:
    [javac] Compiling 4 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

storage:

compile_iapi_error_jsr169:

compile_reference:
    [javac] Compiling 9 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_types:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 5 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 2 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_util:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_services_jsr169:
    [javac] Compiling 25 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_services_io:
    [javac] Compiling 6 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_store_jsr169:
    [javac] Compiling 11 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_sql_jsr169:

compile_iapi_db:
    [javac] Compiling 5 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_jdbc_jsr169:
    [javac] Compiling 5 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_mbeans:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_database:

database:

compile_impl_169:

compile_impl_services_169:
    [javac] Compiling 53 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_impl_io_169:
    [javac] Compiling 20 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

engine_j2se:

compile_vti:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] Compiling 4 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

vti:

compile_impl_169:

compile_impl_services_169:

compile_impl_io_169:

compile:

compile_impl_services_169:

compile_impl_services_jdk15:
    [javac] Compiling 9 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_impl_services:
    [javac] Compiling 3 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_impl_io_169:

compile_impl_io:
    [javac] Compiling 2 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

parser:

chkparser:

genParser:
     [echo]   Generating SQL parser...
     [java] Java Compiler Compiler Version 4.0 (Parser Generator)
     [java] (type "javacc" with no arguments for help)
     [java] Reading from file sqlgrammar.jj . . .
     [java] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.
     [java] File "TokenMgrError.java" does not exist.  Will create one.
     [java] File "ParseException.java" does not exist.  Will create one.
     [java] File "Token.java" does not exist.  Will create one.
     [java] File "CharStream.java" does not exist.  Will create one.
     [java] Parser generated successfully.

compile:
    [javac] Compiling 170 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes/org/apache/derby/impl/sql/catalog>

compile_impl_store:
    [javac] Compiling 211 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_impl_store_14:
    [javac] Compiling 2 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_impl_store_15:
    [javac] Compiling 2 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile:

compile:
    [javac] Compiling 15 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_impl_jdbc:

compile_jsr169:
    [javac] Compiling 4 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes/org/apache/derby/impl/jdbc>

compile_jdbc3:
    [javac] Compiling 11 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_jdbc4:
    [javac] Compiling 9 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile:

iapi:

compile_iapi_error_jsr169:

compile_reference:

compile_types:

compile_util:

compile_iapi_services_jsr169:

compile_iapi_services_io:

compile_iapi_store_jsr169:

compile_iapi_sql_jsr169:

compile_iapi_db:

compile_iapi_jdbc_jsr169:

compile_iapi_error:

compile_iapi_services_jsr169:

compile_iapi_services_io:

compile_crypto:

compile_crypto:

compile_jdbc3:

compile:

compile_iapi_store_jsr169:

compile_iapi_store_jdk13:

compile:

compile_iapi_sql_jsr169:

compile_iapi_sql_jdbc2:

compile:

compile_iapi_jdbc:

compile_iapi_jdbc_stmt:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_jdbc_jsr169:

compile_iapi_jdbc_jdbc2:
    [javac] Compiling 3 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_iapi_jdbc_jdbc3:
    [javac] Compiling 4 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_jdbc4:
    [javac] Compiling 4 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile:

iapi:

compile_jsr169:
    [javac] Compiling 1 source file to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>

compile_jdbc2:
    [javac] Compiling 5 source files to <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
    [javac] <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/java/engine/org/apache/derby/jdbc/ReferenceableDataSource.java>:115: cannot find symbol
    [javac] symbol  : method contains(java.lang.String)
    [javac] location: class java.lang.String
    [javac] 		if( databaseName!= null && databaseName.contains(";")){
    [javac] 		                                       ^
    [javac] 1 error

BUILD FAILED
<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/build.xml>:537: The following error occurred while executing this line:
<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/java/engine/build.xml>:61: The following error occurred while executing this line:
<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/java/engine/org/apache/derby/jdbc/build.xml>:96: Compile failed; see the compiler error output for details.

Total time: 27 seconds
[WARNINGS] Skipping publisher since build result is FAILURE


Jenkins build is back to normal : Derby-trunk #790

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Derby-trunk/790/changes>



Re: Build failed in Jenkins: Derby-trunk #789

Posted by Rick Hillegas <ri...@oracle.com>.
The build was broken by the following fix:

------------------------------------------------------------------------
r1077955 | tiago | 2011-03-04 06:12:25 -0800 (Fri, 04 Mar 2011) | 5 lines

DERBY-4907 EmbeddedXADataSource with ;create=true attribute set in 
setDatabaseName fails with java.sql.SQLException: Database not available

Patch contributed by Siddharth Srivastava <ak...@gmail.com>


------------------------------------------------------------------------

The problem is that ReferenceableDataSource now calls String.contains(), 
a method which was added in Java 5. However, that class is supposed to 
compile so that it can be run on JDK 1.4.

I intend to back out this fix because we are very close to generating a 
release candidate.

Regards,
-Rick

On 3/4/11 7:02 AM, Apache Hudson Server wrote:
> See<https://hudson.apache.org/hudson/job/Derby-trunk/789/changes>
>
> Changes:
>
> [tiago] DERBY-4907 EmbeddedXADataSource with ;create=true attribute set in setDatabaseName fails with java.sql.SQLException: Database not available
>
> Patch contributed by Siddharth Srivastava<ak...@gmail.com>
>
> ------------------------------------------
> [...truncated 113 lines...]
>
> state:
>       [echo]   Generating SanityState.java...
>       [copy] Copying 1 file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/generated/java/org/apache/derby/shared/common/sanity>
> [propertyfile] Updating property file:<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/generated/java/org/apache/derby/shared/common/sanity/state.properties>
>
> shared:
>       [echo] building generated sanity info
>
> compile:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 10 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> shared:
>
> engine:
>
> engine_169:
>
> compile_reference:
>      [javac] Compiling 11 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_authentication:
>      [javac] Compiling 2 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> authentication:
>
> compile_security:
>      [javac] Compiling 2 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> security:
>
> compile_io:
>      [javac] Compiling 4 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> storage:
>
> compile_iapi_error_jsr169:
>
> compile_reference:
>      [javac] Compiling 9 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_types:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 5 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 2 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_util:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_services_jsr169:
>      [javac] Compiling 25 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_services_io:
>      [javac] Compiling 6 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_store_jsr169:
>      [javac] Compiling 11 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_sql_jsr169:
>
> compile_iapi_db:
>      [javac] Compiling 5 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_jdbc_jsr169:
>      [javac] Compiling 5 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_mbeans:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_database:
>
> database:
>
> compile_impl_169:
>
> compile_impl_services_169:
>      [javac] Compiling 53 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_impl_io_169:
>      [javac] Compiling 20 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> engine_j2se:
>
> compile_vti:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac] Compiling 4 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> vti:
>
> compile_impl_169:
>
> compile_impl_services_169:
>
> compile_impl_io_169:
>
> compile:
>
> compile_impl_services_169:
>
> compile_impl_services_jdk15:
>      [javac] Compiling 9 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_impl_services:
>      [javac] Compiling 3 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_impl_io_169:
>
> compile_impl_io:
>      [javac] Compiling 2 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> parser:
>
> chkparser:
>
> genParser:
>       [echo]   Generating SQL parser...
>       [java] Java Compiler Compiler Version 4.0 (Parser Generator)
>       [java] (type "javacc" with no arguments for help)
>       [java] Reading from file sqlgrammar.jj . . .
>       [java] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.
>       [java] File "TokenMgrError.java" does not exist.  Will create one.
>       [java] File "ParseException.java" does not exist.  Will create one.
>       [java] File "Token.java" does not exist.  Will create one.
>       [java] File "CharStream.java" does not exist.  Will create one.
>       [java] Parser generated successfully.
>
> compile:
>      [javac] Compiling 170 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>       [copy] Copying 1 file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes/org/apache/derby/impl/sql/catalog>
>
> compile_impl_store:
>      [javac] Compiling 211 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_impl_store_14:
>      [javac] Compiling 2 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_impl_store_15:
>      [javac] Compiling 2 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile:
>
> compile:
>      [javac] Compiling 15 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_impl_jdbc:
>
> compile_jsr169:
>      [javac] Compiling 4 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>       [copy] Copying 1 file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes/org/apache/derby/impl/jdbc>
>
> compile_jdbc3:
>      [javac] Compiling 11 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_jdbc4:
>      [javac] Compiling 9 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile:
>
> iapi:
>
> compile_iapi_error_jsr169:
>
> compile_reference:
>
> compile_types:
>
> compile_util:
>
> compile_iapi_services_jsr169:
>
> compile_iapi_services_io:
>
> compile_iapi_store_jsr169:
>
> compile_iapi_sql_jsr169:
>
> compile_iapi_db:
>
> compile_iapi_jdbc_jsr169:
>
> compile_iapi_error:
>
> compile_iapi_services_jsr169:
>
> compile_iapi_services_io:
>
> compile_crypto:
>
> compile_crypto:
>
> compile_jdbc3:
>
> compile:
>
> compile_iapi_store_jsr169:
>
> compile_iapi_store_jdk13:
>
> compile:
>
> compile_iapi_sql_jsr169:
>
> compile_iapi_sql_jdbc2:
>
> compile:
>
> compile_iapi_jdbc:
>
> compile_iapi_jdbc_stmt:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_jdbc_jsr169:
>
> compile_iapi_jdbc_jdbc2:
>      [javac] Compiling 3 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_iapi_jdbc_jdbc3:
>      [javac] Compiling 4 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_jdbc4:
>      [javac] Compiling 4 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile:
>
> iapi:
>
> compile_jsr169:
>      [javac] Compiling 1 source file to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>
> compile_jdbc2:
>      [javac] Compiling 5 source files to<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/classes>
>      [javac]<https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/java/engine/org/apache/derby/jdbc/ReferenceableDataSource.java>:115: cannot find symbol
>      [javac] symbol  : method contains(java.lang.String)
>      [javac] location: class java.lang.String
>      [javac] 		if( databaseName!= null&&  databaseName.contains(";")){
>      [javac] 		                                       ^
>      [javac] 1 error
>
> BUILD FAILED
> <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/build.xml>:537: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/java/engine/build.xml>:61: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Derby-trunk/ws/trunk/java/engine/org/apache/derby/jdbc/build.xml>:96: Compile failed; see the compiler error output for details.
>
> Total time: 27 seconds
> [WARNINGS] Skipping publisher since build result is FAILURE
>
>