this be an order of operation causing this? I'm not sure if it's something
I have configured wrong in Tapestry or if it's a hibernate-search bug.
Thanks
/**
*
* @param sessionManager
* p/
* @return
*/
@Scope(ScopeConstants.PERTHREAD)
public static
I'd check the Hibernate Search part. The stack trace doesn't look like a
Tapestry issue to me.
On Wed, 12 Feb 2014 15:02:32 -0200, George Christman
gchrist...@cardaddy.com wrote:
Hi Guys, I'm seeing the following exception in my logs when I try to
start
my app. It appears to be random
Thanks Thiago, I'll run it by the hibernate-search team next.
On Wed, Feb 12, 2014 at 12:59 PM, Thiago H de Paula Figueiredo
thiag...@gmail.com wrote:
I'd check the Hibernate Search part. The stack trace doesn't look like a
Tapestry issue to me.
On Wed, 12 Feb 2014 15:02:32 -0200, George
Seems like it's caused by your jvm's security and accessing a private class.
This should work (less verbose too):
public static FullTextSession buildFullTextSession(
final HibernateSessionManager sessionManager,
PropertyShadowBuilder propertyShadowBuilder)
{
This would also work (and would only happen at most once per request:
@Scope(ScopeConstants.PERTHREAD)
public static FullTextSession buildFullTextSession(HibernateSessionManager
sessionManager) {
return Search.getFullTextSession(sessionManager.getSession());
}
Hi, Lance Java offered the following snippet of code back in
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/grid-dont-link-hibernate-classic-session-td5669885.html
--
You could add this to your app module:
private static class LazyFullTextSession {
private
Yep. That was it...Tapestry Hibernate Session needs work to play nice within
FullTextSession.
Workaround is in thread below:
http://tapestry.1045711.n5.nabble.com/Hibernate-Search-td4446040.html
Also, JIRA already open...
https://issues.apache.org/jira/browse/TAP5-1178
I would add
1
You could add this to your app module:
private static class LazyFullTextSession {
private HibernateSessionManager sessionManager;
public LazyFullTextSession(HibernateSessionManager sessionManager)
{
this.sessionManager = sessionManager;
}
Interesting...thanks, Lance. Probably improves performance in search results
page loading.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/grid-dont-link-hibernate-classic-session-tp5669885p5671534.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I'm working on a project where I want to user Hibernate-Search (uses
lucene queries and analyzers for stemming, etc.). However, it appears
that the session I'm getting from tapestry-hibernate is different
enough that I can't use it to create a FullTextSearch.
https://issues.apache.org/jira
(sessionManager.getSession());
}
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2011/6/1 Mark mark-li...@xeric.net:
I'm working on a project where I want to user Hibernate-Search (uses
lucene queries and analyzers for stemming, etc.). However
Hibernate-Search (uses
lucene queries and analyzers for stemming, etc.). However, it appears
that the session I'm getting from tapestry-hibernate is different
enough that I can't use it to create a FullTextSearch.
https://issues.apache.org/jira/browse/TAP5-1178
Seems to indicate
https://mail.google.com/I ran into this problem over the weekend.
FullTextSessionImplhttp://fisheye.jboss.com/browse/Hibernate/search/trunk/src/java/org/hibernate/search/impl/FullTextSessionImpl.java?r=12806casts
the passed session to
SessionImplementorhttp://fisheye.jboss.com/browse/Hibernate
it from that service. then it will work for hibernate-search.
public static SessionFactory buildSessionFactory(){
SessionFactory sessionFactory=null;
try {
sessionFactory = new AnnotationConfiguration().configure()
.buildSessionFactory
Hi,
in my project, i currently use hibernate 3.2.5 (and hibernate-search
3.0.0) together with tapestry 5.0.6 (and tapestry-hibernate module). The
normal Hiberate works as excpeted, but the hibernate fulltext-search
runs against an exception - i think because of wrong init of the
hibernate
currently use hibernate 3.2.5 (and hibernate-search
3.0.0) together with tapestry 5.0.6 (and tapestry-hibernate module). The
normal Hiberate works as excpeted, but the hibernate fulltext-search
runs against an exception - i think because of wrong init of the
hibernate session inside the tapestry
16 matches
Mail list logo