IBM Support

TM1web (Planning Analytics Spreadsheet Service) が HTTP ERROR 500 で開けない

Troubleshooting


Problem

設定変更後、TM1Web にアクセスすると Error 500 でアクセス出来ない。

Symptom

TM1Webにアクセスすると、以下のエラーがブラウザに表示されます。
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: java.lang.NullPointerException Error Code: 500 Target Servlet: ServletNameNotFound Error Stack: java.lang.NullPointerException at com.ibm.cognos.tm1.web.shares.TM1WebConfig.getCrossDomainAccessList(TM1WebConfig.java:541) at com.ibm.cognos.tm1.web.shares.TM1WebUtils.isOriginAllowed(TM1WebUtils.java:240) at com.ibm.cognos.tm1.web.ResponseHeaderFilter.setHttpResponseHeaders(ResponseHeaderFilter.java:47) at com.ibm.cognos.tm1.web.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:38) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) at com.ibm.cognos.tm1.web.EncodingFilter.doFilter(EncodingFilter.java:35) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1020) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1142) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4867) at com.ibm.ws.webcontainer31.osgi.webapp.WebApp31.handleRequest(WebApp31.java:523) at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:297) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:997) at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:262) at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:955) at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:341) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:470) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:404) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:284) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:255) at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174) at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83) at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504) at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574) at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:929) at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1018) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.lang.Thread.run(Thread.java:811)

Cause

上記のエラーは、以下の設定ファイルに問題がある時に発生します。 
<Planning Analytics Spreadsheet Service installation directory > tm1web\webapps\tm1web\WEB-INF\configuration\tm1web_config.xml 

Resolving The Problem

以下のファイルを開き、設定に間違いが無いかを確認します。
<Planning Analytics Spreadsheet Service installation directory > tm1web\webapps\tm1web\WEB-INF\configuration\tm1web_config.xml
設定が間違っている例として、1文字足りない場合があります。

<add key="HttpSessionTimeout" value="120"> この場合、  "/" が足りません。正しくは以下の行になります。

<add key="HttpSessionTimeout" value="120" />

別の例として、コメントアウトを間違っている場合があります。

tm1web_config

問題の箇所の修正が完了したら、保存した後IBM Planning Analytics Spreadsheet Serviceを再起動します。

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"ARM Category":[{"code":"a8m3p000000PC7fAAG","label":"Planning Analytics-\u003EWeb PASS Contributor Application-\u003EInstall Configure and Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Historical Number

6966010

Document Information

Modified date:
25 April 2023

UID

ibm16985855