[Resin-interest] Persistence Started Without any persistence.xml?
For some reason we want to control the setup of hibernate ourselves, so removed the persistence.xml from WEB-INF/classes/META-INF, and redeployed our WAR, what i get is this exception: [17:16:57.820] {resin-15} org.hibernate.HibernateException: Hibernate Dialect must be explicitly set at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57) at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39) at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:437) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:132) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2078) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1302) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:854) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) at com.caucho.env.jpa.ManagerPersistenceUnit.createDelegate(ManagerPersistenceUnit.java:394) at com.caucho.env.jpa.ManagerPersistenceUnit.start(ManagerPersistenceUnit.java:371) at com.caucho.env.jpa.ManagerPersistence.startPersistenceUnits(ManagerPersistence.java:351) at com.caucho.env.jpa.ManagerPersistence.environmentConfigureEnhancer(ManagerPersistence.java:573) at com.caucho.loader.EnvironmentClassLoader.config(EnvironmentClassLoader.java:739) at com.caucho.loader.EnvironmentClassLoader.bind(EnvironmentClassLoader.java:757) at com.caucho.loader.EnvironmentClassLoader.start(EnvironmentClassLoader.java:782) at com.caucho.server.webapp.WebApp.start(WebApp.java:2959) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:693) at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:652) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:177) at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:815) at com.caucho.util.Alarm.handleAlarm(Alarm.java:450) at com.caucho.util.Alarm.run(Alarm.java:422) at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901) at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866) http://bugs.caucho.com/view.php?id=4003 did i forget something? what can i do to resolve this? Thanks, Georg -- Georg Buschbeck Information Technology THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 502 F + 49 761 3 85 59 550 E g...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] resin 401 watchdog does not stop
Hi I'm experiencing the same behavior on Linux Boxes (Debian Lenny). But it doesn seem to effect the starting of the resin (after stopping). Georg Riccardo Cohen wrote: Hello I'm reading in the docs that when running resin.sh stop this should stop the watchdog if the application is the last running. I'm on macosx with resin 4,0,1, the start works, the application runs correctly, but the watchdog does not seem to stop when calling resin.sh stop. Am I doing something wrong ? -- Georg Buschbeck Information Technology THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 502 F + 49 761 3 85 59 550 E g...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] multiple persistence units in persistence.xml
Hi, we are using resin to serve our wicket applications, which at startup initalize the persistence unit (we have multiple in one persistence.xml for testing, development etc ... ) now we are testing resin-4.0.1, and here the container seems to try, to open each defined persistence unit, instead of leaving this to the application started ... can we change this behavior by some configuration statement i didn't found yet? i already posted this bug: http://bugs.caucho.com/view.php?id=3760 Thanks, Georg Buschbeck -- Georg Buschbeck Information Technology THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 502 F + 49 761 3 85 59 550 E g...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest