Quantcast

Preparing for the 2.2 Release

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Preparing for the 2.2 Release

mraible
Administrator
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

Serge Eby-2
Great!

Let us know if there is anything we can do to help.

--
Serge Eby

On Nov 5, 2012, at 9:29 PM, Matt Raible <[hidden email]> wrote:

> Hey all,
>
> It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:
>
> 2.2
> Hibernate 4
> Hibernate Search
> Bootstrap
> H5BP
>
> I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.
>
> http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190
>
> I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.
>
> Please let me know if you have any questions.
>
> Thanks,
>
> Matt
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
In reply to this post by mraible
Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
Another alternative is defining the folder as relative:
        <search.index.basedir>index</search.index.basedir>

J.


On Tue, Nov 6, 2012 at 5:56 PM, J. Garcia <[hidden email]> wrote:
Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.




On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt






Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator
In reply to this post by jogaco
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

Inline image 1



Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt






Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
Maybe we could update the hibernate maven plugin as well?
I am using 3.0 and works pretty well. It allows to add Java pojos from the test folder, so I can have pojos for testing only.
I used this with my implementation of Hibernate Search to do extensive testing. Only downside, no skip in the config options. Another profile active if no skipTests!

J.



On Wed, Nov 7, 2012 at 9:57 AM, J. Garcia <[hidden email]> wrote:
Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

Inline image 1



Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.




On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator
In reply to this post by jogaco
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>



Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator
In reply to this post by jogaco
I'm fine with upgrading any dependencies and plugins, as long as they don't break existing functionality. I tried to upgrade AMP to use some newer Hibernate plugin stuff and it failed, so I backed it off. No need to break something that isn't broken. ;)

On Nov 7, 2012, at 4:39 AM, "J. Garcia" <[hidden email]> wrote:

Maybe we could update the hibernate maven plugin as well?
I am using 3.0 and works pretty well. It allows to add Java pojos from the test folder, so I can have pojos for testing only.
I used this with my implementation of Hibernate Search to do extensive testing. Only downside, no skip in the config options. Another profile active if no skipTests!

J.



On Wed, Nov 7, 2012 at 9:57 AM, J. Garcia <[hidden email]> wrote:
Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>



Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.




On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt








Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
In reply to this post by mraible
Shall I give it a go to pack the war with a ready-to-go path for indexes?

J.



On Wed, Nov 7, 2012 at 4:42 PM, Matt Raible <[hidden email]> wrote:
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>




Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt








Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator
Yes, I think so. Also, I think it needs to include the webapp name in the path (or something unique) since it's possible folks will deploy multiple AppFuse-based apps on the same server.

On Nov 7, 2012, at 9:31 AM, J. Garcia <[hidden email]> wrote:

Shall I give it a go to pack the war with a ready-to-go path for indexes?

J.



On Wed, Nov 7, 2012 at 4:42 PM, Matt Raible <[hidden email]> wrote:
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>




Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt









Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
I've arrived to a config which creates search index under target/index for services and unpackaged app (jetty), and under user's home-dir/artifact-name-version/index for packaged app. Does it sound good?

J.



On Wed, Nov 7, 2012 at 5:34 PM, Matt Raible <[hidden email]> wrote:
Yes, I think so. Also, I think it needs to include the webapp name in the path (or something unique) since it's possible folks will deploy multiple AppFuse-based apps on the same server.

On Nov 7, 2012, at 9:31 AM, J. Garcia <[hidden email]> wrote:

Shall I give it a go to pack the war with a ready-to-go path for indexes?

J.



On Wed, Nov 7, 2012 at 4:42 PM, Matt Raible <[hidden email]> wrote:
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>




Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt










Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator
+1 Sounds good to me.

On Nov 7, 2012, at 12:16 PM, "J. Garcia" <[hidden email]> wrote:

I've arrived to a config which creates search index under target/index for services and unpackaged app (jetty), and under user's home-dir/artifact-name-version/index for packaged app. Does it sound good?

J.



On Wed, Nov 7, 2012 at 5:34 PM, Matt Raible <[hidden email]> wrote:
Yes, I think so. Also, I think it needs to include the webapp name in the path (or something unique) since it's possible folks will deploy multiple AppFuse-based apps on the same server.

On Nov 7, 2012, at 9:31 AM, J. Garcia <[hidden email]> wrote:

Shall I give it a go to pack the war with a ready-to-go path for indexes?

J.



On Wed, Nov 7, 2012 at 4:42 PM, Matt Raible <[hidden email]> wrote:
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>




Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt











Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
It proved a bit more difficult than expected, but there it is :-)

Cheers,
J.



On Wed, Nov 7, 2012 at 8:25 PM, Matt Raible <[hidden email]> wrote:
+1 Sounds good to me.

On Nov 7, 2012, at 12:16 PM, "J. Garcia" <[hidden email]> wrote:

I've arrived to a config which creates search index under target/index for services and unpackaged app (jetty), and under user's home-dir/artifact-name-version/index for packaged app. Does it sound good?

J.



On Wed, Nov 7, 2012 at 5:34 PM, Matt Raible <[hidden email]> wrote:
Yes, I think so. Also, I think it needs to include the webapp name in the path (or something unique) since it's possible folks will deploy multiple AppFuse-based apps on the same server.

On Nov 7, 2012, at 9:31 AM, J. Garcia <[hidden email]> wrote:

Shall I give it a go to pack the war with a ready-to-go path for indexes?

J.



On Wed, Nov 7, 2012 at 4:42 PM, Matt Raible <[hidden email]> wrote:
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>




Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt












Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

jogaco
By the way, I've opened APF-1334 as this could be specially conflictive for search indexes.


On Fri, Nov 9, 2012 at 5:33 PM, J. Garcia <[hidden email]> wrote:
It proved a bit more difficult than expected, but there it is :-)

Cheers,
J.




On Wed, Nov 7, 2012 at 8:25 PM, Matt Raible <[hidden email]> wrote:
+1 Sounds good to me.

On Nov 7, 2012, at 12:16 PM, "J. Garcia" <[hidden email]> wrote:

I've arrived to a config which creates search index under target/index for services and unpackaged app (jetty), and under user's home-dir/artifact-name-version/index for packaged app. Does it sound good?

J.



On Wed, Nov 7, 2012 at 5:34 PM, Matt Raible <[hidden email]> wrote:
Yes, I think so. Also, I think it needs to include the webapp name in the path (or something unique) since it's possible folks will deploy multiple AppFuse-based apps on the same server.

On Nov 7, 2012, at 9:31 AM, J. Garcia <[hidden email]> wrote:

Shall I give it a go to pack the war with a ready-to-go path for indexes?

J.



On Wed, Nov 7, 2012 at 4:42 PM, Matt Raible <[hidden email]> wrote:
I agree the JSF login looks better. I copied it from the Bootstrap examples:


I like the idea that a WAR should be "production ready" and not have any hard-coded paths in its configuration.

On Nov 7, 2012, at 1:57 AM, "J. Garcia" <[hidden email]> wrote:

Looking good :-)
I like the login layout of JSF slightly better.
I reworked the struts2 layout of login a bit and ended with this:

<Login-1352278059175.png>




Definitely a good idea to add to the prod profile. Or setting the value in the war plugin via its filtering capabilities?

J.



On Tue, Nov 6, 2012 at 9:37 PM, Matt Raible <[hidden email]> wrote:
Yep, it was write permissions. Might be good to add something to the prod profile that puts the index in ~/${webapp.name}/index.

All the AppFuse demos at demo.appfuse.org are now up and running. There's some minor inconsistencies between web frameworks. Not too bad, but will try to fix them before the release.



On Nov 6, 2012, at 9:56, "J. Garcia" <[hidden email]> wrote:

Is the configured directory ok for your folder structure?
If so, write permissions?
If not, open hibernate.properties and edit the property value accordingly.

Cheers,
J.



On Tue, Nov 6, 2012 at 5:12 PM, Matt Raible <[hidden email]> wrote:
Hey guys,

I'm having some issues getting the latest demos deployed to demo.appfuse.org. Below is the error message. It looks like I need to change the index directory or change it to an in-memory store. Any ideas?

2012-11-06 10:08:46.466700500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/tapestry/target/index'
2012-11-06 10:08:46.493528500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed
2012-11-06 10:08:46.493531500 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493567500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
2012-11-06 10:08:46.493569500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493571500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493583500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493586500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493588500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493594500   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)
2012-11-06 10:08:46.493596500   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)
2012-11-06 10:08:46.493598500   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
2012-11-06 10:08:46.493605500   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
2012-11-06 10:08:46.493607500   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
2012-11-06 10:08:46.493609500   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
2012-11-06 10:08:46.493619500   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
2012-11-06 10:08:46.493621500   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
2012-11-06 10:08:46.493623500   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
2012-11-06 10:08:46.493625500   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
2012-11-06 10:08:46.493631500   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
2012-11-06 10:08:46.493633500   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
2012-11-06 10:08:46.493634500   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
2012-11-06 10:08:46.493636500   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
2012-11-06 10:08:46.493638500   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
2012-11-06 10:08:46.493644500   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
2012-11-06 10:08:46.493646500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
2012-11-06 10:08:46.493648500   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
2012-11-06 10:08:46.493650500   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
2012-11-06 10:08:46.493694500   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
2012-11-06 10:08:46.493696500   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
2012-11-06 10:08:46.493698500   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
2012-11-06 10:08:46.493700500   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
2012-11-06 10:08:46.493702500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-11-06 10:08:46.493708500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-11-06 10:08:46.493710500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-11-06 10:08:46.493712500   at java.lang.reflect.Method.invoke(Method.java:597)
2012-11-06 10:08:46.493714500   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
2012-11-06 10:08:46.493715500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-11-06 10:08:46.493727500 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493745500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
2012-11-06 10:08:46.493752500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493754500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
2012-11-06 10:08:46.493757500   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
2012-11-06 10:08:46.493763500   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
2012-11-06 10:08:46.493765500   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
2012-11-06 10:08:46.493767500   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
2012-11-06 10:08:46.493774500   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420)
2012-11-06 10:08:46.493776500   at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
2012-11-06 10:08:46.493787500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
2012-11-06 10:08:46.493789500   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
2012-11-06 10:08:46.493792500   at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
2012-11-06 10:08:46.493798500   at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
2012-11-06 10:08:46.493801500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
2012-11-06 10:08:46.493803500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
2012-11-06 10:08:46.493810500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2012-11-06 10:08:46.493821500   ... 34 more
2012-11-06 10:08:46.493822500 Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.appfuse.model.User
2012-11-06 10:08:46.493824500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244)
2012-11-06 10:08:46.493826500   at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111)
2012-11-06 10:08:46.493846500   at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411)
2012-11-06 10:08:46.493848500   at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221)
2012-11-06 10:08:46.493850500   at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145)
2012-11-06 10:08:46.493857500   at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
2012-11-06 10:08:46.493859500   at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
2012-11-06 10:08:46.493861500   at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:303)
2012-11-06 10:08:46.493871500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)
2012-11-06 10:08:46.493873500   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1788)
2012-11-06 10:08:46.493875500   at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:251)
2012-11-06 10:08:46.493877500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)
2012-11-06 10:08:46.493884500   at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)
2012-11-06 10:08:46.493886500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
2012-11-06 10:08:46.493888500   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
2012-11-06 10:08:46.493895500   ... 49 more
2012-11-06 10:08:46.493896500 Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.appfuse.model.User
2012-11-06 10:08:46.493899500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:87)
2012-11-06 10:08:46.493981500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:216)
2012-11-06 10:08:46.493984500   at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:89)
2012-11-06 10:08:46.493986500   at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241)
2012-11-06 10:08:46.493994500   ... 63 more
2012-11-06 10:08:46.493995500 Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/mraible/dev/appfuse/web/tapestry/target/index for index org.appfuse.model.User
2012-11-06 10:08:46.493998500   at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:261)
2012-11-06 10:08:46.494004500   at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:243)
2012-11-06 10:08:46.494006500   at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66)
2012-11-06 10:08:46.494008500   at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:84)
2012-11-06 10:08:46.494019500   ... 66 more
2012-11-06 10:08:46.495781500 DEBUG [main] StartupListener.contextInitialized(41) | Initializing context...
2012-11-06 10:08:47.856142500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856146500 SEVERE: Error listenerStart
2012-11-06 10:08:47.856673500 Nov 6, 2012 10:08:47 AM org.apache.catalina.core.StandardContext start
2012-11-06 10:08:47.856675500 SEVERE: Context [/appfuse-tapestry] startup failed due to previous errors
2012-11-06 10:08:49.295384500 Nov 6, 2012 10:08:49 AM org.apache.catalina.startup.HostConfig deployWAR
2012-11-06 10:08:49.295387500 INFO: Deploying web application archive appfuse-struts.war
2012-11-06 10:08:53.770651500 Nov 6, 2012 10:08:53 AM org.apache.catalina.loader.WebappClassLoader loadClass
2012-11-06 10:08:53.770654500 INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.log4j.helpers.NullEnumeration.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2012-11-06 10:08:53.770658500 java.lang.IllegalStateException
2012-11-06 10:08:53.770682500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
2012-11-06 10:08:53.770684500   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
2012-11-06 10:08:53.770686500   at org.apache.log4j.Category.getAllAppenders(Category.java:413)
2012-11-06 10:08:53.770688500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.shutdown(SimpleLog4JLogSystem.java:162)
2012-11-06 10:08:53.770690500   at org.apache.velocity.runtime.log.SimpleLog4JLogSystem.finalize(SimpleLog4JLogSystem.java:156)
2012-11-06 10:08:53.770696500   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
2012-11-06 10:08:53.770697500   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
2012-11-06 10:08:53.770699500   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
2012-11-06 10:08:53.770709500   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
2012-11-06 10:09:16.569389500 WARN [main] DirectoryProviderHelper.makeSanityCheckedDirectory(258) | HSEARCH000041: Index directory not found, creating: '/home/mraible/dev/appfuse/web/struts/target/index'
2012-11-06 10:09:<a href="tel:16.672374500" value="+16672374500" target="_blank">16.672374500 ERROR [main] ContextLoader.initWebApplicationContext(307) | Context initialization failed


On Nov 6, 2012, at 5:18 AM, J. Garcia <[hidden email]> wrote:

Good. I'll have a look and see if I can help.


On Tue, Nov 6, 2012 at 6:29 AM, Matt Raible <[hidden email]> wrote:
Hey all,

It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:

2.2
Hibernate 4
Hibernate Search
Bootstrap
H5BP

I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.

Please let me know if you have any questions.

Thanks,

Matt













Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

Marcin Zajączkowski
In reply to this post by mraible
On 2012-11-06 06:29, Matt Raible wrote:

> Hey all,
>
> It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:
>
> 2.2
> Hibernate 4
> Hibernate Search
> Bootstrap
> H5BP
>
> I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.
>
> http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190
>
> I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.
>
> Please let me know if you have any questions.

Hi. I spotted an issue with a Bootstrap menu in a Tapestry frontend in
Git HEAD which would be probably nice to have fixed before releasing 2.2:
http://issues.appfuse.org/browse/APF-1337

Marcin

--
http://blog.solidsoft.info/ - Working code is not enough

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

mraible
Administrator

On Nov 25, 2012, at 8:28 AM, Marcin Zajączkowski <[hidden email]> wrote:

> On 2012-11-06 06:29, Matt Raible wrote:
>> Hey all,
>>
>> It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:
>>
>> 2.2
>> Hibernate 4
>> Hibernate Search
>> Bootstrap
>> H5BP
>>
>> I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.
>>
>> http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190
>>
>> I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.
>>
>> Please let me know if you have any questions.
>
> Hi. I spotted an issue with a Bootstrap menu in a Tapestry frontend in
> Git HEAD which would be probably nice to have fixed before releasing 2.2:
> http://issues.appfuse.org/browse/APF-1337

I'm able to reproduce this issue, but unsure how to fix it. I've updated it to "fix for 2.2".

Other updates:

I've decided H5BP is not necessary and removed it from the title of the issue that was tracking Bootstrap integration. Please let me know if you disagree with this decision.

There's 18 issues left, including updating the tutorials on appfuse.org. Here's the "Fix for 2.2" filter:

http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190

I hope to try and finish these issues this week, as well as update the documentation. I plan on working on documentation first, and the issues I don't finish, I'll push them to the next release.

Cheers,

Matt


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Preparing for the 2.2 Release

Serge Eby-2
I will take a look and  close APF-1247 as well. Any details on where to apply the fix? There is not much details in Jira.

--
Serge Eby

On Nov 25, 2012, at 9:53 PM, Matt Raible <[hidden email]> wrote:

>
> On Nov 25, 2012, at 8:28 AM, Marcin Zajączkowski <[hidden email]> wrote:
>
>> On 2012-11-06 06:29, Matt Raible wrote:
>>> Hey all,
>>>
>>> It looks like most of the things we hoped to accomplish for 2.2 have been completed. As a reminder from http://raibledesigns.com/rd/entry/appfuse_news_github_hibernate_search:
>>>
>>> 2.2
>>> Hibernate 4
>>> Hibernate Search
>>> Bootstrap
>>> H5BP
>>>
>>> I still need to do some HTML5 Boilerplate integration, but I don't think it'll take much time. There is quite a bit more work to close/move issues and update the documentation on appfuse.org. I created a "Fix for 2.1.1" filter in JIRA so you can see the issues that need to be closed or moved to another release.
>>>
>>> http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190
>>>
>>> I'm guessing this could take a week or two, so I'll be trying to get the release done by November 20th.
>>>
>>> Please let me know if you have any questions.
>>
>> Hi. I spotted an issue with a Bootstrap menu in a Tapestry frontend in
>> Git HEAD which would be probably nice to have fixed before releasing 2.2:
>> http://issues.appfuse.org/browse/APF-1337
>
> I'm able to reproduce this issue, but unsure how to fix it. I've updated it to "fix for 2.2".
>
> Other updates:
>
> I've decided H5BP is not necessary and removed it from the title of the issue that was tracking Bootstrap integration. Please let me know if you disagree with this decision.
>
> There's 18 issues left, including updating the tutorials on appfuse.org. Here's the "Fix for 2.2" filter:
>
> http://issues.appfuse.org/secure/IssueNavigator.jspa?mode=hide&requestId=10190
>
> I hope to try and finish these issues this week, as well as update the documentation. I plan on working on documentation first, and the issues I don't finish, I'll push them to the next release.
>
> Cheers,
>
> Matt
>
>
12
Loading...