Can you share a simple exemple to reproduce, not sure I understand. JLouis
2013/11/28 Leonardo K. Shikida <[email protected]> > 160 > Em 28/11/2013 16:29, "Thiago Veronezi" <[email protected]> escreveu: > > > Whats the version of the server? > > 1.6.0 or trunk? > > > > []s, > > Thiago. > > > > > > > > On Thu, Nov 28, 2013 at 2:15 PM, Leonardo K. Shikida <[email protected] > > >wrote: > > > > > Hi > > > > > > Just noticed that when I code something like > > > > > > ejbContainer = EJBContainer.createEJBContainer(p); > > > context = ejbContainer.getContext(); > > > > > > networkDriversConfigurationFacadeEJB = > > > (NetworkDriversConfigurationFacadeEJB2) > > > > > > > > > context.lookup("java:global/NEAS/"+NetworkDriversConfigurationFacadeEJB2.class.getSimpleName()); > > > > > > and NetworkDriversConfigurationFacadeEJB2 is a class that does not > > > implement any interface, it works. > > > > > > but if I implement any interface in > > NetworkDriversConfigurationFacadeEJB2, > > > I get an exception like > > > > > > java.lang.ClassCastException: com.sun.proxy.$Proxy105 cannot be cast > > to... > > > > > > is that expected? > > > > > > [] > > > > > > Leo > > > > > > -- Jean-Louis
