Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002780 [Resin] minor always 07-10-08 09:18 07-10-08 16:45
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.6
Summary 0002780: hessian proxy from remote-client not properly registered with jndi
Description (rep by Sashidhar Guduri)

Resin documentation seems to have fallen behind. It looks like I can't depend on the documentation but instead experiment. Anyway here is what I found and I am getting a new exception now when I startup. I was able to use jndi-name for remote-client tag. My remote-client looks like this now:

<remote-client jndi-name="service/CosignService">
        <interface>edu.umich.authentication.cosign.CosignService</interface>
        <uri>hessian:url=https://172.20.57.97/test.msis.ws/services/CosignService</uri> [^]
</remote-client>

I get the followng exception when the app starts up

[2008/07/10 09:33:38.822] javax.servlet.ServletException: java.lang.ClassCastException: com.caucho.remote.hessian.HessianProtocolProxyFactory$BeanProxy cannot be cast to edu.umich.authentication.cosign.CosignService
[2008/07/10 09:33:38.822] at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:174)
[2008/07/10 09:33:38.822] at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91)
[2008/07/10 09:33:38.822] at com.caucho.server.webapp.WebApp.start(WebApp.java:1871)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[2008/07/10 09:33:38.822] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
[2008/07/10 09:33:38.822] at com.caucho.server.host.Host.start(Host.java:450)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[2008/07/10 09:33:38.822] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[2008/07/10 09:33:38.822] at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
[2008/07/10 09:33:38.822] at com.caucho.server.cluster.Server.start(Server.java:1315)
[2008/07/10 09:33:38.822] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
[2008/07/10 09:33:38.822] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
[2008/07/10 09:33:38.822] at com.caucho.server.resin.Resin.start(Resin.java:703)
[2008/07/10 09:33:38.822] at com.caucho.server.resin.Resin.initMain(Resin.java:1157)
[2008/07/10 09:33:38.822] at com.caucho.server.resin.Resin.main(Resin.java:1360)
[2008/07/10 09:33:38.822] Caused by: java.lang.ClassCastException: com.caucho.remote.hessian.HessianProtocolProxyFactory$BeanProxy cannot be cast to edu.umich.authentication.cosign.CosignService
[2008/07/10 09:33:38.822] at edu.umich.authentication.cosign.filter.CosignAuthenticationFilter.init(CosignAuthenticationFilter.java:181)
[2008/07/10 09:33:38.822] at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144)
[2008/07/10 09:33:38.822] ... 19 more

Additional Information
Attached Files

- Relationships

- Notes
(0003256)
ferg
07-10-08 16:45

server/5201
 

- Issue History
Date Modified Username Field Change
07-10-08 09:18 ferg New Issue
07-10-08 16:45 ferg Note Added: 0003256
07-10-08 16:45 ferg Assigned To  => ferg
07-10-08 16:45 ferg Status new => closed
07-10-08 16:45 ferg Resolution open => fixed
07-10-08 16:45 ferg Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker