Tag Archives: Oracle

Log4J “NoSuchMethodError” for org/apache/log4j/Logger.trace(Ljava/lang/Object;)V

My application uses log4J and when I deployed to our development server, I was getting the following exception: CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method “onMessage” on bean “BeanId(LoggingEAR#LoggingEJB.jar#LoggingExceptionMDB, null)”. Exception data: java.lang.NoSuchMethodError: org/apache/log4j/Logger.trace(Ljava/lang/Object;)V At first, I believed that this was caused by Log4J not being on the classpath in ear. […]

Read more

Oracle DBMS_CRYPTO Encryption

I spent a few days battling the oracle DBMS_CRYPTO package. This package allows the encryption of data types, including clobs and blobs (in oracle 10g). The battles included: My user not having visibility to the package in the stored procedure call. This was solved by a simple call to the DBA. In my system, I […]

Read more