While starting BRMS 6 server it throws many WARN messages like Environment variable M2_HOME is not set

Solution Unverified - Updated -

Issue

  • While starting up the BRMS 6 server it throws the following WARN messages and an ERROR message in the console and server.log file too. What could be the root cause behind them and are they concerning in any nature?
WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015960: Class Path entry xalan-2.7.1-redhat-3.jar in /C:/JBoss/exec/jboss-eap-6.1.1/jboss-eap-6.1/standalone/deployments/business-central.war/WEB-INF/lib/jbpmmigration-0.11-redhat-5.jar  does not point to a valid jar for a Class-Path reference.
...
WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.business-central.war" is using a private module ("com.google.guava:main") which may be changed or removed in future versions without notice.
...
WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-4) WELD-001440 Scope type @javax.enterprise.context.SessionScoped() used on injection point [field] @SessionScoped @Inject private org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceImpl.identity
...
INFO  [org.guvnor.m2repo.backend.server.GuvnorM2Repository] (http-localhost:8080-5) Maven Repository root set to: repositories\kie
WARN  [org.kie.scanner.embedder.MavenSettings] (http-localhost:8080-5) Environment variable M2_HOME is not set
...
INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010282: Stopped local-web cache from web container
INFO  [org.jboss.errai.cdi.server.events.ShutdownEventObserver] (MSC service thread 1-1) Shutting down CDI-to-ErraiBus event bridge
INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment business-central.war (runtime-name: business-central.war) in 3428ms
INFO  [com.ning.http.client.providers.netty.NettyAsyncHttpProvider] (pool-18-thread-1) Number of application's worked threads is 4
WARN  [org.drools.compiler.kie.builder.impl.AbstractKieModule] (http-localhost:8080-2) No files found for KieBase defaultKieBase
INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (http-localhost:8080-2) KieModule was added:MemoryKieModule[ ReleaseId=org.kie.example:project1:1.0.0-SNAPSHOT]
ERROR [org.guvnor.common.services.builder.BuildServiceImpl] (http-localhost:8080-2) JBAS016071: Singleton not set for ModuleClassLoader for Module "deployment.business-central.war:main" from Service Module Loader. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment.: java.lang.IllegalStateException: JBAS016071: Singleton not set for ModuleClassLoader for Module "deployment.business-central.war:main" from Service Module Loader. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment.
    at org.jboss.as.weld.services.ModuleGroupSingletonProvider$TCCLSingleton.get(ModuleGroupSingletonProvider.java:76) [jboss-as-weld-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
    at org.jboss.weld.Container.instance(Container.java:54) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
...
ERROR [stderr] (http-localhost:8080-2) java.lang.NoClassDefFoundError: org/jboss/errai/bus/client/util/ErrorHelper
...

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.0.0 Beta

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content