Question & Answer
Question
After upgrading ILMT from 9.2.0.2 to 9.2.4.0 on Windows, the ILMT console is no longer accessible.
Cause
After upgrading ILMT from 9.2.0.2 to 9.2.4.0 on Windows, the ILMT console is no longer accessible. The tema.log file contained the following errors:
[7/5/16 17:44:35:948 UTC] 0000001e com.ibm.ws.webcontainer.webapp I SRVE0292I: Servlet Message - [tema]:.[INFO] 2016-07-05 17:44:35 +0000 Starting TEMA version: 9.2.4.0-20160615-1904
[7/5/16 17:44:44:215 UTC] 0000001e com.ibm.ws.webcontainer.webapp I SRVE0292I: Servlet Message - [tema]:.An exception happened during JRuby-Rack startup
undefined method `beta_features' for #<SAM::Domain:0xdda7041e>
--- System
--- Backtrace
NoMethodError: undefined method `beta_features' for #<SAM::Domain:0xdda7041e>
BetaFeature at D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb:11
each at org/jruby/RubyArray.java:1613
BetaFeature at D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb:9
SystemConfig at D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb:2
(root) at D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb:1
.
.
.
[7/5/16 17:44:44:215 UTC] 0000001e com.ibm.ws.webcontainer.webapp I SRVE0296E: [tema][/][Servlet.LOG]:.ERROR: initialization failed:.org.jruby.rack.RackInitializationException: undefined method `beta_features' for #<SAM::Domain:0xdda7041e>
from D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb:11:in `BetaFeature'
from org/jruby/RubyArray.java:1613:in `each'
from D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb:9:in `BetaFeature'
After manually deleted the D:/Program Files/ibm/LMT/wlp/usr/servers/server1/apps/tema.war/WEB-INF/app/models/system_config/beta_feature.rb file and restarted the ILMT server service, now the Home page is stuck in progress bar for hours.
However, there is no issue to go directly into these pages where hostname is the ILMT server's hostname.
Answer
The issue seems to be caused by old manifest.json file present in the following locations:
\wlp\usr\servers\server1\apps\tema.war\assets
\wlp\usr\servers\server1\apps\tema.war\WEB-INF\public\assets
In both these locations, there should find 2 files similar to the below:
manifest-540359043a1d278560527bbd66b566e0.json
one with date of 9.2.4 installation, and one older (from previous installation).
Please remove the older file, restart the ILMT application and clear cache in the browser.
Was this topic helpful?
Document Information
Modified date:
26 April 2021
UID
swg21987131