[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-11-05 Thread epbernard
What happens if you replace hibernate-annotations.jar from the jboss lib (and add hibernate-commons-annotations.jar) and properly bundle hibernate-search in the EAR? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101992#4101992 Reply to the post : http://ww

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-10-26 Thread chrisky
Ok I have got it fixed this time, both searching and indexing give no error. Basically you just have to avoid FullTextSession, create FullTextEntityManager instead. I will post the code later on tonight View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099221#4

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-10-26 Thread chrisky
Well, it does not work... Although it fixed the search by copy the jar to jboss lib folder, it break the adding index part... | javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V |

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-10-26 Thread chrisky
Ok I got it working... It happens that you have to copy the hiberaten-search.jar and the dependency jars to the jboss lib folder. it wont work if you got it in EAR (even i have include the jar in the application.xml) "chrisky" wrote : I have the same problem | JBoss 4.2.1 with Hibernate 3.0.

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-10-26 Thread chrisky
I have the same problem JBoss 4.2.1 with Hibernate 3.0.0 without using SEAM(in EJB) | org.hibernate.Session origSession = (org.hibernate.Session)em.getDelegate(); | FullTextSession session = Search.createFullTextSession(origSession); | |

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-26 Thread epbernard
"mrmimo" wrote : This problem is related to hibernate-search dependencies. For me it works when I took the libraries from it's lib dir, and replaced apropriate jboss libraries with those from hibernate-search. I had to upgrade hibernate3.jar to resolve introduced dependencies. | | The botto

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-25 Thread momochone11
Thanks for your reply mrmimo, I will give that a try View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088548#4088548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088548 ___ jb

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-24 Thread mrmimo
This problem is related to hibernate-search dependencies. For me it works when I took the libraries from it's lib dir, and replaced apropriate jboss libraries with those from hibernate-search. I had to upgrade hibernate3.jar to resolve introduced dependencies. The bottom line is - current hiber

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-05 Thread momochone11
I have not found a solution yet, but I am working on other parts of my app right now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081373#4081373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081373

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-04 Thread srpantano
Please momochone11, you resolved the "createFullTextQuery()" problem, because I am with the same problem and I canĀ“t fix it. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081049#4081049 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-08-21 Thread momochone11
I am using the Seam 2.0 beta that resides on CVS repositoriy, ie. not the 2.0 beta that is on the homepage, and yes I did try using Hibernate Search that comes with Seam 2.0. The weird problem is that it works in the seam examples but not on my own app. That's why I am wondering if anyone else

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-08-20 Thread epbernard
Without using the Search.createFullTextSession is the right way to do it, regardless of your problem. What is strange is that it seems FullTextSession.createFullTextQuery() expect to return o.h.Query where it should really return org.hibernate.search.FullTextQuery. Which version of Seam are yo

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-08-20 Thread momochone11
did anyone run into the same problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075960#4075960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075960 ___ jboss-user mailin

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-08-17 Thread momochone11
Also, I also tried WITHOUT using Search.createFullTextSession() as suggested by documentation.. I have another method that looks like this and still end up with the same exception. public List getSearchResults() | { | if(searchPattern == null) | return null; |

[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-08-17 Thread momochone11
I also have tried this method anonymous wrote : public void testSessionWrapper() throws Exception { | FullTextSession s = Search.createFullTextSession((org.Hibernate.Session)getEntityManager().getDele | gate()); | QueryParser parser = new QueryParser( "title", new S