[JBoss-user] [Remoting] - Re: How to convert jrmp to pooled
The standardjboss.xml can not be changed during runtime (at least won't be picked up by the server until restart). I can't tell from the stack trace what the problem is. I few pointers would be: 1. If running clustered nodes, make sure are all using pooled invoker. 2. Make sure pooled invoker is actually running (i.e. make sure the jboss:service=invoker,type=pooled is actually decalred in jboss-service.xml (or in some other service.xml) and is running. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914258#3914258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914258 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: How to convert jrmp to pooled
Hi all, is there a way to convert the rmi into a pool at all? I'm able to start the server but from the client, if I try contacting the bean from the server, I'm getting a SocketException (Connection reset): java.lang.reflect.UndeclaredThrowableException at $Proxy57.create(Unknown Source) at org.apache.jsp.Test_jsp._jspService(org.apache.jsp.Test_jsp:79) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2217) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2230) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750) at java.io.ObjectInputStream.(ObjectInputStream.java:268) at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:121) at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy$ClientSocket.(PooledInvokerProxy.java:111) at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.getConnection(PooledInvokerProxy.java:250) at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.invoke(PooledInvokerProxy.java:322) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) ... 27 more The previous posts were also stopping at the same point. With the normal jrmp configuration it works fine but not with the pooled configuration. Please help me out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913127#3913127 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913127 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes
[JBoss-user] [Remoting] - Re: How to convert jrmp to pooled
This stack trace has nothing to do with making an ejb invocation (which is where the jrmp or pooled invoker would be used). It looks like is a stace trace when shutting down and struts is barfing: | at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:190) | at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:216) | at org.apache.struts.config.ApplicationConfig.getProcessor(ApplicationConfig.java:225) | at org.apache.struts.action.ActionServlet.destroyApplications(ActionServlet.java:654) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912799#3912799 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912799 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: How to convert jrmp to pooled
Hi Tom, I get this trace when the system tries to start and shuts down automatically when I changed the configuration from jrmp to pooled. The modified standardjboss.xml is like this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 4.0//EN http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd; !-- = -- !-- Standard JBoss EJB Configurations-- !-- = -- !-- $Id: standardjboss.xml,v 1.88.2.6 2005/04/05 18:58:50 ejort Exp $ -- enforce-ejb-restrictionsfalse/enforce-ejb-restrictions invoker-proxy-bindings invoker-proxy-binding entity-pooled-invoker invoker-mbeanjboss:service=invoker,type=pooled/invoker-mbean proxy-factoryorg.jboss.proxy.ejb.ProxyFactory/proxy-factory proxy-factory-config client-interceptors org.jboss.proxy.ejb.HomeInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor org.jboss.proxy.ejb.EntityInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor list-entity org.jboss.proxy.ejb.ListEntityInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor /list-entity /client-interceptors /proxy-factory-config /invoker-proxy-binding invoker-proxy-binding clustered-entity-rmi-invoker invoker-mbeanjboss:service=invoker,type=jrmpha/invoker-mbean proxy-factoryorg.jboss.proxy.ejb.ProxyFactoryHA/proxy-factory proxy-factory-config client-interceptors org.jboss.proxy.ejb.HomeInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor org.jboss.proxy.ejb.EntityInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor list-entity org.jboss.proxy.ejb.ListEntityInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor /list-entity /client-interceptors /proxy-factory-config /invoker-proxy-binding invoker-proxy-binding stateless-pooled-invoker invoker-mbeanjboss:service=invoker,type=pooled/invoker-mbean proxy-factoryorg.jboss.proxy.ejb.ProxyFactory/proxy-factory proxy-factory-config client-interceptors org.jboss.proxy.ejb.HomeInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor org.jboss.proxy.ejb.StatelessSessionInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor interceptor call-by-value=falseorg.jboss.invocation.InvokerInterceptor interceptor call-by-value=trueorg.jboss.invocation.MarshallingInvokerInterceptor /client-interceptors /proxy-factory-config /invoker-proxy-binding invoker-proxy-binding clustered-stateless-rmi-invoker invoker-mbeanjboss:service=invoker,type=jrmpha/invoker-mbean proxy-factoryorg.jboss.proxy.ejb.ProxyFactoryHA/proxy-factory proxy-factory-config client-interceptors org.jboss.proxy.ejb.HomeInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.proxy.TransactionInterceptor