aspose file tools*
The moose likes JBoss/WildFly and the fly likes Regarding communication Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Regarding communication Exception" Watch "Regarding communication Exception" New topic
Author

Regarding communication Exception

LakshmiNarayana vishnu
Ranch Hand

Joined: Aug 03, 2006
Posts: 39
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

Joined: Jul 20, 2005
Posts: 10105
    
165

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?


[My Blog] [JavaRanch Journal]
 
 
subject: Regarding communication Exception