ADF UIX deployment error

I created a very simple application in ADF UIX which just displays data from a database table. It runs perfectly when i run it locally. I then deployed it on to Application Server OC4J_Portal. I have updated ADF Libraries manually...and still getting the below mentioned errors..
500 Internal Server Error
oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool
(app.model.AppModuleLocal) failed to checkout an application module due to the following
exception:
JBO-30003: The application pool (app.model.AppModuleLocal) failed to checkout an application module
due to the following exception:
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule
(ApplicationPoolImpl.java:2611)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule
(WSApplicationModuleImpl.java:2457)
at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule
(WSApplicationModuleImpl.java:2416)
at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)
at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)
at oracle.adf.model.bc4j.DCJboDataControl.(DCJboDataControl.java:171)
at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:90)
at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:81)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)
at oracle.adf.model.BindingContext.get(BindingContext.java:411)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:59)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings
(DCBindingContainerDef.java:197)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer
(DCBindingContainerDef.java:273)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer
(DCBindingContainerReference.java:40)
at oracle.adf.model.BindingContext.get(BindingContext.java:427)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
at oracle.adf.model.binding.DCUtil.initializeBindingContainer(DCUtil.java:505)
at oracle.cabo.adf.rt.InitModelListener.getBindingContainer(InitModelListener.java:566)
at oracle.cabo.adf.rt.InitModelListener._initBindingContainer(InitModelListener.java:535)
at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:96)
at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:55)
at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
Page 500 Internal Server Error e 1 of 2
http://glorfindel.jsi.com:7777/invapp/dataPage1.uix 3/9/2005
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal
(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run
(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:337)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:868)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1107)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5823)
at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:117)
at oracle.jbo.server.ApplicationModuleImpl.doPoolConnect(ApplicationModuleImpl.java:8005)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7766)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule
(ApplicationPoolImpl.java:1915)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule
(ApplicationPoolImpl.java:2611)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule
(WSApplicationModuleImpl.java:2457)
at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule
(WSApplicationModuleImpl.java:2416)
at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)
at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)
at oracle.adf.model.bc4j.DCJboDataControl.(DCJboDataControl.java:171)
at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:90)
at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:81)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)
at oracle.adf.model.BindingContext.get(BindingContext.java:411)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
Can anyone please help me out with this...This is really urgent...
Thanks a lot....

Hi Anubha,
This error is reported from the model layer and not from UIX layer. If you would like to see more repsonse on this, it would be better if you can change the subject and post a new message with subject like - "Exception encountered from ADFm layer with deployed application." You may get more reponse.
Thanks,
Vijay Venkataraman

Similar Messages

  • ADF UIX Run Error

    Hi,
    i have created a simple input form using ADF UIX
    but when i run it on web i get this massage(given below)
    any suggestions,
    Best Reagrds,
    Muazzam
    Problem Report
    Condition TCP error was detected while attempting to retrieve the URL: 'http://130.1.2.184:8989/ADFtest-ViewController-context-root/dataPage1.do'.
    Problem Description: TCP/IP processing failure.
    Try RELOADING the page.
    This error message means that the target host did not properly respond to HTTP GET request after successfully establishing TCP connection. This may be due to problems like congestion on target host or transmission path.
    If this problem persists for extended periods of time, contact your network support team. Please, first make sure that the target is really reachable and not, for example, out of service due to maintenance.
    Current GMT Date/Time: Sat, 18 Jun 2005/09:02:56

    Hi Anubha,
    This error is reported from the model layer and not from UIX layer. If you would like to see more repsonse on this, it would be better if you can change the subject and post a new message with subject like - "Exception encountered from ADFm layer with deployed application." You may get more reponse.
    Thanks,
    Vijay Venkataraman

  • Help please  ... adf uix deployment

    dear sirs...
    sorry for posting this many types, but can any one identify the problem please,
    given the following information:
    1-the application server is oracle application server 10g 9.0.4.0 i guess.
    2- jdeveloper is 10g 10.1.2.1.0
    3-the application is adf uix
    4-the application server is updated through jdeveloper
    5-the application uses intermedia
    6-the datasource is defiened correctly
    when i deploy the application on the AS i get the following stack.
    500 Internal Server Error
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)
    at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)
    at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)
    at oracle.adf.model.bc4j.DCJboDataControl.(DCJboDataControl.java:171)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:90)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:81)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)
    at oracle.adf.model.BindingContext.get(BindingContext.java:411)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
    at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
    at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:59)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
    at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
    at oracle.adf.model.BindingContext.get(BindingContext.java:427)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
    at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
    at oracle.adf.model.binding.DCUtil.initializeBindingContainer(DCUtil.java:505)
    at oracle.cabo.adf.rt.InitModelListener.getBindingContainer(InitModelListener.java:595)
    at oracle.cabo.adf.rt.InitModelListener._initBindingContainer(InitModelListener.java:564)
    at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:98)
    at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
    at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:541)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)
    at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)
    at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)
    at oracle.adf.model.bc4j.DCJboDataControl.(DCJboDataControl.java:171)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:90)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:81)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)
    at oracle.adf.model.BindingContext.get(BindingContext.java:411)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
    at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
    at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:59)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
    at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
    at oracle.adf.model.BindingContext.get(BindingContext.java:427)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)

    Hi Anubha,
    This error is reported from the model layer and not from UIX layer. If you would like to see more repsonse on this, it would be better if you can change the subject and post a new message with subject like - "Exception encountered from ADFm layer with deployed application." You may get more reponse.
    Thanks,
    Vijay Venkataraman

  • ADF Mobile: Deployment Error: MessageDigest SHA-1 implementation not found

    Hi,
    I was trying to create and deploy a test application as outlined in the online tutorial for ADF Mobile:Android
    http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    After I hit Deploy to emulator, it fails with the following exception:
    trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found.
    I have successfully deployed applications developed from Eclipse with Android extension on the same emulator.
    I tried manual cmd line deployment of the generated apk file
    I got [INSTALL_PARSE_FAILED_NO_CERTIFICATES] error first.
    I then followed the instructions in the below post to create a keystore, sign the application and again deploy the application
    signing error with abt deployment with ADF Mobile and java 1.7
    I got the following error.
    C:\Program Files\Android\android-sdk\platform-tools>adb -e install -r C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3/testapp.apk
    100 KB/s (21928920 bytes in 212.281s)
    pkg: /data/local/tmp/testapp.apk
    Failure [INSTALL_FAILED_DEXOPT]
    Is it a BUG or am I missing something? Appreciate if someone can help me out.
    Specs. Win XP
    Android 4.1.2 (API 16)
    Jdev
    Studio Edition Version 11.1.2.3.0
    Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    ADF Mobile Framework     oracle.adf.mobile     11.1.2.3.39.62.94     Fully Loaded
    Deployment Log:
    [06:58:00 AM] Updating Android profile dependencies with FAR profiles created from application projects...
    [06:58:01 AM] ---- Deployment started. ----
    [06:58:01 AM] Target platform is (Android).
    [06:58:01 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:03 AM] Checking state of Android Debug Bridge server...
    [06:58:04 AM] Android Debug Bridge server already running.
    [06:58:11 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [06:58:11 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:11 AM] Running dependency analysis...
    [06:58:11 AM] Building...
    [06:58:11 AM] Deploying 3 profiles...
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ApplicationController\deploy\ApplicationController.jar
    [06:58:18 AM] WARNING: No Resource Catalog enabled ADF components found to package
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ViewController\deploy\ViewController.jar
    [06:58:18 AM] Starting to prepare the packaging...
    [06:58:18 AM] Verifying Application Controller project exists...
    [06:58:18 AM] Verifying application dependencies...
    [06:58:18 AM] Validating application XML files...
    [06:58:18 AM] Validating XML files in project ApplicationController...
    [06:58:18 AM] Validating XML files in project ViewController...
    [06:58:19 AM] Copying FARs to the ADF Mobile Framework application...
    [06:58:19 AM] Copying FAR from source: ViewController...
    [06:58:19 AM] Copying FAR from source: ApplicationController...
    [06:58:19 AM] Copying Android template...
    [06:59:19 AM] Copying framework resource files...
    [06:59:20 AM] Copying framework java resource files...
    [06:59:43 AM] Copying common javascript files...
    [07:00:01 AM] Deploying skinning files...
    [07:00:01 AM] Copying application image files...
    [07:00:02 AM] Copying ADF Mobile configuration files...
    [07:00:02 AM] Copying .adf files...
    [07:00:02 AM] Copying security related files to the ADF Mobile Framework application...
    [07:00:02 AM] Creating Android preferences XML files...
    [07:00:02 AM] Creating AndroidManifest.xml file...
    [07:00:02 AM] Creating unsigned Android application file...
    [07:00:58 AM] Compiling Android Resource Identifier file...
    [07:01:01 AM] Creating Android classes.dex file from class files...
    [07:01:26 AM] Command-line executed: ["C:\Program Files\Android\android-sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex", C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar]
    [07:01:26 AM]
    [07:01:26 AM] trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:631)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex0(DexFile.java:591)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex(DexFile.java:216)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.writeDex(Main.java:574)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.run(Main.java:218)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.main(Main.java:174)
    [07:01:26 AM] at com.android.dx.command.Main.main(Main.java:91)
    [07:01:26 AM] Caused by: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137)
    [07:01:26 AM] at java.security.MessageDigest.getInstance(MessageDigest.java:75)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:629)
    [07:01:26 AM] ... 6 more
    [07:01:26 AM] Command-line execution failed (Return code: 2)
    [07:01:26 AM] Command-line executed: "C:\Program Files\Android\android-sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex" C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar
    [07:01:26 AM] Deployment cancelled.
    [07:01:26 AM] ---- Deployment incomplete ----.
    [07:01:26 AM] Deployment failed due to one or more errors returned by 'C:\Program Files\Android\android-sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 2)
    - Thanks
    Sujith
    Edited by: user11272928 on Oct 30, 2012 7:28 PM

    Hi,
    At this point, we really have not fully tested out JDK 1.7, and we rely on Android SDK to actually compile the app. Any way you can add JDK 1.6 to your machine, and configure the Android SDK to use JDK 1.6?
    Thanks,
    Joe Huang

  • ADF application Deployment error:

    Hi
    I am trying to deploy a working version of our ADF application on to SQA 10.1.3.4 using Jdeveloper 10.1.3.3
    the connection for application server is connected successfully with setting: opmn port:6003, host: hofo3sop02ab.domain.com the type of server using oracle oc4j soa instance.
    the deployment failed:
    Operation failed with error:
    Cannot create temp directory: The system cannot find the path specified
    Deployment failed
    when I tried to deploy the AppName.ear file manually on to oc4j instance on the server, it stuck in uploading..
    I have been searching for the cause and solution, but no luck so far. Can anyone help?
    thanks a lot in advance.
    Edited by: Lang on May 20, 2011 2:34 AM

    Depending on the kind of app you try to deploy you can't just delete these entries. They needed by the framework.
    You need to make they libraries available on the server you try deploy to. That they are present is not enough.
    Timo

  • Deploy an  ADF-UIX project

    Hi all!
    I build a web application workspace, so I have a "model" project in witch I put some business components from tables. In ViewController project I use adf-uix. My problem is I can't deploy my work. How can I do this. I suppose that I should deploy first my "Model" project.
    Thanks in advance.

    Hi Luigi --
    You'll be better posting this to the specific JDeveloper forum. The people who know all about ADF are there and will be able to help you out.
    cheers
    -steve-

  • ADF UIX Tab Switching and 404 Error

    I have an ADF UIX page that has a couple of tabs. When switching from one to the other, some of the links to data pages give me 404 error whereas they work if I run each page seperately. How do you maintain state when switching on tabbed pages?
    Thanks!
    Ray

    We need more detailed information to help with your scenario.
    Is there any difference between the URL seen in the browser address location when you run individual tab pages versus clicking on the links?
    Kind Regards.

  • URGENT: Deployment of ADF UIX application to Oracle App Server 10g

    Hi,
    Please let me know of documentation of how to deploy an ADF UIX application developed using Jdeveloper9.0.5.2 to Oracle Application Server 10g.
    I have already created an WAR and EAR deployment profile. and also an ORacle APp server connection from the connections tab in Jdeveloper.
    Thanks a lot.

    Have a look at the JDeveloper online help (F1) there is a complete chapter about deploying:
    http://helponline.oracle.com/jdeveloper/help/state/content/destination.2%7E9%7E1%7E6%7E/navSetId.jdeveloper/oldNavId.0/navId.0/oldNavSetId.jdeveloper/
    Basically you need to deploy the ADF runtime libraries (use the ADF Runtime Installer), and then deploy your WAR.

  • How to- Customise ORA errors in ADF UIX ?

    Iam working on JDev 10.1.2. ADF UIX.
    I have managed to capture JBO errors using message bundle and custo mise them but am not able to do the same in case of ORA errors. I need to customise errors like integrity constraint errors from database.
    How am i too to do that?
    Regards,
    Vineet.

    hello
    di you get this issue solved, please help
    we are using 10.1.3

  • Detecting validation errors in ADF UIX

    Dear sirs...
    how can i detect validation errors in an adf uix page using DataActionContext?
    thanks for any help

    dear sirs...
    i found how it works. it is simple, bust call this.hasErrors(ctx). this would return true if an error occurs, otherwise it returns false.
    best regards

  • ADF UIX Runtime

    I download a sample application from http://technology.amis.nl/blog/765/spring-and-oracle-adf-registering-a-pojo-spring-jdbc-based-business-service-as-data-control
    However, one project' library need ADF UIX Runtime
    How to import this extension?
    ============================================================
    [Running application SpringAndADF on Server Instance IntegratedWebLogicServer...]
    [06:08:04 PM] ---- Deployment started. ----
    [06:08:04 PM] Target platform is (Weblogic 10.3).
    [06:08:04 PM] Retrieving existing application information
    [06:08:04 PM] Running dependency analysis...
    [06:08:04 PM] Deploying 2 profiles...
    [06:08:05 PM] Wrote Web Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SpringAndADF\HrmWebClientWebApp.war
    [06:08:05 PM] Wrote Enterprise Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SpringAndADF
    [06:08:05 PM] Deploying Application...
    <Dec 9, 2010 6:08:08 PM PST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SpringAndADF\HrmWebClientWebApp.war. Please make sure that the annotations are valid. The error is oracle.cabo.servlet.UIXServlet>
    <Dec 9, 2010 6:08:08 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1291946886471' for task '24'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'SpringAndADF-HrmWebClient-context-root''
    weblogic.application.ModuleException: Failed to load webapp: 'SpringAndADF-HrmWebClient-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.cabo.servlet.UIXServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    <Dec 9, 2010 6:08:08 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'SpringAndADF'.>
    <Dec 9, 2010 6:08:08 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'SpringAndADF-HrmWebClient-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.cabo.servlet.UIXServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    >
    [06:08:08 PM] #### Deployment incomplete. ####
    [06:08:08 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application SpringAndADF due to error deploying to IntegratedWebLogicServer.
    [Application SpringAndADF stopped and undeployed from Server Instance IntegratedWebLogicServer]

    You cannot http://www.oracle.com/technetwork/developer-tools/jdev/desupport11g-087493.html
    John

  • Websphere 5.1 and ADF/UIX

    We are having problems with ADF/UIX (Jdev 10g) in Websphere 5.1. We are continually getting an error in the xmlparserv2.jar when put into the <websphere_home>/lib/ext directory. Actually, websphere cannot startup with that jar there. We installed Business Components according to the documentation found in http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.html
    I realize the doc is geared towards JDev 9.0.3 and probably an older version of websphere. I am wondering if anyone has successfully deployed Business Components to Websphere 5.1 and could you successfully run an ADF/UIX application in Websphere.
    TIA...

    Brian,
    Ya, after figuring out the JDK 1.3 issue, I thought it best to go back and try it on Websphere 5.1 (I was trying it on 5.0.2.2). Since IBM's material says 5.1 supports 1.4, that seemed logical. I don't know much about Websphere, but can't see where one can plug in a different JDK. Perhaps someone can chime in on that.
    BUT, I did get a simple ADF UIX application to work on IBM Websphere 5.1.0.3. As I alluded to in previous posts, it would seem that the lib\ext has a different purpose in 5.1. The contents of this location are somehow used for the internals of WAS, so the server cannot even start if you follow the previous how to document at:
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_websphere.html
    To get away from this, I created a separate location as a library in Websphere and put the following jars into the location:
    adfm.jar
    adfmejb.jar
    adfmtl.jar
    bc4jct.jar
    bc4jctejb.jar
    bc4jdomorcl.jar
    bc4jhtml.jar
    bc4jimdomains.jar
    bc4jmt.jar
    bc4jmtejb.jar
    bc4juixtags.jar
    classes12.jar
    collections.jar
    commons-el.jar
    jdev-cm.jar
    jdev-rt.jar
    jsp-el-api.jar
    nls_charset12.jar
    ojmisc.jar
    oracle-el.jar
    ordhttp.jar
    ordim.jar
    regexp.jar
    runtime12.jar
    share.jar
    struts.jar
    uix2.jar
    uix2tags.jar
    xmlparserv2.jar
    (Honestly, I don't know how I came to this exact list of jars. Some I added by working through class not found exceptions, others are in here because of the how to document. In any case, I can't vouch for its completeness or correctness.)
    I created the location that all of these jars were in as a shared library (environment -> shared libraries). Then, I added the library to the deployed application (Applications -> Enterprise Applications -> <the application deployed> -> Configuration Tab -> libraries.
    I'm admittedly quite a novice with Websphere, so I can't say if this is the correct way to do it, but it works. :)

  • JBoss 4.0.0RC1/3.2.3 - JDeveloper 10g - ADF UIX

    While I realize that JDeveloper has only been tested (to one degree or another) with JBoss 3.2.X, I decided to try and publish to JBoss 4.X after failing with 3.2.X. (The results are the same for either server version).
    I have a simple master-detail page off of which I have a create action on the detail section. The primary key is a DBSequence number that goes against a table with an insert trigger defined and a sequence for that field.
    The create action opens an input form for creating a new record. In the emdedded OC4J, everything works just fine. Depsite following the developer's review paper on deploying to both standalone OC4J and JBoss, it fails completely. Errors are different, but I thought I would start with JBoss since this equates to our development environment:
    When the create button is selected to initiate the action, the input form comes up but in the place where I would expect to see a temporary sequence value in the primary key field, the value is blank and the Execute button on this form does not activate. In addition, JBoss error log (both JBoss 3.2.3 and JBoss 4.0.0RC1 (and DR4)) displays the following (just showing a fragment):
    2004-07-28 10:37:34,315 ERROR [org.jboss.web.localhost.Engine] StandardContext[paros]null
    java.lang.ClassCastException
         at oracle.jbo.uicli.uix.PrimitiveTypes.getArray(PrimitiveTypes.java:122)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef._adapt(JUCtrlAdaptValueBindingRef.java:106)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef._adapt(JUCtrlAdaptValueBindingRef.java:96)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef.access$4000071(JUCtrlAdaptValueBindingRef.java:40)
         at oracle.jbo.uicli.uix.JUCtrlAdaptValueBindingRef$CompositeModel.get(JUCtrlAdaptValueBindingRef.java:219)
         at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:218)
         at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
         at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
         at oracle.jsp.el.OracleExpressionEvaluator.evaluate(Unknown Source)
         at oracle.jsp.el.OracleExpression.evaluate(Unknown Source)
         at oracle.cabo.ui.expl.ELBoundValue._evaluate(Unknown Source)
         at oracle.cabo.ui.expl.ELBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList(Unknown Source)
         at oracle.cabo.ui.collection.DataObjectListNodeList.size(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getIndexedChildCount(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.getVisibleIndexedChildCount(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._startRowMode(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer._renderVisibleIndexedChildren(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    Has anyone been at all successful using ADF-UIX from JDeveloper 10g and JBoss of any version? (Note I have followed the steps to install ADF Runtime, setvars, etc).
    Thanks
    Ray

    Yes. I have no problem with jdeveloper10g and jboss-3.2.3.
    Niether on my note with both linux, win, nor on production server with linux.
    Carefully look where do you install ADF Runtime (server defualt), and what server do you start (default is all). Simply change startup server to default or, copy jboss-3.2.3/server/default/deploy/bc4j.ear to jboss-3.2.3/server/all/deploy/

  • Demo: From ADF UIX to JSF

    Hello,
    I am new to most of this. I am running jdev 10.1.3 preview with EA12.
    While trying to run the demo described in the article "From ADF UIX to JSF"
    found at http://www.oracle.com/technology/oramag/oracle/04-nov/o64jsf.html I got the following errors.
    Project: C:\data\sample_home\MyADFFaces\ADFFacesView\ADFFacesView.jpr
    C:\data\sample_home\MyADFFaces\ADFFacesView\public_html\empTable.jspx
    Error: Internal error, ClassNotFound creating tag parser for afh:head, class: oracle.adfimpl.view.faces.taglib.html.HtmlHeadTag
    Error: Unable to find class for bean: null defined by tag with class: oracle.adfimpl.view.faces.taglib.html.HtmlHeadTag
    Error: head must be terminated with /> or %> not >
    Error: Internal error, ClassNotFound creating tag parser for af:form, class: oracle.adfimpl.view.faces.taglib.core.CoreFormTag
    Error: Unable to find class for bean: null defined by tag with class: oracle.adfimpl.view.faces.taglib.core.CoreFormTag
    Error: Internal error, ClassNotFound creating tag parser for af:table, class: oracle.adfimpl.view.faces.taglib.core.data.CoreTableTag
    Error: Unable to find class for bean: null defined by tag with class: oracle.adfimpl.view.faces.taglib.core.data.CoreTableTag
    Error: Internal error, ClassNotFound creating tag parser for af:tableSelectOne, class: oracle.adfimpl.view.faces.taglib.core.data.CoreTableSelectOneTag
    Error: Unable to find class for bean: null defined by tag with class: oracle.adfimpl.view.faces.taglib.core.data.CoreTableSelectOneTag
    Error: Internal error, ClassNotFound creating tag parser for af:commandButton, class: oracle.adfimpl.view.faces.taglib.core.nav.CoreCommandButtonTag
    Error: Unable to find class for bean: null defined by tag with class: oracle.adfimpl.view.faces.taglib.core.nav.CoreCommandButtonTag
    Here is a copy of the JSP page source that I created as I was following the text in the article
    Source starts
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/EA6/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA6">
    <jsp:text>
    <![CDATA[ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> ]]>
    </jsp:text>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <html>
    <afh:head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>
    empTable
    </title>
    </afh:head>
    <body>
    <af:form>
    <af:table value="#{myEmployees.employees}" var="row" rows="10">
    <f:facet name="selection">
    <af:tableSelectOne text="Select Employee and click ...">
    <af:commandButton text="Show" action="showDetails"/>
    </af:tableSelectOne>
    </f:facet>
    <af:column>
    <af:outputText value="#{row.first_name}"/>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <af:outputText value="#{row.last_name}"/>
    <f:facet name="header">
    <af:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    <af:column>
    <af:outputText value="#{row.email}"/>
    <f:facet name="header">
    <af:outputText value="Email"/>
    </f:facet>
    </af:column>
    </af:table>
    </af:form>
    </body>
    </html>
    </f:view>
    </jsp:root>
    ---source ends ---
    Can anyone tell me how to get past this? Thank you.
    -- Jack Condon

    One immediate thing: "EA6" is in the tag library namespaces, but you're using EA12.
    In general, there've been a lot of changes between EA6 and EA12, but the changed namespace is one simple thing.

  • ADF UIX cancel/rollback button?

    Hi
    We're having a fair amount of trouble implementing a "cancel" button in our ADF UIX application (JDev 10.1.2). Apologies to those who read this same post on the ODTUG mailing list..... I'm hunting for even a hint of an answer before I approach Oracle Support.
    To set the scene, we have a parent VO "Departments" with child VOs "Dispatch" and "Agency". Dispatch also has a FK to Agency.
    We have a UIX view-screen that displays in a master-detail relationship Departments and Dispatch. From this screen the user can select the edit button, which navigates to an input-form screen to edit the currently selected Dispatch record.
    The Dispatch record has effective_from and effective_to dates. The underlying EO has a MethodValidator that ensures the from date <= the to date.
    On the edit screen we currently provide 2 buttons, Ok and Cancel. The Ok submitButton is bound to the commit binding, and navigates back to the view page via a struts link on completion.
    If the user selects the ok button and MethodValidator returns an error, the edit page's MessageBox displays the error and the user remains at the edit page until they resolve the issue.
    Our problems start with the cancel button.
    Originally we implemented the Cancel button as a simply "button" that navigated back to the view page. This worked well as the changes are never submitted, and on returning to the view page the record is presented in it's original state before being edited, thus the user's changes have been "cancelled".
    However if the user was editing an existing record, entered invalid dates that violated the MethodValidator, clicked ok and saw the MethodValidator error, then clicked cancel, on returning to the view page, any changes to the underlying record are visible including the invalid dates. I believe this occurs because the record has been submitted to the mid-tier by the ok button, and as such the changes now lies in the mid-tier.
    Given that a cancel "button" which simply navigates back to the view page is not a viable solution, we decided to investigate using a rollback button on our edit page, which then navigated back to the view page.
    There is a nasty side affect in using the rollback functionality, and has been a continuous frustration mentioned on OTN. When rollback is issued, it appears all iterators in the running application have their current row reset to the first element.
    This is a pain as in our example this results in not only the Dispatch iterator being reset to the first element, but also the parent Departments iterator, and presumably all other iterators in the application too. This would be an extreme annoyance to the user in every time they selected cancel, they would then need to navigate back to the correct Departments and Dispatch record if they wanted to make a different change.
    As such it is necessary to write some code to store the iterator positions before issuing the rollback, rolling-back, then restoring the iterator positions from the saved states.
    Luckily we found some code on OTN to do this:
    ADF - cancel button not working in input form(add new row)?
    This mechanism appeared to work, but, then, we did find one problem.
    I described at the beginning that our Dispatch VO is not only related to Departments but also Agency. To cater for this in our edit screen by including a LOV bound <messageList>, which displayed the relating Agencies for the user to select from.
    In using the pinched OTN rollback code, in the same scenario as previously, when the user edits a record, invalidates the MethodValidator after clicking ok, then clicks cancel, on returning to the view page, the field in Dispatch that represents the Agency is incorrectly showing a numeric result such as 0, 1, 2 etc. We realised that the value being shown is the previous edit screen's <messageList> internal index number representing the value selected in the list, and not the actual value itself.
    We're note sure why the OTN rollback code is causing this to occur. Though it restores the Agency iterator's position, it shouldn't result in the <messageList> index being written to the underlying Dispatch agency field, but rather the value the <messageList> index represents.
    It appears to me we're caught between a "rock and a hard-place" here. The simple solution of using a cancel "button" doesn't work when errors are raised. The complex case of using a "rollback" button doesn't work due to the problem with the <messageLists>.
    My research on OTN shows the "cancel vs rollback" button is a common frustration. Can somebody help me in providing a satisfactory "cancel" button that I can use throughout my app please?
    Many thanks in advance.
    Chris Muir

    The stack:
    Class                     Method
    UsrEcvAmpdsViewRowImpl    setAgency
    UsrEcvAmpdsViewRowImpl    setAttrInvokeAccessor
    ViewRowImpl               setAttribute
    DCDataControl             setAttributeInRow
    DCJboDataControl          setAttributeInRow
    JUCtrlValueBinding        setAttributeInRow
    JUCtrlValueBinding        setInputValue
    JUCtrlValueBinding        setInputValue
    InitModelListener         _setInputValue
    InitModelListener         _doModelUpdate
    InitModelListener         eventStarted
    AbstractPageBroker        _fireUIXRequestEvent
    AbstractPageBroker        handleRequest
    BaseUIPageBroker          handleRequest
    PageBrokerHandler         handleRequest
    UIXServlet                doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    ServletRequestDispatcher  forward
    RequestProcessor          doForward
    RequestProcessor          processForwardConfig
    RequestProcessor          process
    ActionServlet             process
    ActionServlet             doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    ServletRequestDispatcher  forward
    RequestProcessor          doForward
    RequestProcessor          processForwardConfig
    RequestProcessor          process
    ActionServlet             process
    ActionServlet             doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    EvermindFilterChain       doFilter
    ADFBindingFilter          doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    HttpRequestHandler        processRequest
    HttpRequestHandler        run
    HttpRequestHandler        run
    ReleasableResourcePooledExecutor$MyWorker run
    Thread  runAt a wild guess, InitModelListener is causing the issue, because it's the first place where we can see a setInputValue occuring?
    To make this official I've raised a TAR (4613003.992) with Oracle Support with a cut down version of our app to work through the issue.

Maybe you are looking for