This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9955
    
163

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]
 
Don't get me started about those stupid light bulbs.
 
subject: Regarding communication Exception
 
Similar Threads
plz help:SOAP Exception
Error plz help
problem implementing EL function example from HFS&J :page 389
Tutorial on Dynamic Attributes
Wsdl2java is not working