ADF UIX doSelect override with PL/SQL fails to allow insert

I've been trying to create an ADF-UIX web app for simple insert/update/delete of records to a table.
The schema simply has 2 tables - master and detail where the detail pk is made up of the master id and a start date:
CREATE TABLE master (
id NUMBER NOT NULL,
name VARCHAR2 (10) NOT NULL,
CONSTRAINT pk_master
PRIMARY KEY ( id ));
CREATE TABLE detail (
id NUMBER NOT NULL,
start_date DATE NOT NULL,
name VARCHAR2 (10) NOT NULL,
description VARCHAR2 (100),
CONSTRAINT pk_detail
PRIMARY KEY ( id, start_date ));
ALTER TABLE detail ADD CONSTRAINT d_m_fk FOREIGN KEY (id) REFERENCES master(id)
This works fine when I create it in a similar manner to that described in the "Complete ADF UIX Application ..." tutorial doc.
http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
I then tried to override the ADF doSelect and doDML methods as outlined in ADF_BC_StoredProcedures.zip example app allowing me to use PL/SQL stored pkg for dml.
http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_BC_StoredProcedures.zip
On trying to insert a new row my web app now fails with a null pointer exception when I press the Submit button. The app calls doSelect->handleStoredProcSelect which fails to get the value of a column.
void handleStoredProcSelect() {
CallableStatement st = null;
try {
String stmt = "BEGIN test_api.do_select(?,?,?,?,?); END;";
DBTransaction tr = getDBTransaction();
st = tr.createCallableStatement(stmt,1);
## This line works, I'm guessing because the value is populated from the master record I've selected in the form ...
st.setLong(1,getTestId().longValue());
##FAILS HERE st.setDate(2,getStartDate().dateValue());
Update,delete still work ok. And if I run the test app (right click on AppModule and select Test) all works ok.
I'm not sure why doSelect is called on an insert so I commented out:
doSelect
handleStoredProcSelect
handleStoredProcLock
compareOldAttrTo
Web App now lets me insert as expected.
So finally ....my question is:
Whilst the app now works does commenting out the doSelect leave me open to problems I haven't thought off
and if not if you did want to use it how can you allow inserts?
Any thoughts or similar experiences appreciated ...
Cheers
Ian

I've been trying to create an ADF-UIX web app for simple insert/update/delete of records to a table.
The schema simply has 2 tables - master and detail where the detail pk is made up of the master id and a start date:
CREATE TABLE master (
id NUMBER NOT NULL,
name VARCHAR2 (10) NOT NULL,
CONSTRAINT pk_master
PRIMARY KEY ( id ));
CREATE TABLE detail (
id NUMBER NOT NULL,
start_date DATE NOT NULL,
name VARCHAR2 (10) NOT NULL,
description VARCHAR2 (100),
CONSTRAINT pk_detail
PRIMARY KEY ( id, start_date ));
ALTER TABLE detail ADD CONSTRAINT d_m_fk FOREIGN KEY (id) REFERENCES master(id)
This works fine when I create it in a similar manner to that described in the "Complete ADF UIX Application ..." tutorial doc.
http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
I then tried to override the ADF doSelect and doDML methods as outlined in ADF_BC_StoredProcedures.zip example app allowing me to use PL/SQL stored pkg for dml.
http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_BC_StoredProcedures.zip
On trying to insert a new row my web app now fails with a null pointer exception when I press the Submit button. The app calls doSelect->handleStoredProcSelect which fails to get the value of a column.
void handleStoredProcSelect() {
CallableStatement st = null;
try {
String stmt = "BEGIN test_api.do_select(?,?,?,?,?); END;";
DBTransaction tr = getDBTransaction();
st = tr.createCallableStatement(stmt,1);
## This line works, I'm guessing because the value is populated from the master record I've selected in the form ...
st.setLong(1,getTestId().longValue());
##FAILS HERE st.setDate(2,getStartDate().dateValue());
Update,delete still work ok. And if I run the test app (right click on AppModule and select Test) all works ok.
I'm not sure why doSelect is called on an insert so I commented out:
doSelect
handleStoredProcSelect
handleStoredProcLock
compareOldAttrTo
Web App now lets me insert as expected.
So finally ....my question is:
Whilst the app now works does commenting out the doSelect leave me open to problems I haven't thought off
and if not if you did want to use it how can you allow inserts?
Any thoughts or similar experiences appreciated ...
Cheers
Ian

Similar Messages

  • ADF/UIX Master -Deatil with Tree as master

    Hi all,
    I am new to ADF/UIX.
    I need to create the mater-detail form (DEPT-EMP) with master as JTree.
    So, I am able to display the tree with deptno and ename in following form:
    Departments
    |-10
    | |-Clasrk
    | |-Miller
    | -King
    |-20
    | |-Smith
    | |-Jones
    I use the cardlayout to change between the panels for departments and employees.
    When I select any deptno in the tree then I get the dept-information. This si OK. But when I select ANY EMPNO from dept=10 then I get the information ONLY from first empno in the tree.
    To see the info about the employees from dept=20 I need first select the deptno=20 (the panel for the depts will be shown) and then select the employee from this department in the tree. But I will see only the information about the first employee in the tree.
    Please HELP

    The problem is solved.

  • ADF UIX Messagechoice element with databinding in Search Page

    How can we use the Messagechoice element with databinding in a ADF UIX search page? The Messagechoice element needs both target and destination dataSources and returns the selectedIndex (0,1,2,3....) and not the actual value. Is there a way of retrieving the actual value from the dropdown Messagechoice list in a search page without using the selectedIndex?

    Arvind -
    You can use databinding by using the "childData" attribute in the contents tag. This will stamp out the data bound to childData as the options in the message choice. For example,
    <messageChoice name="myChoice" prompt="Choose a Language">
    <contents childData="${uix.data.data1.lang}">
    <option text="${uix.current.text}"/>
    </contents>
    </messageChoice>
    Matt Lee
    UIX Team

  • Failing to create new SQL farm with FSconfig.exe for ADFS federation Services on an Azure SQL

    I'm building ADFS in Azure. My plan is to use the Azure SQL. The problem is that FSconfig seams not to work with Azure SQL. Here's what i did untill now:
    - I followed the documentation and created a new login and user (adfslogin, adfsuser) in a new
    "adfsv21" database. Then i added the user to db_owner role.
    - From c:\windows\adfs i run FSconfig: FSConfig.exe CreateSQLFarm /ServiceAccount mysa /ServiceAccountPassword ******** /SQLConnectionString "database=Adfsv21;server=[azureServer];User Id=mysa;Password=********" /AutoCertRolloverEnabled. I
    tried it with both accounts, mysa and adfsuser with the same poor results.
    The result is: "The following error occurred: The specified service account mysa is not valid.  Specify
    a different service account, and try again."
    - I configured odbc and tested the connection. mysa can connect but adfsuser caanot. Why?
    To be short, its not working. See this post with similar problems: google to "SQL server farm configuration error"...
    So, is Azure SQL & ADFS not complatible? Really not?

    My apologies for take a super long time to reply.  Are you still having issues here?  How can we help?
    Thanks Guy

  • How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column

    Hello JDevTeam & JDevelopers,
    I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
    Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
    I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
    The following are the steps taken thus far.
    Step1: Create table named test in the 2005 MSSQL Server (see script below).
    Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
         Library Name     = Ms2005Jdbc
         Class Path     = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
         (note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
    Step3:Create New Database Connection;
         Connection Name = testconn1
         Type = Third Party JDBC Driver
         Authentication Username = sa, Password = password, Check Deploy Password
         Connection
              Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver     
              Library = Ms2005Jdbc     
              Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
              URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
         Test Connection = Success!
    Step5: Create a new application workspace using Web Application default template
    Step6: In Model project, Create new Business Components Diagram.
    Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
    Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
    When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
    Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
    Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
    I am totally stuck! Can anyone provide a solution?
    Thanks for you help,
    BG...
    Create table named test
    use [testdb]
    go
    set ansi_nulls on
    go
    set quoted_identifier on
    go
    create table [test](
         [testid] [int] identity(0,1) not null,
         [testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
    constraint [pk_test] primary key nonclustered
         [testid] asc
    )with (pad_index = off, ignore_dup_key = off) on [primary]
    ) on [primary]

    Figured it out!
    When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
    When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
    If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
    The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
    Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
    For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
    Set Refresh on insert/update = no.
    Set Updateable = never.
    Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
    Simple enough but I have been away from this stuff for awhile.
    BG...

  • Populate Primary Key with DBSequence in ADF UIX page

    I have a table with a trigger, so that the primary key is populated by DBSequence. My problem is, I open a ADF UIX Input Page to create a row for my table. The field of the primary key is populated by any number but not with the logical sequence number. This number appears later, when I look at a row list. So the correct number is in the database but how can this already appear on my input page???

    You have to drop the trigger.
    Then make sure you have the Id field of your entity of type Sequence.
    Then go to your entity class and override the Create method.
      protected void create(AttributeList attributeList)
        super.create(attributeList);
        SequenceImpl s = new SequenceImpl("YOUR_DB_SEQUENCE_NAME", getDBTransaction());
        Number sVal = s.getSequenceNumber(); 
        setId(new DBSequence(sVal));

  • Integration with ADF UIX

    Hi,
    Does anyone has any experience with building application that integrates HTML DB and ADF UIX technology?
    Are there any restriction to build such applications?
    regards,
    Cezary

    -to use HTML DB to buid "portal" for other apps, one of them would be ADF UIX.
    Sure - a link is a link, ADF or otherwise...
    -to use HTML DB to build reports , reports with graphs etc
    Clearly one of HTML DB's sweet spots
    -to use HTML DB to build simple screens, i.e. to administer user rights,
    Again, easily accomplished with HTML DB
    -to use ADF UIX to build a complex forms with complex validation
    While you can do that, you can also use HTML DB to build complex forms with complex validation.
    Both technology can be deployed to OAS and the database is the same and I hope they can work together in that way.On of my worrying is how to implement single-sign on for these application.
    Oracle HTML DB applications can completely integrate with Oracle SSO, thus making them and ADF applications all single-sign on enabled. Have a look at this How To:
    http://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.html
    Thanks,
    - Scott -

  • Performance Problem ADF-UIX Appl. with Bea 8.1

    Hello JDev & J2EE Folks,
    I'm running into a performance problem with an ADF-UIX Application (JDev Version 10.1.2.0.0) under Bea 8.1. Application Server. It seems that the the same application is running at least factor 5 slower than on OC4J. I didn't experience such a difference with the older JDev9i Applications, seems to be an issue with 10g. Not done much investigation so far. Are there any ideas or suggestions out there? Anyone who had a similar problem?

    Hi ,
    Did you get this resolved? Can you share? Thanks!

  • Cssrcrix.sql failes with DRG-10703: invalid framework object korean_lexer

    hi,
    While applying 11.5.10.2 patch on RHEL 5.5 with DB 10.2.0.5 one of the worker got failed
    as fallows:
    sqlplus -s APPS/***** @/appltest/preprod/prodappl/cs/11.5.0/patch/115/sql/cssrcrix.sql &un_apps &un_cs CTXSYS
    declare
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-10703: invalid framework object korean_lexer
    ORA-06512: at line 224
    Please suggest if you have any idea

    Please see (cssrctxp.sql fails with DRG-10703: Invalid Framework Object Korean_lexer [ID 402422.1]).
    Thanks,
    Hussein

  • SP2 for SQL Server 2012 with SP1 is failed with Error result: -2067529723

    SP2 for SQL Server 2012 with SP1 is failed when start the installtion from command prompt and thorws below errors in Passive node of the cluster.No other errors logged in eventviewer, temp folder and not created any log files in bootstarp folder.An error occurred during the SQL Server 2012 Setup operation.
    Error result: -2067529723
    Result facility code: 1220
    Result error code: 5
    For more information, review SQL Server 2012 Setup logs in your temp folder.It is not allowing to run the sql core setup to uninstall the cluster node and gives same error.Can any one got into the same issue and please help?ThanksPetchikumar

    Hi,
    Can you post summary.txt below link will help you locate it
    https://msdn.microsoft.com/en-us/library/ms143702%28v=sql.110%29.aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Making a delete commit automatically with ADF BC, Struts and ADF UIX

    I'm trying to create a delete action that commits to the database automatically using ADF Business Components, Struts and ADF UIX.
    I have a browse page from which the user can view all records in the table, and perform edit, create and delete actions on the data.
    When the user selects a record and clicks edit they are taken to a screen where they can amend the details of that record. Create works in a similar way, but the create action on the view object is invoked before taking the user to the edit page (this is done by linking the browse page to an ADF DataAction (bound to Create) on the Struts page flow diagram, and then linking the ADF DataAction to the edit page).
    When the user clicks submit on the edit page, the container follows a forward from the edit page to an ADF DataAction bound to the Commit method, and then from there a forward back to the browse page.
    This seems to work fine for edit and create, but when I try to do something similar for delete, it behaves unpredictably - sometimes the delete is committed to the database, sometimes not.
    To be more specific, the way I have tried to implement the auto commit delete is as follows:
    There is a UIX submitButton on the browse page called Delete. When clicked, this button triggers an event, which is caught by an event handler inside the page. The event handler causes the UIX servlet to take a forward to an ADF DataAction bound to the Delete method on the relevant view object. It thens follows a forward from the previously mentioned DataAction to another ADF DataAction bound to the Commit method for the application module. There is then a forward leading back to the browse page.
    Has anyone else encountered similar problems?

    did you figure this out?

  • ADF UIX with ADF Binding without Struts

    After trying the CRUD tutorial from the "Complete ADF UIX Application (Browse, Create, Update, Delete)" -(http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html), I found it may be thousands of struts actions in my upcoming project.
    It will be difficult to merge and sync my team members works and the usefulness of StrutsPageFlow diagram will decrease severely although it is very convenient to drag data control operations to struts data actions without coding.
    I am trying to use ADF Controller event handler as my page flow engine to eliminate these drawbacks.
    When I use ADF controller as my page flow engine, if I have to pass ui model reference, initialize binding container, get binding container, get application module and refresh binding container, ... manually in my event handler codes just like the BasicDataAction class does in "ADF data binding primer (http://www.geocities.com/smuench/adfprimer/)"?
    Is there any document that cover this information or any suggestions?
    Daniel

    ADF Controller questions should be posted in the JDeveloper forum.

  • Data Binding in ADF UIX example trouble

    Two related questions:
    From the help example 3. Data Binding in ADF UIX example trouble in JDeveloper on UIX. If this worked I was going to run a small java class that captures the login and passes it as a messagebox with a Welcome login name on the first page, but I can't get past the example and path problems.
    From the example..."
    package yourpackage;
    import java.util.Date;
    public class CurrentDateBean
    public CurrentDateBean() { }
    public String getTime()
    return (new Date()).toString();
    Now, we want to change the page so it uses getTime(). We need to do three things: Tell UIX to data bind the text attribute. Add a <dataScope> to the page to provide data to the content. Write a small "data provider" in Java that can access the bean. First, we'll data bind "text": <text xmlns="http://xmlns.oracle.com/uix/ui"
    text="${uix.data.currentDate.time}"/>The example has one small change. The value is changed to ${uix.data.currentDate.time}, which is an expression that defines the data. This is shorthand for "get the time property from currentDate." If you tried running this example, you'd see nothing. That iss because we haven't given currentDate to the page, so the databinding failed, and the "text" is left to null. We do this by adding <dataScope> to the page: <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    Q#1?? Trying to follow the demo. The method class and method name do not seem to match the names in the above class from the demo. Am I missing a point here, please help.
    <data name="currentDate">
    <method class="yourpackage.DataDemo" method="getCurrentDate"/>
    </data>
    </provider>
    <contents>
    <text text="${uix.data.currentDate.time}"/>
    </contents>
    </dataScope>
    Q#2?? When I try and apply the demo class to my home.uix XML file with
    "<?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- start Add DataProviders (<data> elements) here -->
    <data name="currentDate">
    <method class="us.mn.state.dot.apptrack.security.CurrentDateBean" method="getTime()"/>
    </data>
    <!-- end Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <text text="${uix.data.currentDate.time}"/>
    <document>
    <metaContainer>"
    I get the following, and I don't know how to make the UIX XML accept the correct path, please help:
    �file:/C:/JDeveloper905p/jdev/mywork/ProjTrack/AppTrack/ViewController/public_html/home.uix: Parsing error, line 12, column 97: Could not find class us.mn.state.dot.apptrack.security.CurrentDateBean

    for question 1 the name of the class CurrentDateBean
    actually has nothing to do with the el expression
    uix.data.currentDate.time. The currentDate part of the
    el expression is coming from the method data provider part
    of your page:
    <data name="currentDate">
    <method class="yourpackage.DataDemo"
    method="getCurrentDate"/>
    </data>
    so if you changed the name of the data provider to "foo":
    <data name="foo">
    <method class="yourpackage.DataDemo"
    method="getCurrentDate"/>
    </data>
    your el would look like this:
    uix.data.foo.time
    by the way the uix.data part tells UIX to look for
    a <data> element define in the <provider> section of
    your dataScope.
    For question #2, do you have the java file
    us.mn.state.dot.apptrack.security.CurrentDateBean on
    your classpath and is it compiled? You will get that
    warning if it is not on your classpath.
    Also you are incorrectly interpreting the example. What
    you are doing is trying to reference the actual bean
    object and its getTime() method. What you want to do
    is write a method data provider that returns your
    CurrentDataBean. so uix.data.currentDate would return
    a CurrentDateBean instance object. the .time part of the
    el expression would tell UIX to look for a method named
    getTime() and use that value.
    let me know if you have any more questions.

  • 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

  • Reset of current row after commit in ADF-UIX

    Dear experts,
    I have developed an application with Oracle JDeveloper 10g and ADF-UIX using BC4J. The problem is that wherenever a commit is performed the current row for the master table is reset which causes confusion for the end user.
    Do you know how can I solve that problem?
    Thank you in advance,
    Constantine

    ... I forgot to mention that I use JDeveloper 3.1 on Windows NT4.
    About my problem, it seems that a "key" does not exist in the record (Row object) i'm using for.
    So, what really is a "key"? Is this an internal complicated number or just the values of some data fields, indicated as "Primary Key" in the table?
    If the answer is the second one, I have to say that at the really before commit of the record, the value of my primary key fields is NULL, because they are filled up by a "sequence object" created in the database (triggered by a "TRIGGER BEFORE INSERT", which calls the "sequence.nextval" SQL command).
    So, I really have the value of my primary key fields just after committing the record in the database, and would explain everything.
    But is really this the "key"?
    Thanks

Maybe you are looking for

  • TV out resolution

    I finally connected my MSI MEGA 180 to my TV, but got some problems. If i use 800x600 on my 36"" Sony widescreen i get 3 cm black bars on top/bottom. What resolution should i use ? I tried adding a custom resolution of 720x576, then it shrinked to 1

  • [Solved] Programs don't show up in gnome search

    Hi everybody, I just completed my first Arch install and I'm so far very, very pleased with how quick and lightweight it is. I just have a quick question. I just installed firefox using pacman, but for some reason it doesn't show up in the gnome sear

  • Installing Itunes for osx 10.1.5

    hello, I've got osX 10.1.5. I've lost my Itunes and I try to install the version iTunes 4.0.1 from this link : http://docs.info.apple.com/article.html?artnum=120134 But it doesn't work. I've got I-tunes 2.0.4 on os9 but I want a better version to dow

  • Where has the mobile emulator for windows gone?

    Posts going back a year or so, refer to the mobile emulator for windows. Those links don't seems to work/be there, is there currently a version for developers?

  • 2 users on imac

    I have placed the lightroom catalogue and the preview file on the shared users folder. The files are on an external thunderbolt drive. Now I am able to open photos on both user accounts on the imac. But when I open lightroom on one account, I can't u