ADF BC: Making Your Application Module Activation-Safe

In our project we found out that a certain error only occurred in the
deployment environment, and then only sometimes. Those are the worst
problems to solve! The error message was:

JBO-30003: The application pool (...name...) failed to checkout an application module due to the following exception:

oracle.jbo.JboException: JBO-29000: JBO-25000: Unknown SQL type: null.



After debugging, googling, and metalinking, we found that the error was
related to the State Management mechanism of ADF Business
Components. The error only occurred when on certain pages an Application Module instance's state
had to be passivated to the database, and later activated again.



Steve Muench
gave us a great tip: you can enforce this Application
Module (AM) passivation and activation in your development environment
by temporarily setting a configuration parameter. See section 28.8, "Testing to Ensure Your Application Module is Activation-Safe" of the ADF Developer's Guide.



This enabled us to reproduce the error in JDeveloper, and to verify that the patch for bug 5191597 you can download from MetaLink did indeed solve the problem!

Comments:

Very usefull, thanks a lot, it exactly solved my problem as well.

Posted by Ferdo Planka on September 25, 2006 at 12:58 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Java EE Consultants - JHeadstart, ADF, JSF

Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today