1 Reply Latest reply on Feb 23, 2003 6:30 AM by wqhhust

    run exception(datasource):No Attribute found with name: Jndi

    wqhhust Newbie

      After config datasource and the run jboss,it throws the exception:
      [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxCM,name=PostgresDS
      org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName

      I copy the postgresql-server.xml to subdirectory of
      default/deploy,and change the files of standardjbosscmp-jdbc.xml.But it does not work,and after I delete postgresql-server.xml,every thing is ok.How to config datasource and make it work?

        • 1. Re: run exception(datasource):No Attribute found with name:
          wqhhust Newbie

          I use jboss3.0.6 and postgresql-server.xml is:

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

          <config-property name="ConnectionURL" type="java.lang.String">jdbc:postgresql://localhost:1234/wqh</config-property>
          <config-property name="DriverClass" type="java.lang.String">org.postgresql.Driver</config-property>
          <!--set these only if you want only default logins, not through JAAS -->
          <config-property name="UserName" type="java.lang.String">wqh</config-property>
          <config-property name="Password" type="java.lang.String">password</config-property>