tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SK Leung <>
Subject Re: CMP Example with field mapping file
Date Wed, 14 May 2008 14:32:32 GMT

I have created the openejb-jar.xml file as below.

<?xml version="1.0" encoding="UTF-8"?>
<openejb-jar xmlns=""

But the same error message is shown when creating the object. I have the
following resource defined in openejb.xml.

<Resource id="jdbc/OracleCMTadmuser" type="DataSource">
  JdbcDriver oracle.jdbc.driver.OracleDriver
  JdbcUrl jdbc:oracle:thin:@localhost:1521:xe
  UserName adm_user
  Password password

I do not know whether the problem is in making connection to database or
creating the record. If it is the latter one, then what is the cause for
such error? I even try to insert all nulls into the table and it accepts.
Please give help, much thanks.

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message