Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Unable to upload jar more than 10MB to saviynt

thjyothi
New Contributor II
New Contributor II

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?

8 REPLIES 8

pmahalle
All-Star
All-Star

Hi @thjyothi ,

Raise FD ticket with Saviynt and ask them to upload in lib from backend, so that jar will be available in classpath.


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

Manu269
All-Star
All-Star

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?

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

@Manu269 @thjyothi Sure. We will check and revert.

@Showvik Please verify the permitted file size and update. Thanks!

The default and max upload size limit for files is 10 MB

thjyothi
New Contributor II
New Contributor II

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.

armaanzahir
Valued Contributor
Valued Contributor

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

armaanzahir_0-1690442682935.png

 

Getting file import error uploading database drive... - Saviynt Forums - 20814

 

Thanks,

Armaan

Regards,
Md Armaan Zahir

@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.

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


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.