[JBoss-user] [EJB 3.0] - java.net.MalformedURLException: no protocol: de
Hi Folks. While I am trying to communicate between my client/servlets and my SessionStateless EJB3 service components, I am getting this stack trace as follow: | 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: de] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at br.com.suntech.vigiadados.util.config.ServiceLocator.getInitialContext(ServiceLocator.java:58) | at br.com.suntech.vigiadados.ext.client.action.login.Login.(Login.java:29) | at br.com.suntech.vigiadados.ext.client.action.login.LoginAction.validate(LoginAction.java:49) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274) | at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194) | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) | at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) | at java.lang.Thread.run(Thread.java:595) | Caused by: 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: de | 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:460) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) | at java.lang.Thread.run(Thread.java:595) | at sun.rmi.
[JBoss-user] [EJB 3.0] - java.net.MalformedURLException: no protocol: de
Hello, I have a simple stateless sesion bean with a finder method that returns a collection of beans for listing prupose. When I call that method from a jsf(RI) application I get next error: 2005-12-16 23:04:56,455 ERROR [com.sun.faces.lifecycle.InvokeApplicationPhase] #{ClientListPage.search_action}: javax.faces.el.EvaluationException: java.lang.RuntimeException: java.net.MalformedURLException: no protocol: de javax.faces.FacesException: #{ClientListPage.search_action}: javax.faces.el.EvaluationException: java.lang.RuntimeException: java.net.MalformedURLException: no protocol: de The stateless session bean method is: public Collection finder(ClienteFinderBean clienteFinderBean); If i remove the method param it works: public Collection finder(); Can you help me. Very than you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913208#3913208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913208 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user