Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Getting javax.naming.CommunicationException Using Jboss 4.0.5

Ranch Hand
Posts: 246
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am getting the following error after running "ant run" in command prompt while running chapter 1 on jboss 4.0.5GA of ejb 3 in action:-

[java] javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)]
[java] at org.jnp.interfaces.NamingContext.lookup(
[java] at org.jnp.interfaces.NamingContext.lookup(
[java] at javax.naming.InitialContext.lookup(
[java] at com.ejb3inaction.actionbazaar.client.HelloUserClient.main(
[java] Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)
[java] at sun.rmi.server.LoaderHandler.loadProxyClass(
[java] at java.rmi.server.RMIClassLoader$2.loadProxyClass(
[java] at java.rmi.server.RMIClassLoader.loadProxyClass(
[java] at sun.rmi.server.MarshalInputStream.resolveProxyClass(
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at java.rmi.MarshalledObject.get(
[java] at org.jnp.interfaces.MarshalledValuePair.get(
[java] at org.jnp.interfaces.NamingContext.lookup(
[java] ... 3 more

It has been deployed fine using "ant" in command prompt.

Please help to fix this problem,

Thanks a lots,

PS: Eventually, I tested with jboss 4.2.2 and It's working fine. Am I missing something?
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic