[ https://issues.apache.org/jira/browse/GERONIMO-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093443#comment-13093443 ]
Tina Li edited comment on GERONIMO-6127 at 8/30/11 5:21 AM: ------------------------------------------------------------ Hi Jarek, 1) Server started successfully finally and the cost: Booting Geronimo Kernel (in Java 1.6.0)... Module 1/63 org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car started in .000s Module 2/63 org.apache.geronimo.framework/rmi-naming/3.0-SNAPSHOT/car started in .125s Module 3/63 org.apache.geronimo.framework/plugin/3.0-SNAPSHOT/car started in 3.734s Module 4/63 org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car started in .156s Module 5/63 org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/ ar started in .031s Module 6/63 org.apache.geronimo.framework/bundle-recorder/3.0-SNAPSHOT/car started in .000s Module 7/63 org.apache.geronimo.framework/geronimo-gbean-deployer/3.0-SNAPSHOT car started in .125s Module 8/63 org.apache.geronimo.configs/j2ee-server/3.0-SNAPSHOT/car started in .016s Module 9/63 org.apache.geronimo.configs/j2ee-deployer/3.0-SNAPSHOT/car started in .079s Module 10/63 org.apache.geronimo.configs/bval-deployer/3.0-SNAPSHOT/car started in 1.938s Module 11/63 org.apache.geronimo.configs/transaction-1_6/3.0-SNAPSHOT/car started in .125s Module 12/63 org.apache.geronimo.configs/system-database/3.0-SNAPSHOT/car started in 2.141s Module 13/63 org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car started in .000s Module 14/63 org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car started in 3.813s Module 15/63 org.apache.geronimo.configs/jasper/3.0-SNAPSHOT/car started in .015s Module 16/63 org.apache.geronimo.configs/tomcat7/3.0-SNAPSHOT/car started in 4.344s Module 17/63 org.apache.geronimo.configs/connector-deployer-1_6/3.0-SNAPSHOT/ca started in .032s Module 18/63 org.apache.geronimo.configs/tomcat7-deployer/3.0-SNAPSHOT/car started in .032s Module 19/63 org.apache.geronimo.configs/web-extender/3.0-SNAPSHOT/car started in .016s Module 20/63 org.apache.geronimo.configs/hot-deployer/3.0-SNAPSHOT/car started in .016s Module 21/63 org.apache.geronimo.configs/remote-deploy-tomcat/3.0-SNAPSHOT/car started in 3.906s Module 22/63 org.apache.geronimo.configs/jasper-deployer/3.0-SNAPSHOT/car started in .000s Module 23/63 org.apache.geronimo.configs/myfaces/3.0-SNAPSHOT/car started in .000s Module 24/63 org.apache.geronimo.configs/myfaces-deployer/3.0-SNAPSHOT/car started in 2.953s Module 25/63 org.apache.geronimo.configs/aries/3.0-SNAPSHOT/car started in .000s Module 26/63 org.apache.geronimo.configs/aries-deployer/3.0-SNAPSHOT/car started in .000s Module 27/63 org.apache.geronimo.configs/persistence-jpa20-deployer/3.0-SNAPSHO /car started in .015s Module 28/63 org.apache.geronimo.plugins/pluto-support/3.0-SNAPSHOT/car started in .015s Module 29/63 org.apache.geronimo.plugins/console-tomcat/3.0-SNAPSHOT/car started in 4.062s Module 30/63 org.apache.geronimo.plugins/plugin-console-tomcat/3.0-SNAPSHOT/car started in 4.062s Module 31/63 org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0-SNAPSHOT/ca started in .063s Module 32/63 org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0-SNAPSHO /car started in 10.079s Module 33/63 org.apache.geronimo.configs/activemq-broker-blueprint/3.0-SNAPSHOT car started in 1.031s Module 34/63 org.apache.geronimo.configs/activemq-ra/3.0-SNAPSHOT/car started in .187s Module 35/63 org.apache.geronimo.plugins/activemq-console-tomcat/3.0-SNAPSHOT/c r started in 2.187s Module 36/63 org.apache.geronimo.plugins/debugviews-console-tomcat/3.0-SNAPSHOT car started in 2.579s Module 37/63 org.apache.geronimo.plugins/sysdb-console-tomcat/3.0-SNAPSHOT/car started in 3.406s Module 38/63 org.apache.geronimo.plugins/openejb-console-tomcat/3.0-SNAPSHOT/ca started in 15.625s Module 39/63 org.apache.geronimo.configs/openejb-deployer/3.0-SNAPSHOT/car started in .047s Module 40/63 org.apache.geronimo.configs/openejb-corba-deployer/3.0-SNAPSHOT/ca started in .063s Module 41/63 org.apache.geronimo.configs/j2ee-corba-yoko/3.0-SNAPSHOT/car started in .438s Module 42/63 org.apache.geronimo.configs/openwebbeans-deployer/3.0-SNAPSHOT/car started in .015s Module 43/63 org.apache.geronimo.plugins.monitoring/agent-ds/3.0-SNAPSHOT/car started in .453s Module 44/63 org.apache.geronimo.configs/mejb/3.0-SNAPSHOT/car started in 2.281s Module 45/63 org.apache.geronimo.plugins.monitoring/agent-car-jmx/3.0-SNAPSHOT/ ar started in .016s Module 46/63 org.apache.geronimo.configs/welcome-tomcat/3.0-SNAPSHOT/car started in 2.297s Module 47/63 org.apache.geronimo.configs/javamail/3.0-SNAPSHOT/car started in .016s Module 48/63 org.apache.geronimo.plugins/plancreator-console-tomcat/3.0-SNAPSHO /car started in 1.468s Module 49/63 org.apache.geronimo.configs/client-deployer/3.0-SNAPSHOT/car started in .140s Module 50/63 org.apache.geronimo.configs/webservices-common/3.0-SNAPSHOT/car started in .000s Module 51/63 org.apache.geronimo.configs/axis/3.0-SNAPSHOT/car started in .031s Module 52/63 org.apache.geronimo.configs/axis-deployer/3.0-SNAPSHOT/car started in .031s Module 53/63 org.apache.geronimo.configs/jaxws-deployer/3.0-SNAPSHOT/car started in .000s Module 54/63 org.apache.geronimo.configs/axis2/3.0-SNAPSHOT/car started in .360s Module 55/63 org.apache.geronimo.configs/axis2-deployer/3.0-SNAPSHOT/car started in .047s Module 56/63 org.apache.geronimo.configs/jaxws-ejb-deployer/3.0-SNAPSHOT/car started in .000s Module 57/63 org.apache.geronimo.configs/axis2-ejb-deployer/3.0-SNAPSHOT/car started in .015s Module 58/63 org.apache.geronimo.configs/jaxws-sun-tools/3.0-SNAPSHOT/car started in .000s Module 59/63 org.apache.geronimo.configs/jaxws-tools/3.0-SNAPSHOT/car started in .000s Module 60/63 org.apache.geronimo.plugins/uddi-db/3.0-SNAPSHOT/car started in .047s Module 61/63 org.apache.geronimo.configs/uddi-tomcat/3.0-SNAPSHOT/car started in 23:07.547s Module 62/63 org.apache.geronimo.configs/wink/3.0-SNAPSHOT/car started in .000s Module 63/63 org.apache.geronimo.configs/wink-deployer/3.0-SNAPSHOT/car started in .093s Startup completed in 1:22:09.937s seconds 2) Deploy and start this application successfully but the "schema export unsuccessful" error still existed. 3) Url of this web application still can't accessed and happened error: HTTP Status 404 - /travel/ type Status report message /travel/ description The requested resource (/travel) is not available. But no warning message found for geronimo.log file. was (Author: lylyuchen): Hi Jarek, 1) Server started successfully finally and the cost: Booting Geronimo Kernel (in Java 1.6.0)... Module 1/63 org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car started in .000s Module 2/63 org.apache.geronimo.framework/rmi-naming/3.0-SNAPSHOT/car started in .125s Module 3/63 org.apache.geronimo.framework/plugin/3.0-SNAPSHOT/car started in 3.734s Module 4/63 org.apache.geronimo.framework/j2ee-security/3.0-SNAPSHOT/car started in .156s Module 5/63 org.apache.geronimo.framework/server-security-config/3.0-SNAPSHOT/ ar started in .031s Module 6/63 org.apache.geronimo.framework/bundle-recorder/3.0-SNAPSHOT/car started in .000s Module 7/63 org.apache.geronimo.framework/geronimo-gbean-deployer/3.0-SNAPSHOT car started in .125s Module 8/63 org.apache.geronimo.configs/j2ee-server/3.0-SNAPSHOT/car started in .016s Module 9/63 org.apache.geronimo.configs/j2ee-deployer/3.0-SNAPSHOT/car started in .079s Module 10/63 org.apache.geronimo.configs/bval-deployer/3.0-SNAPSHOT/car started in 1.938s Module 11/63 org.apache.geronimo.configs/transaction-1_6/3.0-SNAPSHOT/car started in .125s Module 12/63 org.apache.geronimo.configs/system-database/3.0-SNAPSHOT/car started in 2.141s Module 13/63 org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car started in .000s Module 14/63 org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car started in 3.813s Module 15/63 org.apache.geronimo.configs/jasper/3.0-SNAPSHOT/car started in .015s Module 16/63 org.apache.geronimo.configs/tomcat7/3.0-SNAPSHOT/car started in 4.344s Module 17/63 org.apache.geronimo.configs/connector-deployer-1_6/3.0-SNAPSHOT/ca started in .032s Module 18/63 org.apache.geronimo.configs/tomcat7-deployer/3.0-SNAPSHOT/car started in .032s Module 19/63 org.apache.geronimo.configs/web-extender/3.0-SNAPSHOT/car started in .016s Module 20/63 org.apache.geronimo.configs/hot-deployer/3.0-SNAPSHOT/car started in .016s Module 21/63 org.apache.geronimo.configs/remote-deploy-tomcat/3.0-SNAPSHOT/car started in 3.906s Module 22/63 org.apache.geronimo.configs/jasper-deployer/3.0-SNAPSHOT/car started in .000s Module 23/63 org.apache.geronimo.configs/myfaces/3.0-SNAPSHOT/car started in .000s Module 24/63 org.apache.geronimo.configs/myfaces-deployer/3.0-SNAPSHOT/car started in 2.953s Module 25/63 org.apache.geronimo.configs/aries/3.0-SNAPSHOT/car started in .000s Module 26/63 org.apache.geronimo.configs/aries-deployer/3.0-SNAPSHOT/car started in .000s Module 27/63 org.apache.geronimo.configs/persistence-jpa20-deployer/3.0-SNAPSHO /car started in .015s Module 28/63 org.apache.geronimo.plugins/pluto-support/3.0-SNAPSHOT/car started in .015s Module 29/63 org.apache.geronimo.plugins/console-tomcat/3.0-SNAPSHOT/car started in 4.062s Module 30/63 org.apache.geronimo.plugins/plugin-console-tomcat/3.0-SNAPSHOT/car started in 4.062s Module 31/63 org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0-SNAPSHOT/ca started in .063s Module 32/63 org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0-SNAPSHO /car started in 10.079s Module 33/63 org.apache.geronimo.configs/activemq-broker-blueprint/3.0-SNAPSHOT car started in 1.031s Module 34/63 org.apache.geronimo.configs/activemq-ra/3.0-SNAPSHOT/car started in .187s Module 35/63 org.apache.geronimo.plugins/activemq-console-tomcat/3.0-SNAPSHOT/c r started in 2.187s Module 36/63 org.apache.geronimo.plugins/debugviews-console-tomcat/3.0-SNAPSHOT car started in 2.579s Module 37/63 org.apache.geronimo.plugins/sysdb-console-tomcat/3.0-SNAPSHOT/car started in 3.406s Module 38/63 org.apache.geronimo.plugins/openejb-console-tomcat/3.0-SNAPSHOT/ca started in 15.625s Module 39/63 org.apache.geronimo.configs/openejb-deployer/3.0-SNAPSHOT/car started in .047s Module 40/63 org.apache.geronimo.configs/openejb-corba-deployer/3.0-SNAPSHOT/ca started in .063s Module 41/63 org.apache.geronimo.configs/j2ee-corba-yoko/3.0-SNAPSHOT/car started in .438s Module 42/63 org.apache.geronimo.configs/openwebbeans-deployer/3.0-SNAPSHOT/car started in .015s Module 43/63 org.apache.geronimo.plugins.monitoring/agent-ds/3.0-SNAPSHOT/car started in .453s Module 44/63 org.apache.geronimo.configs/mejb/3.0-SNAPSHOT/car started in 2.281s Module 45/63 org.apache.geronimo.plugins.monitoring/agent-car-jmx/3.0-SNAPSHOT/ ar started in .016s Module 46/63 org.apache.geronimo.configs/welcome-tomcat/3.0-SNAPSHOT/car started in 2.297s Module 47/63 org.apache.geronimo.configs/javamail/3.0-SNAPSHOT/car started in .016s Module 48/63 org.apache.geronimo.plugins/plancreator-console-tomcat/3.0-SNAPSHO /car started in 1.468s Module 49/63 org.apache.geronimo.configs/client-deployer/3.0-SNAPSHOT/car started in .140s Module 50/63 org.apache.geronimo.configs/webservices-common/3.0-SNAPSHOT/car started in .000s Module 51/63 org.apache.geronimo.configs/axis/3.0-SNAPSHOT/car started in .031s Module 52/63 org.apache.geronimo.configs/axis-deployer/3.0-SNAPSHOT/car started in .031s Module 53/63 org.apache.geronimo.configs/jaxws-deployer/3.0-SNAPSHOT/car started in .000s Module 54/63 org.apache.geronimo.configs/axis2/3.0-SNAPSHOT/car started in .360s Module 55/63 org.apache.geronimo.configs/axis2-deployer/3.0-SNAPSHOT/car started in .047s Module 56/63 org.apache.geronimo.configs/jaxws-ejb-deployer/3.0-SNAPSHOT/car started in .000s Module 57/63 org.apache.geronimo.configs/axis2-ejb-deployer/3.0-SNAPSHOT/car started in .015s Module 58/63 org.apache.geronimo.configs/jaxws-sun-tools/3.0-SNAPSHOT/car started in .000s Module 59/63 org.apache.geronimo.configs/jaxws-tools/3.0-SNAPSHOT/car started in .000s Module 60/63 org.apache.geronimo.plugins/uddi-db/3.0-SNAPSHOT/car started in .047s Module 61/63 org.apache.geronimo.configs/uddi-tomcat/3.0-SNAPSHOT/car started in 23:07.547s Module 62/63 org.apache.geronimo.configs/wink/3.0-SNAPSHOT/car started in .000s Module 63/63 org.apache.geronimo.configs/wink-deployer/3.0-SNAPSHOT/car started in .093s Startup completed in 1:22:09.937s seconds 2) Deploy this web application successfully and try to start this application successfully but the "schema export unsuccessful" error still existed. 3) Url of this web application still can't accessed and happened error: HTTP Status 404 - /travel/ type Status report message /travel/ description The requested resource (/travel) is not available. But no warning message found for geronimo.log file. > "schema export unsuccessful" error happened for spring sample "travel" > ----------------------------------------------------------------------- > > Key: GERONIMO-6127 > URL: https://issues.apache.org/jira/browse/GERONIMO-6127 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: osgi, persistence > Affects Versions: 3.0 > Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 > jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled) > Reporter: Tina Li > Priority: Minor > Attachments: geronimo.log > > > 1.Use Aug 23 build of Geronimo server,start the server if it's not started > 2.Download spring sample from svn: > https://src.springframework.org/svn/spring-samples > 3.According to sample named "travel", modify the pom.xml file which under > trunk folder: Change the element of spring vesion from > <spring.version>3.0.0.RELEASE</spring.version> to > <spring.version>3.0.6.RELEASE</spring.version> > 4.Build this sample successfully using cmd : mvn clean package, then can find > web application: travel.war under \travel\target folder > 5.Deploy the travel application via admin console succuessfully > 6.Try to start this application but error happened: > 2011-08-26 10:12:52,156 ERROR [SchemaExport] schema export unsuccessful > java.lang.UnsupportedOperationException: The user must supply a JDBC > connection > at > org.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:54) > at > org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51) > at > org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:263) > at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:219) > at > org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:370) > at > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902) > at > org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) > at > org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:153) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:527) > at > org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958) > at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:555) > at > org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110) > at > org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145) > at > org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119) > at > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) > at > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:45) > at > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681) > at > org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:165) > at > org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117) > at > org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84) > at > org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112) > at > org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359) > at > org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593) > at > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101) > at > org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251) > at > org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:87) > at > org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:818) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48) > at > org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) > at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243) > at > org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > 2011-08-26 10:12:52,156 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName="default/travel/1314324670359/war?J2EEApplication=null,PersistenceUnitModule=WEB-INF/classes/,WebModule=default/travel/1314324670359/war,j2eeType=PersistenceUnit,name=travelDatabase" > javax.persistence.PersistenceException: [PersistenceUnit: travelDatabase] > Unable to build EntityManagerFactory > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:911) > at > org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) > at > org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:153) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:527) > at > org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958) > at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:555) > at > org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110) > at > org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145) > at > org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119) > at > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) > at > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:45) > at > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681) > at > org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:165) > at > org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117) > at > org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84) > at > org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112) > at > org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359) > at > org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593) > at > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101) > at > org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251) > at > org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:87) > at > org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:818) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48) > at > org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) > at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243) > at > org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > Caused by: org.hibernate.HibernateException: The chosen transaction strategy > requires access to the JTA TransactionManager > at > org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:388) > at > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902) > ... 79 more > 2011-08-26 10:12:52,156 INFO [Ejb3Configuration] Processing > PersistenceUnitInfo [ > name: travelDatabase > ...] > 2011-08-26 10:12:52,218 ERROR [SchemaExport] schema export unsuccessful > java.lang.UnsupportedOperationException: The user must supply a JDBC > connection > at > org.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:54) > at > org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51) > at > org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:263) > at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:219) > at > org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:370) > at > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902) > at > org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) > at > org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:153) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:527) > at > org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958) > at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681) > at > org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:165) > at > org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117) > at > org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84) > at > org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112) > at > org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359) > at > org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593) > at > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101) > at > org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251) > at > org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:87) > at > org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:818) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48) > at > org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) > at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243) > at > org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > 2011-08-26 10:12:52,234 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName="default/travel/1314324670359/war?J2EEApplication=null,PersistenceUnitModule=WEB-INF/classes/,WebModule=default/travel/1314324670359/war,j2eeType=PersistenceUnit,name=travelDatabase" > javax.persistence.PersistenceException: [PersistenceUnit: travelDatabase] > Unable to build EntityManagerFactory > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:911) > at > org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) > at > org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:153) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) > at java.lang.reflect.Constructor.newInstance(Constructor.java:527) > at > org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958) > at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681) > at > org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:165) > at > org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117) > at > org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84) > at > org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112) > at > org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359) > at > org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593) > at > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233) > at > org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101) > at > org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251) > at > org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:575) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:87) > at > org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:818) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48) > at > org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) > at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243) > at > org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > Caused by: org.hibernate.HibernateException: The chosen transaction strategy > requires access to the JTA TransactionManager > at > org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:388) > at > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902) > ... 70 more > 2011-08-26 10:13:00,406 WARN [PathMatchingResourcePatternResolver] Cannot > search for matching files underneath URL > [bundleresource://377.fwk2061990631/org/springframework/samples/travel/] > because it does not correspond to a directory in the file system > java.io.FileNotFoundException: URL > [bundleresource://377.fwk2061990631/org/springframework/samples/travel/] > cannot be resolved to absolute file path because it does not reside in the > file system: > bundleresource://377.fwk2061990631/org/springframework/samples/travel/ > at > org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:204) > at > org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:52) > at org.springframework.core.io.UrlResource.getFile(UrlResource.java:168) > at > org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:528) > at > org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:92) > at > org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:349) > at > org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:267) > at > org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1227) > at > org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:204) > at > org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:204) > at > org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84) > at > org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) > at > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1338) > at > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1328) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:202) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:147) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132) > at > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) > at > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) > at > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) > at > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) > at > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) > at > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93) > at > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) > at > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397) > at > org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:467) > at > org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:483) > at > org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:358) > at > org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:325) > at > org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127) > at javax.servlet.GenericServlet.init(GenericServlet.java:161) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1216) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1135) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) > at java.util.concurrent.FutureTask.run(FutureTask.java:149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > ... > 7.When try to solve the EntityManagerFactory problem like this: > Modifiy \travel.war\WEB-INF\classes\META-INF\persistence.xml: > From: > <persistence-unit name="travelDatabase"> > <provider>org.hibernate.ejb.HibernatePersistence</provider> > <class>org.springframework.samples.travel.User</class> > <class>org.springframework.samples.travel.Booking</class> > <class>org.springframework.samples.travel.Hotel</class> > <properties> > <property name="hibernate.dialect" > value="org.hibernate.dialect.HSQLDialect"/> > <property name="hibernate.hbm2ddl.auto" value="create-drop" /> > <property name="hibernate.show_sql" value="true"/> > <property name="hibernate.cache.provider_class" > value="org.hibernate.cache.HashtableCacheProvider"/> > </properties> > </persistence-unit> > To: > <persistence-unit name="travelDatabase" transaction-type="JTA"> > <provider>org.hibernate.ejb.HibernatePersistence</provider> > <class>org.springframework.samples.travel.User</class> > <class>org.springframework.samples.travel.Booking</class> > <class>org.springframework.samples.travel.Hotel</class> > <properties> > <property name="hibernate.dialect" > value="org.hibernate.dialect.HSQLDialect"/> > <property name="hibernate.hbm2ddl.auto" value="create-drop" /> > <property name="hibernate.show_sql" value="true"/> > <property name="hibernate.cache.provider_class" > value="org.hibernate.cache.HashtableCacheProvider"/> > <property name="hibernate.transaction.manager_lookup_class" > value="org.hibernate.transaction.JBossTransactionManagerLookup"/> > </properties> > </persistence-unit> > 8. Deployed the travel application again, then you can find the problem > related with "JTA TransactionManager" disappear. > But this application can't be accessed successfully because of the above > warning message shows in step6. > And the status of tomcat 7.0.20 is: this travel application can be runned > successfully before the change. > 9. geronimo.log file is attached for detail. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira