2 Replies Latest reply on Jun 10, 2004 1:28 PM by ben.wang

    Lookup of TreeCache via JNDI

    belaban

      dj, thanks for that!! I've gotten it to work on the binary distribution and jus checked out the CVS. Will try your new example on that. The file that worked for JBOSS3 beta--binary is pasted below for others







      ConnectionURL=jdbc:postgresql://deathstar:5400/karakorams
      DriverClass=org.postgresql.Driver
      UserName=salsa
      Password=salsa12
      PostgresDS
      java:/TransactionManager
      <depends optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter
      <depends optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory
      #
      #Wed Aug 15 16:17:29 EDT 2001
      BlockingTimeoutMillis=500000
      IdleTimeoutMinutes=30
      MaxSize=10
      CleanupIntervalMinutes=10
      MinSize=0
      MaxIdleTimeoutPercent=1.0


      org.jboss.resource.security.ManyToOnePrincipalMapping

      UserName=salsa
      password=salsa12








      However, i have gotten a different problem now, i get a

      org.xml.sax.SAXParseException: External parameter entity "%[dtd];" has characters after markup.
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3108)
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3102)

      when i deploy. Is this a postgres problem or something with my WAR/EAR deployment descriptor file?? If so, what? It deoloys fine in 2.4.4


      YSK