|
Hi David, here are the procedure I followed to have a JDBC connection between Witango and Pervasive. It's "my way" to achieve the goal, I wasn't able to find a well documented official way. WITANGO SERVER SIDE You need a JVM installed on the server (I have 1.5.0). The JVM installed has to able to use Pervasive JDBC driver. My solution was to copy the file jpscs.jar, pvjdbc2.jar, pvjdbc2x.jar from PVSW\BIN to {JAVA_HOME}lib\ext. This way the PVSW file become JVM extension. Witango Server has to be able to correctly load that JVM. On witango.ini file, set the parameter JAVAVIRTUALMACHINE value to the path of jvm.dll file. Finally you have to define the JDBC DSN. The JDBC DSN are collected in {WITANGO_SERVER}/Configuration/jdbc.ini file. Following a DSN exmple from my jdbc.ini file. <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE JDBCINI SYSTEM "jdbcini.dtd"> <JDBCINI Version="0x00010000"> <DataSources> <DataSource ID="Ici2001Internet"> <DSN>Ici2001Internet</DSN> <DriverClass>com.pervasive.jdbc.v2.Driver</DriverClass> <URL>jdbc:pervasive://192.168.1.107:1583/Ici2001Internet</URL> <Properties> <Property ID="server"> <Name>server</Name> <Value>192.168.1.107</Value> </Property> <Property ID="port"> <Name>port</Name> <Value>1583</Value> </Property> </Properties> </DataSource> </DataSources> </JDBCINI> The URL address has the following sintax: jdbc:pervasive://{PVSW_SERVER IP ADDRESS}:1583/{ODBC DSN NAME} WITANGO STUDIO SIDE You have to define a deployment DSN during .taf/.tcf development. The DSN has obiouvsly to use the JDBC driver. The JDBC driver is not listed but if you write it, it will work. I hope this can help. I contacted off topic Rick Sander as well, to solve anyway my ODBC problem. Best Regards Francesca David Green wrote: Francesca, -- Francesca Arecco Area Sistemi Informativi A&B SpA - Informatica e Ricerca Operativa tel +39.010.648671 fax +39.010.6486752 ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Witango-Talk: Witango 5.5 and Pervasive v9 - Function Seq... David Green
- Re: Witango-Talk: Witango 5.5 and Pervasive v9 - Fun... Francesca Arecco
- Re: Witango-Talk: Witango 5.5 and Pervasive v9 -... David Green
- Re: Witango-Talk: Witango 5.5 and Pervasive ... Francesca Arecco
- Re: Witango-Talk: Witango 5.5 and Pervas... David Green
- RE: Witango-Talk: Witango 5.5 and P... Rick Sanders
- Re: Witango-Talk: Witango 5.5 and P... Francesca Arecco
