-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration.java call to ClasspathUtil.listClasspath() method fails #25
Comments
Actually this is a problem in the Util library, sorry for logging it here, follow up with |
Please put comments and questions on the RSNA MIRC CTP/TFS Google group (https://groups.google.com/g/rsnas-ctpmirc-user-group) so everyone will be able to follow. In the transition from Java 8 to 9, the application classloader changed. In 8, it was a subclass of URLClassLoader. That provided a method for adding jars to, and listing, the classpath. In 9, the application classloader became its own class, and it provides neither of those features. Because CTP is designed to be extended without being rebuilt, it has to be able to update the classpath, so I changed the way that CTP starts to make it re-instantiate itself with a URLClassloader so the extension mechanism will work. See org.rsna.ctp.ClinicalTrialProcessor.java, lines 59-76 to see how it works. If you are running CTP yourself in some way, you'll have to find your own way around the problem. JP |
Thanks for your reply. Sorry I couldn't use the google group because my
join request hasn't been allowed.
…On Fri, 30 Oct 2020 at 12:55, John Perry ***@***.***> wrote:
Please put comments and questions on the RSNA MIRC CTP/TFS Google group (
https://groups.google.com/g/rsnas-ctpmirc-user-group) so everyone will be
able to follow.
In the transition from Java 8 to 9, the application classloader changed.
In 8, it was a subclass of URLClassLoader. That provided a method for
adding jars to, and listing, the classpath. In 9, the application
classloader became its own class, and it provides neither of those
features. Because CTP is designed to be extended without being rebuilt, it
has to be able to update the classpath, so I changed the way that CTP
starts to make it re-instantiate itself with a URLClassloader so the
extension mechanism will work. See
org.rsna.ctp.ClinicalTrialProcessor.java, lines 59-76 to see how it works.
If you are running CTP yourself in some way, you'll have to find your own
way around the problem.
JP
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXMD7BWCABF2QXU5T6OSTLSNKZTVANCNFSM4TE2ONIA>
.
|
I spoke to Chris Carr at the RSNA. He checked, and you should be able to request to join the group.
There are several groups run by the RSNA. The one you want is called RSNA MIRC CTP/TFS User Group.
JP
From: howff
Sent: Monday, November 02, 2020 10:06 AM
To: johnperry/CTP
Cc: John Perry ; Comment
Subject: Re: [johnperry/CTP] Configuration.java call to ClasspathUtil.listClasspath() method fails (#25)
Thanks for your reply. Sorry I couldn't use the google group because my
join request hasn't been allowed.
On Fri, 30 Oct 2020 at 12:55, John Perry ***@***.***> wrote:
Please put comments and questions on the RSNA MIRC CTP/TFS Google group (
https://groups.google.com/g/rsnas-ctpmirc-user-group) so everyone will be
able to follow.
In the transition from Java 8 to 9, the application classloader changed.
In 8, it was a subclass of URLClassLoader. That provided a method for
adding jars to, and listing, the classpath. In 9, the application
classloader became its own class, and it provides neither of those
features. Because CTP is designed to be extended without being rebuilt, it
has to be able to update the classpath, so I changed the way that CTP
starts to make it re-instantiate itself with a URLClassloader so the
extension mechanism will work. See
org.rsna.ctp.ClinicalTrialProcessor.java, lines 59-76 to see how it works.
If you are running CTP yourself in some way, you'll have to find your own
way around the problem.
JP
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXMD7BWCABF2QXU5T6OSTLSNKZTVANCNFSM4TE2ONIA>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi and sorry for the rookie question - I'm trying to use the git version of CTP in a standalone program but it is not working and I've tracked it down to this line
If I comment out that line then it works.
Maybe I've got a bad version of ClasspathUtil or something? I seem to be using
The text was updated successfully, but these errors were encountered: