1 Reply Latest reply: May 13, 2013 4:47 PM by Marcelo Nunes RSS

JBoss 6 deploying seam 2.2.2 WAR - ClassCastException HqlToken

H G Newbie

Hi,


I'm trying to upgrate existing WAR application Seam 2.1.2 (JBoss 5.1) to Seam 2.2.2(JBoss 6.0). The app is using Hibernate search - indexing one entity. Also has enbled quarz. I'm using JBoss Developer Studio 4 to generate the new project and after that moving all code to the new project. The build is sucessfull, but when try to strat the JBoss 6 I receive the next error:





23:08:22,640 WARN  [TimerServiceContainer] EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers
23:08:23,718 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=myapp.war,name=TimerServiceDispatcher,service=E
JB3 state=Create: java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to org.hibernate.hql.ast.HqlToken
        at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:62) [:3.6.0.Final]
        at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:599) [:3.6.0.Final]
        at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:270) [:3.6.0.Final]
        at antlr.TokenBuffer.fill(Unknown Source) [:6.0.0.Final]
        at antlr.TokenBuffer.LA(Unknown Source) [:6.0.0.Final]
        at antlr.LLkParser.LA(Unknown Source) [:6.0.0.Final]
        at org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:141) [:3.6.0.Final]
        at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:274) [:3.6.0.Final]
        at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:182) [:3.6.0.Final]
        at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) [:3.6.0.Final]
        at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101) [:3.6.0.Final]
        at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) [:3.6.0.Final]
        at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124) [:3.6.0.Final]
        at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) [:3.6.0.Final]
        at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) [:3.6.0.Final]
        at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770) [:3.6.0.Final]
        at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:272) [:3.6.0.Final]
        at org.jboss.ejb3.timerservice.mk2.TimerServiceImpl.getActiveTimers(TimerServiceImpl.java:983) [:1.0.0-alpha-13]
        at org.jboss.ejb3.timerservice.mk2.TimerServiceImpl.restoreTimers(TimerServiceImpl.java:738) [:1.0.0-alpha-13]
        at org.jboss.ejb3.timerservice.mk2.TimerServiceFactoryImpl.restoreTimerService(TimerServiceFactoryImpl.java:123) [:1.0.0-alpha-13]
        at org.jboss.ejb3.TimerServiceContainer.restoreTimerService(TimerServiceContainer.java:244) [:1.7.17]
        at org.jboss.ejb3.TimerServiceContainer.afterStart(TimerServiceContainer.java:129) [:1.7.17]
        at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:1113) [:1.7.17]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_18]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_18]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_18]
        at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_18]
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]

        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.
java:257) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125
) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss
-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jbo
ss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependenc
y.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency
.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA
]
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.j
ar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA
]
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA
]
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.j
ar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
        at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
        at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

        at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
        at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jbo
ss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependenc
y.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency
.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA
]
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.j
ar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
        at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.
2.2]
        at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
        at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
        at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
        at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.
0.Final]
        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0
.Final]
        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0
-alpha-5]
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2
.1.0-alpha-5]
        at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]





The persistence.xml




<?xml version="1.0" encoding="UTF-8"?>
<!-- Persistence deployment descriptor for dev profile -->
<persistence xmlns="http://java.sun.com/xml/ns/persistence" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" 
             version="1.0">
             
   <persistence-unit name="myapp" transaction-type="JTA">
      <provider>org.hibernate.ejb.HibernatePersistence</provider>
      <jta-data-source>java:/myappDatasource</jta-data-source>
      <properties>
         <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
         <property name="hibernate.hbm2ddl.auto" value="validate"/>
         <property name="hibernate.show_sql" value="true"/>
         <property name="hibernate.format_sql" value="true"/>
         <property name="jboss.entity.manager.factory.jndi.name" value="java:/myappEntityManagerFactory"/>
         <property name="hibernate.search.default.directory_provider" value="org.hibernate.search.store.FSDirectoryProvider" />
          <!-- directory where the indexes will be stored -->
           <property name="hibernate.search.default.indexBase" value="C:\pathToIndexFolder" />
          <property name="hibernate.ejb.event.post-insert" value="org.hibernate.search.event.FullTextIndexEventListener" />
          <property name="hibernate.ejb.event.post-update" value="org.hibernate.search.event.FullTextIndexEventListener" />
         <property name="hibernate.ejb.event.post-delete" value="org.hibernate.search.event.FullTextIndexEventListener" />
      </properties>
   </persistence-unit>
    
</persistence>




What have to configure to resolve this error?

  • 1. Re: JBoss 6 deploying seam 2.2.2 WAR - ClassCastException HqlToken
    Marcelo Nunes Newbie

    I have the same error, but I'm not using Hibernate Search.

    I'm moving a Seam 2.2.2 application using hibernate 3 from jboss 4.2.3 to jboss 6.1 final.

    I've following Marek tutorials (JPA, dvdstore and bookstore) at no avail.

    The application runs, I can even get to the first page, but the jboss-ejb3-timerservice-mk2.jar#timerdb never gets deployed, stack trace below.

     

    I've tried bundling hibernate3 with the application, as a module of jboss 6.1 and now asking myself if updating all the app code to hibernate 4 can be so painful. Stack trace below:

     

    17:24:46,496 INFO  [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]
    17:24:47,295 INFO  [ServerInfo] Java version: 1.6.0_29,Sun Microsystems Inc.
    17:24:47,295 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    17:24:47,295 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.4-b02,Sun Microsystems Inc.
    17:24:47,295 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
    17:24:47,296 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.x Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=D:\Java\Server\jboss-6.1.0.Final\lib\endorsed -Djava.library.path=D:/Java/Server/jboss-6.1.0.Final/bin/native -Dlogging.configuration=file:D:/Java/Server/jboss-6.1.0.Final/bin/logging.properties -Dfile.encoding=Cp1252 
    17:24:47,316 INFO  [JMXKernel] Legacy JMX core initialized
    17:24:52,260 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
    17:24:52,523 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
    17:25:15,646 INFO  [PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
    17:25:16,341 AVISO [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
    17:25:17,002 INFO  [JMXConnector] starting JMXConnector on host localhost:1090
    17:25:17,065 INFO  [MailService] Mail Service bound to java:/Mail
    17:25:17,472 INFO  [HornetQServerImpl] live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=D:\Java\Server\jboss-6.1.0.Final\server\default\data/hornetq/journal,bindingsDirectory=D:\Java\Server\jboss-6.1.0.Final\server\default\data/hornetq/bindings,largeMessagesDirectory=D:\Java\Server\jboss-6.1.0.Final\server\default\data/hornetq/largemessages,pagingDirectory=D:\Java\Server\jboss-6.1.0.Final\server\default\data/hornetq/paging)
    17:25:17,473 INFO  [HornetQServerImpl] Waiting to obtain live lock
    17:25:17,513 INFO  [JournalStorageManager] Using NIO Journal
    17:25:17,526 AVISO [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
    17:25:17,618 INFO  [FileLockNodeManager] Waiting to obtain live lock
    17:25:17,618 INFO  [FileLockNodeManager] Live Server Obtained live lock
    17:25:18,604 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r${buildNumber} localhost:5445 for CORE protocol
    17:25:18,607 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r${buildNumber} localhost:5455 for CORE protocol
    17:25:18,608 INFO  [HornetQServerImpl] Server is now live
    17:25:18,608 INFO  [HornetQServerImpl] HornetQ Server version 2.2.5.Final (HQ_2_2_5_FINAL_AS7, 121) [c404a6bf-b8d5-11e2-9378-005056c00001] started
    17:25:18,636 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
    17:25:18,737 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
    17:25:18,741 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators
    17:25:18,753 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Seg, 13 Mai 2013 17:25:18
    17:25:18,797 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
    17:25:18,798 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
    17:25:18,798 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager
    17:25:18,806 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
    17:25:18,809 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
    17:25:18,845 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
    17:25:18,864 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
    17:25:18,894 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
    17:25:19,013 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:/Java/Server/jboss-6.1.0.Final/bin/native
    17:25:19,085 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final
    17:25:19,093 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
    17:25:19,304 INFO  [RARDeployment] Required license terms exist, view vfs:/D:/Java/Server/jboss-6.1.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
    17:25:19,311 INFO  [RARDeployment] Required license terms exist, view vfs:/D:/Java/Server/jboss-6.1.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
    17:25:19,315 INFO  [RARDeployment] Required license terms exist, view vfs:/D:/Java/Server/jboss-6.1.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
    17:25:19,325 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started
    17:25:19,329 INFO  [RARDeployment] Required license terms exist, view vfs:/D:/Java/Server/jboss-6.1.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
    17:25:19,336 INFO  [RARDeployment] Required license terms exist, view vfs:/D:/Java/Server/jboss-6.1.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
    17:25:19,876 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
    17:25:19,897 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
    17:25:19,897 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
    17:25:19,899 INFO  [RAMJobStore] RAMJobStore initialized.
    17:25:19,900 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
      Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
      NOT STARTED.
      Currently in standby mode.
      Number of jobs executed: 0
      Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
      Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
    
    
    17:25:19,901 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.
    17:25:19,901 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3
    17:25:19,901 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.
    17:25:19,961 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MyAppDatasource' to JNDI name 'java:MyAppDatasource'
    17:25:20,203 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    17:25:20,203 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
    17:25:20,346 INFO  [Version] Hibernate Commons Annotations 3.2.0.Final
    17:25:20,353 INFO  [Environment] Hibernate 3.6.6.Final
    17:25:20,354 INFO  [Environment] hibernate.properties not found
    17:25:20,357 INFO  [Environment] Bytecode provider name : javassist
    17:25:20,360 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
    17:25:20,429 INFO  [Version] Hibernate EntityManager 3.6.6.Final
    17:25:20,448 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
              name: timerdb
              ...]
    17:25:20,461 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly.PersistenceUnitInfo.getNewTempClassLoader() is null.
    17:25:20,503 INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity
    17:25:20,538 INFO  [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity on table timer
    17:25:21,095 INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity
    17:25:21,097 INFO  [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity on table calendar_timer
    17:25:21,113 INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod
    17:25:21,115 INFO  [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod on table timeout_method
    17:25:21,151 INFO  [Version] Hibernate Validator 3.1.0.GA
    17:25:21,181 INFO  [Version] Hibernate Validator 4.1.0.Final
    17:25:21,190 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    17:25:21,273 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    17:25:21,277 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    17:25:21,282 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
    17:25:21,289 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
    17:25:21,292 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
    17:25:21,383 INFO  [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
    17:25:21,396 INFO  [JdbcSupportLoader] Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
    17:25:21,396 INFO  [SettingsFactory] Database ->
           name : HSQL Database Engine
        version : 1.8.0
          major : 1
          minor : 8
    17:25:21,396 INFO  [SettingsFactory] Driver ->
           name : HSQL Database Engine Driver
        version : 1.8.0
          major : 1
          minor : 8
    17:25:21,398 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
    17:25:21,400 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
    17:25:21,402 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
    17:25:21,402 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
    17:25:21,402 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
    17:25:21,402 INFO  [SettingsFactory] JDBC batch size: 15
    17:25:21,402 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
    17:25:21,403 INFO  [SettingsFactory] Scrollable result sets: enabled
    17:25:21,403 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
    17:25:21,403 INFO  [SettingsFactory] Connection release mode: auto
    17:25:21,404 INFO  [SettingsFactory] Default batch fetch size: 1
    17:25:21,404 INFO  [SettingsFactory] Generate SQL with comments: disabled
    17:25:21,404 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
    17:25:21,404 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
    17:25:21,404 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    17:25:21,406 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
    17:25:21,406 INFO  [SettingsFactory] Query language substitutions: {}
    17:25:21,406 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
    17:25:21,406 INFO  [SettingsFactory] Second-level cache: enabled
    17:25:21,406 INFO  [SettingsFactory] Query cache: disabled
    17:25:21,407 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
    17:25:21,412 INFO  [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
    17:25:21,413 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
    17:25:21,413 INFO  [SettingsFactory] Cache region prefix: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
    17:25:21,413 INFO  [SettingsFactory] Structured second-level cache entries: disabled
    17:25:21,419 INFO  [SettingsFactory] Statistics: disabled
    17:25:21,419 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
    17:25:21,419 INFO  [SettingsFactory] Default entity-mode: pojo
    17:25:21,419 INFO  [SettingsFactory] Named query checking : enabled
    17:25:21,419 INFO  [SettingsFactory] Check Nullability in Core (should be disabled when Bean Validation is on): disabled
    17:25:21,438 INFO  [SessionFactoryImpl] building session factory
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@1b0dad9
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [blob] overrides previous : org.hibernate.type.BlobType@1f00b96
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@1f00b96
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@88c18a
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@5a84be
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@c0e790
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@a2d29d
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [clob] overrides previous : org.hibernate.type.ClobType@1b15c6a
    17:25:21,444 INFO  [BasicTypeRegistry] Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@1b15c6a
    17:25:21,596 INFO  [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
    17:25:21,597 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
    17:25:21,599 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
    17:25:21,604 INFO  [SchemaUpdate] Running hbm2ddl schema update
    17:25:21,604 INFO  [SchemaUpdate] fetching database metadata
    17:25:21,613 INFO  [SchemaUpdate] updating schema
    17:25:21,615 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    17:25:21,636 INFO  [TableMetadata] table found: PUBLIC.TIMEOUTMETHOD_METHODPARAMS
    17:25:21,636 INFO  [TableMetadata] columns: [methodparams, timeoutmethod_id]
    17:25:21,636 INFO  [TableMetadata] foreign keys: [fkf294c964b7de2d8a]
    17:25:21,636 INFO  [TableMetadata] indexes: [sys_idx_55]
    17:25:21,641 INFO  [TableMetadata] table found: PUBLIC.CALENDAR_TIMER
    17:25:21,641 INFO  [TableMetadata] columns: [scheduleexprtimezone, scheduleexprsecond, autotimer, scheduleexprstartdate, scheduleexprminute, scheduleexprhour, timeoutmethod_id, id, scheduleexprdayofmonth, scheduleexprenddate, scheduleexprmonth, scheduleexprdayofweek, scheduleexpryear]
    17:25:21,641 INFO  [TableMetadata] foreign keys: [fk2b697f04b7de2d8a, fk2b697f04e6e6ef93]
    17:25:21,641 INFO  [TableMetadata] indexes: [sys_idx_57, sys_idx_49, sys_idx_59]
    17:25:21,645 INFO  [TableMetadata] table found: PUBLIC.TIMEOUT_METHOD
    17:25:21,646 INFO  [TableMetadata] columns: [id, methodname, declaringclass]
    17:25:21,646 INFO  [TableMetadata] foreign keys: []
    17:25:21,646 INFO  [TableMetadata] indexes: [sys_idx_51]
    17:25:21,650 INFO  [TableMetadata] table found: PUBLIC.TIMER
    17:25:21,650 INFO  [TableMetadata] columns: [id, previousrun, initialdate, repeatinterval, timedobjectid, timerstate, nextdate, info]
    17:25:21,650 INFO  [TableMetadata] foreign keys: []
    17:25:21,650 INFO  [TableMetadata] indexes: [sys_idx_53]
    17:25:21,651 INFO  [SchemaUpdate] schema update complete
    17:25:21,653 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
    17:25:21,762 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    17:25:21,819 INFO  [xnio] XNIO Version 2.1.0.CR2
    17:25:21,826 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2
    17:25:22,562 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2
    17:25:22,617 INFO  [TomcatDeployment] deploy, ctxPath=/
    17:25:22,652 WARN  [InterceptorInfoRepository] EJBTHREE-1852: InterceptorInfoRepository is deprecated
    17:25:25,996 INFO  [JBossASKernel] Created KernelDeployment for: MyApp.war
    17:25:25,998 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=EjbSynchronizations,service=EJB3
    17:25:25,998 INFO  [JBossASKernel]   with dependencies:
    17:25:25,999 INFO  [JBossASKernel]   and demands:
    17:25:25,999 INFO  [JBossASKernel]           jboss.ejb:service=EJBTimerService; Required: Described
    17:25:25,999 INFO  [JBossASKernel]           jboss-switchboard:appName=myapp,module=MyApp; Required: Create
    17:25:25,999 INFO  [JBossASKernel]   and supplies:
    17:25:25,999 INFO  [JBossASKernel]           jndi:EjbSynchronizations
    17:25:25,999 INFO  [JBossASKernel]           jndi:myapp/EjbSynchronizations/local
    17:25:25,999 INFO  [JBossASKernel]           jndi:myapp/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations
    17:25:25,999 INFO  [JBossASKernel]           Class:org.jboss.seam.transaction.LocalEjbSynchronizations
    17:25:26,002 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: MyApp.war
    17:25:26,008 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3
    17:25:26,008 INFO  [JBossASKernel]   with dependencies:
    17:25:26,008 INFO  [JBossASKernel]   and demands:
    17:25:26,008 INFO  [JBossASKernel]           jboss.ejb:service=EJBTimerService; Required: Described
    17:25:26,008 INFO  [JBossASKernel]           jboss-switchboard:appName=myapp,module=MyApp; Required: Create
    17:25:26,008 INFO  [JBossASKernel]           jboss-injector:topLevelUnit=myapp.ear,unit=MyApp.war,bean=TimerServiceDispatcher; Required: Described
    17:25:26,008 INFO  [JBossASKernel]   and supplies:
    17:25:26,009 INFO  [JBossASKernel]           Class:org.jboss.seam.async.LocalTimerServiceDispatcher
    17:25:26,009 INFO  [JBossASKernel]           jndi:TimerServiceDispatcher
    17:25:26,009 INFO  [JBossASKernel]           jndi:myapp/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher
    17:25:26,009 INFO  [JBossASKernel]           jndi:myapp/TimerServiceDispatcher/local
    17:25:26,010 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: MyApp.war
    17:25:26,043 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=myapp.ear/MyApp.war#Myapp
    17:25:26,045 INFO  [Version] Hibernate Annotations 3.4.0.GA
    17:25:26,045 INFO  [Environment] Hibernate 3.3.1.GA
    17:25:26,046 INFO  [Environment] hibernate.properties not found
    17:25:26,047 INFO  [Environment] Bytecode provider name : javassist
    17:25:26,047 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
    17:25:26,049 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
    17:25:26,049 INFO  [Version] Hibernate EntityManager 3.4.0.GA
    17:25:26,050 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
              name: MyApp
              ...]
    17:25:26,053 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
    17:25:26,059 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
    17:25:26,060 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
    17:25:26,061 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
    17:25:26,202 INFO  [SettingsFactory] RDBMS: Firebird 2.13WI, version: WI-V2.1.3.18185
    17:25:26,202 INFO  [SettingsFactory] JDBC driver: Jaybird JCA/JDBC driver, version: 2.2
    17:25:26,203 INFO  [Dialect] Using dialect: org.hibernate.dialect.FirebirdDialect
    17:25:26,204 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
    17:25:26,204 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
    17:25:26,204 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
    17:25:26,204 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
    17:25:26,205 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
    17:25:26,205 INFO  [SettingsFactory] Scrollable result sets: enabled
    17:25:26,205 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
    17:25:26,205 INFO  [SettingsFactory] Connection release mode: auto
    17:25:26,205 INFO  [SettingsFactory] Default batch fetch size: 1
    17:25:26,205 INFO  [SettingsFactory] Generate SQL with comments: disabled
    17:25:26,205 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
    17:25:26,205 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
    17:25:26,205 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    17:25:26,205 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
    17:25:26,205 INFO  [SettingsFactory] Query language substitutions: {}
    17:25:26,206 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
    17:25:26,206 INFO  [SettingsFactory] Second-level cache: enabled
    17:25:26,206 INFO  [SettingsFactory] Query cache: disabled
    17:25:26,206 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
    17:25:26,206 INFO  [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
    17:25:26,206 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
    17:25:26,206 INFO  [SettingsFactory] Cache region prefix: persistence.unit:Antietam=myapp.ear/MyApp.war#Myapp
    17:25:26,206 INFO  [SettingsFactory] Structured second-level cache entries: disabled
    17:25:26,206 INFO  [SettingsFactory] Echoing all SQL to stdout
    17:25:26,207 INFO  [SettingsFactory] Statistics: disabled
    17:25:26,207 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
    17:25:26,207 INFO  [SettingsFactory] Default entity-mode: pojo
    17:25:26,207 INFO  [SettingsFactory] Named query checking : enabled
    17:25:26,215 INFO  [SessionFactoryImpl] building session factory
    17:25:26,216 INFO  [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=myapp.ear/MyApp.war#Myapp
    17:25:26,216 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
    17:25:26,219 INFO  [NamingHelper] Creating subcontext: persistence.unit:unitName=myapp.ear
    17:25:26,220 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=myapp.ear/MyApp.war#Myapp
    17:25:26,220 WARN  [SessionFactoryObjectFactory] InitialContext did not implement EventContext
    17:25:26,221 INFO  [SchemaUpdate] Running hbm2ddl schema update
    17:25:26,221 INFO  [SchemaUpdate] fetching database metadata
    17:25:26,256 INFO  [SchemaUpdate] updating schema
    17:25:26,256 INFO  [SchemaUpdate] schema update complete
    17:25:26,256 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
    17:25:26,263 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=EjbSynchronizations,service=EJB3
    17:25:26,266 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
    17:25:26,286 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
    
    
              myapp/EjbSynchronizations/local - EJB3.x Default Local Business Interface
              myapp/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations - EJB3.x Local Business Interface
    
    
    17:25:26,297 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3
    17:25:26,297 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
    17:25:26,302 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
    
    
              myapp/TimerServiceDispatcher/local - EJB3.x Default Local Business Interface
              myapp/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher - EJB3.x Local Business Interface
    
    
    17:25:26,303 WARN  [TimerServiceContainer] EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers
    17:25:26,959 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=myapp.ear,jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3 state=Create: java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
              at antlr.CharScanner.makeToken(Unknown Source) [:6.1.0.Final]
              at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:62) [:3.6.6.Final]
              at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:599) [:3.6.6.Final]
              at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:270) [:3.6.6.Final]
              at antlr.TokenBuffer.fill(Unknown Source) [:6.1.0.Final]
              at antlr.TokenBuffer.LA(Unknown Source) [:6.1.0.Final]
              at antlr.LLkParser.LA(Unknown Source) [:6.1.0.Final]
              at org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:141) [:3.6.6.Final]
              at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:274) [:3.6.6.Final]
              at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:182) [:3.6.6.Final]
              at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) [:3.6.6.Final]
              at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101) [:3.6.6.Final]
              at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) [:3.6.6.Final]
              at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124) [:3.6.6.Final]
              at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) [:3.6.6.Final]
              at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) [:3.6.6.Final]
              at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770) [:3.6.6.Final]
              at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:272) [:3.6.6.Final]
              at org.jboss.ejb3.timerservice.mk2.TimerServiceImpl.getActiveTimers(TimerServiceImpl.java:983) [:1.0.0-alpha-13]
              at org.jboss.ejb3.timerservice.mk2.TimerServiceImpl.restoreTimers(TimerServiceImpl.java:738) [:1.0.0-alpha-13]
              at org.jboss.ejb3.timerservice.mk2.TimerServiceFactoryImpl.restoreTimerService(TimerServiceFactoryImpl.java:123) [:1.0.0-alpha-13]
              at org.jboss.ejb3.TimerServiceContainer.restoreTimerService(TimerServiceContainer.java:244) [:1.7.21]
              at org.jboss.ejb3.TimerServiceContainer.afterStart(TimerServiceContainer.java:129) [:1.7.21]
              at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:1113) [:1.7.21]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_29]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_29]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_29]
              at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_29]
              at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.1.SP1]
              at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.1.SP1]
              at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.1.SP1]
              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.2.GA]
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.2.GA]
              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63) [:2.2.2.GA]
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.2.GA]
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.2.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.2.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.1.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
              at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
              at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
              at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.1.0.Final]
              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
              at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
              at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
              at java.lang.Thread.run(Unknown Source) [:1.6.0_29]
    
    

     

    Stacktrace lovers, can you help me?

     

    Best regards,

     

    Marcelo.