|
From: Dmitriy K. <dko...@ru...> - 2005-03-28 18:24:06
|
Yeah, that's what it is. I'm just wondering though, why did they (Hibernate) make it a required dependency? Dmitriy. Juergen Hoeller wrote: >Actually, it's probably just jta.jar missing, which is a required dependency >of Hibernate: no actual JTA provider needed, just the interface jar. > >Juergen > > >-----Original Message----- >From: spr...@li... >[mailto:spr...@li...]On Behalf >Of Erwin Vervaet >Sent: Monday, March 28, 2005 8:12 PM >To: spr...@li... >Subject: Re: [Springframework-developer] Error deploying application to >Tomcat 5.0.28 > > >Tomcat is not a full J2EE appserver but just a servlet engine. It does not >support JTA. Try to deploy the app in a full featured app server, something >like JBoss, WebLogic or WebSphere. > >Erwin Vervaet >erw...@er... >----- Original Message ----- >From: "Garvey, Paul M (GE Commercial Finance)" <pau...@ge...> >To: <spr...@li...> >Sent: Monday, March 28, 2005 8:06 PM >Subject: [Springframework-developer] Error deploying application to Tomcat >5.0.28 > > >All, > I am new to the Appfuse world and so I tried to deploy a simple web app >created >from the equinox project. I deployed it to Tomcat 5.0.28 and got the >following error >in the tomcat console. Does anyone know what the problem could be? > >Paul > >INFO: Processing Context configuration file URL >file:C:\jakarta-Tomcat-5.0.28\conf\Catalina\localhost\essAppfuse.xm >[essAppfuse] DEBUG [main] StartupListener.contextInitialized(33) | >initializing context... >[essAppfuse] ERROR [main] ContextLoader.initWebApplicationContext(114) | >Context initialization failed >org.springframework.beans.factory.BeanCreationException: Error creating bean >with name 'sessionFactory' defined in > bean failed; nested exception is java.lang.NoClassDefFoundError: >javax/transaction/TransactionManager >java.lang.NoClassDefFoundError: javax/transaction/TransactionManager > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:1655) > at java.lang.Class.getDeclaredMethods(Class.java:1139) > at java.beans.Introspector$1.run(Introspector.java:1273) > at java.security.AccessController.doPrivileged(Native Method) > at >java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1271) > at >java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136) > at java.beans.Introspector.getBeanInfo(Introspector.java:378) > at java.beans.Introspector.getBeanInfo(Introspector.java:152) > at >org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospect >ionResults.java:140) > at >org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospe >ctionResults.java:82) > at >org.springframework.beans.BeanWrapperImpl.setIntrospectionClass(BeanWrapperI >mpl.java:296) > at >org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl >.java:254) > at >org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl >.java:228) > at >org.springframework.beans.BeanWrapperImpl.<init>(BeanWrapperImpl.java:172) > at >org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory >.createBean(AbstractAutowire > at >org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory >.createBean(AbstractAutowire > at >org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra >ctBeanFactory.java:240) > at >org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra >ctBeanFactory.java:163) > at >org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst >antiateSingletons(DefaultLis > at >org.springframework.context.support.AbstractApplicationContext.refresh(Abstr >actApplicationContext.java:3 > at >org.springframework.web.context.support.AbstractRefreshableWebApplicationCon >text.refresh(AbstractRefresh > at >org.springframework.web.context.ContextLoader.createWebApplicationContext(Co >ntextLoader.java:167) > at >org.springframework.web.context.ContextLoader.initWebApplicationContext(Cont >extLoader.java:101) > at >org.springframework.web.context.ContextLoaderListener.contextInitialized(Con >textLoaderListener.java:48) > at >org.appfuse.webapp.listener.StartupListener.contextInitialized(StartupListen >er.java:38) > at >org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: >3827) > at >org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) > at >org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 >23) > at >org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) > at >org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) > at >org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer. >java:903) > 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:324) > at >org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) > at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) > at org.apache.commons.digester.Rule.end(Rule.java:276) > at >org.apache.commons.digester.Digester.endElement(Digester.java:1058) > at >org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:7 >6) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >Source) > at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown >Source) > at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc >her.dispatch(Unknown >Source) > at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown >Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown >Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown >Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.commons.digester.Digester.parse(Digester.java:1567) > at >org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j >ava:488) > at >org.apache.catalina.core.StandardHost.install(StandardHost.java:863) > at >org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483 >) > at >org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) > at >org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) > at >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor >t.java:119) > at >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) > at >org.apache.catalina.core.StandardHost.start(StandardHost.java:789) > at >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) > at >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) > at >org.apache.catalina.core.StandardService.start(StandardService.java:480) > at >org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) > at org.apache.catalina.startup.Catalina.start(Catalina.java:556) > 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:324) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) >Mar 28, 2005 12:55:34 PM org.apache.catalina.core.StandardContext start > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |