IChart Trend does not refresh when NULL returned

I have a problem with an iChart displaying a trend. The chart receives data based on a selection from a dropdown box. Everything works fine as long as there is data, the trend updates correctly for the line selected from the dropdown. If, however, you select a line that is down, no current data available, then the iChart continues to display the trend from the last selection. These are based on a query that runs when a new selection is made and a button clicked.
When the page is first opened the iChart is blank until a selection is made. If the frame is refreshed, it refreshes the iChart to a blank state until a selection is made. What we need it to do is reset it to blank when no data is returned from the query, rather than caching the previous trend.
Any suggestions greatly appreciated.

Mark,
Three dashes (---) and 12/31/1969 dates are an indication that the InitialUpdate has been suppressed for the chart, meaning it doesn't run the query template.  Because the query is time based, but does not actually run the query it has 'null' dates to display for the start and end.
There is currently no way to use JavaScript to tell the iChart applet to revert back to this state.  Your best alternative may be to run a query that returns no values to display (something that doesn't produce a FatalError, which would lead to the 'No Data Available' message).
Regards,
Jeremy

Similar Messages

  • Image does not refresh when I undo

    This seems only to happen when using my Wacom. A lot of friends have the same problem.
    The viewport/canvas does not refresh when undoing a paint stroke done with my Wacom Intuos4 Wireless. But when I make a new paint stroke or zoom in or something else that requires the viewport to refresh it looks correct. I am using Photoshop CS5.1 (Production Premium CS5.5). I am running Mac OS X Lion on a MacBook Pro 13" 2011.
    Anyone else having this issue? It seems like a nasty bug to me.

    OK, I have done some testing and this happens on three friends computers. What we have in common is Wacom Tablets (different kinds, intous3, intuos4, bamboo and intuos4wl), Photoshop CS5.5, OS X Lion and Macbook 13" 2011.
    However, another friend just bought a new intuos4wl for his Macbook Pro 15" late 2008 (MacBook Pro5,1) thats running Snow Leopard. So far this seems to only happen with wacoms + cs5.5 + lion. And another friend is running CS5 on a MacBook Pro 13" 2011 without problems.
    I would say that the problem is PS CS5.1 in conjunction with Lion and Wacom tablets. Scratch what I said earlier about external monitors.

  • Detail region does not refresh when selecting from a drop-down list in master region

    I am using DW CS3 and have updated to version 1.6.1 of Spry.  Using an XML dataset, I am able to create a Spry table as the master region that links to a detail region that displays a small JPG graphic.  It works fine in this format (clicking on a row displays the correct graphic).  However, my table has 80 rows and requires the user to do too much scrolling. So I changed the master region to a drop-down repeat list, but the graphic does not change when a new selection is made in the drop down list.  Listed below is the code produced when I used the insert Spry Repeat List.  I got the same results when adding a spry:setrow="dsChartNurse".  I also tried -- onclick="dsChartNurse.setCurrentRow('{ds_RowID}');" -- which again made no difference.
    When I removed children from the spry:repeat, the master region displayed as a two column list of all 80 items in a drop-down list format.
    <div spry:region="dsChartNurse">
           <select name="select" spry:repeatchildren="dsChartNurse">
             <option value="{name}">{name}</option>
           </select>
    </div>
    <div id="image" spry:detailregion="dsChartNurse">
       <img src="{dataimage}" align="center" style="margin:50px 0 0 0"width="320" height="164" />
    </div>
    Thanks so much to anyone who can help correct my code in order to have a drop-down list display information correctly in the detail region.

    Thanks for the quick reply.  I did solve the problem I was having by changing from onclick to onchange in the master region.  But, now I have another problem with, of course, IE.  I just put in online at http://www.minursemap.org/ageDistNurse.html.  When opened in IE, the drop down list displays the last entry, but the image is for the first in the list.  Thanks again for your help.

  • Report does not refresh when link to page

    I have a report on page 1 with a column link to a report on page 2.
    The link sets items on page 2.
    If I use the 'Page in this Application' from the column link, the items on page 2 are set and the report is automatically refreshed.
    If I use the 'URL' in the column link, the items are set but the report on page 2 is not refreshed. I have more than 3 items to pass via the link so I have to use the URL. The url syntax is correct - if I click a Go button on page 2 the data refreshes fine.
    I have the same problem when clicking a tab that I have set to clear the page items - the tab clears the cache on the target page but the data in the report is not refreshed until I click the go button.
    The items on page 2 are select lists and text (always submit when enter pressed).
    How can I get the report on page 2 to auto refresh without the user having to click the Go button?
    Message was edited by: kgamble
    kgamble

    I can't post the pages (site reasons) but here's the debug.
    All the item values are set correctly to what I want but at point 041 - I get the custom "no rows returned error". If I click the refresh button (essentially a submit with go) the date appears.
    I am now using the link set up to go to 'Page in Application' with clear cache and 3 item variables set and reset pagination ticked and the request of Go (its the same result without the request and the pagination unticked).
    Any ideas?
    Thanks
    Kathryn
    0.00:
    0.00: S H O W: application="129" page="8" workspace="" request="Go" session="8392008407576157812"
    0.02: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-gb
    0.02: alter session set nls_language="ENGLISH"
    0.02: alter session set nls_territory="UNITED KINGDOM"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to dbtimezone
    0.02: NLS: Language=en-gb
    0.02: Application 129, Authentication: CUSTOM2, Page Template: 3508132500492586
    0.03: ...Supplied session ID can be used
    0.03: ...Application session: 8392008407576157812, user=PENTESTER
    0.03: ...Determine if user "KGAMBLE" workspace "1728921676563485" can develop application "129" in workspace "1728921676563485"
    0.03: Session: Fetch session header information
    0.03: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.05: ...Session State: Save "P8_IDR" - saving same value: "Y"
    0.05: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.05: ...Session State: Save "P8_STATUS" - saving same value: "Outstanding"
    0.05: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.05: ...Session State: Save "P8_SECTION" - saving same value: "P"
    0.05: ...Metadata: Fetch page attributes for application 129, page 8
    0.05: Fetch session state from database
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Authorization Check: "4732024931692101" User: "PENTESTER" Component: "PAGE"
    0.06: Clear cache: request=RP
    0.06: ...Resetting pagination for page
    0.06: Clear cache: request=8
    0.06: ...Clearing Cache for Page 8
    0.06: Nulling cache for application "129" page: 8
    0.08: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.08: ...Session State: Saved Item "P8_IDR" New Value="Y"
    0.08: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.08: ...Session State: Saved Item "P8_STATUS" New Value="Outstanding"
    0.08: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.08: ...Session State: Saved Item "P8_SECTION" New Value="P"
    0.08: Computation point: BEFORE_HEADER
    0.08: Processing point: BEFORE_HEADER
    0.09: Show page template header
    0.09: Computation point: AFTER_HEADER
    0.09: Processing point: AFTER_HEADER
    0.11: Authorization Check: "4732329087693375" User: "PENTESTER" Component: "parenttab"
    0.13: Authorization Check: "6131220670151932" User: "PENTESTER" Component: "parenttab"
    Home New Complaint
    Existing Data
    Logout |
    Complaints Complainants
    0.14: Region: Complainant Search
    Complainant Search
    0.14: Item: P8_SD_SEARCH TEXT_WITH_ENTER_SUBMIT
    SD Number
    0.16: Item: P8_SURNAME COMBOBOX Complainant -- All -- ARDVARK ARMSTRONG BAKER BLOGGS CHICKEN HARPER HILL JONES PERRY REAPER ROBINSON SHERMAN SMITH T WATSON
    0.16: Item: P8_NI_SEARCH TEXT_WITH_ENTER_SUBMIT
    NI Number
    0.16: Region: criteria_go
    0.16: Item: P8_GO BUTTON
    0.17: Item: P8_ROWS COMBOBOX Number of complaints per page 10 15 20 30 50 100 200 500 1000 5000
    0.17: Region: Complaint Search
    Complaint Search
    The list of complaints must match ALL of these specified search criteria:
    0.19: Item: P8_START PICK_DATE_DD_MON_YYYY
    Start
    0.19: Item: P8_END PICK_DATE_DD_MON_YYYY
    End
    0.20: Authorization Check: "4733005669696056" User: "PENTESTER" Component: ""
    0.20: Item: P8_TARGET COMBOBOX
    Target -- All -- Acknowledgement In Target Acknowledgement Target not Met Acknowledgement Pending Final Response In Target Final Response Target not Met Final Response Pending
    0.22: Item: P8_RECUR COMBOBOX
    Recurrent? -- All -- YES NO
    0.22: Item: P8_PAY_E COMBOBOX Ex Gratia/Interest
    Payments -- Select -- YES NO
    0.23: Item: P8_IDR COMBOBOX
    Type of Complaint -- All -- IDR Other Complaint
    0.23: Item: P8_STATUS COMBOBOX Status -- All -- Outstanding Completed 01-Jan-2007 05-Feb-2007 05-Mar-2007 12-Feb-2007 12-Mar-2007 15-Jan-2007 22-Jan-2007 26-Feb-2007 29-Jan-2007
    0.23: Computation point: BEFORE_BOX_BODY
    0.23: Processing point: BEFORE_BOX_BODY
    0.25: Region: Complaints List
    Complaints List
    0.25: show report
    0.28: Authorization Check: "4733005669696056" User: "PENTESTER" Component: "COLUMN"
    0.28: determine column headings
    0.28: activate sort
    0.38: parse query as: GENERAL1
    0.38: binding: ":P8_NI_SEARCH"="P8_NI_SEARCH" value=""
    0.39: binding: ":P8_SD_SEARCH"="P8_SD_SEARCH" value=""
    0.39: binding: ":P8_SURNAME"="P8_SURNAME" value="AA"
    0.39: binding: ":P8_START"="P8_START" value=""
    0.39: binding: ":P8_END"="P8_END" value=""
    0.39: binding: ":P8_SECTION"="P8_SECTION" value="P"
    0.39: binding: ":P8_STATUS"="P8_STATUS" value="Outstanding"
    0.39: binding: ":P8_TARGET"="P8_TARGET" value=""
    0.39: binding: ":P8_IDR"="P8_IDR" value="Y"
    0.39: binding: ":P8_RECUR"="P8_RECUR" value="AA"
    0.39: binding: ":P8_PAY_E"="P8_PAY_E" value="X"
    0.41: print column headings
    0.41: rows loop: 15 row(s)
    There are no complaints matching the criteria. Please double check all the criteria in the boxes above.
    0.42: Computation point: AFTER_BOX_BODY
    0.42: Processing point: AFTER_BOX_BODY

  • ADFf 11g, view does not refresh when model changes

    Hi,
    I am really missing something about adf faces (jdev 11.1.1.3.0).
    I have a web app, with jspx, tabpanels and pojo data controls.
    Since there is a complex logic to open new pages/tabs, sometimes I have to open new pages/tabs programmatically, and also sometimes I have
    to refresh the model behind pages/tabs programmatically.
    When I say "programmatically" I mean that the model refresh is not started by an user action on the webpage, but is started by logic in the model layer
    (say, for example, you receive a JMS message and you want to reload the content of an entire page).
    I can succesfully update the model, using debug println I can see the model is updated, but there is no way I can update the view.
    I tryed with the "addPartialTarget" code and so on, but it does not work.
    I've also bought and read "Oracle JDeveloper 11g Handbook" and "Oracle Fusion Developer Guide", but I can't find anything that can help me.
    Can someone explain me: what am I missing? I am sure there is some concept in ADF Faces I missed: this framework is too
    big not to offer what I need, so I miss something for sure.
    I hope to get an answer, I hope Shay reads this too.
    Thanks all.

    Hi,
    Active Data Services (chapter 20 in the book) is what would allow you to synchronize the screen with the model changes. The problem you face is because the data you see is what is stored in the iterators of the binding layer. An alternative solution to using ADS is to use an af:poll component that refreshes the display component when the model has changed. For this your model exposes a method that returns a time stamp that changes whenever the data has changed. Upon af:poll expiring, it calls a managed bean method, which - through the ADF binding layer - checks for the time stamp and compares it with a local saved copy (whenever the time stamp has changed, the client side will e.g. write it to the viewScope or pageFlowScope). If the time stamp has changed, the managed bean re-executes the method populating the iterator for the UI components and then issues a partial refresh of the component(s). Instead of PPR'ing each component in turn, you can try setting the ChangeEventPolicy property of the iterators to ppr"
    This should solve the problem. The latter example is also explained in chapter 20, but for ADF BC
    Frank

  • Find and replace in files does not refresh when changes are made

    Using RH10, I search for a term with the Find and Replace Options pod. I use the Find Results list as a reference only, and open each file from the Topic List. I do this instead of opening the topics from the Find Results tab because I want to see the WYSIWYG changes. Anyway, I make my edits and delete the search term from each topic. Then, to make sure I have done all the work, I run the search again. I expect to see no or at least fewer matches than before, but I still get some or all of the same results as before, even though I double-check the Design and HTML views of the topics and even check the source of a topic separately in Notepad, all indicating that the search term is gone from the topic.
    There is some ridiculous lingering or echo going on. I make sure to select Look in: <Current Project>, and the paths of all the Find Results files are fine. How do you refresh the search so that this echo doesn't occur?
    Also, I close the Find and Replace Options pod, reopen it and start the search again, and the same results are there.
    Message was edited by: DMilkes

    Hi there
    To avoid the message about the file being modified, close all topics in the editor before commencing with any find and replace operations. The message is produced because you have the aforementioned topics open in the editor.
    As you mention "Find and replace in files", I'm guessing you are referring to version 8. I just opened version 8 and performed a find and replace to confirm. There is a button allowing you to clear all.
    On the clicking and dragging to create a link, it's never worked that way. You simply cannot drag from the Topic List pod to do it. But you can from the Project Manager pod. Perhaps you should consider submitting a Wish Form to ask for the ability to click and drag from the Topic List pod to create links.
    As far as rearranging your topics into different folders, as long as you do it from inside RoboHelp you shouldn't be destroying any links. RoboHelp will update references for you as you move things around. The only issue is if you are automatically creating your TOC structure based on the project structure. But usually that's a one time shot. From there forward you just manage things using the TOC editor.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • When the screen saver turns off my front panel does not refresh.

    when the screen saver turns off my front panel does not refresh. If I use the show desktop button sometimes I can not maximize my vi by just clicking on it from the start bar.

    I utilize both a screen saver and the show desktop feature but have never seen this problem in the past. You might play around with your screen saver settings to see if they have any affect. You might also try another computer just to make sure something larger scale isn't going on. Also, testing with other programs to make sure it isn't a general OS issue is always a good idea. Other possibilities include changing your Video Driver settings, updating your video driver, and uninstalling - reinstalling.

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

  • Dg4odbc to MySQL update errors: "does not support IS NULL in this context"

    I am having a problem with 'where x is null' clauses in update statements to MySQL from 11g, using dg4odbc. Updates using the clause 'where x is null' return errors like this:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    The rejected queries never get to mysql. Furthermore, I noticed that select statements with 'where x is null' show up in the mysql query log with the where clause stripped out, although correct results are returned to SQLPlus. It looks as though 'where x is null' is stripped off by dg4odbc, which subsequently applies a secondary filter to the results received from MySQL.
    Note, both statements above work properly when issued from the MySQL client.
    Has anybody seen this? It's a big problem for me, but I can't find any references to other people having the same problem, so I assume I've got something misconfigured -- but I don't know what.
    I'm using MySQL ODBC 5.1 Driver, MySQL 5.1 Community Edition, and Oracle 11g R1 all running on a 32-bit Windows server.
    Thank you -- rick
    =============
    here's a spool of a sample oracle session:
    SQL> col descr1 for a40
    SQL> select * from t1@plazahost;
    id1 descr1
    1 hello
    2
    SQL> descr t1@plazahost
    Name Null? Type
    id1 NUMBER(10)
    descr1 VARCHAR2(255)
    SQL> select * from t1@plazahost where "descr1" is null;
    id1 descr1
    2
    SQL> update t1@plazahost set "descr1"='updated' where "descr1" is null;
    update t1@plazahost set "descr1"='updated' where "descr1" is null
    ERROR at line 1:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    SQL> spool off
    =============
    here's the mysql query log snip for the oracle session:
    100804 10:24:20 1637 Connect     moms_oracle@MOMS_HOST on moms
              1637 Query     SET NAMES utf8
              1637 Query     SET character_set_results = NULL
              1637 Query     SET SQL_AUTO_IS_NULL = 0
              1637 Query     set autocommit=0
              1637 Query     select database()
              1637 Query     COMMIT
              1637 Query     SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SHOW KEYS FROM `moms`.`T1`
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SELECT A1.`id1`,A1.`descr1` FROM `T1` A1
              1637 Query     SELECT `id1`,`descr1` FROM `T1`
    100804 10:24:28 1637 Query     COMMIT
              1637 Quit     
    =============
    here's the Oracle HS trace file for the same oracle session:
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "plazahost"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:plazahost
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2010/08/04-10:24:19
    Exiting hgolofn, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2010/08/04-10:24:20
    Entered hgolgon at 2010/08/04-10:24:20
    reco:0, name:moms_oracle, tflag:0
    Entered hgosuec at 2010/08/04-10:24:20
    Exiting hgosuec, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using moms_oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/08/04-10:24:20
    HS_FDS_CONNECT_INFO = "momsPlazaHost"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/08/04-10:24:20
    dsn:momsPlazaHost, name:moms_oracle
    optn:
    ##>Connect Parameters (len=43)<##
    ## DSN=momsPlazaHost;
    #! UID=moms_oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2010/08/04-10:24:20
    DriverName:myodbc5.dll, DriverVer:05.01.0005
    DBMS Name:MySQL, DBMS Version:5.1.35-community-log
    Exiting hgocont, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 64 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/08/04-10:24:20
    Entered hgoulcp at 2010/08/04-10:24:20
    Entered hgowlst at 2010/08/04-10:24:20
    Exiting hgowlst, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    2 instance capabilities will be uploaded
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2010/08/04-10:24:20
    Entered hgouldt at 2010/08/04-10:24:20
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/08/04-10:24:20
    Entered hgobegn at 2010/08/04-10:24:20
    tflag:0 , initial:1
    hoi:0x12f03c, ttid (len 26) is ...
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    TXN Capable:3, Isolation Option:0xf
    Exiting hgobegn, rc=0 at 2010/08/04-10:24:20
    Entered hgodtab at 2010/08/04-10:24:20
    count:1
    table: T1
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    The hoada for table T1 follows...
    hgodtab, line 651: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 255 255 0/ 0 0 0 0 descr1
    Exiting hgodtab, rc=0 at 2010/08/04-10:24:20
    Entered hgodafr, cursor id 0 at 2010/08/04-10:24:20
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:20
    Entered hgotcis at 2010/08/04-10:24:20
    Calling SQLStatistics for T1
    Calling SQLColumns for moms_oracle.T1
    Column "id1": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=4
    Column "descr1": dtype=12, colsize=255, decdig=0, char_octet_length=255, cumulative avg row len=195
    Exiting hgotcis, rc=0 at 2010/08/04-10:24:20
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:20
    type:0
    SQL text from hgopars, id=1, len=40 ...
    00: 53454C45 43542041 312E6069 6431602C [SELECT A1.`id1`,]
    10: 41312E60 64657363 72316020 46524F4D [A1.`descr1` FROM]
    20: 20605431 60204131 [ `T1` A1]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:20
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:20
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:20
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:21
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:23
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:23
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:23
    type:0
    SQL text from hgopars, id=1, len=31 ...
    00: 53454C45 43542060 69643160 2C606465 [SELECT `id1`,`de]
    10: 73637231 60204652 4F4D2060 543160 [scr1` FROM `T1`]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:23
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:23
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:23
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:24
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:27
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:27
    Entered hgocomm at 2010/08/04-10:24:28
    keepinfo:0, tflag:1
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    cmt(0):
    Entered hgocpctx at 2010/08/04-10:24:28
    Exiting hgocpctx, rc=0 at 2010/08/04-10:24:28
    Exiting hgocomm, rc=0 at 2010/08/04-10:24:28
    Entered hgolgof at 2010/08/04-10:24:28
    tflag:1
    Exiting hgolgof, rc=0 at 2010/08/04-10:24:28
    Entered hgoexit at 2010/08/04-10:24:28
    Exiting hgoexit, rc=0 at 2010/08/04-10:24:28

    is null statement is post processed. This means in case of a select ALL records from the remote database are fetched into the Oracle database and the is null statement is then processed locally in the Oracle db.
    So thze select will work as it is handled internally in the Oracle database. This also means as But "is null" isn't sent to the foreign MySQL db the update clause will fail with ORA-02070: database PLAZAHOST does not support IS NULL in this context
    You need to recode the statement or use passthrough statements.

  • Finder does not open when a file passes over (mac os X 10.8.3)

    Just installed mac os 10.8.3 mountain lion. As such, it seems with this OS X version the "finder" does not open when a file passes over (in order to move it from desktop).
    The screen dims a little and nothing else happens.
    How can I recover the "finder" functionality that apparently doesn not exist anymore?
    Is it something wrong that I am doing?
    Regards
    José

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Discoverer 10.1.2 does not refresh new added column

    Hello,
    I need help to add a new item to EUL Business Area folder for a new added column in the database table.
    When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
    Could someone shine some light on it? Would be really appreciate it!
    Ping

    I have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
    Thanks

  • Hyperlinked JSP Page does not refresh contents

    I have a very typical problem.
    In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically in this page I am using some session variables to fetch data. So I do not call the page by passing querystring instead set the attributes of session variables and then the page is called as a hyperlink.
    However if I call the same page using submit the values are refreshed.
    Help on this urgently will be appreciated.
    Thanks
    Manish

    Just set 'no-cache' option for the jsp page and test it. It should work. only you need to do is
    response.setDateHeader("Expires",0);
         response.setHeader("Pragma","no-cache");
         if(request.getProtocol().equals("HTTP/1.1")) {
              response.setHeader("Cache-Control","no-cache");
    have fun!!
    ---rajsekhar

  • Does not contain port: null

    Hi there,
    I had deployed 2 web services, one of it is working another one isn't. Both of the web services implementing the same/identical ways. The exception i got it:
    service: {http://localhost:8080/}ORMEngineService does not contain port: null
         at com.sun.xml.rpc.client.dii.ConfiguredService.portNotFoundException(ConfiguredService.java:139)
         at com.sun.xml.rpc.client.dii.ConfiguredService.getPortInfo(ConfiguredService.java:132)
         at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:245)
         at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:152)
         at gov.mohr.ems.core.entity.logic.ORMEngineWebServicesTest.test1(ORMEngineWebServicesTest.java:59)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
    ...Below are my references:
    1. mapping file:
    <?xml version="1.0" encoding="UTF-8"?>
    <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
      <package-mapping>
        <package-type>gov.mohr.ems.core.entity.logic</package-type>
        <namespaceURI>http://localhost:8080/types</namespaceURI>
      </package-mapping>
      <package-mapping>
        <package-type>gov.mohr.ems.core.entity.logic</package-type>
        <namespaceURI>http://localhost:8080/</namespaceURI>
      </package-mapping>
      <service-interface-mapping>
        <service-interface>gov.mohr.ems.core.entity.logic.ORMEngineService</service-interface>
        <wsdl-service-name xmlns:serviceNS="http://localhost:8080/">serviceNS:ORMEngineService</wsdl-service-name>
        <port-mapping>
          <port-name>ORMEngineServiceEndpointPort</port-name>
          <java-port-name>ORMEngineServiceEndpointPort</java-port-name>
        </port-mapping>
      </service-interface-mapping>
      <service-endpoint-interface-mapping>
        <service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
        <wsdl-port-type xmlns:portTypeNS="http://localhost:8080/">portTypeNS:ORMEngineServiceEndpoint</wsdl-port-type>
        <wsdl-binding xmlns:bindingNS="http://localhost:8080/">bindingNS:ORMEngineServiceEndpointBinding</wsdl-binding>
        <service-endpoint-method-mapping>
          <java-method-name>executeQuery</java-method-name>
          <wsdl-operation>executeQuery</wsdl-operation>
          <method-param-parts-mapping>
            <param-position>0</param-position>
            <param-type>java.lang.String</param-type>
            <wsdl-message-mapping>
              <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:ORMEngineServiceEndpoint_executeQuery</wsdl-message>
              <wsdl-message-part-name>String_1</wsdl-message-part-name>
              <parameter-mode>IN</parameter-mode>
            </wsdl-message-mapping>
          </method-param-parts-mapping>
          <wsdl-return-value-mapping>
            <method-return-value>java.lang.String</method-return-value>
            <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:ORMEngineServiceEndpoint_executeQueryResponse</wsdl-message>
            <wsdl-message-part-name>result</wsdl-message-part-name>
          </wsdl-return-value-mapping>
        </service-endpoint-method-mapping>
      </service-endpoint-interface-mapping>
    </java-wsdl-mapping>2. WSDL file:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="ORMEngineService" targetNamespace="http://localhost:8080/" xmlns:tns="http://localhost:8080/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types/>
      <message name="ORMEngineServiceEndpoint_executeQuery">
        <part name="String_1" type="xsd:string"/></message>
      <message name="ORMEngineServiceEndpoint_executeQueryResponse">
        <part name="result" type="xsd:string"/></message>
      <portType name="ORMEngineServiceEndpoint">
        <operation name="executeQuery" parameterOrder="String_1">
          <input message="tns:ORMEngineServiceEndpoint_executeQuery"/>
          <output message="tns:ORMEngineServiceEndpoint_executeQueryResponse"/></operation></portType>
      <binding name="ORMEngineServiceEndpointBinding" type="tns:ORMEngineServiceEndpoint">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
        <operation name="executeQuery">
          <soap:operation soapAction=""/>
          <input>
            <soap:body use="literal" namespace="http://localhost:8080/"/></input>
          <output>
            <soap:body use="literal" namespace="http://localhost:8080/"/></output></operation></binding>
      <service name="ORMEngineService">
        <port name="ORMEngineServiceEndpointPort" binding="tns:ORMEngineServiceEndpointBinding">
          <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>The following are the working copies of the same implmentation:
    1. webservices.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Document   : webservices.xml
        Created on : May 11, 2006, 5:36 PM
        Author     : david
        Description:
            Web Services Configuration File for EJB Container
    -->
    <webservices xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd" version="1.1">
      <webservice-description>
        <webservice-description-name>PersistenceService</webservice-description-name>
        <wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
        <jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
        <port-component>
          <port-component-name>PersistencePort</port-component-name>
          <wsdl-port>PersistenceServiceEndpointPort</wsdl-port>
          <service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
          <service-impl-bean>
            <ejb-link>PersistenceEJB</ejb-link>
          </service-impl-bean>
        </port-component>
      </webservice-description>
      <webservice-description>
        <webservice-description-name>ORMEngineService</webservice-description-name>
        <wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
        <jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
        <port-component>
          <port-component-name>ORMEnginePort</port-component-name>
          <wsdl-port>ORMEngineServiceEndpointPort</wsdl-port>
          <service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
          <service-impl-bean>
            <ejb-link>ORMEngineEJB</ejb-link>
          </service-impl-bean>
        </port-component>
      </webservice-description>
    </webservices>2. ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
      <display-name>Enforcement Management System Backend</display-name>
      <enterprise-beans>
      <!--<session>
          <display-name>WorkflowJAR</display-name>
          <ejb-name>WorkflowEJB</ejb-name>
          <home>gov.mohr.ems.core.workflow.logic.WorkflowRemoteHome</home>
          <remote>gov.mohr.ems.core.workflow.logic.WorkflowRemote</remote>
          <ejb-class>gov.mohr.ems.core.workflow.logic.WorkflowBean</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>
          <env-entry>
            <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
          </env-entry>
        </session>-->
        <!--<session>
          <display-name>NotificationJAR</display-name>
          <ejb-name>NotificationEJB</ejb-name>
          <home>gov.mohr.ems.core.notification.logic.NotificationRemoteHome</home>
          <remote>gov.mohr.ems.core.notification.logic.NotificationRemote</remote>
          <ejb-class>gov.mohr.ems.core.notification.logic.NotificationBean</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>
          <env-entry>
            <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
          </env-entry>
        </session>-->
        <session>
            <display-name>ORMEngineJAR</display-name>
            <ejb-name>ORMEngineEJB</ejb-name>
            <service-endpoint>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint>
            <!--<home>gov.mohr.ems.core.entity.logic.ORMEngineRemoteHome</home>
            <remote>gov.mohr.ems.core.entity.logic.ORMEngineRemote</remote>-->
            <ejb-class>gov.mohr.ems.core.entity.logic.ORMEngineBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
                <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
            </env-entry>
        </session>
        <session>
            <display-name>PersistenceJAR</display-name>
            <ejb-name>PersistenceEJB</ejb-name>
            <service-endpoint>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint>
            <!--<home>gov.mohr.ems.core.entity.logic.PersistenceRemoteHome</home>
            <remote>gov.mohr.ems.core.entity.logic.PersistenceRemote</remote>-->
            <ejb-class>gov.mohr.ems.core.entity.logic.PersistenceBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
                <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
            </env-entry>
        </session>
      </enterprise-beans>
      <assembly-descriptor>
         <!--<container-transaction>
          <method>
            <ejb-name>WorkflowEJB</ejb-name>
            <method-name>*</method-name>
          </method>
          <trans-attribute>Required</trans-attribute>
        </container-transaction>-->
        <!--<container-transaction>
          <method>
            <ejb-name>NotificationEJB</ejb-name>
            <method-name>*</method-name>
          </method>
          <trans-attribute>Required</trans-attribute>
        </container-transaction>-->
        <container-transaction>
            <method>
                <ejb-name>ORMEngineEJB</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>PersistenceEJB</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
      </assembly-descriptor>
    </ejb-jar>3. applicationcontext-ejb.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD// BEAN//EN"
        "http://www.springframework.org/dtd/spring-beans.dtd">
    <!--
        Document   : applicationcontext-ejb.xml
        Created on : April 26, 2006, 9:07 PM
        Author     : david
        Description:
            Spring configuration.
    -->
    <beans default-autowire="byName">
        <bean id="sessionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
            <property name="jndiName">
                <value>java:hibernate/SessionFactory</value>
            </property>
        </bean>
        <!--<bean id="gov.mohr.ems.core.workflow.logic.Workflow" class="gov.mohr.ems.core.workflow.logic.WorkflowImpl"/>-->
        <!--<bean id="gov.mohr.ems.core.notification.logic.Notification" class="gov.mohr.ems.core.notification.logic.NotificationImpl"/>-->
        <!-- Backend -->
        <bean id="gov.mohr.ems.core.entity.logic.DefaultQueryMethod" class="gov.mohr.ems.core.entity.logic.DefaultQueryMethod"/>
        <bean id="gov.mohr.ems.core.entity.logic.ORMEngine" class="gov.mohr.ems.core.entity.logic.ORMEngineImpl">
            <property name="queryMethodMap">
                <map>
                    <entry key="CustomerSampleKey">
                        <value>CustomerSampleClassName</value>
                    </entry>
                </map>
            </property>
        </bean>
        <bean id="gov.mohr.ems.core.entity.logic.Persistence" class="gov.mohr.ems.core.entity.logic.PersistenceImpl"/>
    </beans>4. working copy of mapping file:
    <?xml version="1.0" encoding="UTF-8"?>
    <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
      <package-mapping>
        <package-type>gov.mohr.ems.core.entity.logic</package-type>
        <namespaceURI>http://localhost:8080/types</namespaceURI>
      </package-mapping>
      <package-mapping>
        <package-type>gov.mohr.ems.core.entity.logic</package-type>
        <namespaceURI>http://localhost:8080/</namespaceURI>
      </package-mapping>
      <service-interface-mapping>
        <service-interface>gov.mohr.ems.core.entity.logic.PersistenceService</service-interface>
        <wsdl-service-name xmlns:serviceNS="http://localhost:8080/">serviceNS:PersistenceService</wsdl-service-name>
        <port-mapping>
          <port-name>PersistenceServiceEndpointPort</port-name>
          <java-port-name>PersistenceServiceEndpointPort</java-port-name>
        </port-mapping>
      </service-interface-mapping>
      <service-endpoint-interface-mapping>
        <service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
        <wsdl-port-type xmlns:portTypeNS="http://localhost:8080/">portTypeNS:PersistenceServiceEndpoint</wsdl-port-type>
        <wsdl-binding xmlns:bindingNS="http://localhost:8080/">bindingNS:PersistenceServiceEndpointBinding</wsdl-binding>
        <service-endpoint-method-mapping>
          <java-method-name>upload</java-method-name>
          <wsdl-operation>upload</wsdl-operation>
          <method-param-parts-mapping>
            <param-position>0</param-position>
            <param-type>java.lang.String</param-type>
            <wsdl-message-mapping>
              <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:PersistenceServiceEndpoint_upload</wsdl-message>
              <wsdl-message-part-name>String_1</wsdl-message-part-name>
              <parameter-mode>IN</parameter-mode>
            </wsdl-message-mapping>
          </method-param-parts-mapping>
          <wsdl-return-value-mapping>
            <method-return-value>java.lang.String</method-return-value>
            <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:PersistenceServiceEndpoint_uploadResponse</wsdl-message>
            <wsdl-message-part-name>result</wsdl-message-part-name>
          </wsdl-return-value-mapping>
        </service-endpoint-method-mapping>
      </service-endpoint-interface-mapping>
    </java-wsdl-mapping>5. working copy of WSDL file:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="PersistenceService" targetNamespace="http://localhost:8080/" xmlns:tns="http://localhost:8080/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types/>
      <message name="PersistenceServiceEndpoint_upload">
        <part name="String_1" type="xsd:string"/></message>
      <message name="PersistenceServiceEndpoint_uploadResponse">
        <part name="result" type="xsd:string"/></message>
      <portType name="PersistenceServiceEndpoint">
        <operation name="upload" parameterOrder="String_1">
          <input message="tns:PersistenceServiceEndpoint_upload"/>
          <output message="tns:PersistenceServiceEndpoint_uploadResponse"/></operation></portType>
      <binding name="PersistenceServiceEndpointBinding" type="tns:PersistenceServiceEndpoint">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
        <operation name="upload">
          <soap:operation soapAction=""/>
          <input>
            <soap:body use="literal" namespace="http://localhost:8080/"/></input>
          <output>
            <soap:body use="literal" namespace="http://localhost:8080/"/></output></operation></binding>
      <service name="PersistenceService">
        <port name="PersistenceServiceEndpointPort" binding="tns:PersistenceServiceEndpointBinding">
          <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>Anyone has any ideas?
    Many thanks!

    if we examine the webservices.xml, there are 2 part:
    <webservices xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd" version="1.1">
      <webservice-description>
        <webservice-description-name>PersistenceService</webservice-description-name>
        <wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
        <jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
        <port-component>
          <port-component-name>PersistencePort</port-component-name>
          <wsdl-port>
    PersistenceServiceEndpointPort</wsdl-port>
          <service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
          <service-impl-bean>
            <ejb-link>PersistenceEJB</ejb-link>
          </service-impl-bean>
        </port-component>
      </webservice-description>
      <webservice-description>
        <webservice-description-name>ORMEngineService</webservice-description-name>
        <wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
        <jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
        <port-component>
          <port-component-name>ORMEnginePort</port-component-name>
          <wsdl-port>
    ORMEngineServiceEndpointPort</wsdl-port>
          <service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
          <service-impl-bean>
            <ejb-link>ORMEngineEJB</ejb-link>
          </service-impl-bean>
        </port-component>
      </webservice-description>
    </webservices>one is for Persistence service, one is for ORMEngine service. it is just that i need to put them both inside the same webservices.xml

  • Reports in BIDS does not update when stored procedure is modified

    Hi,
    I am using SQL Server 2008 R2 SP1, and BIDS 2008 SP1. The problem I am about to define does NOT happen when the report is deployed to the report server, but only within the report development environment (BIDS).
    From within BIDS my reports are fed by stored procedures. The problem is when I modify a stored procedure in Management Studio, and refresh the report from within BIDS, the report does not reflect the new changes made in the stored procedure. So far I have
    found one clumsy solution to this problem:
    1) Go to the folder where the project is saved on the file system.
    2)Find the ".data" file that is associated to the particular report, then delete it.  For instance, if my report name is TestReport.rdl, find the file named TestReport.rdl.data, then delete it.
    However, I would like to find a better, and permanent solution. Please comment.
    Thank you!

    Hi AmirBabazadeh,
    Base on my research, this issue is caused by data caching in the Business Intelligence Development Studio (BIDS). When we modify the stored procedure in Management Studio, but the data of the report doesn’t change, then it will try to cached data when reprocessing
    the report. In this scenario, we should try to refresh the report/dataset, or delete the .rdl.data file to avoid this issue as you are now doing.
    In order to refresh the data of the report, the following two methods are for your reference:
    Manual refresh: Re-run the stored procedure with Query Designer in Dataset Properties dialog box.
    Auto refresh: Set the AutoRefresh property of report to an appropriate value in the Properties window.
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Busy greeting does not play when I am on another call

    My busy greeting does not play when I am on another call. My regular greeting plays. I called verizon and they gave me some **bleep** about how that feature doesn't work if you have call waiting. It USED to work for me and why do they promote it as a dfeature with their Freedom Essentials package that comes with call waiting? Does anyone know what is going on? I need this feature to work for me.

    Also in the cases of incoming calls or if you place a call and forget to dial *70, in many states you can use 3 way calling to click over and dial *70 to activate Tone Block while on a call. You will hear 3 short confirmation tones and will then be returned to your other call. HOWEVER, do this with care because in some areas there will be a charge for using the 3 way calling if you do not have a monthly subscription to it. In other states Verizon will permit you to use 3 Way solely for the purpose of activating Tone Block without a charge. So check to see what the rules are where you are beforehand.

Maybe you are looking for