After performing a server migration on CLM 6.0.3 the Link Index Provider (LDX) application page reports an error
After migrating data (using repotools-<context> -export / -import) and performing the lqe.restore operation on the ldx backup data - the ldx page on the new server reports the following problem. I have generated new ldx backup data from the original server - and it seems to get restored (because the /metadata and /datasets folders are removed and the lqe.restore flag in the /conf/ldx/lqe.properties file is changed from true to false) but my new server is unusable due to this error.
Error Page Exception
SRVE0260E: The server cannot use the error page specified for your application to handle the Original Exception printed below.
Original Exception:
Error Message: javax.servlet.ServletException: java.io.IOException: org.apache.wink.json4j.JSONException: javax.crypto.BadPaddingException: Given final block not properly paddedError Code: 500
Target Servlet: GenericServletWrapper
Error Stack:
java.io.IOException: org.apache.wink.json4j.JSONException: javax.crypto.BadPaddingException: Given final block not properly padded
at com.ibm.team.jis.lqe.auth.inbound.InboundAuthFilter.doFilter(InboundAuthFilter.java:97)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.auth.inbound.ConfigModeBlockerFilter.doFilter(ConfigModeBlockerFilter.java:77)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.auth.inbound.ConfigModeAllowedFilter.doFilter(ConfigModeAllowedFilter.java:56)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.auth.inbound.UpgradeModeBlockerFilter.doFilter(UpgradeModeBlockerFilter.java:89)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.auth.inbound.UpgradeModeAllowedFilter.doFilter(UpgradeModeAllowedFilter.java:53)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.http.ClickjackPreventionFilter.doFilter(ClickjackPreventionFilter.java:90)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.http.GZipFilter.doFilter(GZipFilter.java:47)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.team.jis.lqe.DefaultEncodingFilter.doFilter(DefaultEncodingFilter.java:34)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1021)
One answer
I came across the following note that may pertain to this problem:
[from: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.jp.lqe2.doc/topics/t_lqe_upgrade.html&scope=null]
"New in version 6.0.3: ..., the lqe.key file is created in the
JTS_install_dir
/server/conf/lqe directory. This file stores the key for encrypting LQE and Link Index Provider (LDX) passwords and credentials. ...If you delete this file, or if you move the
JTS_install_dir
/server/conf/lqe directory without moving lqe.key, you get an error when you start LQE. To learn how to resolve the issue, read this troubleshooting article."
Comments
Daniel Barbour
Jan 11 '17, 11:33 a.m.Daniel Barbour
Feb 24 '17, 10:45 a.m.