Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hsqldb Server and EJB2.0 with BEA WLS 6.x

 
David Follow
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I would like to use HSQLDB and EJB2.0 CMP
In BEA I set up my Connection Pool and DataSource
The pool is configured as follows:
Name: hsqldbPool
URL: jdbc:hsqldb:hsql://localhost
Driver Classname: org.hsqldb.jdbcDriver
Properties: [nothing]
ACLName: [nothing]
I dont know where to put the username "sa" and the
password "" ??? Can anybody help me please?
HSQLDB is running in servermode.
When I deploy my EJB I get the following BEA console output:
Unable to deploy EJB: Counter from counterbean.jar:
Errors encountered ''The Container-Managed Persistence Entity EJB failed while creating its SQL Type Map. The error was:
Connection is broken: Connection aborted by peer: socket write error',
'Error encountered while attempting to create Default DBMS Table: 'Counter'. Error Text: 'Connection is broken: Connection aborted by peer:
socket write error'.''
Any help is appriciated!
dfo
 
David Follow
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I got it.
all I needed to do as add in the Bea connection pool
the properties for suer and password which are
user=sa
password=
Detlef
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic