2 Replies Latest reply on Jul 7, 2005 1:34 PM by Norman Richards

    problem when deploy the ear file into jboss

    jiaming y Newbie


      I actually go smoothly to ear and deploy it to the jboss. but jboss pop up the error for failure finding the "com.jboss.ebank.web.CustomerHackFilter". I think it is weird because if you go to the src, you will find all package name is in *sun.ebank*, rather than jboss. Plus, I did not find the CustomerHACKFilter class in my src folder. So my confusion summarized as :

      1. Is the sample in jboss site complete ?
      2. Anybody know which code call the CustomerHACKFilter, or which configure file do it


      09:02:48,328 INFO [EjbModule] Deploying AccountBean
      09:02:48,359 INFO [EjbModule] Deploying TxBean
      09:02:48,375 INFO [EjbModule] Deploying NextIdBean
      09:02:48,390 INFO [EjbModule] Deploying AccountControllerBean
      09:02:48,437 INFO [EjbModule] Deploying CustomerControllerBean
      09:02:48,453 INFO [EjbModule] Deploying TxControllerBean
      09:02:50,593 INFO [EJBDeployer] Deployed: file:/C:/development/servers/jboss-4.0.2/server/default/tmp/deploy/tmp45686JBossDukesBank.ear-contents/bank-ejb.jar
      09:02:50,703 INFO [TomcatDeployer] deploy, ctxPath=/bank, warUrl=file:/C:/development/servers/jboss-4.0.2/server/default/tmp/deploy/tmp45686JBossDukesBank.ear-contents/web-client-exp.war/
      09:02:50,843 ERROR [[/bank]] Exception starting filter CustomerHack
      java.lang.ClassNotFoundException: com.jboss.ebank.web.CustomerHackFilter
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)