What resource factory is missing (RRC 4.0.3) ?
Unable to load Use-Case Diagram format RRC artifacts. In the WebUI it complains:
Here's more detail on the exception:
The converter application encountered an error that prevented the graphical content from being created or retrieved. This is usually caused by a configuration error for the converter application. It may have missing dependencies or was not started correctly. Ask your administrator to verify the converter application was correctly installed and configured.The log file for the converter gives an exception complaining about "a registered resource factory is needed" This seems to happen only on Use-Case Diagram format artifacts.
Here's more detail on the exception:
2014-02-17 12:03:45,186 [ http-bio-9443-exec-20] ERROR com.ibm.rdm.web.htmlgen.servlet.ConverterServlet - java.lang.RuntimeException: Cannot create a resource for 'https://jts04:9443/rm/resources/_XhJkMZfnEeOyo_lN1cZ_sA?revision=_XhSHEZfnEeOyo_lN1cZ_sA'; a registered resource factory is needed
com.ibm.rdm.web.htmlgen.exceptions.ConversionException: java.lang.RuntimeException: Cannot create a resource for 'https://jts04:9443/rm/resources/_XhJkMZfnEeOyo_lN1cZ_sA?revision=_XhSHEZfnEeOyo_lN1cZ_sA'; a registered resource factory is needed
at com.ibm.rdm.web.htmlgen.convert.ConvertedResource.convert(ConvertedResource.java:345)
at com.ibm.rdm.web.htmlgen.convert.ConvertedResource.convertConditionally(ConvertedResource.java:622)
at com.ibm.rdm.web.htmlgen.convert.ConvertedResource.writeHTML(ConvertedResource.java:127)
at com.ibm.rdm.web.htmlgen.servlet.ConverterServlet.doGet(ConverterServlet.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
2 answers
Hi Kevin,
This issue may be explained by the following technote: Embedded artifacts and images are not displayed in the graphical artifact editor. Basically, there is a known issue where the Converter app cannot load graphical artifacts if the user has logged in through a different CLM app, instead of logging in directly to /rm/web. Although I can't say that I've seen this exact stack trace before ...
If this does not work, can you please provide more information about your setup? For instance, is your server set up to use unsecured protocol (http as opposed to https)? Also, what operating system is in use for the server?
Thanks,
Mike Jaworski
Comments
Kevin,
Thanks for the info. If your converter app is delegated and installed on RHEL, this article may also be handy: Configuring Linux systems.
Hope this helps,
Mike