The CreatorCon Call for Content is officially open! Get started here.

Issue with Remote file import after washington upgrade

Sangeetha Harin
Tera Contributor

Hi Everyone, 

 

We are using Remote file import to fetch the csv file from Mid-server and processing the record to update user table. It stopped working after washington upgrade. Getting the below error. 

var remoteFileImport = new CSMIDServerRemoteFileImport();

remoteFileImport.getRemoteFileAndUploadToInstance()

Root cause of JavaScriptException: java.lang.IllegalAccessException

 

Any lead will be really helpful. 

 

Thanks

1 ACCEPTED SOLUTION

napatil24
Tera Expert

Update the MID server Wrapper file with Below 2 line

 

in file ---  agent/conf/wrapper.conf file
---------------------- Below 2 line add --------------------------------------
wrapper.java.additional.201=--add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED
wrapper.java.additional.202=--add-opens=java.base/sun.net.www.http=ALL-UNNAMED

View solution in original post

26 REPLIES 26

Uncle B
Tera Contributor

Facing same issue but even with adding the two lines, error remains. Any other things to look out for?

Hope you restarted the services. We have added those lines and restarted the service, nothing else was done. Our issue resolved. 

Yes, I did restart the mid-server. Should the box be restarted as well?

Also, make sure you are working with the correct Midserver that matches the instance you are testing -- I made the mistake of editing the wrong midserver first. Did you make the change in the override CONFIG file?

Yes, and the changes were made to the config file.