<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Re: [Fwd: Re: [JBoss-dev] jrmp invoker issue]</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText2479 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jaroslaw Kijanowski<BR><B>Sent:</B> Tue
2006-08-29 22:34<BR><B>To:</B> Clebert Suconic<BR><B>Subject:</B> RE: [Fwd: Re:
[JBoss-dev] jrmp invoker issue]<BR></FONT><BR></DIV>
<DIV>
<DIV id=idOWAReplyText49630 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I've found the needed invoker
definition in
testsuite\src\resources\test-configs\jrmp-invoker\conf</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>So maybe it's not necessary to modify
standardjboss.xml, but use somehow this in
testsuite\src\resources\test-configs\jrmp-invoker\conf..</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Just copying it into pooled.jar (this is
deployed during the test which fails) doesn't work.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Clebert Suconic<BR><B>Sent:</B> Tue
2006-08-29 22:26<BR><B>To:</B> Tom Elrod<BR><B>Cc:</B> Tom Elrod; QA
Internal<BR><B>Subject:</B> Re: [Fwd: Re: [JBoss-dev] jrmp invoker
issue]<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>The problem is, stadardjboss.xml on jboss-head doesn't have any
of the<BR>legacy invokers defined, and Jaroslaw has some failures because of
that.<BR><BR><BR>We need to understand if we are supposed to support JRMP
and<BR>PooledInvokers on jboss-5 or not.<BR><BR>If we are supposed, we would
need to add these configurations back on<BR>standardjboss.xml, then we would
have an additional invokers instead of<BR>replacing it.<BR><BR>On Tue,
2006-08-29 at 22:52 -0400, Tom Elrod wrote:<BR>> Yes, but need to understand
it better first. IIRC, only JBossAS 5 has<BR>> any config for
UnifiedInvokers in the config files. They can be added<BR>> to JBossAS
4, but is a manual process. I guessed I missed something<BR>>
here. Has this changed?<BR>><BR>> I am not sure what the
intersection with what Jaroslaw is saying is with<BR>>
UnifiedInvoker.<BR>><BR>> Clebert Suconic wrote:<BR>> > Tom,<BR>>
><BR>> > Can you please provide some comment on this (@
dev-list)?<BR>> ><BR>> ><BR>> ><BR>> > --------
Forwarded Message --------<BR>> >> From: Clebert Suconic
<clebert.suconic@jboss.com><BR>> >> Reply-To:
clebert.suconic@jboss.com, JBoss.org development list<BR>> >>
<jboss-development@lists.jboss.org><BR>> >> To: JBoss.org
development list <jboss-development@lists.jboss.org><BR>> >>
Subject: Re: [JBoss-dev] jrmp invoker issue<BR>> >> Date: Tue, 29 Aug
2006 15:28:34 -0500<BR>> >><BR>> >> It looks like we removed
everything was not using UnifiedINvokers from<BR>> >>
standard-jboss.xml while we still have legacy invokers defined on<BR>>
>> jboss-service.xml.<BR>> >><BR>> >> I know we want to
have the setup taking control of this, but as we still<BR>> >> have a
testsuite working on this, shouldn't we put these definitions<BR>> >>
back on standardjboss.xml, or should we convert every test we have to<BR>>
>> use UnifiedInvokers and treat everything else a legacy code an keep
then<BR>> >> being tested in a separate testsuite?<BR>>
>><BR>> >><BR>> >> Clebert<BR>> >> On Tue,
2006-08-29 at 12:41 -0500, Jaroslaw Kijanowski wrote:<BR>> >>>
Hello,<BR>> >>> there's a test,
org.jboss.test.pooled.test.BeanStressTestCase, which<BR>> >>> fails
because StatelessSession isn't bound. The original<BR>> >>>
testsuite/src/resources/pooled/META-INF/jboss.xml file looks like<BR>>
>>> this:<BR>> >>> ****************************<BR>>
>>> <jboss><BR>> >>>
<enterprise-beans><BR>>
>>> <session><BR>>
>>>
<ejb-name>StatelessSession</ejb-name><BR>>
>>>
<jndi-name>StatelessSession</jndi-name><BR>>
>>>
<invoker-bindings><BR>>
>>>
<invoker><BR>> >>><BR>> >>>
<invoker-proxy-binding-name>stateless-pooled-invoker</invoker-proxy-binding-name><BR>>
>>>
<jndi-name>PooledStatelessSession</jndi-name><BR>>
>>>
</invoker><BR>>
>>>
</invoker-bindings><BR>>
>>> </session><BR>>
>>> .<BR>> >>> .<BR>> >>> .<BR>>
>>> <invoker-proxy-bindings><BR>>
>>>
<invoker-proxy-binding><BR>>
>>>
<name>stateless-pooled-invoker</name><BR>> >>><BR>>
>>>
<invoker-mbean>jboss:service=invoker,type=pooled</invoker-mbean><BR>>
>>><BR>> >>>
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory><BR>>
>>>
<proxy-factory-config><BR>>
>>>
<client-interceptors><BR>>
>>>
<home><BR>> >>><BR>> >>>
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor><BR>>
>>>
</home><BR>>
>>>
<bean><BR>> >>><BR>> >>>
<interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor><BR>>
>>>
</bean><BR>>
>>>
</client-interceptors><BR>>
>>>
</proxy-factory-config><BR>>
>>>
</invoker-proxy-binding><BR>> >>>
****************************<BR>> >>> But this isn't enough to bind
StatelessSession (PooledStatelessSession<BR>> >>> is bound right).
Exception is thrown. I looked in the 4_0_4 Branch on<BR>> >>>
jboss.xml and I added these missing lines of code to jboss.xml:<BR>>
>>> ****************************************<BR>>
>>> <jboss><BR>> >>>
<enterprise-beans><BR>>
>>> <session><BR>>
>>>
<ejb-name>StatelessSession</ejb-name><BR>>
>>>
<jndi-name>StatelessSession</jndi-name><BR>>
>>>
<invoker-bindings><BR>>
>>>
<invoker><BR>> >>><BR>> >>>
<invoker-proxy-binding-name>stateless-pooled-invoker</invoker-proxy-binding-name><BR>>
>>>
<jndi-name>PooledStatelessSession</jndi-name><BR>>
>>>
</invoker><BR>> >>> <BR>> >>> <!--
copied from jboss.xml in JBAS 4_0_4 --><BR>>
>>>
<invoker><BR>> >>><BR>> >>>
<invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name><BR>>
>>>
<jndi-name>StatelessSession</jndi-name><BR>>
>>>
</invoker><BR>> >>> <!-- end --><BR>>
>>> <BR>>
>>>
</invoker-bindings><BR>>
>>> </session><BR>>
>>> ****************************************<BR>>
>>><BR>> >>> But the test fails again, because I can't use
"stateless-rmi-invoker",<BR>> >>> because it is no longer defined
in<BR>> >>> server/src/etc/conf/default/standardjboss.xml in JBAS
5.0.0beta, why?<BR>> >>> I've copied the following section from
JBAS4_0_4 to JBAS5 and now the<BR>> >>> test works fine. But is this
the right way?<BR>> >>>
****************************************<BR>>
>>> <invoker-proxy-binding><BR>>
>>>
<name>stateless-rmi-invoker</name><BR>>
>>>
<invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean><BR>>
>>>
<proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory><BR>>
>>>
<proxy-factory-config><BR>>
>>>
<client-interceptors><BR>>
>>>
<home><BR>> >>><BR>> >>>
<interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor><BR>>
>>>
<interceptor<BR>> >>>
call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor><BR>>
>>>
<interceptor<BR>> >>>
call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor><BR>>
>>>
</home><BR>>
>>>
<bean><BR>> >>><BR>> >>>
<interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor><BR>>
>>><BR>> >>>
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor><BR>>
>>>
<interceptor<BR>> >>>
call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor><BR>>
>>>
<interceptor<BR>> >>>
call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor><BR>>
>>>
</bean><BR>>
>>>
</client-interceptors><BR>>
>>>
</proxy-factory-config><BR>> >>>
</invoker-proxy-binding><BR>> >>><BR>> >>>
Thanks,<BR>> >>> Jaroslaw<BR>> >>><BR>>
>>> _______________________________________________<BR>>
>>> jboss-development mailing list<BR>> >>>
jboss-development@lists.jboss.org<BR>> >>> <A
href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</A><BR>--<BR>Clebert
Suconic<BR>Core Developer<BR><BR></FONT></P></DIV></DIV>
</BODY>
</HTML>