Sun Identity Manager 8.1 Release Notes

Identity Manager IDE Frequently Asked Questions (FAQ)

This FAQ answers some commonly asked questions related to using the Identity Manager IDE.

The information is organized into these categories:

Using NetBeans

Question:

Which version of Netbeans should I use?

Answer:

Use the Netbeans version referenced in the Identity Manager product documentation provided for the Netbeans plugin version you are using.


Note –

Always use the exact version referenced because even patch releases can cause major functionality to break.


Question:

The Netbeans plugin was working, I did something, and now it is no longer working. What could be causing this problem?

Answer:

This problem is commonly caused by a corrupt file in your .netbeans directory. Generally, deleting your .netbeans directory and re-installing the NetBeans plugin resolves the problem. (Deleting the .netbeans directory effectively uninstalls the NetBeans plugin. You lose all of your user settings, but the contents of your project will be safe.)

    The steps are as follows:

  1. Shutdown NetBeans.

  2. Delete the .netbeans directory.

  3. Start NetBeans.

  4. Install the NetBeans plugin.

  5. Restart NetBeans.

Working with Projects

Question:

Building and running a project is taking a very long time, and the Identity Manager IDE seems to be copying a lot of files. What could be causing this problem?

Answer:

This problem can occur for the following reasons:

Question:

Now that I have created an Identity Manager project, what files should be checked into source control?

Answer:

See the “CVS Best Practices” section in the Identity Manager IDE README.txt for information.

Question:

What are the best practices for using project management in CVS?

Answer:

See the “CVS Best Practices” section in the Identity Manager IDE README.txt for information.

Question:

When are objects imported into the repository?

Answer:

See Working with the Repository for information.

Question:

How do I add a new JAR to the project?

Answer:

See the “How to add a new JAR dependency” section in the Identity Manager IDE README.txt.

Working with the Repository

Question:

Which repository should I use for my sandbox repository?

Answer:

Use the embedded repository for your sandbox— particularly if you are using Identity Manager 7.1 (or higher), which has an HsSQL repository available. You lose functionality if you do not use the embedded repository.

Refer to the “Working with the Repository” section in the Identity Manager IDE README.txt for more information.

Question:

When are objects imported automatically?

Answer:

You have to configure Identity Manager IDE to import objects automatically.

The steps are as follows:

  1. Select Repository > Manage Embedded Repository from the IdM menu.

  2. Enable the Automatically Publish Identity Manager Objects option on the Manage Embedded Repository dialog.


    Note –

    This option is not available for Identity Manager Project (Remote) or if you specify your own repository.


  3. Select Project > Run Project or Project > Debug Project.

    The Identity Manager IDE automatically imports all objects that have changed since the last time you ran the project.


    Tip –

    Automatically publishing Identity Manager objects increases the time needed to start the server. To minimize server start time, disable this option and explicitly upload objects to the repository.


Question:

What is the most effective way to upload objects?

Answer:

Use one of the following methods to upload modified objects:

Either method uploads the object(s) directly to the server, so there is no cache latency issue and it is much faster than using Run Project or Debug Project. The Upload Objects feature is available regardless of which repository you are using.

Using the Identity Manager IDE Debugger


Note –

The Netbeans embedded application server automatically shuts down whenever you perform any of the following project operations:


Question:

The Identity Manager IDE Debugger is sluggish. What could be causing this problem?

Answer:

To improve the Debugger’s performance:

Question:

I cannot set a breakpoint in the Debugger. What could be causing this problem?

Answer:

The following conditions might prevent you from setting a breakpoint:

Question:

I set a breakpoint in the Debugger and it is not suspending on the breakpoint. What could be causing this problem?

Answer:

There are two things to check:

Working with Rules

Question:

When developing rules in Netbeans, why is design mode not available for a Rule Library?

Answer:

The design mode functionality is available from the explorer tree in Projects view. Use the following steps:

  1. Expand the library node and right-click a rule.

  2. When the pop-up menu displays, select Properties and then click Body.