Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7716171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:34:11+00:00 2026-06-01T02:34:11+00:00

I am having problems with adding a protocol handler for LDAP on OSGi environment.

  • 0

I am having problems with adding a protocol handler for LDAP on OSGi environment. I tried:

  • System.setProperty("java.protocol.handler.pkgs", "iaik.x509.net");
  • -Djava.protocol.handler.pkgs=iaik.x509.net in the Run Settings

but still get the java.net.MalformedURLException: unknown protocol: ldap

The protocol Handler for LDAP is in iaik.x509.net and is exported by its bundle.
I am importing that bundle (that has iaik.x509.net) too. To me it seems that the System cannot find the package though. How do I “register” that protocol handler correctly?
I am running equinox 3.6.0 using java 1.6.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:34:13+00:00Added an answer on June 1, 2026 at 2:34 am

    Try to install iaik.x509.net bundle as a Framework extension bundle. It should contain MANIFEST header:

    Fragment-Host: system.bundle; extension:=bootclasspath

    In this case LDAP protocol handler will be available for all bundles as a part of bootclasspath. Don’t forget to set system property.

    More details for extension bundles: OSGi Core Spec 4.2 – Chapter 3.14

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems rerouting my pages from website.com/controller/action to website.com/admin/controller/action. I tried adding this
I am having problems with adding values to dates and also getting differences between
I'm having problems in adding a picture into JFrame, something is missing probebly or
I'm adding the Roles provider to the built in AccountModel but having some problems
I am having problems initalizing an NSArray and adding integers to it. Here is
I'm having problems adding to a Has Many Through association using user_ids . My
I am having problems adding GMarkers when using a loop. The best way to
I'm having problems adding an event to a dynamically created element in Javascript. This
I have JavaScript that outputs links (search results) but I'm having problems adding onclick
having problems adding parts of a snake on through timer events package { import

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.