[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException on JNDI context.Lookup();
jaikiran
do-not-reply at jboss.com
Fri Jun 27 12:31:57 EDT 2008
Just re-read your post:
anonymous wrote : IParticularManagerBeanLocal toto = null;
| try {
| context = new InitialContext();
| this.particularManagementService = (IParticularManagerBeanLocal)context.lookup("ParticularManagerBean/local");
What's the type for this.particularManagementService? Shouldn't that be:
| IParticularManagerBeanLocal toto = null;
| try {
| context = new InitialContext();
| toto = (IParticularManagerBeanLocal)context.lookup("ParticularManagerBean/local");
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161250#4161250
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161250
More information about the jboss-user
mailing list