Resin中的tuscany

项目要用到tuscany

<filter>
       <filter-name>tuscany</filter-name> 
       <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class> 
    </filter>
    
    <filter-mapping>
      <filter-name>tuscany</filter-name> 
      <url-pattern>/*</url-pattern> 
    </filter-mapping>

 在resin3.1启动的时候,总是出错:

[09:54:19.687] {main} ContextPath: /InnovationMarketplace
[09:54:20.875] {main} ContributionReadException
[09:54:20.890] {main} javax.servlet.ServletException: org.osoa.sca.ServiceRuntimeException: java.lang.reflect.InvocationTargetException
[09:54:20.890] {main} 	at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:174)
[09:54:20.890] {main} 	at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91)
[09:54:20.890] {main} 	at com.caucho.server.webapp.WebApp.start(WebApp.java:1871)
[09:54:20.890] {main} 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[09:54:20.890] {main} 	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[09:54:20.890] {main} 	at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[09:54:20.890] {main} 	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[09:54:20.890] {main} 	at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
[09:54:20.890] {main} 	at com.caucho.server.host.Host.start(Host.java:450)
[09:54:20.890] {main} 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[09:54:20.890] {main} 	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[09:54:20.890] {main} 	at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[09:54:20.890] {main} 	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[09:54:20.890] {main} 	at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
[09:54:20.890] {main} 	at com.caucho.server.cluster.Server.start(Server.java:1315)
[09:54:20.890] {main} 	at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
[09:54:20.890] {main} 	at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
[09:54:20.890] {main} 	at com.caucho.server.resin.Resin.start(Resin.java:703)
[09:54:20.890] {main} 	at com.caucho.server.resin.Resin.initMain(Resin.java:1157)
[09:54:20.890] {main} 	at com.caucho.server.resin.Resin.main(Resin.java:1360)

 但是在tomcat下是完全没问题的,真搞不懂!

你可能感兴趣的:(java,apache,tomcat,servlet)