It's all about the answers!

Ask a question

What resource factory is missing (RRC 4.0.3) ?


Kevin Ramer (4.5k9186201) | asked Feb 17 '14, 12:10 p.m.
Unable to load Use-Case Diagram format RRC artifacts.   In the WebUI it complains:

ID CRRRW8010E  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



permanent link
Mike Jaworski (1.4k6) | answered Feb 17 '14, 12:27 p.m.
JAZZ DEVELOPER
 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 Ramer commented Feb 17 '14, 12:37 p.m.

This might be a possibility as this particular setup is like this:

jts + rm
        qm1
        qm2

Each of the 3 (jts+rm, qm1, qm2) are hosted with Apache Tomcat on AIX 6.1 all with https.  I have the converter on a RHEL 6.X virtual machine, it also is on https transport.

I will launch my win 7 vm and clean any cookies I have for the servers involved and try going directly to the RM application.



permanent link
Mike Jaworski (1.4k6) | answered Feb 17 '14, 12:40 p.m.
JAZZ DEVELOPER
 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

Comments
Kevin Ramer commented Feb 17 '14, 12:45 p.m.

Other artifact formats do display the graphic (whether on linux or windows browser), so I don't think it's a configuration issue with the converter.  


Mike Jaworski commented Feb 17 '14, 2:00 p.m.
JAZZ DEVELOPER

Could you please post the rest of the stack trace for this error? I would expect there to be more information about a "Caused By" exception toward the end of the trace, and that should give us a better idea of the problem.


Thanks


Kevin Ramer commented Feb 17 '14, 2:54 p.m.

Looking at the RM log I am seeing messages about license  even though I've seen "403" errors on artifact save that look as much like a license issue as I do a 9 by 4 by 1 monolith.

Caused by: java.lang.RuntimeException: Cannot create a resource for 'https://jts04:9443/rm/resources/_lOzJ0U1SEeOJDIdiy_NLVQ?revision=_lO53gU1SEeOJDIdiy_NLVQ'; a registered resource factory is needed        at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:394)        at com.ibm.rdm.ui.gef.editmodel.EditModel.getResource(EditModel.java:149)        at com.ibm.sid.ui.editmodel.SketchingEditModel.getResource(SketchingEditModel.java:96)        at com.ibm.rdm.web.htmlgen.convert.ConvertedSketchingResource.initGraphicalViewerHandle(ConvertedSketchingResource.java:33)        at com.ibm.rdm.web.htmlgen.convert.ConvertedResource.convert(ConvertedResource.java:310)        ... 28 more








Mike Jaworski commented Feb 17 '14, 3:28 p.m.
JAZZ DEVELOPER

Kevin,


I would suggest that you open a PMR with Rational Support to diagnose this issue. I would suspect that this is either a configuration issue, or else we will need to have our Converter expert try to figure out what the deeper problem is.

Sorry I couldn't be of more help,
Mike

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.