Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding communication Exception

 
LakshmiNarayana vishnu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • 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
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic