java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy

Hibernate JIRA | Marcio Jota Coelho | 9 months ago
  1. 0

    Hello . I'm moving my application to run in wildfly 10. I found an error which I believe is due to very old version of dialect. "DROP not supported as a after-use action for global temp table strategy" I use JavaEE 7 with Intersystems Cache. Currently my application is set up with the dialect " org.hibernate.dialect.Cache71Dialect " and this occurs the following trace: {code} 16:20:54,939 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 62) MSC000001: Failed to start service jboss.persistenceunit."integracao.war#consistem-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."integracao.war#consistem-unit": java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy.<init>(GlobalTemporaryTableBulkIdStrategy.java:79) at org.hibernate.dialect.Cache71Dialect.getDefaultMultiTableBulkIdStrategy(Cache71Dialect.java:450) at org.hibernate.boot.internal.SessionFactoryBuilderImpl$SessionFactoryOptionsStateStandardImpl.<init>(SessionFactoryBuilderImpl.java:605) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.<init>(SessionFactoryBuilderImpl.java:114) at org.hibernate.boot.internal.MetadataImpl.getSessionFactoryBuilder(MetadataImpl.java:135) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874) at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) ... 7 more 16:20:54,979 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service jboss.persistenceunit."integracao.war#consistem-custom-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."integracao.war#consistem-custom-unit": java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy.<init>(GlobalTemporaryTableBulkIdStrategy.java:79) at org.hibernate.dialect.Cache71Dialect.getDefaultMultiTableBulkIdStrategy(Cache71Dialect.java:450) at org.hibernate.boot.internal.SessionFactoryBuilderImpl$SessionFactoryOptionsStateStandardImpl.<init>(SessionFactoryBuilderImpl.java:605) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.<init>(SessionFactoryBuilderImpl.java:114) at org.hibernate.boot.internal.MetadataImpl.getSessionFactoryBuilder(MetadataImpl.java:135) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874) at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) ... 7 more {code}

    Hibernate JIRA | 9 months ago | Marcio Jota Coelho
    java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy
  2. 0

    Hello . I'm moving my application to run in wildfly 10. I found an error which I believe is due to very old version of dialect. "DROP not supported as a after-use action for global temp table strategy" I use JavaEE 7 with Intersystems Cache. Currently my application is set up with the dialect " org.hibernate.dialect.Cache71Dialect " and this occurs the following trace: {code} 16:20:54,939 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 62) MSC000001: Failed to start service jboss.persistenceunit."integracao.war#consistem-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."integracao.war#consistem-unit": java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy.<init>(GlobalTemporaryTableBulkIdStrategy.java:79) at org.hibernate.dialect.Cache71Dialect.getDefaultMultiTableBulkIdStrategy(Cache71Dialect.java:450) at org.hibernate.boot.internal.SessionFactoryBuilderImpl$SessionFactoryOptionsStateStandardImpl.<init>(SessionFactoryBuilderImpl.java:605) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.<init>(SessionFactoryBuilderImpl.java:114) at org.hibernate.boot.internal.MetadataImpl.getSessionFactoryBuilder(MetadataImpl.java:135) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874) at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) ... 7 more 16:20:54,979 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service jboss.persistenceunit."integracao.war#consistem-custom-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."integracao.war#consistem-custom-unit": java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy at org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy.<init>(GlobalTemporaryTableBulkIdStrategy.java:79) at org.hibernate.dialect.Cache71Dialect.getDefaultMultiTableBulkIdStrategy(Cache71Dialect.java:450) at org.hibernate.boot.internal.SessionFactoryBuilderImpl$SessionFactoryOptionsStateStandardImpl.<init>(SessionFactoryBuilderImpl.java:605) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.<init>(SessionFactoryBuilderImpl.java:114) at org.hibernate.boot.internal.MetadataImpl.getSessionFactoryBuilder(MetadataImpl.java:135) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874) at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) ... 7 more {code}

    Hibernate JIRA | 9 months ago | Marcio Jota Coelho
    java.lang.IllegalArgumentException: DROP not supported as a after-use action for global temp table strategy
  3. 0

    FULL PRODUCT VERSION : java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) ADDITIONAL OS VERSION INFORMATION : Red Hat Enterprise Linux Workstation release 6.7 A DESCRIPTION OF THE PROBLEM : Get error message and request to report bug from javac REGRESSION. Last worked in version 7u76 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Try to complie EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Compiled program ACTUAL - Error message ERROR MESSAGES/STACK TRACES THAT OCCUR : Temp/Args.java Temp/CharSequenceTransformer.java Temp/Compile.java Temp/DiagnosticListen.java Temp/FileJavaFileObject.java Temp/FlagsTakingArguments.java Temp/Javac.java Temp/Offsetter.java /home/norm/bin/javac -Xlint -Xlint:-serial -deprecation -d Classes Temp/A.java Temp/Args.java Temp/CharSequenceTransformer.java Temp/Compile.java Temp/DiagnosticListen.java Temp/FileJavaFileObject.java Temp/FlagsTakingArguments.java Temp/Javac.java Temp/Offsetter.java An exception has occurred in the compiler (1.8.0_25). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.IllegalArgumentException: Not supported: WrappedJavaFileObject[Temp/Compile.java] at com.sun.tools.javac.file.JavacFileManager.isSameFile(JavacFileManager.java:647) at com.sun.tools.javac.comp.Check.checkForBadAuxiliaryClassAccess(Check.java:3521) at com.sun.tools.javac.comp.Attr.checkIdInternal(Attr.java:3546) at com.sun.tools.javac.comp.Attr.checkId(Attr.java:3489) at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3237) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2011) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:669) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:662) at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:404) at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:583) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:437) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:449) at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:459) at com.sun.tools.javac.comp.MemberEnter.finish(MemberEnter.java:1409) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1207) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:574) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1037) at com.sun.tools.javac.comp.Enter.complete(Enter.java:493) at com.sun.tools.javac.comp.Enter.main(Enter.java:471) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:982) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857) at com.sun.tools.javac.main.Main.compile(Main.java:523) at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) at Norm.Compile.compile(Compile.java:45) at Norm.Javac.main(Javac.java:17) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- I will send java program files, on request ---------- END SOURCE ----------

    JDK Bug System | 8 months ago | Webbug Group
    java.lang.IllegalArgumentException: Not supported: WrappedJavaFileObject[Temp/Compile.java]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      DROP not supported as a after-use action for global temp table strategy

      at org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy.<init>()
    2. org.hibernate.hql
      GlobalTemporaryTableBulkIdStrategy.<init>
      1. org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy.<init>(GlobalTemporaryTableBulkIdStrategy.java:79)
      1 frame
    3. Hibernate
      Cache71Dialect.getDefaultMultiTableBulkIdStrategy
      1. org.hibernate.dialect.Cache71Dialect.getDefaultMultiTableBulkIdStrategy(Cache71Dialect.java:450)
      1 frame
    4. org.hibernate.boot
      MetadataImpl.getSessionFactoryBuilder
      1. org.hibernate.boot.internal.SessionFactoryBuilderImpl$SessionFactoryOptionsStateStandardImpl.<init>(SessionFactoryBuilderImpl.java:605)
      2. org.hibernate.boot.internal.SessionFactoryBuilderImpl.<init>(SessionFactoryBuilderImpl.java:114)
      3. org.hibernate.boot.internal.MetadataImpl.getSessionFactoryBuilder(MetadataImpl.java:135)
      3 frames
    5. org.hibernate.jpa
      EntityManagerFactoryBuilderImpl.build
      1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874)
      1 frame
    6. org.jboss.as
      TwoPhaseBootstrapImpl.build
      1. org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
      1 frame
    7. JPA
      PersistenceUnitServiceImpl$1$1.run
      1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154)
      2. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)
      2 frames
    8. WildFly Security Manager
      WildFlySecurityManager.doChecked
      1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
      1 frame
    9. JPA
      PersistenceUnitServiceImpl$1.run
      1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182)
      1 frame
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames
    11. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame