I'm having a strange problem in the middle of running a JSF client against EJB 
3.0 beans. An initial call to the EJB interface works, but when I try to make 
the same call later in the application I get the following error:

java.lang.RuntimeException: java.net.MalformedURLException: no protocol: 
Files/jboss-4.0.4.CR2/server/tagus/tmp/deploy/tmp46659tagus-teller.ear-contents/tagus-teller-exp.war/WEB-INF/classes/
  | java.lang.RuntimeException: java.net.MalformedURLException: no protocol: 
Files/jboss-4.0.4.CR2/server/tagus/tmp/deploy/tmp46659tagus-teller.ear-contents/tagus-teller-exp.war/WEB-INF/classes/
  |     at 
org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:223)
  |     at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:222)
  |     at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:55)
  |     at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  |     at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
  |     at $Proxy90.getBranchLog(Unknown Source)
  |     at 
org.ccf.tagus.teller.beans.BranchOpenBean.standardGetBranchLog(BranchOpenBean.java:158)
  |     at 
org.ccf.tagus.teller.beans.BranchOpenBean.actionOpen(BranchOpenBean.java:179)
  |     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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
  |     at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
  |     at 
com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
  |     at javax.faces.component.UICommand.broadcast(UICommand.java:312)
  |     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
  |     at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
  |     at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
  |     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
  |     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
  |     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |     at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  |     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  |     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  |     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  |     at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |     at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |     at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |     at java.lang.Thread.run(Thread.java:595)


The code that fails is straight out of the book JNDI lookup code.

InitialContext context = new InitialContext();
  | BranchOffice branchOffice = context.lookup("Tagus/BranchOffice/remote");


Again this works during a start up call, but mid application it stops working. 
It's like the system is in some odd state.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944978#3944978

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944978


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to