[ https://issues.apache.org/jira/browse/FELIX-844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654059#action_12654059 ]
Karl Pauls commented on FELIX-844: ---------------------------------- The problem is that rmi seems to send the urls of the classloader that created felix to the server. Issue is, the handler of the url is not send to the server and that causes the new URL to throw an exception. I don't really know why rmi is doing this but we need to find a solution. I will make fixing this part of the overall refactoring of the URLHandlers which I will start soon. Thanks for creating the issue. > java.net.MalformedURLException: unknown protocol: felix > ------------------------------------------------------- > > Key: FELIX-844 > URL: https://issues.apache.org/jira/browse/FELIX-844 > Project: Felix > Issue Type: Bug > Environment: Felix 1.4, Java 5, Windows Vista > Reporter: james yong > Assignee: Karl Pauls > Fix For: felix-1.4.0 > > > My client program has the following exception when retrieving workitem from > openwfe (server) via rmi. > The client application embeds felix 1.2 while server program doesn't. > No problem if felix is not running. > java.rmi.ServerException: RemoteException occurred in server thread; nested > exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > exception is: > java.net.MalformedURLException: unknown protocol: felix > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown > Source) > at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) > at sun.rmi.server.UnicastRef.invoke(Unknown Source) > at openwfe.org.worklist.impl.RmiWorkSession_Stub.get(Unknown Source) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.