• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Regarding communication Exception

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am having an application using jboss 4.0.3SP1 and tomcat 5.0.28
When i try calling the ejb deployed in jboss using following code
InitialContext jndiContext = new InitialContext();
Object ref = jndiContext.lookup("interest/Interest");

I get error saying --

javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: tomcat5.0/jakarta-tomcat-5.0.28/webapps/servlets-examples/WEB-INF/classes/]


Tomcat is installed in directory having spaces (D:\jakarta tomcat5.0\jakarta-tomcat-5.0.28)

Any help is appreciated


Regards,
LakshmiNarayana
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tomcat is installed in directory having spaces (D:\jakarta tomcat5.0\jakarta-tomcat-5.0.28)



Does it work when you install Tomcat in a directory without spaces?

Also, my understanding is that JBoss comes with an embedded Tomcat. You dont have to separately install and use Tomcat. How have you deployed your application?
 
You have to be odd to be #1 - Seuss. An odd little ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic