Unable to replace jar lib - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Unable to replace jar lib

hi team,

i had a problem starting my tomcat webapp, then, i figured out that it needs a new verion of a jar lib wich i've downloaded and put in my lib folder, so the webapp works fine on a normal tomcat server, but in my installer, my webapp still uses the old library ever if i did replace it in the 'Files & Folders" section
finally the webapp can't start until i replace manually the lib ...!
any suggestion ?

thanks !
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to replace jar lib

Have you tried the option "Ensure this file overwrites any installed target files"?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: Unable to replace jar lib

hi Bogdan,

i did that but still can't replace it, i even created a new project with the new version of my lib but when i check it after the installation, i notice that it's size is not equal as the one in my webapp, does AI has an effect on this point ?

thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to replace jar lib

I am not sure what is happening. Can you please send us the aip file and a verbose log to support at advancedinstaller dot com so we can investigate them? Also, please specify the exact name of the lib file, so we can easily find it.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: Unable to replace jar lib

hi Bogdan,

i solved the problem, its origin is the compression, uncheck it like this:

Code: Select all

AI->Media->Java->Compression->Use Pack200 to compress jar files :UNCHECKED
and now my install works fine :)

thanks mate :)

Return to “Common Problems”