Lucee 5 / Hibernate Status

351 views
Skip to first unread message

Samuel W. Knowlton

unread,
Aug 11, 2015, 7:20:44 PM8/11/15
to lu...@googlegroups.com
Dear Lucee community:

After doing a fresh install of Lucee 5 (by installing 4.5 and following upgrade instructions), I went to install the Hibernate extension but found it isn't listed in the store. The last time I looked into this, a couple months ago, it was broken and an update to both Lucee 5 Beta and the hibernate extension was due out 'next week' on June 13th.

Did this happen and I can't find it, or was it held up? While we aren't in a rush for our own sake, we are looking at switching all our operations to Lucee and I can justify taking our CF license budget to supporting Lucee pretty easily once we can get cracking!

Thanks very much,
Sam Knowlton
--
Samuel W. Knowlton
Chief Leagueologist
inLeague * s...@inleague.org
http://www.inleague.org
Office: 512.814.8022

Alex Skinner

unread,
Aug 13, 2015, 9:49:53 AM8/13/15
to lu...@googlegroups.com
I don't know the answer to the question regarding Lucee 5 and hibernate but my advice would be that if you are switching from ACF to get cracking with Lucee 4.5, its stable and 5 is still some way off being production ready. You will find it much more straight forward to do things with 4.5 then you can raise issues for any incompatibilties you come across, right now there are a number of things broken on 5.

My role at LAS is to talk to manage membership so if you'd like to learn more please ping me off list and I can run you through the options.

Many thanks

Alex

--
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAO6JaRWU6-gtJnmOZX1B-nuqyc_PDLFYLNq5ckkCEweBL0fNyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Alex Skinner
Managing Director

Pixl8 Interactive, 3 Tun Yard, Peardon Street, London
SW8 3HT, United Kingdom



T: +44 [0] 845 260 0726 W: www.pixl8.co.uk E: in...@pixl8.co.uk




Follow us on: Facebook Twitter LinkedIn



CONFIDENTIAL AND PRIVILEGED - This e-mail and any attachment is intended solely for the addressee, is strictly confidential and may also be subject to legal, professional or other privilege or may be protected by work product immunity or other legal rules. If you are not the addressee please do not read, print, re-transmit, store or act in reliance on it or any attachments. Instead, please email it back to the sender and then immediately permanently delete it. Pixl8 Interactive Ltd Registered in England. Registered number: 04336501. Registered office: 8 Spur Road, Cosham, Portsmouth, Hampshire, PO6 3EB

Samuel W. Knowlton

unread,
Aug 23, 2015, 10:21:56 AM8/23/15
to Lucee
Dear Alex,

I sent you a couple emails at info@pixl8.co.uk but have not heard back. Is that the correct address?

Michael Offner

unread,
Aug 24, 2015, 3:45:35 AM8/24/15
to lucee
Hi Samuel

Sorry for the delay on this.
You can find the hibernate extension project here (https://bitbucket.org/lucee/hibernate-extension).
In the future we will move it over to github.
You build your own extension by following this simple step 
1. make sure you have installed git and ant
2. create a directory and go into that directory on your command line
(copy the repo locally)
4. type: ant
(builds the extension)
5. go to /dist and pick the new build extension.

But i did also prepare an build for you here:

Please have in mind that this needs the newest Lucee version you can download here:

greetings Micha



--

Samuel W. Knowlton

unread,
Aug 27, 2015, 5:11:44 PM8/27/15
to lu...@googlegroups.com
Dear Micha,

Thank you for getting in touch with me. Alex was also going to point me toward the 'Lucee Supporters' group for more information on how to get involved on the contribution side...we'd really like to stop giving Adobe our money!

I grabbed the Lucee 5.0.0.60 JAR and dropped it in, but now it appears that the server admin does not exist. Has this also been moved to an extension? If so, where might I get it?

Thanks very much!
Sam Knowlton
inLeague LLC

You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/9cdfJ-jJGDM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.

To post to this group, send email to lu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Tony Junkes

unread,
Sep 3, 2015, 2:12:23 PM9/3/15
to Lucee
I've tried testing an ORM app against the latest Lucee 5 Express and adding the Hibernate extension. It would appear that ormExecuteQuery() is broken. I tried a few variations to make sure it wasn't just a mishap of my own code.

Here's a stack of what I'm seeing when some code executes:

lucee.runtime.exp.NativeException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [SELECT COUNT(articleId) FROM Article WHERE isDraft = 0] at org.hibernate.hql.ast.HqlLexer.panic(HqlLexer.java:80) at antlr.CharScanner.setTokenObjectClass(CharScanner.java:338) at org.hibernate.hql.ast.HqlLexer.setTokenObjectClass(HqlLexer.java:54) at antlr.CharScanner.<init>(CharScanner.java:49) at antlr.CharScanner.<init>(CharScanner.java:58) at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:56) at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:53) at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:50) at org.hibernate.hql.ast.HqlLexer.<init>(HqlLexer.java:49) at org.hibernate.hql.ast.HqlParser.getInstance(HqlParser.java:68) at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:268) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:182) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:98) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1760) at org.lucee.extension.orm.hibernate.HibernateORMSession.__executeQuery(HibernateORMSession.java:352) at org.lucee.extension.orm.hibernate.HibernateORMSession._executeQuery(HibernateORMSession.java:334) at org.lucee.extension.orm.hibernate.HibernateORMSession.executeQuery(HibernateORMSession.java:319) at lucee.runtime.functions.orm.ORMExecuteQuery._call(ORMExecuteQuery.java:64) at lucee.runtime.functions.orm.ORMExecuteQuery.call(ORMExecuteQuery.java:40) at app.views.test.index_cfm$cf.call(C:\Users\tony_000\Desktop\lucee-5.0.0.65-BETA-express\webapps\ROOT\app\views\test\index.cfm:3) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:909) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:825) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:820) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:811) at framework.one_cfc$cf.udfCall9(C:\Users\tony_000\Desktop\lucee-5.0.0.65-BETA-express\webapps\ROOT\framework\one.cfc:1723) at framework.one_cfc$cf.udfCall(C:\Users\tony_000\Desktop\lucee-5.0.0.65-BETA-express\webapps\ROOT\framework\one.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:336) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:777) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:750) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1580) at framework.one_cfc$cf.udfCall5(C:\Users\tony_000\Desktop\lucee-5.0.0.65-BETA-express\webapps\ROOT\framework\one.cfc:809) at framework.one_cfc$cf.udfCall(C:\Users\tony_000\Desktop\lucee-5.0.0.65-BETA-express\webapps\ROOT\framework\one.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:336) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:692) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:575) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1889) at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:422) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:223) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2256) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2248) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2216) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:577) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [SELECT COUNT(articleId) FROM Article WHERE isDraft = 0] ... 77 more

Michael Offner

unread,
Sep 3, 2015, 2:54:06 PM9/3/15
to lu...@googlegroups.com
I will check ATM our test unit cannot execute hibernate testcases but we are working to get this running ASAP.

Micha
--
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.

Tony Junkes

unread,
Sep 3, 2015, 3:02:22 PM9/3/15
to Lucee
Cheers, Micha!

Brad Sevening

unread,
Sep 21, 2015, 5:39:07 PM9/21/15
to Lucee
I'm assuming this is still broken? Tried lucee-5.0.0.65-BETA and hibernate-orm-1.0.0.22.lex but still get the ClassNotFoundException: org.hibernate.hql.ast.HqlToken.

On Thursday, September 3, 2015 at 2:02:22 PM UTC-5, Tony Junkes wrote:
Cheers, Micha!

Geoff Bowers

unread,
Sep 21, 2015, 10:17:58 PM9/21/15
to Lucee
On Tuesday, 22 September 2015 07:39:07 UTC+10, Brad Sevening wrote:
I'm assuming this is still broken? Tried lucee-5.0.0.65-BETA and hibernate-orm-1.0.0.22.lex but still get the ClassNotFoundException: org.hibernate.hql.ast.HqlToken.

Probably worth running the later SNAPSHOTs for Lucee 5; last release was 5.0.0.81-SNAPSHOT:

-- geoff
twitter. @modius

Brad Sevening

unread,
Sep 22, 2015, 3:22:43 PM9/22/15
to Lucee
Well I tried the latest snapshot and still got the HqlToken class not found issue. Not sure if it's a me issue or an issue with Lucee/Hibernate at this point.
I've seen quite a few posts where HqlToken gets stepped on by another jar. I'm using the Coldbox BaseORMService and the following is generating the error.

// Execute native hibernate query<br>
var query = orm.getSession(orm.getEntityDatasource(arguments.entityName)).createQuery(q);

Samuel W. Knowlton

unread,
Nov 4, 2015, 10:48:50 AM11/4/15
to Lucee
Any word on this? We are still getting the HqlToken class not found issue running Lucee 5.0.0.98 and Hibernate extension 1.0.0.21. 

I am unable to navigate to the hibernate extension directory mentioned in this thread - permission denied. 
Reply all
Reply to author
Forward
0 new messages