[jboss-user] [ JBOSS/HIBERNATE/SPRING ] - exception

Edoardo Causarano edoardo.causarano at laitspa.it
Tue Oct 14 09:23:52 EDT 2008


Hi folks,

We have an EAR with it's own spring (1.2.5), hibernate (3.0.5) (and
other ancillary libs) running on a pretty standard clustered JBoss AS
4.0.4 running a bunch of other apps.
The app usually deploys OK, runs fine for a variable time period
(spanning from days to hours) then falls apart with the following:

2008-10-14 09:42:51,354 57770144 ERROR [SomeBusinessLogicServiceImpl]
(TP-Processor74:) Errore: java.lang.ClassCastException:
org.hibernate.hql.ast.HqlToken
2008-10-14 09:42:51,354 57770144 ERROR [STDERR] (TP-Processor74:)
java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:33)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:632)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:225)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at antlr.LLkParser.LA(LLkParser.java:52)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at
org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:130)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at
org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:209)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:127)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at
org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:427)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:884)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:834)
2008-10-14 09:42:51,357 57770147 ERROR [STDERR] (TP-Processor74:)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)

Only solution is to reboot the JVM. Does anyone have a hint to throw at
me, at the moment I'm quite perplexed


TIA,
e

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20081014/79d0b217/attachment.html 


More information about the jboss-user mailing list