PatternSyntaxException in a Fabric Cluster.
Issue
- User is facing the below issue in PROD environment.
- User is loading the key values from a cfg file placed inside etc directory.
- This is happening in two nodes and other node is working fine.
- What is root cause for this behavior ?
Blueprintsnippet
<cm:property-placeholder persistent-id="testservice" />
<cxf:rsServer id="rsServer" address="${fuse.internal.testservices}"
serviceClass="xxx.yyy.zzz.rest.CommonServiceProvider" />
- Logs
2015-07-20 04:01:37,602 | WARN | hat-412-thread-2 | VertxServiceImpl | support.vertx.VertxServiceImpl$1 72 | 97 - io.fabric8.gateway-fabric-support - 1.0.0.redhat-412 | Failed to use META-INF/services to discover vertx: java.util.NoSuchElementException
java.util.NoSuchElementException
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:357)[:1.7.0_75]
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)[:1.7.0_75]
at org.vertx.java.core.VertxFactory.loadFactory(VertxFactory.java:55)[96:io.fabric8.gateway-core:1.0.0.redhat-412]
at org.vertx.java.core.VertxFactory.newVertx(VertxFactory.java:33)[96:io.fabric8.gateway-core:1.0.0.redhat-412]
at org.fusesource.gateway.fabric.support.vertx.VertxServiceImpl$1.call(VertxServiceImpl.java:70)[97:io.fabric8.gateway-fabric-support:1.0.0.redhat-412]
--
2015-07-20 04:01:38,653 | ERROR | pool-21-thread-1 | TreeCache | ramework.recipes.cache.TreeCache 585 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 |
java.util.regex.PatternSyntaxException: Illegal repetition near index 66
/fabric/registry/clusters/apis/rest/Test1ServiceProvider/${fuse.internal.test1notification}/[^ /]*
^
at java.util.regex.Pattern.error(Pattern.java:1924)[:1.7.0_75]
at java.util.regex.Pattern.closure(Pattern.java:3104)[:1.7.0_75]
at java.util.regex.Pattern.sequence(Pattern.java:2101)[:1.7.0_75]
--
2015-07-20 04:01:39,755 | ERROR | pool-22-thread-1 | TreeCache | ramework.recipes.cache.TreeCache 585 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 |
java.util.regex.PatternSyntaxException: Illegal repetition near index 70
/fabric/registry/clusters/apis/rest/Test2ServiceProvider/${fuse.internal.test2notification}/[^ /]*
^
at java.util.regex.Pattern.error(Pattern.java:1924)[:1.7.0_75]
at java.util.regex.Pattern.closure(Pattern.java:3104)[:1.7.0_75]
at java.util.regex.Pattern.sequence(Pattern.java:2101)[:1.7.0_75]
--
2015-07-20 04:02:09,613 | WARN | agent-1-thread-1 | DeploymentAgent | io.fabric8.agent.DeploymentAgent 923 | 63 - io.fabric8.fabric-agent - 1.0.0.redhat-412 | Gave up waiting for URL handlers provided by [io.fabric8.fabric-core/1.0.0.redhat-412]
2015-07-20 04:02:09,614 | INFO | agent-1-thread-1 | DeploymentAgent | io.fabric8.agent.DeploymentAgent 925 | 63 - io.fabric8.fabric-agent - 1.0.0.redhat-412 | Starting bundles:
2015-07-20 04:02:09,906 | INFO | agent-1-thread-1 | DeploymentAgent | io.fabric8.agent.DeploymentAgent 943 | 63 - io.fabric8.fabric-agent - 1.0.0.redhat-412 | Done.
2015-07-20 04:02:29,288 | INFO | pool-9-thread-1 | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 62 - io.fabric8.fabric-api - 1.0.0.redhat-412 | activateComponent: io.fabric8.service.KarafContainerRegistration@5be31634
2015-07-20 04:02:29,290 | INFO | pool-9-thread-1 | AbstractComponent | abric8.api.scr.AbstractComponent 41 | 62 - io.fabric8.fabric-api - 1.0.0.redhat-412 | activateComponent: io.fabric8.git.internal.GitMasterListener@4f5ddbb3
2015-0
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.