my guess is that you have not connected to your DB at startup.
if (con == null) throw new SQLException(CLOSED)

this may be your entityengine.xml setup
or the DB, may not be running
or the DB is not accessible from this server.

please explain you specific setup. relative to the DB and ofbiz.

Jose Diaz sent the following on 10/30/2007 3:50 PM:
> I am getting it error and no idea about  the solution.
> This is the method:
> public void commit() throws SQLException {
> if (con == null) throw new SQLException(CLOSED);
> if (((XAResourceImpl) xaCon.getXAResource()).isTransaction())
> throw new SQLException("Cannot commit a transactional connection: See JDBC 
> 2.0 Optional Package Specification section 7.1 (p25)");
> try {
> con.commit();
> } catch (SQLException e) {
> setError(e);
> throw e;
> }
> }
>  
> Please, let me know if someone can help with it issue.
>  
> Regards
>  
> Jose.
> 
> 
> 

Reply via email to