• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to invoke RMI

 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I am trying to implement a distributed Java Web application with Apache installed on machine as a load balancer and 2 other machines having Tomcat to which requests are forwarded.

When ever I try to access any applets/Java applications from a client machine, I get the below error which is logged in either of the Slave tomcat . I am not sure if this trace is enough to analyse the issue, please let me know if any more info is reuired.






 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Have you checked out the line where the exception occurs: at com.infoengine.connector.DataAccessObject.execute(DataAccessObject.java:214) - DataAccessObject line 214?
It looks like the execution is getting into your code, are you sure it isn't the connection to the database as opposed to any RMI error?

Sean
 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sean,

That page which I am trying to access is not related to any database activity. I am able to do other database activities without any issues. From what searched on the net it seems that client is trying to pass wrong user/pass due to which this error could come up, but what surprises me is that this page is a part of the whole app and how should it pass any other wrong credentials?

Thanks,
Rohan
 
Dave Rocks
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was anyone ever able to identify the cause of this problem? I have the same error message, and I have the same use case (I pasted my error output below). I have been told it may be and LDAP authentication error - but nobody seems to be able to peg. I'd be very interested to know if you were able to resolve it.

Thanks!

wt.federation.FederationServicesException: java.lang.Exception: Connection refused: connect
Nested exception is: java.lang.Exception: Connection refused: connect
at com.infoengine.connector.DataAccessObject.execute(DataAccessObject.java:214)
at wt.federation.RPCHelper.doAction(RPCHelper.java:528)
at com.ptc.core.ca.co.client.doer.CoDoerHelper_Soap.executeTask(CoDoerHelper_Soap.java:51)
at com.ptc.core.ca.co.client.doer.CoDoerHelper.executeTask(CoDoerHelper.java:208)
at com.ptc.core.ca.co.client.doer.CoAbstractTaskDoer.executeTask(CoAbstractTaskDoer.java:211)
at com.ptc.core.ca.co.client.doer.CoAbstractTaskDoer.execute(CoAbstractTaskDoer.java:87)
at com.ptc.core.ca.co.client.doer.CoDefaultModelTaskDoer.execute(CoDefaultModelTaskDoer.java:129)
at com.ptc.core.ca.co.client.table.CoTable.updateModel(CoTable.java:312)
at com.ptc.core.ca.co.client.element.CoElement.default_init(CoElement.java:614)
at com.ptc.core.ca.co.client.element.CoElement.default_draw(CoElement.java:555)
at com.ptc.core.ca.co.client.element.CoElement.draw(CoElement.java:509)
at com.ptc.core.ca.web.client.layout.WebLayoutRowRenderHandler.render(WebLayoutRowRenderHandler.java:310)
at com.ptc.core.ca.web.client.element.WebRenderHandler.render(WebRenderHandler.java:117)
at com.ptc.core.ca.web.client.element.WebElementUtils.render(WebElementUtils.java:387)
at com.ptc.core.ca.web.client.layout.WebLayoutRow.render(WebLayoutRow.java:226)
at com.ptc.core.ca.co.client.element.CoElement.default_render(CoElement.java:709)
at com.ptc.core.ca.co.client.element.CoElement.default_draw(CoElement.java:558)
at com.ptc.core.ca.co.client.element.CoElement.draw(CoElement.java:509)
at com.ptc.core.ca.web.client.layout.WebSimpleLayoutRenderHandler.render_layout(WebSimpleLayoutRenderHandler.java:138)
at com.ptc.core.ca.web.client.layout.WebSimpleLayoutRenderHandler.render(WebSimpleLayoutRenderHandler.java:83)
at com.ptc.core.ca.web.client.element.WebRenderHandler.render(WebRenderHandler.java:117)
at com.ptc.core.ca.web.client.element.WebElementUtils.render(WebElementUtils.java:387)
at com.ptc.core.ca.web.client.layout.WebSimpleLayout.render(WebSimpleLayout.java:227)
at com.ptc.core.ca.co.client.element.CoElement.default_render(CoElement.java:709)
at com.ptc.core.ca.co.client.element.CoElement.default_draw(CoElement.java:558)
at com.ptc.core.ca.co.client.element.CoElement.draw(CoElement.java:509)
at com.ptc.core.ca.web.client.layout.WebLayoutRowRenderHandler.render(WebLayoutRowRenderHandler.java:310)
at com.ptc.core.ca.web.client.element.WebRenderHandler.render(WebRenderHandler.java:117)
at com.ptc.core.ca.web.client.element.WebElementUtils.render(WebElementUtils.java:387)
at com.ptc.core.ca.web.client.layout.WebLayoutRow.render(WebLayoutRow.java:226)
at com.ptc.core.ca.co.client.element.CoElement.default_render(CoElement.java:709)
at com.ptc.core.ca.co.client.element.CoElement.default_draw(CoElement.java:558)
at com.ptc.core.ca.co.client.element.CoElement.draw(CoElement.java:509)
at com.ptc.core.ca.web.client.layout.WebSimpleLayoutRenderHandler.render_layout(WebSimpleLayoutRenderHandler.java:138)
at com.ptc.core.ca.web.client.layout.WebSimpleLayoutRenderHandler.render(WebSimpleLayoutRenderHandler.java:83)
at com.ptc.core.ca.web.client.element.WebRenderHandler.render(WebRenderHandler.java:117)
at com.ptc.core.ca.web.client.element.WebElementUtils.render(WebElementUtils.java:387)
at com.ptc.core.ca.web.client.layout.WebSimpleLayout.render(WebSimpleLayout.java:227)
at com.ptc.core.ca.co.client.element.CoElement.default_render(CoElement.java:709)
at com.ptc.core.ca.co.client.element.CoElement.default_draw(CoElement.java:558)
at com.ptc.core.ca.co.client.element.CoElement.draw(CoElement.java:509)
at com.ptc.core.ca.web.client.frame.WebSimpleFrameRenderHandler.render(WebSimpleFrameRenderHandler.java:199)
at com.ptc.core.ca.web.client.element.WebRenderHandler.render(WebRenderHandler.java:117)
at com.ptc.core.ca.web.client.element.WebElementUtils.render(WebElementUtils.java:387)
at com.ptc.core.ca.web.client.frame.WebSimpleFrame.render(WebSimpleFrame.java:236)
at com.ptc.core.ca.co.client.element.CoElement.default_render(CoElement.java:709)
at com.ptc.core.ca.co.client.element.CoElement.default_draw(CoElement.java:558)
at com.ptc.core.ca.co.client.element.CoElement.draw(CoElement.java:509)
at com.ptc.core.ca.web.client.gw.WebGateway.handleRequest(WebGateway.java:459)
at org.apache.jsp.wtcore.jsp.com.ptc.core.ca.web.gw.gw_jsp._jspService(gw_jsp.java:141)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.httpgw.filter.TrustedAuthFilter.doFilter(TrustedAuthFilter.java:123)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:232)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:324)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1417)
at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic