How can I include some 3rd party libs who do not Bundle-SymbolicName

While developing a vSphere service Web Client Plugin that uses some 3rd party jar files that I am able to use jar files for debugging on the server of the Virgin by listing them in the "Bundle-ClassPath' of the file manifest.  But when I followed the instructions to deploy the plugin, vSphere package Manager Client does not include the 3 jar files of party in the jar of service.  Read further, it seems you need to add the address 3rd party jar files separately, but 3 party jar files need to have a "Bundle-SymbolicName" defined in their manifest files to list them in the file plugin - package.xml '< bundlesOrder >' 'bundle <>' tags.

Unfortunately, the authors of 3rd party Java libraries did not specify a 'Bundle-SymbolicName"for their jar files, so does anyone have an idea on how to include these 3 party in my deployment package jar files?

I tried to add a 'Class-Path' with a list of jar files in the manifest file of the service (in various configurations).

My last resort is to modify the manifest files jar 3rd party files (by adding the "Bundle-SymbolicName" to them), but I really don't want to change the 3rd jar part files.

Any help would be appreciated...

Thank you

Steve,

3 third-party libraries can be "OSGI-enabled" using a tool like bundlor, see the FAQ "how package a library as a beam Initiative?" in the SDK documentation.

Another way to solve this problem is to "inline" (or nest) the library inside your own bundle of plugins:

(1) package your plugin - service.jar to include the library in the root of the file .jar for example.

(2) add the following line to your java package manifest:

Bundle-ClassPath:., my3rdPartyLibrary.jar

This indicates the osgi framework to find resources firstly in the current grouping (where the "."), then in the my3rdPartyLibrary.jar integrated

You can nest several libraries like this using a comma separator, and you can also keep them in sub directories as Bundle-ClassPath uses the correct relative paths.

The advantage is that you don't need to change 3rd-party libraries which are not active OSGI and process Import-Package.

The disadvantage is that there may be a memory and performance costs when running because the framework to develop Inline jars, etc..

Tags: VMware

Similar Questions

  • How can I fix my (3rd party renovated) iPhone 5s which became brick?

    I bought an unlocked iPhone 5s from a 3rd party vendor so that in the United States. I set up with a PAYGO of T-Mobile SIM card and used for two weeks in the United States and two weeks in the Mexico. On or around the day of the month of T-Mobile has expired, the iPhone has stopped working. It does not start (screen lights up, but it is white/black) and trying to do a factory reset with iTunes have failed.

    Not yet bought a SIM card from a local supplier to the Mexico. The SIM card is the problem or is it the phone? Can what additional steps I take to reset? Is there diagnostic tools that will run on Mac OS X or Windows?

    The phone would always start even without a SIM card. I contact the vendor that you bought the and see if they have the warranty at all.

  • How can I register a 3rd party seller download?

    I bought DC Acrobat via a third-party provider (Quill.com). I am told that I must save the download before I can install it on my computer. How can I register the product?

    1, ask Quill

    2nd, ask Adobe directly

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===> NOTE DAYS AND TIME
    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • How can I unlock an executable of mcafee, who does not have a valid digital signature.

    Whenever I have download their software on their Web site, the installation does not complete because windows detects and blocks the executable of Mcafee, because it doesn't have a valid digital signature to verify the Publisher.   Is it possible that I can temporarily disable on my PC and then proceed with the installation of mcafee.

    Whenever I have download their software on their Web site, the installation does not complete because windows detects and blocks the executable of Mcafee, because it doesn't have a valid digital signature to verify the Publisher.   Is it possible that I can temporarily disable on my PC and then proceed with the installation of mcafee.

    Frankly - uninstall McAfee and use something else.  There are several free options that are as good, if not better.
     
    My suggestion:

    Get rid of McAfee. Anything and everything that made by McAfee.
    Get something else for free (not some manufacturers of ISP/computer getting a rebound) and probably less resource intensive with better results all around.

    Regarding AntiVirus - free are very good: Avira, AVG, Avast

    You could spend ~ 60USD during two years of eSET NOD32 AntiVirus (not more - just product AntiVirus) and which would be more worthwhile.

    In your case, here is what I propose...

    Choose one product other than McAfee or Norton. Get it.

    Uninstall McAfee stuff (use their removal there tool.)

    After a reboot - install your new product and update after the installation.

    Run a full scan with it.

    Then - just to make sure you started on the right foot...

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner. Remove everything it finds.

    Reset.

  • When I open Firefox, the Google screen lights up. Then I type the first letter of my research and more research possible appears. How can I remove some of these choices?

    How can I block some of the latest research on Google when I start typing the first few letters of the latest research?

    In Firefox preferences go to privacy and uncheck "remember search and form history ' then clear your recent history. Confidentiality, and-not-track browsing history settings

  • How can I include results of a subsequence, which takes place in a new thread in the test report from the main sequence

    Hello!

    I have ", working with the Version 4.2.1 of TestStand. I have a main sequence, which sous-séquences of different calkls. All these steps are reported correctly. One of the subsequences works like "new thread". How can I include his results in the common test report of the main sequence?

    I have variable markes of the subsequence as is required for the test report (it works OK if it's not a new thread). If the digital test, which is performed in this subsequence is correct, I get no results at all. If the digital test could not get a "message in red" who whithout having failed to test any reference to step somewhere in the report of the main sequence or values of vaiables that were not correct.

    I tried an option 'on the fly' in the Configuration of the report, but n ' got no useful result. What should I do?

    Best regards

    Hello Pericles,

    You can use a queue time for the results of the wire once it ends. Place a waiting time after the call to the thread in your MainSequence at the location where you want the results to add to the report (compared to other results). In the waiting step Setup tab, select wait: Thread the threaded sequence, and then select call to specify sequence call the radio button. You can also use an object reference if you need results if poster somewhere where elsewhere - you would just add an object reference to the appeal of sequence threaded in its thread settings dialog box.

    I hope this helps.

    -Jack

  • How can I include all the VI that are listed in the hierarchy of VI for a source distribution

    I'll send my request to another developer. To do this, I used the source distribution function. But if I generate the files I miss the VI they are stored in the form of instrument drivers. How can I include, too?

    Walter wrote:

    I'll send my request to another developer. To do this, I used the source distribution function. But if I generate the files I miss the VI they are stored in the form of instrument drivers. How can I include, too?

    This is exactly yhe reason I'll go through and save screw driver to subfolders in my application directory. In this way, I can keep the NCC updated with a complete set of code including any mods, I do the driver (usually change of reentrancy).

    But if you don't take this approach, you will have to send you a colleague from the same packeage installing driver allowing you to put it on your machine.

    Ben

  • How can I include a search page on the web in an E-mail?

    I have a desktop HP TouchSmart 610-1147c. running Windows 7 64 bit.  I should answer that question years ago, but I did not... terrible huh?  Anyway, how can I include a page from a web search I did in an E-mail?  Believe it or not, I have never had to do before, so have no idea how to do that.  I have the feeling that he would be sent as an attachment, but how do not know how to do!

    I'd appreciate any help that someone took the time to give me.  Thank you in advance for having patience with me and my silly question.

    My aunt CC

    Well, the way I would do is copy and paste the URL in the e-mail so that the recipient can click the link and get the right of the Web page.

    For example, I just googled 'horses' and there is the result of this research:

    http://www.Google.com/#hl=en&output=search&sclient=psy-AB&q=horses&OQ=horses&AQ=f&AQI=G4&aql=&gs_l=HP.12..0l4.1544.2886.0.7582.6.5.0.1.1.0.250.906.0j3j2.5.0...0.0.RC9-kyP6JM4&PBX=1&BAV=on.2,. or.r_gc.r_pw.r_qf, cf.osb & fp = 3f1469f1e9441b37 & biw = 1186 & bih = 549

    I've highlighted the Web address, copied and then pasted into the answer.  Same thing can be done in an emial.

    Who is?  Or you are looking for something else?

    GeorgeFN

  • How can I delete some old email addresses so I only get incoming mail more and also completely remove it from my computer?

    How can I delete some old email addresses so I only get incoming mail more and also completely remove it from my computer?

    If you get these unwanted messages in Outlook Express, go to tools | Accounts and delete accounts that you no longer use.

  • How can I include my Ipad to my network of MS?

    How can I include my Ipad to my network of MS?

    Hey William,

    1. what kind of network you're talking about? You referring to the domain network or sharing files with homegroup?

    2 have you tried the device to add to the network? You get the error message?

    I also suggest to post the question in Apple for more information support forums:

    https://discussions.Apple.com/community/iPad/using_ipad

    Provide more information so that we can help you.

  • How can I prevent some Windows Update download updates?

    How can I prevent some Windows Update download updates?

    I continue to receive updates for Microsoft Office, but I do not have Microsoft Office installed on the computer, on that download updates.  I tried to hide updates, but within 30 seconds they download again and it will not stop.  I resorted to turn off the automatic updates.

    Hello


    Method 1

    You can perform the steps from the link and check.

    How to reset the Windows Update components?
     
    Method 2
    You can also follow the steps in the article in the Microsoft Knowledge Base and check if it works.
    Windows Update and Microsoft Update offer updates for Office programs that you have not installed
  • My startup list is who actually take each to start. How can I delete some items that do not need to be started

    My startup list is who actually take each to start. How can I delete some items that do not need to be started

    Hello

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How can I include my printer in the "homegroup"?

    How can I include my printer in the "homegroup". I had a popup come on the screen indicating that all network devices should I include in my home group. I was offered the possibility to print msge but it wouldn't print. It offered no guidance on how to accomplish said feat. It prints fine w/usb cord but not network print.

    Hi Gerald,

    Thanks for posting your query in Microsoft Community.

    There could be several reasons for this cause. We will try these steps and check.

    Step 1:

    http://Windows.Microsoft.com/en-us/Windows7/share-a-printer

    http://Windows.Microsoft.com/en-us/Windows7/access-files-and-printers-on-other-HomeGroup-computers

    http://Windows.Microsoft.com/en-us/Windows7/file-and-printer-sharing-frequently-asked-questions

    Step 2:

    Find and install printer drivers
    http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers

    Step 3: Manually add the printer to the local port.

    a. go to control panel and click on devices and printers.
    b. click Add a printer, and then select Add a local printer. Click on create a new port. The default value in the drop-down list is Local Port. Don't change that.
    c. click Next.
    A dialog box appears for you request that you enter a port name. Type the name of \\computer name\printer.
    d. type your user name and the name of the printer (name \\PC\printer)
    e. click ok and exit.

    Update the drivers for your printer.

    Updated a hardware driver that is not working properly:
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    If the problem persists, then manually add the printer to the local port.

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • How can I include jquery.js in my application

    Hello

    How can I include the JQuery.js (it is a local resource) in my application that I can use the appeal of $.ajax? I have to add something to my config.xml file or simply include it as usual in my .html files?

    Thank you

    If all you want is supported ajax with jQuery syntax can I humbly recommend Zepto

  • How can I include animate CC HTML5 export in another HTML document?

    With Adobe animate CC, you can now export the HTML5 Canvas documents and when you run it standalone, it works fine. But how can I include/load an animation created with CC to animate in another HTML document?

    By using an iframe works, but on the iPad whenever I click on the canvas, a selection box appears above it. I use keys of interaction, so its very annoying if all is selected after touching.

    Then I tried to load the CC animate exported JS file ($.ajax), but it does not work. I get a white screen and no newspaper at all.

    jQuery.ajax({ url: "content/01/01.js", dataType: "script", cache: true }).done(function() { console.log("sup"); ...

    What I am doing wrong?

    If the mechanism of the iframe does not work, you can always just copy the and

Maybe you are looking for