It cannot map the invocation's method, probably because 
you have different versions of the interface?

In English, B.jar is using a different version of the 
home interface to A.jar

Have you tried turning off the by the reference optimization.
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
> a:83)
Use org.jboss.invocation.ByValueInvokerInterceptor (configured
in jboss.xml or standardjboss.xml globally)

I'll fix the error message to something other than NPE.

Regards,
Adrian

On Thu, 2003-08-28 at 01:19, Jae Gangemi wrote:
> hello - 
> 
>   i have the following development environment setup, and i am having
> problems accessing a set of stateless
> ejbs: 
>  
>   3 ears have been deployed within one jboss vm (version 3.2.0)
>   
>   1 ear has no class-loader repository specified, as the jar files
> contained within should be accessable
> to the other 2 ear files (which should just make them part of the
> default repository).
> 
>   the two other ears (A.ear, B.ear) each have their own class-loader
> repositories, as the jars contained
> within should not be shared with anyone else. A.ear does contain a
> client jar w/ all the necessary
> classes to access the ejb contained w/in B.ear
> 
>   everything deploys fine, and the code executes up until the point that
> a class in A.ear tries
> to access an ejb contained in B.ear, it blows up w/ a null pointer
> exception (see below for
> the stack trace up until it reaches my code).
> 
>   it seems as if there is a problem accessing remote homes when they are
> contained w/in two seperate
> ears that are contained w/in the same vm. of course, i am still
> relatively green w/ areas of jboss
> and j2ee, so i could be completely off here. 
> 
>   if anyone could help shed some light on this, it would be most
> appriciated!!
> 
>   thx!!!
> 
> -jae
> 
> -----
> 
> 19:50:33,689 ERROR [LogInterceptor] RuntimeException:
> java.lang.NullPointerException
>         at
> org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHo
> me(StatelessSessionContainer.java:592)
>         at
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
> keHome(CachedConnectionInterceptor.java:206)
>         at
> org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(
> StatelessSessionInstanceInterceptor.java:51)
>         at
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
> rceptor.java:88)
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
> torCMT.java:216)
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.ja
> va:74)
>         at
> org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityIntercep
> tor.java:92)
>         at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:1
> 20)
>         at
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyF
> actoryFinderInterceptor.java:93)
>         at
> org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessS
> essionContainer.java:310)
>         at org.jboss.ejb.Container.invoke(Container.java:694)
>         at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
> nDispatcher.java:284)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>         at
> org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
> 
>         at
> org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
> a:83)
>         at
> org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
> java:46)
>         at
> org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:4
> 5)
>         at
> org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
>         at
> org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
>         at $Proxy230.create(Unknown Source)
>         at
> com.register.scheduler.delegate.SchedulerDelegate.getSchedulerRemote(
> SchedulerDelegate.java:268)
>     
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to