It turns out there are some compatibility issues with the old
orion-ejb-jar.xml and the new one and once we fixed those, the error
went away.

-----Original Message-----
From: Andrew Chau 
Sent: Tuesday, August 21, 2001 3:41 PM
To: Orion-Interest
Subject: porting from orion to oc4j, error message with CMP EJB


We have an J2EE application written originally to run on Orion 1.4.5.

We have decided to try to port this to oc4j and the version we are using
is 1.0.2.2

There is some minor reconfiguration issue but nothing really major.
All the servlet, jsp, and stateless session EJB runs without any
problem.

However, all the CMP EntityBean doesn't seem to like their new home.

During deployment, the container will complaints about every single
EntityBean with error message like the following:

JavaApplication_EntityBeanWrapper33.java:358: Exception
java.sql.SQLException is never thrown in the body of the corresponding
try statement.
catch(java.sql.SQLException e)

JavaApplication is one of our CMP EntityBean and the Wrapper is
supposingly created automatically by the container at deployment time.

Has anyone encountered this before? Any work around/solutions?

Thanks in advance

Andrew


Reply via email to