SQLSyntaxErrorException: ORA-00942: table or view does not exist

Solution Unverified - Updated -

Issue

  • JBM tables fail to create
  • ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: 
    name=jboss.messaging:service=PersistenceManager state=Create mode=Manual requiredState=Installed
    
    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    
  • Enabling TRACE/DEBUG logging shows the following output:
    DEBUG [org.jboss.messaging.core.impl.JDBCSupport] (main) Failed to xecute: CREATE TABLE JBM_USER (USER_ID VARCHAR2(32) NOT NULL,
    PASSWD VARCHAR2(32) NOT NULL, CLIENTID VARCHAR2(128), PRIMARY KEY(USER_ID))
    
    java.sql.SQLSyntaxErrorException: ORA-02089: COMMIT is not allowed in a subordinate session
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5
  • JBoss Messaging (JBM)
    • 1.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content