emmanuel wrote:
Be sure to set up the event listeners manually though (see the reference documentation). By not using Hibernate Annotations (ie not using AnnotationConfiguration), you loose the automatic event wiring.
Hmm, i tried it.
I added these lines to my hibernate.cfg.xml:
Code:
.....
</session-factory>
.....
<!-- Hier mal Versuchweise die Hibernate Search Aktivierung -->
<event type="post-update">
<listener class="org.hibernate.search.event.FullTextIndexEventListener"/>
</event>
<event type="post-insert">
<listener class="org.hibernate.search.event.FullTextIndexEventListener"/>
</event>
<event type="post-delete">
<listener class="org.hibernate.search.event.FullTextIndexEventListener"/>
</event>
</hibernate-configuration>
and the result is, that:
Code:
INFO Configuration - configuring from resource: /hibernate.cfg.xml
INFO Configuration - Configuration resource: /hibernate.cfg.xml
DEBUG DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
DEBUG DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
DEBUG DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
ERROR XMLHelper - Error parsing XML: /hibernate.cfg.xml(167) The content of element type "hibernate-configuration" must match "(session-factory,security?)".
ERROR [/toeurope] - StandardWrapper.Throwable
java.lang.ExceptionInInitializerError
at com.ticketonline.toeurope.servlet.StartupServlet.init(StartupServlet.java:27)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
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:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.hibernate.MappingException: invalid configuration
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1487)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1428)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1414)
at com.ticketonline.toeurope.config.Config.setSessionFactoryBuilt(Config.java:54)
at com.ticketonline.toeurope.config.Configuration.buildSessionFactory(Configuration.java:144)
at com.ticketonline.toeurope.config.Configuration.<clinit>(Configuration.java:79)
... 27 more
Caused by: org.xml.sax.SAXParseException: The content of element type "hibernate-configuration" must match "(session-factory,security?)".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2048)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484)
... 32 more
ERROR [/toeurope] - Servlet /toeurope threw load() exception
java.lang.ExceptionInInitializerError
at com.ticketonline.toeurope.servlet.StartupServlet.init(StartupServlet.java:27)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
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:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.hibernate.MappingException: invalid configuration
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1487)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1428)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1414)
at com.ticketonline.toeurope.config.Config.setSessionFactoryBuilt(Config.java:54)
at com.ticketonline.toeurope.config.Configuration.buildSessionFactory(Configuration.java:144)
at com.ticketonline.toeurope.config.Configuration.<clinit>(Configuration.java:79)
... 27 more
Caused by: org.xml.sax.SAXParseException: The content of element type "hibernate-configuration" must match "(session-factory,security?)".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2048)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484)
... 32 more
DEBUG JspRuntimeContext - Parent class loader is: WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1ee4648
DEBUG JspRuntimeContext - Compilation classpath initialized: /J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/classes/;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/Saferpay.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/acme.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/activation.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/antlr-2.7.5H3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/asm-attrs.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/asm.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/avalon-framework-4.2.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/barcode4j-fop-ext-0.20.5-complete.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/bsh.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/cglib-2.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-codec-1.3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-collections-3.2.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-el.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-fileupload.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-io.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-lang-2.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-logging.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/concurrent.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/datedFileAppender-1.0.2.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/dojoz.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/dom4j-1.6.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/ehcache-1.2.3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/ejb3-persistence.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/fckez.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/fdsapi-1.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/fop.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/gmapsz.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate-annotations.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate-commons-annotations.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate-search.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hsqldb.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jakarta-oro-2.0.8.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jamon-2.3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/javassist.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-aop-jdk50.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-cache-jdk50.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-common.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-j2ee.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-jmx.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-minimal.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-serialization.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-system.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jcommon.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jcs-1.2.7.7.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jdbm-1.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jdom.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jfreechart.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jgroups.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jms.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jsr173_api.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jta.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/junit-4.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/log4j-1.2.14.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/lucene-core-2.1.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/mail.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/mysql-connector-java-5.0.5-bin.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/qdox.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/sjsxp.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/trove.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/xalan.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/xhtmltranscoder.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/xmlgraphics-commons-1.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zcommon.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zhtml.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zk.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zkplus.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zul.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zweb.jar;C:\Dokumente und Einstellungen\SBS\.IntelliJIdea60\system\tomcat_Unnamed_235fa68d\work\Catalina\localhost\toeurope;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/classes/;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/Saferpay.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/acme.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/activation.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/antlr-2.7.5H3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/asm-attrs.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/asm.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/avalon-framework-4.2.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/barcode4j-fop-ext-0.20.5-complete.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/bsh.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/cglib-2.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-codec-1.3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-collections-3.2.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-el.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-fileupload.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-io.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-lang-2.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/commons-logging.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/concurrent.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/datedFileAppender-1.0.2.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/dojoz.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/dom4j-1.6.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/ehcache-1.2.3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/ejb3-persistence.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/fckez.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/fdsapi-1.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/fop.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/gmapsz.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate-annotations.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate-commons-annotations.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate-search.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hibernate3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/hsqldb.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jakarta-oro-2.0.8.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jamon-2.3.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/javassist.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-aop-jdk50.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-cache-jdk50.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-common.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-j2ee.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-jmx.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-minimal.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-serialization.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jboss-system.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jcommon.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jcs-1.2.7.7.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jdbm-1.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jdom.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jfreechart.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jgroups.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jms.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jsr173_api.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/jta.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/junit-4.1.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/log4j-1.2.14.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/lucene-core-2.1.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/mail.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/mysql-connector-java-5.0.5-bin.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/qdox.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/sjsxp.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/trove.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/xalan.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/xhtmltranscoder.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/xmlgraphics-commons-1.0.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zcommon.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zhtml.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zk.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zkplus.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zul.jar;/J:/toeurope/Tomcat_5.5/webapps/toeurope/WEB-INF/lib/zweb.jar;/J:/toeurope/Tomcat_5.5/common/classes/;/J:/toeurope/Tomcat_5.5/common/i18n/tomcat-i18n-en.jar;/J:/toeurope/Tomcat_5.5/common/i18n/tomcat-i18n-es.jar;/J:/toeurope/Tomcat_5.5/common/i18n/tomcat-i18n-fr.jar;/J:/toeurope/Tomcat_5.5/common/i18n/tomcat-i18n-ja.jar;/J:/toeurope/Tomcat_5.5/common/lib/activation.jar;/J:/toeurope/Tomcat_5.5/common/lib/commons-el.jar;/J:/toeurope/Tomcat_5.5/common/lib/commons-lang-2.1.jar;/J:/toeurope/Tomcat_5.5/common/lib/jasper-compiler-jdt.jar;/J:/toeurope/Tomcat_5.5/common/lib/jasper-compiler.jar;/J:/toeurope/Tomcat_5.5/common/lib/jasper-runtime.jar;/J:/toeurope/Tomcat_5.5/common/lib/jsp-api.jar;/J:/toeurope/Tomcat_5.5/common/lib/jta.jar;/J:/toeurope/Tomcat_5.5/common/lib/mail.jar;/J:/toeurope/Tomcat_5.5/common/lib/naming-factory-dbcp.jar;/J:/toeurope/Tomcat_5.5/common/lib/naming-factory.jar;/J:/toeurope/Tomcat_5.5/common/lib/naming-resources.jar;/J:/toeurope/Tomcat_5.5/common/lib/ojdbc14.jar;/J:/toeurope/Tomcat_5.5/common/lib/servlet-api.jar;/C:/Programme/Java/jdk1.5.0_02/lib/tools.jar;/J:/toeurope/Tomcat_5.5/bin/bootstrap.jar;/C:/Programme/Java/jdk1.5.0_02/jre/lib/ext/dnsns.jar;/C:/Programme/Java/jdk1.5.0_02/jre/lib/ext/jdbc_thin_driver.jar;/C:/Programme/Java/jdk1.5.0_02/jre/lib/ext/localedata.jar;/C:/Programme/Java/jdk1.5.0_02/jre/lib/ext/sunjce_provider.jar;/C:/Programme/Java/jdk1.5.0_02/jre/lib/ext/sunpkcs11.jar
DEBUG JspServlet - Scratch dir for the JSP engine is: C:\Dokumente und Einstellungen\SBS\.IntelliJIdea60\system\tomcat_Unnamed_235fa68d\work\Catalina\localhost\toeurope
DEBUG JspServlet - IMPORTANT: Do not modify the generated servlets
20.04.2007 17:13:27 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/balancer]
20.04.2007 17:13:27 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jsp-examples]
20.04.2007 17:13:27 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/servlets-examples]
20.04.2007 17:13:27 org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/webdav]
20.04.2007 17:13:27 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
20.04.2007 17:13:27 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
20.04.2007 17:13:27 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
20.04.2007 17:13:28 org.apache.catalina.startup.Catalina start
INFO: Server startup in 5016 ms
ERROR [webtestrunner] - Servlet.service() for servlet webtestrunner threw exception
java.lang.NoClassDefFoundError
at com.ticketonline.toeurope.test.web.WebRunnerServlet.handle(WebRunnerServlet.java:110)
at com.ticketonline.toeurope.test.web.WebRunnerServlet.doGet(WebRunnerServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at filters.HibernateSessionCloseFilter.doFilter(HibernateSessionCloseFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
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.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.Http11AprProcessor.process(Http11AprProcessor.java:831)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:652)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1203)
at java.lang.Thread.run(Thread.java:595)
I made this simply like descriped here:
http://www.hibernate.org/hib_docs/searc ... tion-event
Is there some information missing, or am I simply blind or something like that?
Best regards
einherier
http://www.hibernate.org/hib_docs/searc ... tion-event