Finding and removing unused Jars in webapp

Can someone please take a look at my posting here:
http://forum.java.sun.com/thread.jspa?threadID=610608&tstart=0
I've given it three days in the Jar forum but there were no takers so perhaps someone here may have some insight into this.
Thanks!
p.s. If you do in fact reply, please do so in the above thread, not here. Thx

If you have the source code you can start by removing all of the jar files from the class path and compiling the code. You then look at the error codes and determine which jar files to add back to the classpath.
After you get the code to compile you load the application on to the web server and test all of the functionality to ensure that it still works properly. You may need to add jar files to correct runtime errors.
It takes some time and patience.

Similar Messages

  • Finding and removing unused replica virtual machines in the VMware Horizon

    Hello All,
    I found this tutorial : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009844#determining
    and I was trying this command : SviConfig.exe -operation=FindUnusedReplica -DsnName=ComposerDB -Username=sa -Password=secret -Move=true
    but I dont know right password of DSN, how can I get ? or is it another tutorial how to remove unused replica virtual machine ?

    Hi,
    So what you are trying to do is drill into the Composer Database and find un-used replicas? Do you not know the DSN credentials when you set up the ODBC connection? Was it not documented?
    If not, then I do not know if there is a way to crowbar that password information out. Do you have access to the SQL database via Management studio? There are possibly a few options:
    1)  You could create a NEW user who has permissions on the composer DB and create a NEW ODBC DSN and use this user and password to access the database from the same server using the sviconfig. You are just providing another way of access the same database really without interupting the existing composer connection.
    2) You could try resetting the password on the account (and update the ODBC connection on the composer server) - I'd stop the composer service first and then edit ODBC and then resume composer and check everything works!
    3) Try and find the information of your account (who set it up?) as this would be the best way moving forward.
    My preferred options would be to try 3, 1  and finally 2. I'd always recommend testing things like this in a development environment first so you can really understand the impact/consequence to what you are doing.
    Happy to help!

  • Finding and removing uneeded jars

    Hi,
    I have inherited a fairly large but badly designed and coded web app at my company and am trying to determine if all the jars under WEB-INF/lib are in fact needed by the app. I am betting many are not but I can't tell for sure. Can anyone please suggest the best way to go about seeing which really need to be there and which don't? Thanks!

    If you have the source code you can start by removing all of the jar files from the class path and compiling the code. You then look at the error codes and determine which jar files to add back to the classpath.
    After you get the code to compile you load the application on to the web server and test all of the functionality to ensure that it still works properly. You may need to add jar files to correct runtime errors.
    It takes some time and patience.

  • On my MacBook with Lion Safari does start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library did not help. Where can I find and remove all components (LastSession ...)?

    How can I reset Safari with all components? On my MacBook with Lion, Safari does not start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library does not help. Where can I find and remove all components as LastSession and TopSites?

    The only way to reinstall Safari on a Mac running v10.7 Lion is to restore OS X using OS X Recovery
    Instead of restoring OS X in order to reinstall Safari, try troubleshooting extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    If it's not an extension or plug-in issue, delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • How do I find and remove duplicates on the 11.2 itunes?

    How do I find and remove duplicates on the 11.2 itunes?

    duplicate annihaitor
    But often duplicates are a symptom and you really need to address the cause - more information is needed to help out with that
    LN

  • How to find and remove any special character in filename?

    I have a files in various Windows Servers 2003 with a special character at his names, who are causing problem with backup software, i don´t know what character is because in explorer they are not shown and in command line they are shown only as interrogation
    mark and for this, i don´t know how i will find and remove then.
    Thanks.

    Hi,
    I agree with Dave. We can try using
    chkdsk utility to check the file system and file system metadata of a volume for logical and physical errors.
    Regarding
    chkdsk, the following article can be referred to for more information.
    Chkdsk
    http://technet.microsoft.com/en-us/library/cc730714.aspx
    Best regards,
    Frank Shen

  • HT2905 No Display Duplicates under File. How to find and remove duplicate items in your iTunes library

    I now have iTunes ver 11.0.4.4 under Windows 7. I lost all iTunes stuff when updating to Windows 7. I have loaded thousands amd thousands of music files from backup disks, but there are many duplicates. I am attemping to re-establish my old library. I used to be able to remove duplicates quickly with the old iTunes. The new iTunes doesn't seem to offer the same service. Is there any way to remove duplicates quickly, or must I do it one by one?

    When deduping use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    See also HT2905: How to find and remove duplicate items in your iTunes library
    tt2

  • How can I find and remove viruses from my mac

    I fear that I might have a virus on my beloved macbook pro. i message was spassing out and not sending my messages, my folders continue to dissapear from my desktop causing me to restart finder (not a big deal just annoying) and some other out-of-place things are happening. I don't like credit cards so i can't buy any intvirus software so I was curious to know if there is a way to search for, find, and remove this potential virus on my own.

    Apple provides and updates malware protection as part of the operating system functionality. There is no application you need to run. In using Macs in the corporate world and privately over the last 20+ years, the only malware that got into a Mac came from a shared MS Word document. That was in 1994.
    Everytime that I chose to run a commercial or opensource anti-virus tool, a full sweep showed no infections.
    There may be other systemic issues with your Mac that are the root cause for what you describe. As a baseline, I would do the following:
    Run /Applications/Utilities/Disk Utility. On your boot disk, choose First Aid, and verify/repair permissions.
    Reboot your Mac. Immediately press and hold the shift key until a login screen appears. Enter your login name, your password, and before continuing, press and hold the shift key again, until your desktop reappears.
    Reboot normally.
    What effect do the above have on the problems you mentioned?

  • How can I find and remove duplicate photos in iPhoto?

    What is the best way to find and remove duplicate photos in iPhoto?

    Are you seeing these duplicates in iPhoto or via the Finder?  If it's in the iPhoto window then you can use one of these applications to identify and remove duplicate photos from an iPhoto Library:
    iPhoto Library Manager - $29.95
    Duplicate Cleaner for iPhoto - free
    Duplicate Annihilator - $7.95 - only app able to detect duplicate thumbnail files or faces files when one library has been imported into another with iPhoto 8 and earlier.
    PhotoSweeper - $9.95 - This app can search by comparing the image's bitmaps or histograms thus finding duplicates with different file names and dates.
    I also prefer iPLM as it is more than just a dup finder.  It's a the most versatile iPhoto utility available.
    OT

  • How can I find and remove duplicate photos from my computer?

    How can I find and remove duplicate photos from my computer?

    Terence,
    Yes, the duplicates appear in the iPhoto window. I have folders with same name occuring two or even three times sometimes with exactly the same set of photos (ie photos with the same ID) and sometimes with a limited set of photos. Other  folders appear only once.
    I normally take my MacBook with me if I'm shooting a lot of photos, such as on holiday, and then want to transfer them to my iMac when i get home. Other times I transfer the camera's memory stick directly to my iMac.
    I have great difficulty transferring the photos from my MacBook to my iMac. I don't want to store my photos on my iDisk due to the length of time it takes to upload them.
    Thanks again.
    Simon

  • HT2905 how do i find and remove duplicate songs in itunes 11.1.3?

    i transferred my itunes to a new computer today, and somehow half of my library was duplicated. no i cant seem to find a way to get rid of the duplicates without selecting them one at a time. any ideas?

    Apple's official advice on duplicates is here... HT2905: How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    Alternativey see this migrate iTunes library post, you may want to revisit the transfer method.
    tt2

  • Hi , how do i find and remove duplicate videos and photos on my ipad2 , please help

    Hello , i have an apple ipad 2 , and iphone 4s and 5s . I have transferred all videos and photos on both these phones to the ipad to make space on my iphones. I have no doubt that there is now multiple duplicates on my ipad . How can i find and remove these. Please help should you know !

    i imported all the files in my sd card to my mac and then i did format the card, it says 160kb is used up.
    I also did find files in the trash when i connected the camera to the macbook and deleted them all, there is nothing left in the camera or the trash and it still says 160kb used :/

  • HT2905 Does anyone know how to find and remove duplicate items in the new itunes 11?

    I am having a hard time trying to figure out how to find and remove duplicate items under the New iTunes 11? Its not as user friendly as in previous versions. Does anyone know how to figure this out?

    As Jim said View > Show Duplicates
    or
    Option + View > Show Exact Duplicates

  • Find and remove duplicates advice?

    hi all,
    would it be possible to get a little advice and some feedback on others' experience with finding and removing duplicates from the aperture database?
    i am doing this now for scans, pdf's, images and other data on my mac book pro and on my mac pro and it would be helpful for me to know what is possible for me to get done with the aperture database.
    TIA

    I haven't used it  myself but  Duplicate Annihilator it is mentioned here often as a solution for this.

  • How can one find and remove hidden tracking software on an iphone

    How can one find and remove hidden tracking software on an iphone

    When folks did not know that it was there, they assume that it is hidden. Even the EU and the US congress got all up in arms about it.

Maybe you are looking for

  • Create zero value PO lines from shopping cart

    Hi all! We are running extended classic scenario. I have a scenario were I want to create a Shoppingcart with several items with the value zero (otherwise it is complete with vendors and all mandatory items). In standard this will result in a held, i

  • Adding Dublin Core metadata to the XMP namespace in Bridge CS5

    I have tried to adapt a script created by Paul Riggott in another thread/discussion, but have been unable to make it work. Basically I'd like to add data to the dc:identifier and dc:relation fields while I'm adding other data in Bridge.  Is there a w

  • Internal error in FORM/FUNCTION CKMLKEPH_ROLLUP in position 2 with RC 4

    The order settlement terminates with the error Message no. MLCCS 099 "Internal error in FORM/FUNCTION CKMLKEPH_ROLLUP in position 2 with RC 4". The material ledger is active. The actual cost component split is active. I want to  carry out the order s

  • TO_NUMBER and NLS parameters......don't understand

    I am trying to get my head around the use of format elements and NLS parameters with TO_NUMBER and TBH am at my wits end. So I'm going to start with something simple. I've never bothered or had to bother with the third parameter 'nls params' for NLS

  • Calendar events show in iPhone but nowhere else

    My iphone calendar shows a repeating event that does not appear on my other apple devices. How do I get rid of it, and in general, how do I edit calendar events from my iphone? Nancy4Golf