Issue Details (XML | Word | Printable)

Key: DERBY-91
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Daniel John Debrunner
Reporter: Daniel John Debrunner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

XA .sql tests fail with jar files

Created: 07/Dec/04 12:18 AM   Updated: 04/Jun/05 02:58 PM
Return to search
Component/s: Tools
Affects Version/s: 10.0.2.1
Fix Version/s: 10.0.2.2, 10.1.1.0

Time Tracking:
Not Specified

Resolution Date: 08/Dec/04 07:43 PM


 Description  « Hide
A handful of SQL tests such as jdbcapi/xaAnotherTest.sql fail when run against the jar files.

The output contains lines like

JAVA ERROR: java.lang.NullPointerException

for the ij XA testing commands like xa_datasource

Looks like the derbytools.jar is missing the class
org.apache.derby.impl.tools.ij.xaHelper
since it is loaded indirectly.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Daniel John Debrunner added a comment - 07/Dec/04 12:19 AM
Adding org.apache.derby.impl.tools.ij.xaHelper as an entry in

tools/jars/tools.properties

seems to fix the problem. I will commit once I've run derbyall test suite.

Andrew McIntyre added a comment - 07/Dec/04 01:10 AM
The class org.apache.derby.impl.tools.ij.ijXid should also be added to tools/jar/tools.properties as well.

Daniel John Debrunner added a comment - 08/Dec/04 07:43 PM
Sending tools/jar/tools.properties
Transmitting file data .
Committed revision 111300.

Only xaHelper is required to be added to tools.properties.

Daniel John Debrunner made changes - 08/Dec/04 07:43 PM
Field Original Value New Value
Fix Version/s 10.1.0.0 [ 10993 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Daniel John Debrunner added a comment - 11/Dec/04 05:10 AM
Sending tools\jar\tools.properties
Transmitting file data .
Committed revision 111575.
(Merge of 111300)

Daniel John Debrunner made changes - 11/Dec/04 05:10 AM
Fix Version/s 10.0.2.2 [ 10992 ]
Description A handful of SQL tests such as jdbcapi/xaAnotherTest.sql fail when run against the jar files.

The output contains lines like

JAVA ERROR: java.lang.NullPointerException

for the ij XA testing commands like xa_datasource

Looks like the derbytools.jar is missing the class
org.apache.derby.impl.tools.ij.xaHelper
since it is loaded indirectly.
A handful of SQL tests such as jdbcapi/xaAnotherTest.sql fail when run against the jar files.

The output contains lines like

JAVA ERROR: java.lang.NullPointerException

for the ij XA testing commands like xa_datasource

Looks like the derbytools.jar is missing the class
org.apache.derby.impl.tools.ij.xaHelper
since it is loaded indirectly.
Andrew McIntyre made changes - 04/Jun/05 02:58 PM
Status Resolved [ 5 ] Closed [ 6 ]