-
Bug
-
Resolution: Done
-
Major
-
7.11.1.GA
-
- RHPAM 7.11.1
- one-off patch RHPAM-3820 which fixes
RHPAM-3638
-
False
-
False
-
-
-
-
-
-
ER1
-
+
-
undefined
-
-
-
-
2021 Week 34-36 (from Aug 23), 2021 Week 37-39 (from Sep 13)
When one-off patch RHPAM-3820 for the following Jira is applied,
RHPAM-3638 **App Fomer maven integration was not honoring the nonProxyHosts property
if wildcard host is set to nonProxyHosts in settings.xml like the following,
<proxies>
<proxy>
<id>myproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxyhost</host>
<port>xxxx</port>
<nonProxyHosts>127.0.0.1|*.redhat.com</nonProxyHosts>
</proxy>
</proxies>
Business Central fails to start with the following exception.
2021-08-23 12:03:47,497 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."business-central.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."business-central.war".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-000049: Unable to invoke void org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.postConstruct() on org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl@2d1ebb0a
at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:38)
at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)
at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:505)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:93)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:98)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
... 6 more
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke void org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.postConstruct() on org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl@2d1ebb0a
at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:85)
at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:66)
at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:122)
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:174)
at org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96)
at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100)
at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:140)
at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:102)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:131)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl$Proxy$_$$_WeldClientProxy.toString(Unknown Source)
at org.uberfire.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:196)
at org.uberfire.backend.server.cdi.SystemConfigProducer.afterDeploymentValidation(SystemConfigProducer.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:187)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
at org.jboss.weld.util.Observers.notify(Observers.java:166)
at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:83)
... 42 more
Caused by: java.lang.ExceptionInInitializerError
at org.appformer.maven.integration.embedder.MavenSettings.getSettings(MavenSettings.java:83)
at org.appformer.maven.integration.embedder.MavenProjectLoader.createMavenRequest(MavenProjectLoader.java:158)
at org.kie.workbench.common.screens.archetype.mgmt.backend.maven.AbstractMavenCommand.createMavenEmbedder(AbstractMavenCommand.java:62)
at org.kie.workbench.common.screens.archetype.mgmt.backend.maven.BuildProjectCommand.execute(BuildProjectCommand.java:50)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.executeMaven(ArchetypeServiceImpl.java:796)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.makeArchetypeAvailable(ArchetypeServiceImpl.java:686)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.finishAddArchetype(ArchetypeServiceImpl.java:563)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.addInternalTemplate(ArchetypeServiceImpl.java:469)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.lambda$checkKieTemplates$2(ArchetypeServiceImpl.java:421)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.checkKieTemplates(ArchetypeServiceImpl.java:416)
at org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.postConstruct(ArchetypeServiceImpl.java:170)
... 47 more
Caused by: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 10
127.0.0.1|*.redhat.com
^
at java.util.regex.Pattern.error(Pattern.java:1969)
at java.util.regex.Pattern.sequence(Pattern.java:2137)
at java.util.regex.Pattern.expr(Pattern.java:2010)
at java.util.regex.Pattern.compile(Pattern.java:1702)
at java.util.regex.Pattern.<init>(Pattern.java:1352)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at org.appformer.maven.integration.MavenRepositoryConfiguration.repositoryUrlMatchNonProxyHosts(MavenRepositoryConfiguration.java:234)
at org.appformer.maven.integration.MavenRepositoryConfiguration.toRemoteRepositoryBuilder(MavenRepositoryConfiguration.java:169)
at org.appformer.maven.integration.MavenRepositoryConfiguration.toRemoteRepositoryBuilder(MavenRepositoryConfiguration.java:140)
at org.appformer.maven.integration.MavenRepositoryConfiguration.initExtraRepositories(MavenRepositoryConfiguration.java:84)
at org.appformer.maven.integration.MavenRepositoryConfiguration.<init>(MavenRepositoryConfiguration.java:54)
at org.appformer.maven.integration.embedder.MavenSettings$SettingsHolder.<clinit>(MavenSettings.java:47)
... 59 more
- is caused by
-
RHPAM-3638 App Fomer maven integration was not honoring the nonProxyHosts property
-
- Closed
-