1. Did you guys check if the howto in the orion page was against the newest
version of hypersonic. A few months ago Hypersonic package structure was
rearranged so this datasource worked with a version i downloaded a couple of
months ago or so.

<data-source 
                name="Default data-source"
                class="com.evermind.sql.ConnectionDataSource"
                location="jdbc/DefaultDS"
                pooled-location="jdbc/DefaultPooledDS"
                xa-location="jdbc/xa/DefaultXADS"
                ejb-location="jdbc/DefaultEJBDS"
                url="jdbc:HypersonicSQL:defaultdb"
                connection-driver="org.hsql.jdbcDriver"
                username="sa"
                password=""
            schema="database-schemas/hypersonic.xml"
        />

notice the connectiondriver has changed to be a package name valid with suns
thoughts on what to name your libraries.

Another thing, to use this one, put the hypersonic jar file in orion/jar
directory and it should go right up.

Laters all.

/Klaus

-----Opprinnelig melding-----
Fra: thm [mailto:[EMAIL PROTECTED]]
Sendt: 28. juni 2000 11:43
Til: Orion-Interest
Kopi: Orion-Interest
Emne: Re: Help, with HypersonicSQL/ Orion


I have the same difficulty!
I write a little program to access the Hypersonic Base, but I ve an
error message : no surch driver.

Thanks for your help
ThM
[EMAIL PROTECTED]
http://www.idocw.com

Robert a écrit :

> Hi,
>
> Anyone knows what I'm not doing right, I want to
> connect to a HypersonicSQL database using the
> webserver connection. But when I use the following
> URL:
>
> "jdbc:HypersonicSQL:http://localhost:8080"
>
> It wont connect.
>
> I have orion on the url: localhost:8080. I've installed
> hSQL in the /lib dir and made a classpath to it in the
> global-web-application.xml file. I have also modified the
> file data-sources.xml as it says in the docs:
>
>           url="jdbc:HypersonicSQL:defaultdb"
>           connection-driver="hSql.hDriver"
>           username="xxx"
>           password="yyy"
>           schema="database-schemas/hypersonic.xml"
>
> I have named my database files to 'mydb.*'.
>
> Thanks in advance,
> /Robert Karlsson


Reply via email to