Decision Management (ODM,ADS)

 View Only
  • 1.  Issue augmenting profile

    Posted Fri January 27, 2023 09:22 AM
    1. Installed Websphere 9.0.5
    2. Installed ODM 8.10.0 on the Websphere.I checked the profile templates for Websphere Application Server as well.
    3. Created App Server profile. Dont get augment button enabled, which ideally should have been enabled. 
    4. Created Derby Database for resDB
    5. Manually installed the artifacts 
    jrules-res-xu-WAS.rar along with XU connection factory, configured data sources
    jrules-res-htds-WAS.ear
    jrules-res-management-WAS.ear
    6. Once I open res I get below System Error in log file:

    javax.faces.FacesException: org.xml.sax.SAXParseException: Premature end of file.
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:386)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1837)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:442)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1249)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1590)
    [1/27/23 19:30:59:018 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:707)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1161)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:801)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2325)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5574)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5700)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2330)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R Caused by: org.xml.sax.SAXParseException: Premature end of file.
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at org.apache.commons.digester.Digester.parse(Digester.java:1572)
    [1/27/23 19:30:59:019 IST] 00000052 SystemErr R at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:186)
    [1/27/23 19:30:59:020 IST] 00000052 SystemErr R at org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:380)
    [1/27/23 19:30:59:020 IST] 00000052 SystemErr R ... 28 more


    Thoughts? What did I do wrong?

    ------------------------------
    Anuj Pandit
    ------------------------------


  • 2.  RE: Issue augmenting profile

    Posted Fri January 27, 2023 12:03 PM
    Another exception:

    java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
    If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
    A typical config looks like this;
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>

    ------------------------------
    Anuj Pandit
    ------------------------------



  • 3.  RE: Issue augmenting profile

    Posted Fri January 27, 2023 05:08 PM
    Although  you cannot use PMT to install ODM profile templates they are available and should help you. installation is done from the command line:
    - for a standalone server follow this instructions https://www.ibm.com/docs/en/odm/8.10?topic=server-configuring-components-stand-alone-profile
    - for a cluster use these https://www.ibm.com/docs/en/odm/8.10?topic=server-configuring-clustered-environment

    I recommend installing 8.10.5.1 the latest fix pack available on 8.10  so that you benefit from the latest improvements and fixes
    https://www.ibm.com/support/pages/ibm-operational-decision-manager-v81051-fix-pack

    ------------------------------
    Alain Robert
    ------------------------------