

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Windows RL, detect new JAR with a shim class inside
I am confident I have seen this come up before, but my google-fu fails me. So maybe someone rememebers.
I have a custom JAR, and in Linux RL's I just call the class by name.
Windows RL - File is in the lib directory with all the other shims, and I try to add a driver and my class is not in the list.
How do you make the WIndows RL tool rescan and see the new class? I remember seeing a thread on that topic but cannot find it.
I can edit the config file, specify the class, and it works. But the settings in the gUI are still wrong, they are stored in the registry, so I could go edit that to be correct as well. But I want it to work properly.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
1. Just edit the text file by hand.
2. Add the jar to the registry.
I don't remember where but you should find it if you search for one of the others.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
See the other answers.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
http://vancauwenberge.info/
With a broken link to what is, I think, this thread here:
https://community.microfocus.com/t5/Identity-Manager-User/Generic-Driver-and-Remote-Load/m-p/2335531


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
https://community.microfocus.com/t5/Identity-Manager-Tips/Using-the-Generic-File-Driver-for-importing-Photos/ta-p/1776087


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Joakim, can you paste in the specific part you are referring to? I see that link says edit the file and edit the registry. Which works, but I was hoping tehre was a way to make the Shim 'discoverable' by the RL somehow.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I asked Stephaan in email what he had to do. I shall report back here. I wonder if he means you need to build the JAR more like a TAR than a ZIP? Without compression? Not sure. Will get back when I find out more.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
He had to change the jar for it to be discovered. Pretty sure it was the compression that was not allowed.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
If it's "uncompressed" that is the key, then use "jar cf0 jar-file" instead of "jar cf jar-file" to create it.
https://docs.oracle.com/javase/tutorial/deployment/jar/build.html


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks David, I will ask Rob next time he compiles the shim to try that. Curious to see if it works. Good thing these are small shims, so who cares about compression on a 1Meg or less file.