1 Reply Latest reply on Apr 2, 2003 12:25 AM by davidjencks

    jboss3.0.4-mysql-encoding configure

    potian

      I want to use GBK encoding,so I add one line to mysql-service.xml,but jboss startup failes.

      <depends optional-attribute-name="ManagedConnectionFactoryName">
      <!--embedded mbean-->


      FwkDS



      <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost:3306/test</config-property>
      <config-property name="Properties">useUnicode=true;characterEncoding=gb2312</config-property>
      <config-property name="DriverClass" type="java.lang.String">com.mysql.jdbc.Driver</config-property>
      <!--set these only if you want only default logins, not through JAAS -->
      <config-property name="UserName" type="java.lang.String">root</config-property>
      <config-property name="Password" type="java.lang.String"></config-property>




      <!--Below here are advanced properties -->
      <!--hack-->
      <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper




      jboss log:
      string out of index