3 Replies Latest reply on May 13, 2002 3:37 AM by alxjag

    jboss 3 + interclient howto

    alxjag Newbie

      can anyone help me with my problem...

      i've tried to use interbase-service.xml and remove
      hsqldb-service.xml, but DefaultDS doesn't creates.
      If i leave hsqldb-service.xml DefaultDS points to Hypersonic.

      can i leave hsqldb-service.xml and change jndi name in my
      interbase-service.xml to something else?

      here's my interbase-service.xml

      <?xml version="1.0" encoding="UTF-8"?>



      ConnectionURL=jdbc:interbase://localhost:3060/e:/wrk/intsystem/server/is.gdb
      DriverClass=interbase.interclient.Driver
      user=SYSDBA
      password=masterkey

      DefaultDS
      java:/TransactionManager
      Minerva JDBC LocalTransaction ResourceAdapter
      JCA:service=RARDeployer
      MinervaSharedLocalCMFactory
      #
      InvalidateOnError=false
      BlockingTimeoutMillis=500000
      IdleTimeoutMillis=1800000
      MaxSize=10
      TimestampUsed=false
      IdleTimeoutEnabled=false
      CleanupIntervalMillis=120000
      MinSize=0
      GCMinIdleMillis=1200000
      GCEnabled=false
      MaxIdleTimeoutPercent=1.0


      org.jboss.resource.security.ManyToOnePrincipalMapping

      UserName=SYSDBA
      UserPassword=masterkey





        • 1. Re: jboss 3 + interclient howto
          Christian Faucher Newbie


          Hello,

          Set your JNDI Name to "DefaultDS".

          If you want another JNDI Name, then don't forget to change the references to DefaultDS in other files, such as in standardjbosscmp-jdbc.xml and standardjaws.xml. For your reference, I attached my interclient-service.xml.

          I struggled quite a lot to make InterClient works with JBoss3.0 RC1. I am

          • 2. Re: jboss 3 + interclient howto
            Christian Faucher Newbie


            Hello,

            Set your JNDI Name to "DefaultDS".

            If you want another JNDI Name, then don't forget to change the references to DefaultDS in other files, such as in standardjbosscmp-jdbc.xml and standardjaws.xml.

            I struggled quite a lot to make InterClient works with JBoss3.0 RC1. I am not sure how "kosher" is my InterBase integration with JBoss. But, for your reference, I attached my interclient-service.xml.

            Good luck!

            Christian Faucher


            • 3. Re: jboss 3 + interclient howto
              alxjag Newbie

              tnx

              with DefaultDS as JNDI name jboss's working perfectly, but if i set name to MyOwnDS (standardjaws.xml, standardjbosscmp-jdbc.xml changed) when my jar is delpoying i got an exception in server.log:
              2002-05-13 11:10:52,369 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: TDevice
              2002-05-13 11:10:52,369 DEBUG [org.jboss.ejb.EntityContainer] TCL: java.net.URLClassLoader@aff5
              2002-05-13 11:10:52,459 DEBUG [org.jboss.ejb.EntityContainer] failed to lookup DefaultDS; ignoring
              javax.naming.NameNotFoundException: DefaultDS not bound


              why DefaultDS???