Title: RE: Correct way to run a servlet in a html page?
I'm try to connect to a Sybase databse and after copying the datasource from another Orion server that connects to the same Sybase database (different username and pass) I get the following errors for each EJB that it's trying to deploy:
 
Error deploying file:/home/wire/orion/orion/cms/mushroomEjb.jar homes: Error creating home instance: class java.lang.InstantiationException (jdbc/DefaultDS did not contain a cmt-dataSource/ejb-datasource)
Error initializing home of type cms.page.Element in package /home/wire/orion/orion/cms/dev/build: jdbc/DefaultDS did not contain a cmt-dataSource/ejb-datasource
 
etc.
 
The data source is as follows:
 
        <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:sybase:Tds:server.blah.co.uk:4100"
                connection-driver="com.sybase.jdbc2.jdbc.SybDriver"
                username="username"
                password="password"
                schema="database-schemas/sybase.xml"
        />
 
Any pointers as to whats going wrong would be much appreciated.
 
Paul

Reply via email to