It's all about the answers!

Ask a question

How to solve this exception in 'converter'


Kevin Ramer (4.5k9186201) | asked Nov 21 '13, 10:52 a.m.
edited Nov 21 '13, 11:07 a.m.
Been round the planet trying to re-establish a delegated converter application.  The latest activity being an install of RM/tomcat on the original host.  I removed the rm.war from the webapps and configured the tomcat to behave as it had in its prior instantiation (e.g. port #, DISPLAY).   Visiting the converter URI:

Converter Graphics environment diagnostic tests have passed


DISPLAY environment variable. . . . . PASS
AWT Environment. . . . . PASS
SWT Environment. . . . . PASS
SWT Shape. . . . . PASS
SWT Display. . . . . PASS
SWT Color. . . . . PASS
Cache location: /opt/IBM/rm_converter/server/rrcweb/cacheCache size: 0/1000Maximum retries: 5

One by one barriers have fallen but the latest is this exception recorded in the converter.log


java.lang.IllegalStateException: No match found
        at java.util.regex.Matcher.group(Matcher.java:479)
        at java.util.regex.Matcher.group(Matcher.java:439)
        at com.ibm.rdm.web.htmlgen.servlet.ConverterServlet.getRepository(ConverterServlet.java:185)
        at com.ibm.rdm.web.htmlgen.servlet.ConverterServlet.doGet(ConverterServlet.java:88)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

The diagnostics (checkconverter.sh) says:

Converter URL: http://rtpjazz01:8080/converter/htmlgenInstall
Path: /opt/IBM/rm_converter/serverPlatform: Linux 2.6.32-358.23.2.el6.x86_64 x86_64Distributor ID:    RedHatEnterpriseServerRelease:    6.4JVM
Details:java version "1.6.0"Java(TM) SE Runtime Environment (build pxa6460sr13fp1-20130325_01(SR13 FP1))IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr13-20130114_134867 (JIT enabled, AOT enabled)J9VM - 20130114_134867JIT  - r9_20130108_31100GC   - 20121212_AA)JCL  - 20130315_01
Checking http://rtpjazz01:8080/converter/htmlgen...
Done.
Converter returned: 200
It looks like everything is in order.Cleaning up... Done.

What repository is being sought ? How do I communicate that to the converter app ?

2 answers



permanent link
Kevin Ramer (4.5k9186201) | answered Nov 21 '13, 2:45 p.m.
Converter log shows:

2013-11-21 14:39:55,046 [  Start Level Event Dispatcher]  INFO com.ibm.rdm.web.htmlgen.convert.ConvertedResource   - CRRRC7134I Cache directory has been set to "rrcweb/cache"
2013-11-21 14:41:07,130 [          http-bio-8080-exec-1]  INFO com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - CRRRC7150I Converter application started
2013-11-21 14:41:07,131 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - Verifying if server platform (linux) is supported...
2013-11-21 14:41:07,131 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - ...platform (linux) is supported
2013-11-21 14:41:07,399 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - Converter Started.
2013-11-21 14:41:07,404 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.convert.ConvertedResource   - Key for request is: 404286942
2013-11-21 14:41:07,405 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.convert.ConvertedResource   - Creating new converted resource for key: 404286942
2013-11-21 14:41:08,202 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - Invoked converter for resource: https://jts04:9443/rm/resources/_mo-3kVIuEeOJDIdiy_NLVQ?revision=_mpgcAVIuEeOJDIdiy_NLVQ
2013-11-21 14:41:08,203 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - Getting repository for resource: https://jts04:9443/rm/resources/_mo-3kVIuEeOJDIdiy_NLVQ?revision=_mpgcAVIuEeOJDIdiy_NLVQ
2013-11-21 14:41:08,204 [          http-bio-8080-exec-1] DEBUG com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - Repository for resource: https://jts04:9443/rm/resources/_mo-3kVIuEeOJDIdiy_NLVQ?revision=_mpgcAVIuEeOJDIdiy_NLVQ not found...Creating one
2013-11-21 14:41:08,205 [          http-bio-8080-exec-1] ERROR com.ibm.rdm.web.htmlgen.servlet.ConverterServlet    - No match found
java.lang.IllegalStateException: No match found
    at java.util.regex.Matcher.group(Matcher.java:479)

and so on.

Comments
Benjamin Silverman commented Nov 21 '13, 3:17 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Are you using the Tomcat that ships with CLM or your own?  I would start by using the CLM installer to deploy Tomcat and just undeploying the wars that you don't need.  It could be a communication issue between http/8080 and the repository on https/9443


Kevin Ramer commented Nov 21 '13, 4:12 p.m.

Ok, I got the CLM-Web-Installer-Linux-4.0.3.zip, unzipped ran the install and chose "Install application w/o jts"  Picked Requirements mgr and tomcat.  After install completed, removed the rm.war, configured tomcat, etc.  




permanent link
Benjamin Silverman (4.1k610) | answered Nov 21 '13, 2:35 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Which version are you using?  It looks like if you enable DEBUG logging for com.ibm.rdm.web.htmlgen.servlet, you should see some useful information about the repository being constructed from the resource URI you are generating.  You can do this in https://server:port/rm/rmadmin -> Logging -> Configure Loggers -> com.ibm.rdm.web.htmlgen.servlet -> DEBUG -> then reproduce your problem and check the converter.log again.  If you can post the log entries here I can have a look to see what might be going wrong.

Comments
Kevin Ramer commented Nov 21 '13, 2:38 p.m.

Version 4.0.3

How about I update the log4j.properties under the converter install.  I can't rm/rmadmin as this is a delegated converter.


Benjamin Silverman commented Nov 21 '13, 2:40 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Yes, you can do that.  The advantage of rmadmin is you don't have to restart the server.  With log4j, you will need to restart.  But you're right...in the case of a distributed install you'll need to use log4j.

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.