What resource factory is missing (RRC 4.0.3) ?
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. 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.
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
Comments
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.
Comments
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.
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.
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
Kevin,