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)
Same code works fine if tomcat is installed in directory having no space . Please let me know if anyone faced this issue and how to tackle it
Any help is appreciated
-
Calling ejb from a servlet (1 messages)
- Posted by: Beena Patil
- Posted on: February 01 2006 00:11 EST
Threaded Messages (1)
- Calling ejb from a servlet by akira yamazaki on February 01 2006 03:54 EST
-
Calling ejb from a servlet[ Go to top ]
- Posted by: akira yamazaki
- Posted on: February 01 2006 03:54 EST
- in response to Beena Patil
That is the same old story; there a lot of similar posts in JBoss Forum. For example, see:
http://jboss.org/index.html?module=bb&op=viewtopic&t=49055
You can't but change your Tomcat installation location.