MWS Optimize Configuration

I defined an Optimize environment from MWS successfully but I get the below error in the MWS logs when i check the server status:

Appreciate any help

2015-01-29 17:02:59 GMT+02:00 (jsf:INFO) [RID:884] - SystemSettings - checking server status for IS: localhost:5555/soap/rpc
2015-01-29 17:02:59 GMT+02:00 (jsf:INFO) [RID:884] - SystemSettings - checking server status for AE: wanis-PC:12503/services/monitor
2015-01-29 17:03:00 GMT+02:00 (wsclient:FATAL) [RID:884] - com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy: Failed to bind to endPoint: wanis-PC:12503/services/monitor.wsdl and interface: interface com.webMethods.bpo.service.monitor.IMonitorService: could not bind to path: wanis-PC:12503/services/monitor.wsdl
com.webMethods.caf.wsclient.WSClientException: Failed to bind to endPoint: wanis-PC:12503/services/monitor.wsdl and interface: interface com.webMethods.bpo.service.monitor.IMonitorService: could not bind to path: wanis-PC:12503/services/monitor.wsdl
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.getBinding(WSClientDynamicProxy.java:358)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invokeMethod(WSClientDynamicProxy.java:113)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invoke(WSClientDynamicProxy.java:174)
at com.sun.proxy.$Proxy1087.pingService(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:366)
at com.webMethods.caf.servers.ServersDefaultviewView.pingOptimize(ServersDefaultviewView.java:575)
at com.webMethods.caf.servers.ServersDefaultviewView.checkServerStatusAction(ServersDefaultviewView.java:554)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at com.webMethods.caf.faces.application.CAFMethodExpression.invoke(CAFMethodExpression.java:73)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at com.webMethods.caf.faces.component.table.html.DataTable.broadcast(DataTable.java:798)
at com.webMethods.caf.faces.component.ViewRoot.broadcastEvents(ViewRoot.java:237)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
at com.webMethods.caf.faces.component.ViewRoot.processApplication(ViewRoot.java:120)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.webMethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:286)
at com.webMethods.caf.faces.portlet.PortletLifecycle.execute(PortletLifecycle.java:178)
at com.webMethods.caf.faces.portlet.FacesPortlet.processAction(FacesPortlet.java:345)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:536)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:276)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:221)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:132)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.processPortletAction(PortletContainer.java:110)
at com.webMethods.portal.framework.portlet.beans.rest.RestfulPCAHandler.handle(RestfulPCAHandler.java:194)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:502)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:424)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:317)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:256)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:48)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at com.webMethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:67)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:26)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at com.webMethods.portal.framework.impl.RequestFilter.doFilter(RequestFilter.java:56)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:744)
Caused by: electric.registry.RegistryException: could not bind to path: wanis-PC:12503/services/monitor.wsdl
at electric.soap.registry.SOAPRegistry.bind(SOAPRegistry.java:69)
at electric.registry.compound.CompoundRegistry.bind(CompoundRegistry.java:138)
at electric.registry.Registry.getReference(Registry.java:347)
at electric.registry.Registry.getProxy(Registry.java:303)
at electric.registry.Registry.bind(Registry.java:211)
at electric.registry.Registry.bind(Registry.java:197)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.getBinding(WSClientDynamicProxy.java:356)
… 87 more
Caused by: java.rmi.ConnectException: Connection refused: connect: unable to load file wanis-PC:12503/services/monitor.wsdl
at electric.http.loader.HTTPResourceLoader.loadResource(HTTPResourceLoader.java:55)
at electric.util.resourceloader.ResourceLoaders.loadResource(ResourceLoaders.java:93)
at electric.wsdl.parser.WSDLParser.newWSDL(WSDLParser.java:52)
at electric.wsdl.loader.WSDLLoader.obtainWSDLBypassingCache(WSDLLoader.java:113)
at electric.wsdl.loader.WSDLLoader.getWSDL(WSDLLoader.java:71)
at electric.soap.registry.SOAPRegistry.bind(SOAPRegistry.java:49)
… 93 more

Was the environment deployed to the engines?

If not do so.

If yes, did you restart the engines after the deployment.

Regards,
Holger

hey Holger,

Yes the environment is deployed and MWS is restarted but still no luck.

any thoughts?

Wanis,

If the environment is successfully deployed then you would not have got this error. Can you please make sure log details which you are observing are the latest one’s …? Also share your environment details.

Thanks,

Hey MR as173d,

I solved the issue finally :slight_smile:

the problem was that the default JNDI configuration in “configure servers” under “define environments” was pointing to universal messaging by default and I was using Broker.

I figured this out when i checked the data collector optimize logs, it was throwing a jndiNamingException

MWS 9.6 configuration was deployed successfully while this error was occuring, which is very wierd

Thanks for your help :slight_smile:

It’s making sense, that’s the reason i asked you to provide environment details. Thanks for the update.

Thanks,