[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread asack
sony3002 wrote : hello | i checked my JMX-Console and found this | | MBean Name: Domain Name: jboss.j2ee | service: EJB3 | name: UserLoginBean | jar: EJBModule.jar | MBean Java Class: org.jboss.ejb3.ServiceDelegateWrapper | | | is this ok ??? | | i am new to

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread sony3002
hello, thank you for the reply i done as you said and found this +- UserLoginBean (class: org.jnp.interfaces.NamingContext) | | +- remote (proxy: $Proxy49 implements interface com.amlaki.cbmega.ejb.user.UserLoginRemote,interface org.jboss.ejb3.JBossProxy,interface

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread asack
sony3002 wrote : hello, | | thank you for the reply | i done as you said and found this | | +- UserLoginBean (class: org.jnp.interfaces.NamingContext) | | | +- remote (proxy: $Proxy49 implements interface com.amlaki.cbmega.ejb.user.UserLoginRemote,interface

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread sony3002
hello now i am getting a new Error | javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)] | this is how i called the remote server UserLoginRemote obj =

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread sony3002
hello do i miss any jar file in my client web application ??? i have added all the jar files that are in Jboss\client to my web applications WEB-INF\lib folder is any more i need ??? these are the jar files which are in my WEB-INF\lib folder activation.jar | antlr.jar |

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-27 Thread sony3002
hello asack, after adding /remote to my look up, i got several class not found Exception, and i did manage all it by bringing all that jar files visible to my web application and then i successfully connected from stand alone tomcat to Jboss :) :) :) now i have a question i thought that, all

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-26 Thread asack
Check JNDI space via the JMX-Console but you probably want something like UserLoginBean/remote...usually a NamingContext cast exception is a wrong lookup. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932692#3932692 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-03-26 Thread sony3002
hello i checked my JMX-Console and found this MBean Name: Domain Name: jboss.j2ee service: EJB3 name: UserLoginBean jar: EJBModule.jar MBean Java Class: org.jboss.ejb3.ServiceDelegateWrapper is this ok ??? i am new to Jboss and EJB3 please help View the original post :