Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/26/2023 09:31 AM
Hi,
I've implemented a custom jar which needed an external jar. I've added it in Eclipse buildpath and ran the code which worked perfectly fine as a standalone. However, when i created a JOB in saviynt using the customjar and ran it, in the logs it says 'Caused by: java.lang.NoClassDefFoundError: org/openqa/selenium/edge/EdgeOptions' exception for the external jar which didn't happen as standalone. So i tried to add it in the file directory in saviynt, but since the jar size is more than 10MB, saviynt is not allowing me to upload it.
Could you please assist me with it?
Solved! Go to Solution.
07/26/2023 10:15 AM
Hi @thjyothi ,
Raise FD ticket with Saviynt and ask them to upload in lib from backend, so that jar will be available in classpath.
07/26/2023 05:24 PM
Is there any error displayed while uploading the jar from ui? I mean does it talk about size that you have mentioned?
If yes @uthra_rahul can this be checked and documented?
07/27/2023 04:06 AM
07/27/2023 04:45 AM
The default and max upload size limit for files is 10 MB
07/26/2023 09:47 PM
Sure @pmahalle , thank you for your suggestion. Will do.
yes @Manu269 @uthra_rahul , while i'm uploading the jar more than 10MB, it is showing a message that "File must be smaller than 10MB" and not allowing me to upload.
07/27/2023 12:28 AM
Hi @thjyothi ,
This is configurable in the externalconfig.properties file. Change the file size to above the file size you’re uploading. Then restart all services.
fileDirectory.maxSizeInMB=10
Getting file import error uploading database drive... - Saviynt Forums - 20814
Thanks,
Armaan
07/27/2023 05:19 AM
@armaanzahir i've changed the size to 40 from 10 and restarted application.
fileDirectory.maxSizeInMB=40
However, i'm still getting the same message that "File must be smaller than 10MB" while uploading the jar file.
07/27/2023 05:21 AM
yes global configuration does not work. Please make jar file below 10 MB by removing dependencies or raise freshdesk ticket with devops to upload jar fileZ