2 Replies Latest reply on May 17, 2007 4:32 PM by dreuzel

    SEAM-GEN  SEAM 1.2.1  crashes in sql

      I use the SEAM-GEN with nothing changed as a test
      i Imediatly get a JBoss error :


      Reason: org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client character set can be forced via the 'characterEncoding' property.); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client character set can be forced via the 'characterEncoding' property.)))
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=DefaultDS
      Depends On Me:
      jboss.mq:service=DestinationManager

      ObjectName: persistence.units:ear=dev.ear,jar=dev.jar,unitName=dev
      State: FAILED
      Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=devDatasource


      I've deleted the JBOss DB nothing seems to help
      at first i thought it was something in my application but ... it creates the same error on seam-gen .... seam new-project seam explode.



      any idea's ??
      thanks in advnce

        • 1. Re: SEAM-GEN  SEAM 1.2.1  crashes in sql
          monkeyden

          Which version of JBoss are you using? Was it installed using the JEMS installer?

          • 2. Re: SEAM-GEN  SEAM 1.2.1  crashes in sql

            I'm using jboss 4.05 ga jems install
            I'm using seam 1.2.1


            in the middel of seam-gen entities : after reinstalling I essentialy get the same message


            C:\WINDOWS\ProgramFiles\jBOSS\seam\jboss-seam-1.2.1.GA>seam generate-entities
            Buildfile: C:\WINDOWS\ProgramFiles\jBOSS\seam\jboss-seam-1.2.1.GA\seam-gen\build
            .xml

            validate-workspace:

            validate-project:

            generate-entities:
            [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engi
            neering)
            [hibernate] 1. task: hbm2java (Generates a set of .java files)
            [hibernate] 17-mei-2007 22:24:01 org.hibernate.cfg.Environment
            [hibernate] INFO: Hibernate 3.2.0.cr5
            [hibernate] 17-mei-2007 22:24:01 org.hibernate.cfg.Environment
            [hibernate] INFO: hibernate.properties not found
            [hibernate] 17-mei-2007 22:24:01 org.hibernate.cfg.Environment buildBytecodeProv
            ider
            [hibernate] INFO: Bytecode provider name : cglib
            [hibernate] 17-mei-2007 22:24:01 org.hibernate.cfg.Environment
            [hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
            [hibernate] 17-mei-2007 22:24:02 org.hibernate.cfg.reveng.OverrideRepository add
            File
            [hibernate] INFO: Override file: C:\profiles\eclipse\develop\resources\seam-gen.
            reveng.xml
            [hibernate] 17-mei-2007 22:24:03 org.hibernate.connection.DriverManagerConnectio
            nProvider configure
            [hibernate] INFO: Using Hibernate built-in connection pool (not for production u
            se!)
            [hibernate] 17-mei-2007 22:24:03 org.hibernate.connection.DriverManagerConnectio
            nProvider configure
            [hibernate] INFO: Hibernate connection pool size: 20
            [hibernate] 17-mei-2007 22:24:03 org.hibernate.connection.DriverManagerConnectio
            nProvider configure
            [hibernate] INFO: autocommit mode: false
            [hibernate] 17-mei-2007 22:24:03 org.hibernate.connection.DriverManagerConnectio
            nProvider configure
            [hibernate] INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://local
            host/jboss_dev
            [hibernate] 17-mei-2007 22:24:03 org.hibernate.connection.DriverManagerConnectio
            nProvider configure
            [hibernate] INFO: connection properties: {user=jboss_dev, password=****}
            [hibernate] 17-mei-2007 22:24:04 org.hibernate.cfg.SettingsFactory buildSettings

            [hibernate] WARNING: Could not obtain connection metadata
            [hibernate] java.sql.SQLException: Unknown initial character set index '48' rece
            ived from server. Initial client character set can be forced via the 'characterE
            ncoding' property.
            [hibernate] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)