2022-05-24 21:35:26 PDT [ISS.0014.0054C] Error occurred while initializing server: java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContextFactory.isClassLoaderDependent()Z at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:49) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at org.opensaml.DefaultBootstrap.getLogger(DefaultBootstrap.java:246) at org.opensaml.DefaultBootstrap.initializeXMLSecurity(DefaultBootstrap.java:189) at org.apache.rahas.RampartSAMLBootstrap.bootstrap(RampartSAMLBootstrap.java:76) at org.apache.rahas.Rahas.init(Rahas.java:41) at org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:252) at org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:230) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:93) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at com.wm.app.b2b.server.Server.initWSStack(Server.java:1113) at com.wm.app.b2b.server.Server.run(Server.java:686)
You are missing some fixes related to the log4j security issue. You should run update manager and check that you have installed all the latest fixes and ensure you check the READMEs for any manual steps.
regards,
John.
Thank you for the response.
We have all the latest fixes . I can see this error
2022-05-25 02:35:38 PDT [com.webMethods.fabric.agent.FabricAgent.null.load.startI] [agent.load.start] Loading registry config file /ngs/app/b2bwebd/apps/wm105_portal/IntegrationServer/instances/default/config/fabric-agent.xml
2022-05-25 02:35:38 PDT [com.webMethods.fabric.agent.FabricAgent.null.startI] [agent.start] Starting Fabric Agent
2022-05-25 02:35:38 PDT [com.webMethods.fabric.agent.policy.PolicyFileListener.null.parseFailedI] [listener.parseFailed] Parsing failed for policy/Username_Token.policy com.webMethods.fabric.agent.policy.PolicyException: General error parsing policy/Username_Token.policy
at com.webMethods.fabric.agent.policy.PolicyFileListener.parse(PolicyFileListener.java:129) ~[wm-fabric-agent.jar:?]
at com.webMethods.fabric.agent.policy.PolicyFileListener.update(PolicyFileListener.java:170) [wm-fabric-agent.jar:?]
at com.webMethods.fabric.agent.policy.PolicyFileListener.handleConfigurationEvent(PolicyFileListener.java:84) [wm-fabric-agent.jar:?]
at com.webMethods.fabric.agent.policy.PolicyManager.start(PolicyManager.java:255) [wm-fabric-agent.jar:?]
at com.webMethods.fabric.agent.FabricAgent.start(FabricAgent.java:161) [wm-fabric-agent.jar:?]
at com.wm.app.b2b.server.FabricAgentManager.init(FabricAgentManager.java:46) [wm-isserver.jar:10.5.0.0000-0084]
at com.wm.app.b2b.server.Server.run(Server.java:676) [wm-isserver.jar:10.5.0.0000-0084]
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) ~[xercesImpl.jar:?]
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) ~[xercesImpl.jar:?]
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) ~[?:1.8.0_231]
at com.webMethods.fabric.agent.policy.PolicyFileListener.parse(PolicyFileListener.java:109) ~[wm-fabric-agent.jar:?]
… 6 more
Can you please check content of IntegrationServer/instances/default/config/fabric-agent.xml file? Also see if it matches with the one that exists in template.zip located under instances directory.
Thank you for response …!
I have verified the fabric-agent.xml , looks good. The reason we have shared mount server , only one server is down and other server is working fine. I have compared with the working server, looks good
Hi @varunkmv ,
After the fabric agent related error, do you see any more messages in the server log or is this the end of logs. Can you post the full server logs.
-NP