[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-23 Thread istiJ
By using local interfaces instead of remote interfaces you can prevent RMI calls (with local interfaces you will have direct method invocation -- using pass by reference), but you can use both (local and remote) interfaces also. For further inf. please check: http://www.onjava.com/pub/a/onjava/2

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread TBO
Thank you M. Stark for your support. I haven't found any tags in jboss.xml or standardjboss.xml to force jboss to do a call by reference or by value. How can I achieve that ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844152#3844152 Reply to the post :

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread TBO
Thank you darranl, we supposed indeed that this was the translation, as indiquated in our third post... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844142#3844142 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38441

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread [EMAIL PROTECTED]
The show a stack trace for one of the rmi calls in the optimize it output. You have to explicitly enable call by value semantics through a jboss.xml configuration (or standardjboss.xml) setting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844141#3844141 R

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread darranl
'no arg ctor' = No argument constructor View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844138#3844138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844138 --- This

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread TBO
To complete our recent answer, first, we do not specify any url provider in the jndi.properties (as explained upper) so it may be auto-generated by the container. Then, in our source code, we call the constructor InitalContext with no arguments : initialContext = new InitialContext(); Then for

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread TBO
Thank you M.Stark for your support, We thought about this idea and in that case we had removed the line "java.naming.provider.url=jnp://<@IP>:1101" from the jndi.properties file. It seems in reading your post that it could be a bad factory used in the jndi.properties file. It contains now only

[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session

2004-08-04 Thread [EMAIL PROTECTED]
The only rmi call this could be is the JNDI naming service. This would indicate that you are not using the no arg ctor of the InitialContext and are supplying a provider url which triggers the rmi call. If its not the naming service, show the trace for the call. View the original post : http:/