Errors Related to Low Code

Errors encountered in lowcode logs while starting the Low Code service

  • Scenario 1: Unable to deploy jw.war while starting the Low Code service.

     

    INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\RPA201\AssistEdgeAutomationGA\runtime\tomcat\apache-tomcat-9.0.82\webapps\jw.war]
    01-Nov-2023 23:03:50.919 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error

    deploying web application archive [C:\RPA201\AssistEdgeAutomationGA\runtime\tomcat\apache-tomcat-9.0.82\webapps\jw.war]
        java.lang.IllegalStateException: Error starting child
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)
    Caused by: java.lang.NoClassDefFoundError: org/joget/commons/util/PluginThread
            at java.base/java.lang.Class.getDeclaredFields0(Native Method)

     

  • Scenario 2: UI not getting loaded properly or edit section missing at the bottom of the Low Code home page.

Solution for scenario 1 and 2

  1. Stop the Low Code service.
  2. Clean up the folders at runtime/tomcat/tomcat-9.0.82/work and /temp.
  3. Delete the jw folder at runtime/tomcat/tomcat-9.0.82/webapps/jw.
    Make sure you do not delete the jw.war file.
  4. Start the Low Code service.