[
https://issues.apache.org/jira/browse/TOMEE-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved TOMEE-1947.
------------------------------------
Resolution: Auto Closed
Hi there!
We wanted to reach out and let you know that we're currently working on
cleaning up open issues in Jira that specifically impact unsupported versions,
including 1.7.x, 7.0.x, and 7.1.x.
If you had previously reported this issue on one of these unsupported versions,
we kindly ask you to check if the problem still persists and can be reproduced
on a supported version such as 8.0.x or 9.0.x. If you find that it is indeed
reproducible on a supported version, you're more than welcome to re-open this
issue.
Thanks!
> Using Class within sqltool-2.3.2.jar results in ClassNotFoundException
> ----------------------------------------------------------------------
>
> Key: TOMEE-1947
> URL: https://issues.apache.org/jira/browse/TOMEE-1947
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: Marco Dubacher
> Priority: Major
>
> We want to use sqltool-2.3.2.jar which is provided by the hsqldb guys inorder
> to pump some sql-scripts into the hsqldb.
> Deploying the sqltool-2.3.2.jar as part of our war-file results in a
> ClassNotFoundException for the Class "org.hsqldb.cmdline.SqlFile" which is
> stored within the sqltool-2.3.2.jar.
> The ClassNotFoundException is caused by the following code-lines which are
> part of the shouldSkip()-Method within the Class URLClassLoaderFirst.
> {code:title=URLClassLoaderFirst.java|borderStyle=solid}
> ...
> if ((org.startsWith("hsqldb.")) && (SKIP_HSQLDB)) {
> return true;
> }
> ...
> {code}
> The problem is that the sqltool-2.3.2.jar contains the same package hierarchy
> org.hsqldb... as the hsqldb.jar.
> Workarounds:
> # Remove hsqldb-2.3.2.jar from TomEE lib folder.
> # Set the property org.hsqldb.lib.HsqlTimer.skip = false
--
This message was sent by Atlassian Jira
(v8.20.10#820010)