Testing BC i ADF - problem

Hi.
I'm trying to use example from "Oracle JDev 10g Handbook".
I'm using OracleXE.
I have testing schema (named "GM"). That schema contains 3 tables.
I have created Connection - connection is named "XE_GM" and it is working fine (connectiong, showing object).
I was create new project (Swing/ADF), create model "Businenss Components from Tables". Next i try to "Test" module created by that model.
On "Test" i was select that same connection "XE_GM".
I got window with error
"(oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.10B6B7E49B2) failed to checkout an application module due to the following exception:
----- LEVEL 1: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
----- LEVEL 2: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
----- LEVEL 3: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
----- LEVEL 4: DETAIL 0 -----
(oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
----- LEVEL 5: DETAIL 0 -----
(java.sql.SQLException) Io exception: The Network Adapter could not establish the connection"
Anybody have some suggestions ?
Should i change DB (not testing on XE) ?

Problem solved !
Local firewall software was blocking background process TCP connection :)

Similar Messages

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • HT4356 Can't find the wireless HP 3050 printer via phone or I pad. Printed test page found no problems and stated setup was successful. Any idea what the problem is? Thanks. is

    Can't find the wireless signal from my newly installed HP 3050 printer via I phon or I pad. Printer test page found no problems and states successful setup. Any ideal on the cause of the problem? Thanks.

    Hello Sashalechat,
    Welcome to the HP Forums.
    I see that you are having an issue when attempting to connect to a wireless network.
    Have you changed the router for a new one? 
    Make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    Make sure that you are with in the 4'-20' range.
    You can try the HP Print and Scan Doctor as well.  Let me know if you see any error codes or messages.
    Write me back when you have time.
    Cheers, 
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • HT201257 I just bought an imac in september 2012.  And i just find out that my microphone is not working.  So i did an apple hardware test and with no problems found?  I have sound but no one can hear me, not even the computer.  Should i bring it back to

    I just bought an imac in september 2012.  And i just find out that my microphone is not working.  So i did an apple hardware test and with no problems found?  I have sound but no one can hear me, not even the computer.  Should i bring it back to the store

    Before you go through that trouble open About this Mac > More Info... > System Report > Audio and see if the system actually knows it has a microphone.  Then you can look into Applications > Utilities >  Audio MIDI Setup and see if the microphone is there, select it and make sure the sliders are set to full. Then in System Preferences look for Sound > Input and make sure it shows up there and the sliders are at least half way up. If none of that works do a
    SMC RESET
    http://support.apple.com/kb/HT3964
    Shut down the computer.
    Unplug the computer's power cord and ALL peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    It is the 5 second timing that initiates the reset.
    then go through the process of looking for the microphone again as the reset may reenable the mic.

  • ADF: Problem with List and ListOfValues bindings

    In my page I have panelSplitter.
    In first facet I have panelCollection with ADF tree. For the tree definition I have Iterator binding, which contains the elements with no parent and one accessor, which define a recursive master-detail hierarchy. For the tree node I have specified TragetIterator property, that look up second iterator binding, which containes all tree elements (parents and their children).
    In second facet I have panelForm with input fields, based on second iterator binding. So when the user clicks on any node in the tree, it can see and edit in input fields the data for this node.
    In panelCollection I have placed two buttons to create a new node and to delete current node.
    By creation of new node I do the following:
    1) From currently selected node I get the value of one attribute named Code, which is alternate unique key;
    2) From second iterator binding I get the ViewObject, create a new Row and for the "parent" attribute I set the value derived from step 1.
    3) I rerender through PPR tree component and PanelForm with input fields.
    As result I have a new empty node in the tree and empty input fields in second facet, which must be populated and submitted (commited).
    My problem happens after I populate all fields in panelForm, when I commit changes (press Button with Commit action binding) and rerender page content. The exception, which is trown is listed below.
    I want to make the follwing additional remarks:
    1) My primary key in ViewObject is ROWID. I need this attribute to uniquely identify created new rows.
    2) The problem happens only when in panelForm I have field based on Model driven List or ListOfValues binding (<af:selectOneChoice> or <af:inputListOfValues>).
    When I create a new row the ADF BC assign to it one "dummy" ROWID (for example 317499) and after Commit this ROWID is replaced wtih actual ROWID from database. But I don't understand, why after commit of changes on the page the method findByKey of oracle.jbo.server.ViewObjectImpl is called with initial "dummy" ROWID (317499)?
    When there is no field based on List or ListOfValues binding, then there are no calls of findByKey method and there is no such problem.
    And that is the exception:
    2009-7-29 18:04:54 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: ADFc: ORA-01410: невалиден ROWID
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT OU.CODE, OU.NAME, OU.ABBREVIATION, OU.ORGUNIT_TYPE, OU.PARENT_UNIT, OU.IS_VALID, OU.ROWID FROM ORG_UNITS OU WHERE (OU.ROWID = :1)
         at oracle.jbo.server.BaseSQLBuilderImpl.processException(BaseSQLBuilderImpl.java:3837)
         at oracle.jbo.server.OracleSQLBuilderImpl.processException(OracleSQLBuilderImpl.java:4621)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1150)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:762)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:5681)
         at nsi.isbs.dmc.common.IsbsViewObjectImpl.executeQueryForCollection(IsbsViewObjectImpl.java:56)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1005)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1162)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1082)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1076)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:13994)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:13758)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:13752)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:4891)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:4679)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:4673)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:9456)
         at oracle.jbo.server.ApplicationModuleImpl.getListBindingName(ApplicationModuleImpl.java:8421)
         at oracle.adf.model.bc4j.DCJboDataControl.getListBindingName(DCJboDataControl.java:2244)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2366)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getAttributeDefs(JUCtrlListBinding.java:2327)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:497)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:487)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isInternalAttributeUpdateable(JUCtrlValueBinding.java:3262)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1617)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1695)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2512)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.isUpdateable(JUCtrlListBinding.java:3357)
         at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:85)
         at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:101)
         at javax.el.CompositeELResolver.isReadOnly(CompositeELResolver.java:353)
         at com.sun.faces.el.FacesCompositeELResolver.isReadOnly(FacesCompositeELResolver.java:113)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:128)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:341)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:113)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.decodeInternal(SimpleInputListOfValuesRendererBase.java:88)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:55)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:236)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:134)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.sql.SQLException: ORA-01410: невалиден ROWID
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:891)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3425)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1490)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1040)
         ... 104 more
    ## Detail 0 ##

    I have resolved my problem. I have changed the type of list binding to be Dynamic List (not Model Driven List).

  • ADF problems with HP Laserjet 400 Pro MPF475dn

    Our printer doesn't take the paper when it is put in the ADF, sometimes it does take the paper (about 1 of the 10 times) but mostly it jus refuses to pick up the paper.
    How can we resolve this problem?
    We allready updated the firmware to the newest version, cleaned the rolls, but nothing seems te help.
    Who can help us out?
    Lebotec
    This question was solved.
    View Solution.

    Hello @Lebotec , and welcome to the HP Forums.
    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at HP Commercial LaserJet Forums.
    I hope this helps!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Mac testing server URL prefix problem

    Greetings,
    I've searched through a bunch of forum and support topics
    with no success so here's a post.
    I'm building a site on a Mac using some basic PHP (not
    database driven) and would like to be able to preview the files in
    a browser. I'm setting up a testing server with PHP/MySQL as the
    Server Model, Access as Local/Network, and the location of the site
    folder pointed to. My problem is the URL prefix...
    I have tried the following URL prefixes and keep getting the
    same error message in DW ("Dreamweaver cannot use the prefix you
    entered to display live data....HTTP error:0") and a connection
    failure in the browser. The following attempts include the name of
    my hard drive, my Mac User name, and the name of the folder my site
    rests in.
    http://myHDname/
    http://myHDname/~myUserName/
    http://myHDname/~myUserName/siteFolderName/
    http://localhost/
    http://localhost/~myUserName/
    http://localhost/~myUserName/siteFolderName/
    Any ideas as to what I'm doing wrong?
    Thanks!

    "dixiedoo" <[email protected]> wrote in
    message
    news:fbp5vi$mlm$[email protected]..
    > Greetings,
    >
    > I've searched through a bunch of forum and support
    topics with no success
    > so
    > here's a post.
    >
    > I'm building a site on a Mac using some basic PHP (not
    database driven)
    > and
    > would like to be able to preview the files in a browser.
    I'm setting up a
    > testing server with PHP/MySQL as the Server Model,
    Access as
    > Local/Network, and
    > the location of the site folder pointed to. My problem
    is the URL
    > prefix...
    >
    > I have tried the following URL prefixes and keep getting
    the same error
    > message in DW ("Dreamweaver cannot use the prefix you
    entered to display
    > live
    > data....HTTP error:0") and a connection failure in the
    browser. The
    > following
    > attempts include the name of my hard drive, my Mac User
    name, and the name
    > of
    > the folder my site rests in.
    >
    >
    http://myHDname/
    >
    http://myHDname/~myUserName/
    >
    http://myHDname/~myUserName/siteFolderName/
    >
    http://localhost/
    >
    http://localhost/~myUserName/
    >
    http://localhost/~myUserName/siteFolderName/
    >
    > Any ideas as to what I'm doing wrong?
    My guess is: you are not actually using a web server to serve
    your
    documents.
    see if reading the documentation helps....
    Preparing to build dynamic sites
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/WSc78c5058ca073340dcda9110b1f693f21-7a31.h tml
    Joris

  • Creating test data for a problem

    Hi,
    I've been using this forum for a few months and it has been extremely useful. The problem is that I actually have no idea how to create test data for a specific problem. I've tried googling but to no avail. I have had other users create test data for some of my problems using a 'WITH' statement but it would be great if someone could explain the logic behind it and how to approach a specific problem where in the query I use multiple tables.
    I know it's probably a stupid question and I'm relatively new to sql but it would help a lot if I understood the process.
    Banner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Look at the point 3 and 4. You can also follow other points too.
    Please consider the following when you post a question. This would help us help you better
    1. New features keep coming in every oracle version so please provide Your Oracle DB Version to get the best possible answer.
    You can use the following query and do a copy past of the output.
    select * from v$version 2. This forum has a very good Search Feature. Please use that before posting your question. Because for most of the questions
    that are asked the answer is already there.
    3. We dont know your DB structure or How your Data is. So you need to let us know. The best way would be to give some sample data like this.
    I have the following table called sales
    with sales
    as
          select 1 sales_id, 1 prod_id, 1001 inv_num, 120 qty from dual
          union all
          select 2 sales_id, 1 prod_id, 1002 inv_num, 25 qty from dual
    select *
      from sales 4. Rather than telling what you want in words its more easier when you give your expected output.
    For example in the above sales table, I want to know the total quantity and number of invoice for each product.
    The output should look like this
    Prod_id   sum_qty   count_inv
    1         145       2 5. When ever you get an error message post the entire error message. With the Error Number, The message and the Line number.
    6. Next thing is a very important thing to remember. Please post only well formatted code. Unformatted code is very hard to read.
    Your code format gets lost when you post it in the Oracle Forum. So in order to preserve it you need to
    use the {noformat}{noformat} tags.
    The usage of the tag is like this.
    <place your code here>\
    7. If you are posting a *Performance Related Question*. Please read
       {thread:id=501834} and {thread:id=863295}.
       Following those guide will be very helpful.
    8. Please keep in mind that this is a public forum. Here No question is URGENT.
       So use of words like *URGENT* or *ASAP* (As Soon As Possible) are considered to be rude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ADF problem when use tomahwak's dataScroller

    Hi,
    I has tried to use ADF in apache's MyFaces.
    when I use tomahwak's dataScroller get from MyFaces's sample code
    <h:panelGrid columns="1" styleClass="scrollerTable2" columnClasses="standardTable_ColumnCentered" >
    <t:dataScroller id="scroll_1"
    for="data"
    fastStep="10"
    >
    <f:facet name="first" >
    <t:graphicImage url="images/arrow-first.gif" border="1" />
    </f:facet>
    </t:dataScroller>
    it will appear some warning message
    2006/2/22 01:24:25 oracle.adfinternal.view.faces.ui.action.ActionUtils getFormName
    Warining: Action can only be used within a form, or by specifying the formName attribute
    and the hyperlink in dataScroller will disappear.
    if I remove
    <application>
    <default-render-kit-id>
    oracle.adf.core
    </default-render-kit-id>
    </application>
    then it's ok. It seem like ADF has done something that cause the dataScroller can't work properly.
    does anyone ever have this problem ??
    Regards,
    Angus

    Franck,
    Thanks for your answer, perhaps I don't understand but you tell me.
    My problem is located on the handelKeys function, I've no problem to set the focus correctly.
    The focus is set with the java code below (where setFocusId is a javaScript function)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service = Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("setFocusId('").append(getInputTextId()).append("')");
    service.addScript(facesContext, script.toString());or same result (both are working)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service = Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("var inputText = AdfPage.PAGE.findComponent(\"").append(getInputTextId()).append("\");");
    script.append("inputText.focus();");
    service.addScript(facesContext, script.toString()); What I don't understand in my case is why my handleKeys function is not called when I use the arrow up key after the focus was set by the method above. I have to click on the inputText and then use the arrow up key in order to see that the handleKeys function was called. I don't have this problem with the tab key.
    is it more clear ? sorry for that
    Benjamin
    ps : I will try to use af:resource and get information on this point.

  • 10g Struts/ADF: Problem with updating a DataAction

    We have a web application (JSP/Struts/ADF) that we developed using the 10g (build 1542) Struts Page Flow designer. It is a great tool for building the application the first time but when we go to change something, DataActions end up being ignored when the application is run.
    Here is the scenario:
    We have SQL-based VOs which require a paramter at run-time. We use a Struts DataAction to bind the VO SQL query through a custom method in the App Module (AM). This works fine the first time that we create it and run it.
    The problem comes when we want to change the custom method (which was already associated with a DataAction) in the AM and then rebuild and run the app, it looks like the DataAction is not there and we get an error on the DataPage (that the DataAction forwards to) which says that "not all variables bound". We have printlns in the custom method so we know when it is accessed and in the scenario that I pose here, the custom method is not called.
    This has also occurred when we had a DataPage forward to another DataPage and then later we added a DataAction in between. The application continued to forward from the DataPage to the DataPage completely ignoring the DataAction that we added and that can be seen on the Struts diagram.
    The only way that we have been able to work around this issue is to delete the Data Action and the DataPage from the struts diagram and then recreate them under a different name. This seems like it is a bug and I wonder if anyone else has experienced this?
    Is this a known bug which will be fixed in the production release?
    Thanks, Les

    This seems to be related to Bug# 3537056.
    Please contact Worldwide Support and register that you are running into this bug. Unfortunately, the bug doesn't list a workaround at present.
    Once you have correctly set SelectMethod=Cursor and passed the -Djbo.sql92.locktrailer=null runtime parameter to avoid using the FOR UPDATE clause, you hit an issue when the UPDATE statement is issued that our developers are looking into.

  • Test case: unusual locking problem or expected behaviour?

    I have tried the following test case on both 9.0.1 and 10.2.0. The problem I am seeing here is that a table receives an exclusive lock that doesn't get trapped by a FOR UPDATE NOWAIT condition.
    Test case setup
    create table x (
    f1 number not null,
    f2 varchar2(100) );
    create table y (
    f1 number not null,
    f2 number not null,
    f3 number,
    f4 varchar2(100) );
    alter table x add constraint pk_x
    primary key (f1);
    alter table y add constraint pk_y
    primary key (f1);
    /*** This is a self-referential integrity check ****/
    alter table y add constraint fk_y
    foreign key (f3)
    references y ( f1 );
    create or replace trigger trig_y
    before insert on y
    for each row
    begin
    update x
    set f2 = 'trig test ' || to_char(sysdate,'ddmmyyyy hhmiss')
    where f1 = :new.f2;
    end;
    insert into x values (1,'test 1');
    insert into x values (2,'test 2');
    insert into x values (3,'test 3');
    insert into y values (2,2,2,'y test 2');
    insert into y values (3,3,3,'y test 3');
    commit;
    Test case actions
    This requires 3 independent sessions to be started.
    * SESSION 1 *
    select * from x
    where f1 = 1
    for update nowait;
    * SESSION 2 *
    insert into y values (1,1,1,'test');
    -- This session waits because of the trigger that is attempting to update the
    -- same row that is locked in session 1.
    * SESSION 3 *
    select *
    from y
    where f1 = 2
    for update of f1 nowait;
    -- The row lock succeeds.
    -- Now update the primary key column in Y.
    update y
    set f1 = 2
    where f1 = 2;
    -- This update statement waits because of a lock. Why is this as the row
    -- has been successfully locked by the FOR UPDATE?
    -- Remove the foreign key constraint from table Y and try again. This time
    -- the update will not wait but will complete successfully.
    Is this expected behaviour, or a bug in self-referential integrity checks, or in
    all foreign keys? The reason this came about in our application is because FORMS attempts to update every column on a block regardless of whether all values in the block have changed. This includes the primary key columns.
    We have worked around this issue for now by setting the 'update changed columns only' property on blocks in the forms.

    No. All you are doing there is stating your intention of later updating the selected locked rows.
    You may not even update any rows, if the program logic decides that way. Your actual update is the only case where the validation of foreign key will be applied. It cannot be done at the time of doing FOR UPDATE select, since the database does not know what new value is going to be when you do update so it is not possible to check.
    Also, note that yoru statement did NOT fail. It was just rying to validate your foreign key, and in that process wants to make sure no one else makes the changes. The statement was waiting for resource to be free, it DID NOT FAIL (no error was raised).

  • Oracle JDeveloper ADF Problem

    hi to all,
    I encountered a problem while designing a web page using JDeveloper (ADF)...
    Firstly i would follow these steps
    1. Create DB Connection
    2. Create entity tables
    3. Create view objects
    4. Create face-config.xml
    5. Create relevant JSPX pages using ADF core drag and drop function from DataControlPalette
    All the steps work out just fine... However, if i try to repeat steps 2, 3, 5 again to add new functions, the JSPX pages created will not display a inputtext box field when being rendered on Internet Explorer (JSPX pages are created using ADF drag and drop function from DataControlPalette)
    Its seems that if i take away the bindings from the inputtext box, the inputtext box would be displayed, however it would not pass the values to next page nor add values into DB...
    Is there anyway i can keep the bindings approach and remove the error in inputtext??

    Hi Frank,
    I followed the same steps as in the tutorial of SRDemo to develop the application
    It always works on the first use case of the application. However, only if i try to add another new use case(entities, view object and jspx pages) will the inputtext not be rendered on IE...
    It seems that if i use a view object created through their sql (Select from DB...), i can obtain information and display it in a adf form where the inputtext box is displayed... However using the view object created programically, the inputtext box does not come out in adf form...

  • UIX/ADF - Problems in Shuttle with JUCtrlListBinding

    I have a problem with an shuttle on my application.
    When try show items on leading trail, it show nothing and i get this stack error on console :
    04/09/30 18:21:21 java.lang.ArrayIndexOutOfBoundsException: 0
    04/09/30 18:21:21      at oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(JUCtrlListBinding.java:777)
    04/09/30 18:21:21      at oracle.jbo.uicli.binding.JUCtrlListBinding.setValueAt(JUCtrlListBinding.java:1368)
    04/09/30 18:21:21      at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:1016)
    04/09/30 18:21:21      at oracle.jbo.uicli.binding.JUIteratorBinding.updateValuesFromRows(JUIteratorBinding.java:301)
    04/09/30 18:21:21      at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:533)
    04/09/30 18:21:21      at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:1580)
    04/09/30 18:21:21      at oracle.adf.controller.lifecycle.PageLifecycle.refreshModel(PageLifecycle.java:677)
    04/09/30 18:21:21      at oracle.adf.controller.struts.actions.DataAction.refreshModel(DataAction.java:374)
    04/09/30 18:21:21      at oracle.adf.controller.struts.actions.DataAction.refreshModel(DataAction.java:563)
    04/09/30 18:21:21      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:128)
    04/09/30 18:21:21      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:63)
    04/09/30 18:21:21      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:233)
    04/09/30 18:21:21      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:163)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    04/09/30 18:21:21      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    04/09/30 18:21:21      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    04/09/30 18:21:21      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    04/09/30 18:21:21      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    04/09/30 18:21:21      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    04/09/30 18:21:21      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    04/09/30 18:21:21      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    04/09/30 18:21:21      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    04/09/30 18:21:21      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    04/09/30 18:21:21      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    04/09/30 18:21:21      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    04/09/30 18:21:21      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    04/09/30 18:21:21      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    04/09/30 18:21:21      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    04/09/30 18:21:21      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    04/09/30 18:21:21      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    04/09/30 18:21:21      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    04/09/30 18:21:21      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    04/09/30 18:21:21      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    04/09/30 18:21:21      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    04/09/30 18:21:21      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:228)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
    04/09/30 18:21:21      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    04/09/30 18:21:21      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    04/09/30 18:21:21      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    04/09/30 18:21:21      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    04/09/30 18:21:21      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    04/09/30 18:21:21      at java.lang.Thread.run(Thread.java:534)
    Could anyone give me a ligth ?
    Thanks

    NO i've create my own. I've been tried with LOV list and DCNavigation list, and i need this because i must diplay text, descripion and really id. Usually this error only occurr when my leading or trailing list have no records ...
    Thanks for the reply

  • Need information on open source testing tools for ADF web applications

    Hi experts,
    I need to investigate on new feasible open source Java testing tools for testing ADF web applications. I have tried to google a lot but getting confused.
    My requirements as as under:
    1. The tool must be open source.
    2. It should be easy to understand and to work upon by the tester and developers.
    Selenium based testing approach is already in place for testing the application but need to search for tools other than Selenium which shall prove suitable for testing ADF applications. Kindly let me know your inputs / suggestions.
    Thanks a lot in advance.
    Neelanand

    Hi,
    Have a look at JMeter http://jakarta.apache.org/jmeter/index.html
    1. The tool must be open source.It is.
    2. It should be easy to understand and to work upon by the tester and developers.I guess it is.
    There are some specifics in configuring it for ADF, but Chris Muir wrote a nice blog about how it's done, check it out http://one-size-doesnt-fit-all.blogspot.com/2010/04/configuring-apache-jmeter-specifically.html
    Pedja

  • Officejet Pro 8600 Plus ADF Problems

    I had the same problem and tried EVERYTHING... finally I pressed the lid down while sending the fax and it went through.  I put a couple cans of motor oil on the lid for pressure and it works.  That was a month ago.  It has been sending faxes fine with the oil cans on it.  Nothing else worked.

    Hi,
    Please follow this document for ADF not picking paper issue
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c04289891&tmp_task=solveCategory&cc=us&dlc=en&la​...
    the adf door has lock on both the sides and you have to make sure that it locks in place.
    Hope this helps.
    Although I am an HP employee, I am speaking for myself and not for HP.
    *Say thanks by clicking the "Kudos! Star" which is on the left*
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.

Maybe you are looking for