TN and MWS Configuration -- Receiving unknown host exception

Hi ,

I have recently installed webMethods 8.2 and trying to configure MWS and TN.

I was receiving the below error when I am trying to use TN Monitoring via MWS (TN Console also):

com.webmethods.portlet.tn.utils.TNException: 9999:wm.tn.portal.queries:doQuery (docQuery) encountered execution error. com.webmethods.sc.caching.CachingException: Failed to create/get distributed cache ‘TNQueryResults@localhost:5555’; reason: (Wrapped: Address=DWH-34316-K2) java.net.UnknownHostException: DWH-34316-K2; – check configuration

I haven’t configured anything with name “DWH-34316-K2” in MWS.

I am receiving this error when i access Transacltion Analysis via TN Console also.

Here is the full error message I am receiving in MWS:

com.webmethods.portlet.tn.utils.TNException: 9999:wm.tn.portal.queries:doQuery (docQuery) encountered execution error. com.webmethods.sc.caching.CachingException: Failed to create/get distributed cache ‘TNQueryResults@XXXXXXXXXXXX:5555’; reason: (Wrapped: Address=DWH-34316-K2) java.net.UnknownHostException: DWH-34316-K2; – check configuration

at com.webmethods.portlet.tn.utils.TNException.getNewException(TNException.java:52)
at com.webmethods.portlet.tn.utils.TNException.getNewException(TNException.java:40)
at com.webmethods.portlet.wm_tn_ta_searchresults.Wm_tn_ta_searchResultsViewPage.getCurrentQueryID(Wm_tn_ta_searchResultsViewPage.java:409)
at com.webmethods.portlet.wm_tn_ta_searchresults.Wm_tn_ta_searchResultsViewPage.getCurrentQueryID(Wm_tn_ta_searchResultsViewPage.java:339)
at com.webmethods.portlet.wm_tn_ta_searchresults.Wm_tn_ta_searchResultsViewPage.beforeRenderResponse(Wm_tn_ta_searchResultsViewPage.java:303)
at com.webmethods.caf.faces.bean.BaseViewBean.beforePhase(BaseViewBean.java:86)
at com.webmethods.caf.faces.bean.FacesBeanPhaseListener.beforePhase(FacesBeanPhaseListener.java:30)
at com.webmethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:255)
at com.webmethods.caf.faces.portlet.PortletLifecycle.render(PortletLifecycle.java:190)
at com.webmethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:397)
at com.webmethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:495)
at com.webmethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:221)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:130)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:103)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:193)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:82)
at com.webmethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:151)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:96)
at com.webmethods.portal.mech.storage.page.PortletHelper.initializeRuntimeProperties(PortletHelper.java:268)
at com.webmethods.portal.mech.storage.page.PortletHelper.initializeRuntimeProperties(PortletHelper.java:327)
at com.webmethods.portal.mech.storage.page.PortletHelper.getFullyInitializedBean(PortletHelper.java:383)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.resolveWiringProperty(PortletMechanics.java:626)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.resolveWiring(PortletMechanics.java:605)
at com.webmethods.portal.mech.storage.page.PortletHelper.initializeWiredProperties(PortletHelper.java:249)
at com.webmethods.portal.mech.storage.page.PortletHelper.getInitializedBean(PortletHelper.java:359)
at com.webmethods.portal.mech.storage.page.PortletHelper.getInitializedBean(PortletHelper.java:344)
at com.webmethods.portal.framework.presentation.renderers.PortalPageSubRenderer.findMaximizedPortlet(PortalPageSubRenderer.java:523)
at com.webmethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderContent(PortalPageSubRenderer.java:122)
at com.webmethods.portal.framework.presentation.renderers.PortalPageSubRenderer.subrender(PortalPageSubRenderer.java:113)
at com.webmethods.portal.framework.presentation.renderers.NoodleRenderer.renderPageContent(NoodleRenderer.java:57)
at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:224)
at com.webmethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:370)
at com.webmethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:623)
at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:369)
at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:451)

Anyone help me what configuration needs to be done in MWS so that we can view Transactions in TN or MWS.

The issue got fixed after changing the IP address(Host name) in tangosol-coherence-override.xml file in /IntegrationServer/config/caching.