2 Replies Latest reply on Jul 23, 2003 10:42 PM by irfanmax

    SPECIFYING ADDITIONAL CONFIG PARMS IN DB-DS.XML

    irfanmax Newbie

      I am trying to have JBoss use an additional parm called "tcp.nodelay" when getting a connection from oracle thin driver.

      Basically, if I use my own db pool:

      Sample
      ======
      Properties info = new Properties();

      info.put("user", "myName");
      info.put("password", "myPassword");
      info.put("TCP.NODELAY", "YES");

      con = DriverManager.getConnection(URL, info);

      Question
      =======
      How can I accomplish this using db-ds.xml? I tried defining an attribute called "TCP.NODELAY" in db-ds.xml and got:

      22:43:11,090 INFO [ServiceConfigurator] Problem configuring service DefaultDomain:service=NamingAlias,fromName=oraclePool org.jboss.deployment.DeploymentException: No Attribute found with name: TCP.NODELAY
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)