0 Replies Latest reply on Apr 6, 2008 11:18 PM by Jubril Adisa

    Deploying Hibernate Search Application on Tomcat

    Jubril Adisa Novice

      I am able to run my Hibernate Search Application with no problems but whenever i attempt to deploy it on a Tomcat Server I always get this exception, And I am using the same Jar files

      SEVERE: Exception starting filter Security Filter
      java.lang.VerifyError: (class: org/hibernate/search/event/FullTextIndexEventListener, method: onPostInsert signature: (Lorg/hibernate/event/PostInsertEvent;)V) Incompatible argument to function
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
      at java.lang.Class.getConstructor0(Class.java:2671)
      at java.lang.Class.newInstance0(Class.java:321)
      at java.lang.Class.newInstance(Class.java:303)
      at org.hibernate.cfg.Configuration.setListeners(Configuration.java:1536)
      at org.hibernate.cfg.Configuration.parseEvent(Configuration.java:1521)
      at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1452)
      at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1414)
      at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1390)
      at org.hibernate.cfg.Configuration.configure(Configuration.java:1310)
      at com.soltech.HibernateSessionFactory.(HibernateSessionFactory.java:32)
      at com.soltech.BaseHibernateDAO.getSession(BaseHibernateDAO.java:18)
      at com.soltech.PagesDAO.findAllRoles(PagesDAO.java:186)
      at com.security.SecurityFilter.getAllRolesAndPages(SecurityFilter.java:220)
      at com.security.SecurityFilter.init(SecurityFilter.java:206)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
      at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
      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.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Apr 6, 2008 10:58:18 PM org.apache.catalina.core.StandardContext start
      SEVERE: Error filterStart