Working fine in 6.3 but error in 6.4

Hi,
I developed a WebDynproApplication
Using NWDS - Version 2.0.3
J2EE Engine 6.3
I is working fine.
Then I deployed it in to the J2EE engine of our XI Server
which is of Version 6.40
There are no deployment errors.
But when I run this application i am getting the following <b>Error Message:</b>----
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
Web Dynpro code generators of DC local/Target:
No information available
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
6.40 patchlevel 87289.311
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
Operating system:
Linux, version: 2.4.21-27.EL, architecture: i386
<b>Error stacktrace:</b>
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.context.MappedAttribute.<init>(Lcom/sap/tc/webdynpro/progmodel/context/AttributeInfo;)V
     at com.sap.arun.target.wdp.InternalLoginView$ContextElement.wdpGetObject(InternalLoginView.java:192)
     at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdGetObject(NodeElement.java:481)
     at com.sap.tc.webdynpro.progmodel.context.AttributePointer.getObject(AttributePointer.java:140)
     at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1012)
     at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:984)
     at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1051)
     at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1098)
     at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:550)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.InputFieldRenderer.render(InputFieldRenderer.java:41)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:626)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:330)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:261)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:57)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:344)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:41)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:626)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:330)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:261)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:57)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:344)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:41)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:43)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:522)
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:351)
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:249)
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:204)
     at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:669)
     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
     at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
     at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Is this a versioning problem ?
Can anyone help.
Thanks in Advance

Hi Chemmam,
yes, that will be a version problem. The general rule says, always use the NWDS corresponding to your server, and the main reason are the differences within the webdynpro implementation.
So if you have a 6.40 with SP13 for example, use NWDS 2.0.13 as the base of your deployment.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! This also holds for: /thread/80658 [original link is broken]

Similar Messages

  • Workbook works fine in discoverer plus but shows error in discoverer viewer

    Hi,
    I have some issues with the parameter of a report.
    one of the parameters is
    mgr_id (eg: 1,2,3) -- from database table.
    manager names are not available in the database but they are known to users like
    1 - david
    2 - alan chris
    3 - peter
    so the requirement is
    (i) the input parameter wud be entered as 1 or 2 or 3 or null ( or in multiple combination or all).
    But the report shud have parameters in the header of the report.
    for eg: if the input parameter is mgr_id = '1' then the report shud have manager name: 'david' in the header.
    if the input is mgr_id = '1',' 2', '3' then on the report header, it shud display as manager name: 'david','alan chris','peter'
    (ii) the default value of mgr_id shud be 'ALL'. if the user enters mgr_id as 'ALL' then it shud take all the values of mgr_id and pull all the values of mgr_id (like 1,2,3)
    and the report header shud display as department name: 'ALL'
    i have developed a custom query where i used,
    select dept_id, decode(mgr.mgr_id,'1','david','2','alan chris','3','peter') as mgr_name, ..... etc.
    in discoverer admin,
    I have created LOVs (item classes) for mgr_name.
    after that going to properties of mgr_name, i have selected mgr_id as indexed item.
    and in the report i have created parameter dept based on mgr_name and selected the option -- allow to select both indexes and values.
    and in the default value i mentioned 'ALL'.
    after that i changed the condition as
    ((mgr_name = :manager name) OR (mgr_name LIKE DECODE(:manager name,'ALL','%')))
    and in the header, i used &department name --- then it displays correctly.
    but the problem is ---
    the report works fine in plus. the problem is only when parameter value is 'ALL'
    when i run the report from discoverer viewer for the very first time (after logging in), the report works fine with correct data.
    but when i run the same report second time with parameter value 'ALL', it gives an error ---
    Invalid value "''" for parameter "department name"
    i dont understand, why it works for first time and doesn't afterwards. If i logout and login again, it works fine in viewer.
    am i doing anything wrong in conditions or declaring the parameters?
    I came to know that, the very first time, when we enter 'ALL' it is taking '%' but when we run for the second time, it is taking NULL. since NULL isn't there in mgr_id or mgr_name, it is throwing that error.
    How do i fix this error?
    Thanks

    Hi Puppethead,
    I have tried with your suggestions.
    the following condition -- did not work
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(:manager name, 'ALL', '%', NULL)))
    but for the other condition ---
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(nvl(:manager name, 'ALL'), 'ALL', '%', NULL)))
    is wrong because, :manager name cud be null, when it is null, it takes 'ALL' i.e. '%' which shud not be the case.
    if the user enters null, it has to display records with null only but with the above condition it takes '%'
    The main issue which i dont understand is, the report works fine for the first time. for the second time, the report takes null values . why is it taking null values for the second time.
    Thanks

  • I am developing a book via email with a collaborator. iBooks Files are sent to me via a link to preview on iPad. This worked fine for a while but now getting download errors and the unhappy mac face saying download failed. Any ideas?

    I am developing a book via email with a collaborator. iBooks Files are sent to me via a link to preview on iPad. This worked fine for a while but now getting download errors and the unhappy mac face saying download failed. Any help appreciated. Very frustrating!

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • I have a Lacie External hdd and on usb 3. Now If I plug in the device it shows a message to connect to windows or mac (Parallels installed) so If I click on mac it works fine well and good but when I select connect to windows it shows a error.

    I have a Lacie External hdd and on usb 3. Now If I plug in the device it shows a message to connect to windows or mac (Parallels installed) so If I click on mac it works fine well and good but when I select connect to windows it shows a error.
    The error that pops up is:
    The device "Lacie Rugged USB3-FW" was unable to connect to its ideal host controller.
    Please anyone could suggest what the solution could be?
    Thanks.

    But my 1 tb hdd is already formatted via ex fat which can work on both mac and Windows no limitation of file size also like if we use ntfs or fat it has a restriction of 4gb file size.

  • Log error "Could not load file or assembly 'BarcodeConversion' or one of its dependencies. Access is denied. This code work fine in server 2008 but get this error in server 2012

    This code work fine in server 2008, but get this error in server 2012.  Do yo have any idea?

    Need some more info as to where this is installed and how.
    First thing to try would be to uninstall the solution and reinstall.
    Check the GAC for your assembly as well as web.config.
    If you don't see it in one of those places, something went wrong with the install and you'll need to start over.
    Brandon James SharePoint Developer/Administrator

  • Hello I have imac (27-inch mid 2011) 3.1ghz intel core i5 1tb serial ata hard drive, amd radeon hd 6970m my problem is imac works fine in safe mode,but when you try to startup normal it's connstantly restart by it self.

    hello I have imac (27-inch mid 2011) 3.1ghz intel core i5 1tb serial ata hard drive, amd radeon hd 6970m
    my problem is
    imac works fine in safe mode,
    but when you try to startup normal it's connstantly restart by it self.

    in safe mode works perfectly,soon as I try to boot in normal mode it's keep restarting.on screen I don't  see any line vertical or horizontal picture look normal on safe mode.but unable to start normal it just restarting over and over.I try another HDD but same things happen,I replace memory but still same.works ok in safe mode but not in normal mode.I will try to post system error report.

  • Text Index works fine consistently with Table, but not on underlying View

    Hi,
    We are facing weird issue relating to Oracle Text Indexes. Search using Oracle Text Index
    works fine on a Table, but when running query on View it gives sometimes (not consistently)
    ORA-20000: Oracle Text error:
    DRG-10849: catsearch does not support functional invocation
    DRG-10599: column is not indexed
    Sometimes it works.
    All of the below steps are run using User IR2OWNER:
    STEP 1: Table CPF_CUSTOMER created as follows (3 Non Text Indexes defined at time of creation )
    **Please note no Public Synonym is created for this Table**
    ** There is already another Table by same name CPF_CUSTOMER under different Owner (CDROWNER)
    and that Table has Public Synonym CPF_CUSTOMER created. Other Table CPF_CUSTOMER does not
    have any Views **
    create table CPF_CUSTOMER
    CPF_CUSTOMER_UUID NUMBER(20) not null,
    SAP_ID VARCHAR2(10 CHAR) not null,
    IRIS2_ID VARCHAR2(7 CHAR),
    NAME VARCHAR2(70 CHAR) not null,
    DRAFT_IND NUMBER(1) not null,
    ACTIVE_IND NUMBER(1) not null,
    REPLACED_BY_CUST VARCHAR2(10 CHAR),
    CRE_DT_GMT DATE,
    CRE_DT_LOC DATE,
    TIME_ZONE VARCHAR2(3 CHAR),
    CRE_USR VARCHAR2(8 CHAR),
    CHG_DT_GMT DATE,
    CHG_DT_LOC DATE,
    CHG_TIME_ZONE VARCHAR2(3 CHAR),
    CHG_USR VARCHAR2(8 CHAR),
    VFY_DT_GMT DATE,
    VFY_DT_LOC DATE,
    VFY_USR VARCHAR2(8 CHAR),
    DIVISION VARCHAR2(20 CHAR),
    SALES_ADMIN VARCHAR2(3 CHAR),
    MF_CUST_CDE VARCHAR2(14 CHAR),
    CR_CTRL_OFCE VARCHAR2(3 CHAR),
    DEFAULT_INV_CCY VARCHAR2(3 CHAR),
    AUTOBILL_OVRRD_IND NUMBER(1) not null,
    AUTOBILL NUMBER(1) not null,
    AUTOPRT_OVRRD_IND NUMBER(1) not null,
    AUTOPRT NUMBER(1) not null,
    AVE_PYMT_DAY NUMBER(3),
    TTL_INV_VAL NUMBER(12,2),
    INHERIT_CR_TERM_ASSGMT NUMBER(1) not null,
    NORMALIZED_NME VARCHAR2(70 CHAR),
    OB_PYMT_OFCE VARCHAR2(3 CHAR),
    IB_PYMT_OFCE VARCHAR2(3 CHAR),
    CGO_SMART_ID VARCHAR2(20 CHAR),
    REC_UPD_DT TIMESTAMP(6),
    NCPF_CUST_ID VARCHAR2(7) not null,
    CPF_CUST_LEVEL_UUID NUMBER(20) not null
    tablespace DBCPFP1_LG_DATA LOGGING;
    CREATE UNIQUE INDEX CPF_CUSTOMERI1 ON CPF_CUSTOMER
    (SAP_ID ASC) TABLESPACE DBCPFP1_LG_INDX;
    ALTER TABLE CPF_CUSTOMER
    ADD CONSTRAINT CPF_CUSTOMERI1 UNIQUE (SAP_ID);
    CREATE UNIQUE INDEX CPF_CUSTOMERI2 ON CPF_CUSTOMER
    (CPF_CUSTOMER_UUID ASC) TABLESPACE DBCPFP1_LG_INDX;
    ALTER TABLE CPF_CUSTOMER
    ADD CONSTRAINT CPF_CUSTOMERI2 UNIQUE (CPF_CUSTOMER_UUID);
    CREATE INDEX CPF_CUSTOMER_IDX2 ON CPF_CUSTOMER (UPPER(NAME))
    TABLESPACE DBCPFP1_LG_INDX;
    STEP 2: Create View CPF_CUSTOMER_RVW on above Table (and Public Synonym on View)
    This View is created under same OWNER as Table created in STEP 1 (IR2OWNER)
    create or replace view cpf_customer_rvw as
    select
    CPF_CUSTOMER_UUID,
    SAP_ID,
    IRIS2_ID,
    NAME,
    DRAFT_IND,
    ACTIVE_IND,
    REPLACED_BY_CUST,
    CRE_DT_GMT,
    CRE_DT_LOC,
    TIME_ZONE,
    CRE_USR,
    CHG_DT_GMT,
    CHG_DT_LOC,
    CHG_TIME_ZONE,
    CHG_USR,
    VFY_DT_GMT,
    VFY_DT_LOC,
    VFY_USR,
    DIVISION,
    SALES_ADMIN,
    MF_CUST_CDE,
    CR_CTRL_OFCE,
    DEFAULT_INV_CCY,
    AUTOBILL_OVRRD_IND,
    AUTOBILL,
    AUTOPRT_OVRRD_IND,
    AUTOPRT,
    AVE_PYMT_DAY,
    TTL_INV_VAL,
    INHERIT_CR_TERM_ASSGMT,
    NORMALIZED_NME,
    OB_PYMT_OFCE,
    IB_PYMT_OFCE,
    CGO_SMART_ID,
    NCPF_CUST_ID,
    CPF_CUST_LEVEL_UUID,
    REC_UPD_DT
    from CPF_CUSTOMER;
    CREATE OR REPLACE PUBLIC SYNONYM CPF_CUSTOMER_RVW FOR CPF_CUSTOMER_RVW;
    STEP 3: Insert Test row
    insert into cpf_customer (CPF_CUSTOMER_UUID, SAP_ID, IRIS2_ID, NAME, DRAFT_IND, ACTIVE_IND, REPLACED_BY_CUST, CRE_DT_GMT, CRE_DT_LOC, TIME_ZONE, CRE_USR, CHG_DT_GMT, CHG_DT_LOC, CHG_TIME_ZONE, CHG_USR, VFY_DT_GMT, VFY_DT_LOC, VFY_USR, DIVISION, SALES_ADMIN, MF_CUST_CDE, CR_CTRL_OFCE, DEFAULT_INV_CCY, AUTOBILL_OVRRD_IND, AUTOBILL, AUTOPRT_OVRRD_IND, AUTOPRT, AVE_PYMT_DAY, TTL_INV_VAL, INHERIT_CR_TERM_ASSGMT, NORMALIZED_NME, OB_PYMT_OFCE, IB_PYMT_OFCE, CGO_SMART_ID, NCPF_CUST_ID, CPF_CUST_LEVEL_UUID, REC_UPD_DT)
    values (2.26283572796028E15, '6588125000', '6588125', 'S M Mooseen And Sons(PVT) Limited', 0, 1, '', to_date('15-03-2005 08:55:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('15-03-2005 14:25:00', 'dd-mm-yyyy hh24:mi:ss'), 'IST', 'licr2', to_date('19-02-2007 00:33:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('19-02-2007 06:03:00', 'dd-mm-yyyy hh24:mi:ss'), 'IST', 'BaseAdmi', to_date('15-03-2005 09:03:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('15-03-2005 14:33:00', 'dd-mm-yyyy hh24:mi:ss'), 'ninwasa', '', '', 'SRI06588125000', '463', '', 0, 0, 0, 0, null, null, 0, 'SMMOOSEENANDSONSPVTLIMITED', '', '', '', '6588125', 109966195050333, '14-JAN-09 02.49.28.325774 PM');
    commit;
    STEP 4: Create Oracle Text Index on Table CPF_CUSTOMER
    EXEC CTX_DDL.DROP_PREFERENCE('CTXCAT_IR2_STORAGE');
    EXEC CTX_DDL.CREATE_PREFERENCE('CTXCAT_IR2_STORAGE', 'BASIC_STORAGE');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'I_INDEX_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'I_INDEX_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'K_TABLE_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'R_TABLE_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'I_ROWID_INDEX_CLAUSE', 'TABLESPACE COMMON_SM_INDX storage (INITIAL 5M)');
    -- Define IR2_AB_LEXER to handle Special Characters.
    EXEC ctx_ddl.drop_preference('IR2_AB_LEXER');
    EXEC ctx_ddl.create_preference('IR2_AB_LEXER', 'BASIC_LEXER');
    EXEC ctx_ddl.set_attribute ('IR2_AB_LEXER', 'printjoins', ',_!$~%?=({;|&+-:/)}.@`^');
    --Drop Indexes
    drop index CPF_CUSTOMER_DIDX1;
    -- CATSEARCH INDEX on CPF_CUSTOMER.NAME     
    CREATE INDEX CPF_CUSTOMER_DIDX1 ON CPF_CUSTOMER(NAME) INDEXTYPE IS CTXSYS.CTXCAT PARAMETERS ('STORAGE CTXCAT_IR2_STORAGE STOPLIST CTXSYS.EMPTY_STOPLIST LEXER IR2_AB_LEXER');
    commit;
    STEP 5: Run Query to use Oracle Text Index on Base Table (works fine always. No issues seen so far)
    SELECT a.sap_id||'|'||a.name||'|' CUSTOMER_STR
    FROM cpf_customer a
    WHERE (catsearch(a.name, 'Mooseen'||'*', '')>0);
    CUSTOMER_STR
    6588125000|S M Mooseen And Sons(PVT) Limited|
    STEP 6: Run Query to use Oracle Text Index on View created under Table (get below error periodically)
    ORA-20000: Oracle Text error:
    DRG-10849: catsearch does not support functional invocation
    DRG-10599: column is not indexed
    But it works sometimes as in STEP 5 and returns 1 row. It is never consistent. We would like to
    provide access to this Table using View only. That is why we would like to get this query working consistently
    using View.
    Any help or tips would be greatly appreciated
    Thanks
    Auro

    This is a known issue with CTXCAT indexes. Sometimes the optimizer will "drive" the query off another index, and request results from the CTXCAT index on a row-by-row basis ("does the row with rowid NNNN satisfy this CATSEARCH condition?"). That's known as a functional lookup, and is not supported by the CTXCAT indextype.
    The only solution is to try to persuade the optimizer to use a different plan which does not use a functional lookup. This can be achieved by the use of hints, or sometimes by collecting or deleting statistics on the table.

  • Skill Search works fine from search center, but it doesn't work from Lync client

    My environment consists of Lync Server 2013 and SharePoint Server 2013.
    I configured skill search and it works fine from search center, but it doesn't work from Lync client. An error appears says"error occurred during the search, please try again".
    I configured these URLs in my client policy
    set-csclientpolicy -identity global -spsearchinternalurl http://<Sharepoint Server>/_vti_bin/search.asmx
    set-csclientpolicy -identity global -spsearchcenterinternalurl http://<Sharepoint Server>/searchcenter/pages/peopleresults.aspx
    I checked these URLs from the browser and they work fine.
    I disabled anonymous access to _vti_bin, but no change then i checked lync log but i didn't find any error then i used Wireshark and found that when Lync client contacts Sharepoint, Sharepoint responded to it with internal server error http 500
    Please advice for what to do

    Hi,
    Thanks For your sharing.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Painting works fine under OS X, but vanishes under Linux (Fedora 6)

    I've written some code to draw arrays and objects, which I'm using in the CS2 class I teach (where the students are learning about references). It works fine under OS X, but (to my horror) when I tried using it in front of the students in our Linux labs, the diagrams would disappear (i.e., the window would become blank) after a few milliseconds. Sometimes we could get them to stick around by resizing the window, but this was not reliable.
    I should note that my OS X testing is under Java 1.5 (because Macs don't have 1.6 yet) and the Linux (Fedora 6, I believe) is using Java 1.6.
    The code is given below. There are two classes, ViewPanel and ObjectView. Run the main() method in ViewPanel. Both of these are in the cs2tools package.
    Any help would be greatly appreciated.
    package cs2tools;
    import java.awt.*;
    import java.awt.font.*;
    import javax.swing.*;
    import java.util.*;
    import java.util.List; // For disambiguation
    /** Provides methods to graphically display objects and arrays. */
    public class ViewPanel extends JPanel {
         /** Singleton instance to allow static method calls, hiding OOP details from students. */
         private static ViewPanel instance = null;
         private static final long serialVersionUID = 1L;
         protected static void createInstance() {
              if (instance == null) {
                   JFrame frame = new JFrame();
                   frame.setSize(640, 480);
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   instance = new ViewPanel();
                   frame.add(instance);
                   frame.setVisible(true);
         /** Displays object at position x, y. */
         public static void display(Object object, int x, int y) {
              display(object, x, y, "");
         /** Displays object at position x, y, using name in the title. */
         public static void display(Object object, int x, int y, String name) {
              createInstance();
              instance.addObject(x, y, object, name);
              instance.repaint();
         /** Refreshes the graphics to show any changes to displayed objects. */
         public static void refresh() {
              if (instance != null) {
                   instance.repaint();
         private FontRenderContext fontRenderContext;
         private Graphics2D graphics;
         private List<Object> objects;
         private List<ObjectView> views;
         protected ViewPanel() {
              objects = new ArrayList<Object>();
              views = new ArrayList<ObjectView>();
              setBackground(new Color(0x8fbfff)); // A tasteful light blue
         protected void addObject(int x, int y, Object object, String instanceName) {
              if (objects.contains(object)) {
                   throw new Error("The object " + object + " has already been displayed");
              objects.add(object);
              views.add(new ObjectView(this, x, y, object, instanceName));
         protected FontRenderContext getFontRenderContext() {
              return fontRenderContext;
         protected void paintComponent(Graphics g) {
              super.paintComponent(g);
              graphics = (Graphics2D)g;
              fontRenderContext = graphics.getFontRenderContext();
              for (ObjectView view : views) {
                   view.draw();
              for (ObjectView view : views) {
                   view.drawPointers(objects, views);
         public static void main(String[] args) {
              int[][] arr = new int[2][3];
              arr[0] = arr[1];
              display(arr, 100, 100);
              display(arr[0], 300, 100);          
    package cs2tools;
    import java.awt.*;
    import java.awt.geom.*;
    import java.lang.reflect.*;
    import static java.awt.Color.*;
    import static java.lang.Math.*;
    import java.util.List; // For disambiguation
    import static java.lang.reflect.Array.*;
    /** View of a single object, used by ViewPanel. */
    public class ObjectView extends Rectangle2D.Double {
         /** Height of each field box. */
         public static final int BOX_HEIGHT = 20;
         /** Width of each field box. */
         public static final int BOX_WIDTH = BOX_HEIGHT * 3;
         private static final long serialVersionUID = 1L;
         private Field[] fields;
         private Rectangle2D[] nameRectangles;
         private Object object;
         private ViewPanel panel;
         private String title;
         private Rectangle2D titleBar;
         private Rectangle2D[] valueRectangles;
         public ObjectView(ViewPanel panel, int x, int y, Object object, String name) {
              super(x, y, 0, 0);
              this.object = object;
              this.panel = panel;
              fields = object.getClass().getDeclaredFields();
              // Create title bar
              titleBar = new Rectangle2D.Double(x, y, BOX_WIDTH * 2 + BOX_HEIGHT, BOX_HEIGHT);
              title = name + ":" + object.getClass().getSimpleName();
              if (object.getClass().isArray()) {
                   // Adjust size of the entire cs2tools to accomodate fields
                   setRect(getX(), getY(), BOX_WIDTH * 2 + BOX_HEIGHT, BOX_HEIGHT * (3 + getLength(object)));
                   // Create field name and value rectangles
                   nameRectangles = new Rectangle2D[getLength(object)];
                   valueRectangles = new Rectangle2D[getLength(object)];
                   y += BOX_HEIGHT;
                   for (int i = 0; i < getLength(object); i++) {
                        y += BOX_HEIGHT;
                        nameRectangles[i] = new Rectangle2D.Double(x, y, BOX_WIDTH, BOX_HEIGHT);
                        valueRectangles[i] = new Rectangle2D.Double(x + BOX_WIDTH, y, BOX_WIDTH, BOX_HEIGHT);
              } else { // Not an array
                   // Adjust size of the entire cs2tools to accomodate fields
                   setRect(getX(), getY(), BOX_WIDTH * 2 + BOX_HEIGHT, BOX_HEIGHT * (3 + fields.length));
                   // Create field name and value rectangles
                   nameRectangles = new Rectangle2D[fields.length];
                   valueRectangles = new Rectangle2D[fields.length];
                   y += BOX_HEIGHT;
                   for (int i = 0; i < fields.length; i++) {
                        fields.setAccessible(true);
                        y += BOX_HEIGHT;
                        nameRectangles[i] = new Rectangle2D.Double(x, y, BOX_WIDTH, BOX_HEIGHT);
                        valueRectangles[i] = new Rectangle2D.Double(x + BOX_WIDTH, y, BOX_WIDTH, BOX_HEIGHT);
         protected void centerDot(Rectangle2D rect, Graphics2D graphics) {
              double radius = min(rect.getWidth() / 4, rect.getHeight() / 4);
              double x = rect.getCenterX();
              double y = rect.getCenterY();
              graphics.fillOval((int)(x - radius), (int)(y - radius), (int)(radius * 2), (int)(radius * 2));
         protected void centerText(String text, Rectangle2D rect, Graphics2D graphics) {
              Rectangle2D bounds = panel.getFont().getStringBounds(text, panel.getFontRenderContext());
              double x = (rect.getWidth() - bounds.getWidth()) / 2;
              double y = ((rect.getHeight() - bounds.getHeight()) / 2) - bounds.getY();
              graphics.drawString(text, (int)(rect.getX() + x), (int)(rect.getY() + y));
         /** Draw this ObjectView, but not its pointers. */
         public void draw() {
              try {
                   Graphics2D graphics = (Graphics2D) (panel.getGraphics());
                   // Draw the outer box
                   graphics.setColor(LIGHT_GRAY);
                   graphics.fill(this);
                   graphics.setColor(BLACK);
                   graphics.draw(this);
                   // Draw the title bar
                   graphics.setColor(WHITE);
                   graphics.fill(titleBar);
                   graphics.setColor(BLACK);
                   graphics.draw(titleBar);
                   graphics.setColor(BLACK);
                   centerText(title, titleBar, graphics);
                   // Draw the fields
                   for (int i = 0; i < nameRectangles.length; i++) {
                        String name;
                        String value;
                        boolean isPrimitive;
                        if (object.getClass().isArray()) {
                             name = i + "";
                             value = get(object, i) + "";
                             isPrimitive = object.getClass().getComponentType().isPrimitive();
                        } else {                         
                             Field field = fields[i];
                             name = field.getName();
                             value = field.get(object) + "";
                             isPrimitive = field.getType().isPrimitive();
                        graphics.setColor(WHITE);
                        graphics.fill(valueRectangles[i]);
                        graphics.setColor(BLACK);
                        graphics.draw(valueRectangles[i]);
                        centerText(name, nameRectangles[i], graphics);
                        if (isPrimitive) {
                             centerText(value, valueRectangles[i], graphics);
                        } else if (value.equals("null")) {
                             graphics.setColor(BLUE);
                             centerText("null", valueRectangles[i], graphics);
                        } else {
                             graphics.setColor(BLUE);
                             centerDot(valueRectangles[i], graphics);
              } catch (IllegalAccessException e) {
                   // We checked for this, so it should never happen
                   e.printStackTrace();
                   System.exit(1);
         /** Draw lines for any pointers from this ObjectView's fields to other ObjectViews in views. */
         public void drawPointers(List<Object> objects, List<ObjectView> views) {
              try {
                   Graphics2D graphics = (Graphics2D) (panel.getGraphics());
                   graphics.setColor(BLUE);
                   for (int i = 0; i < nameRectangles.length; i++) {
                        boolean isPrimitive;
                        Object target;
                        if (object.getClass().isArray()) {
                             isPrimitive = object.getClass().getComponentType().isPrimitive();
                             target = get(object, i);
                        } else {                         
                             Field field = fields[i];
                             isPrimitive = field.getType().isPrimitive();
                             target = field.get(object);
                        if (!isPrimitive && (target != null)) {
                             for (int j = 0; j < objects.size(); j++) {
                                  if (target == objects.get(j)) {
                                       ObjectView targetView = views.get(j);
                                       int x = (int)(valueRectangles[i].getCenterX());
                                       int y = (int)(valueRectangles[i].getCenterY());
                                       int tx = (int)(targetView.getCenterX());
                                       int ty = (int)(targetView.getCenterY());
                                       if (abs(x - tx) > abs(y - ty)) { // X difference larger -- horizontal line
                                            if (x < tx) { // Draw line to left side of target
                                                 graphics.drawLine(x, y, (int)(targetView.getX()), ty);
                                            } else { // Draw line to right side of target
                                                 graphics.drawLine(x, y, (int)(targetView.getX() + targetView.getWidth()), ty);
                                       } else { // Y difference larger -- vertical line
                                            if (y < ty) { // Draw line to top of target
                                                 graphics.drawLine(x, y, tx, (int)(targetView.getY()));
                                            } else { // Draw line to bottom of target
                                                 graphics.drawLine(x, y, tx, (int)(targetView.getY() + targetView.getHeight()));
              } catch (IllegalAccessException e) {
                   // We checked for this, so it should never happen
                   e.printStackTrace();
                   System.exit(1);

    Put your posted code inside code tags, or things like array element access expressions using common indices such as 'i' will be interpreted as italic by the forum software. Code tags are the word 'code' between square braces at the start and '/code' between square braces at the end.
    The fact that your code worked on a Mac is dumb luck. The code has a fatal flaw that causes the behavior you see on the Linux machines. Incidentally, Windows shows the same 'disappearing' problem.
    The error is in your draw() and drawPointers() methods. Both methods call
    panel.getGraphics()There is no guarantee that the Graphics object returned by this call is the same Graphics object being used to paint to the screen at any given moment. On a Mac, it appears to be. Elsewhere it clearly is not. You should be passing along the Graphics object handed to you in the paintComponent() method. This is the same Graphics object associated with the screen.
    protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            graphics = (Graphics2D) g;
            fontRenderContext = graphics.getFontRenderContext();
            for (ObjectView view : views) {
                view.draw(g);
            for (ObjectView view : views) {
                view.drawPointers(g, objects, views);
        } public void draw(Graphics g) {
            try {
                Graphics2D graphics = (Graphics2D) g;
    public void drawPointers(Graphics g, List<Object> objects, List<ObjectView> views) {
            try {
                Graphics2D graphics = (Graphics2D) g;

  • MyPlugin works fine in AdobeReader-9 but fails in AdobeReader-X(10).

    Hi ,
    The plugin which i created using Acrobat SDK works fine in AdobeReader-9 but it doesnt works as expected in AdobeReader-X.
    The issues with Reader-X are listed below :
    1. MyPlugin doesn't get loaded at the top as the other tollbars , which i was able to load MyPlugin in Reader-9. In Reader-X , MyPlugin gets loaded at the right-side panel under 'Tools' Tab.
    2. In Reader-X, there is an option which we can select for 'Enable Protected-Mode'.
         a. If this is enabled i am able to see all the buttons of MyPlugin but when i clicked on each button it wont do its task instead i get error message saying          unable to create HelperObject. Why MyPlugin's buttons not performing its task when the Protected-Mode is Enabled?
         b.If i disable the Protected-Mode , i will see only first two buttons of MyPlugin(MyPlugin contains 4 buttons) and the when i click on those buttons it will be         able to do its task as expected. Why i am not able to see all the buttons of MyPlugin during Protected-Mode disabled ?
    Please let me know what i should do to make MyPlugin work in Reader-X. MyPlugin is working fine in Reader-9.
    Thanks in advance. Please someone help me out from this..

    Hi Richard,
    Sorry , i could not reply to your previous posts.
    In the below link they is a sample for making IE-Plugin work when IE-Protected mode is On.There is explaination on broker process.
    http://msdn.microsoft.com/en-us/library/bb250462(v=vs.85).aspx .
    This below links may also be useful :
    http://msdn.microsoft.com/en-us/library/ms537312(v=vs.85).aspx
    http://www.codeproject.com/KB/vista-security/PMSurvivalGuide.aspx
    We may have to do the same way for our Reader Plugin, which i have also not implemented it till now,also did not get any sample for Reader Broker process.
    I did lot of search but i also didn find any.
    So what i am doing is,displaying a message box to user if the Reader Protected mode is enabled. And ask the user to Click on a button to disable Reader Protected mode. After restarting the PDF the user will be able to access MyPlugin without any error.
    As of now i am doing this, but i have to make MyPlugin to work even when the Protected Mode is enabled. For this i need to create the Broker Process.
    I know you have also spend lotz of your time to find a solution for this. But we are not getting the right ways to achieve a solution for this.
    If i get a solution for this i will definately inform you and if you get any solution please let me know.
    Thanks and Regards,
    Chetan.

  • Hello I just found a problem with my Ipod nano 6th generation. It worked fine an hour ago but then the screen turned a dark grey. Did the restore through Itunes and then it went white. But now it's totally unresponsive and seems to be off even when it is

    Hello I just found a problem with my Ipod nano 6th generation. It worked fine an hour ago but then the screen turned a dark grey. Did the restore through Itunes and then it went white. But now it's totally unresponsive and seems to be off even when it is plugged into itunes. Can't even restore it. I get Error 1415?

    Hi clarity,
    Welcome to Apple Support Communities.
    You may want to first try removing and reinstalling the latest version of iTunes by following the steps in this article:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    If you continue to receive the error message when connecting your iPod, see this article for more troubleshooting tips:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/TS1814
    Best,
    Jeremy

  • Facetime works fine on my iphone, but will not work on my MBA.

    Facetime works fine on my iphone, but will not work on my MBA.   Keeps telling me "unable to verify address" and says it is sending me a verification link to my email address but I never get anything.   Crazy. 
    After a while it tells then me that it cannot verify my email address because of a network connection  ("Could not verify the email address. Please check your network connection and try again. ")
    Does anyone have any ideas?

    Facetime works fine on my iphone, but will not work on my MBA.   Keeps telling me "unable to verify address" and says it is sending me a verification link to my email address but I never get anything.   Crazy. 
    After a while it tells then me that it cannot verify my email address because of a network connection  ("Could not verify the email address. Please check your network connection and try again. ")
    Does anyone have any ideas?

  • How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    Can you give me a screenshot of the User Accounts window in Control Panel?
    Please create a screenshot by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

  • I am trying to connect to my Wifi Network. It is a Galaxy Nexus. I am trying to connect to this Hotspot. I have an iMac that works fine with my network but for some reason with this computer I cannot connect.

    So far I have pulled the system configuration file, I have reset safari, I deleted all old passwords from the wifi network in Keychain I restarted both devices. I am at the end here and I cannot get it to work I have an iMac that works fine with my network but for some reason this computer will not connect. It is system wide specifically to my personal hotspot. I can connect fine to any other network (wifi) but just not mine. I have not changed any wifi settings. I have been trying to figure this out. I have a MacBook Pro Late 2006 model running Lion (10.7.5) So any ideas anyone? Please help!

    12. At a WiFi hotspot, you can't get connected.  The most frequent reason is the login screen for the WiFi hotspot is only able to be connected with a single type of browser.  If Safari doesn't work, try Firefox, Chrome, Omniweb, or Opera. 
    From my tip:
    https://discussions.apple.com/docs/DOC-6411

  • WHEN I GO TO PRIVACY SETTINGS AND CLICK ON EXCEPTIONS AND TYPE IN A WEB ADDRESS TO ALLOW ALL THE TIME IT DOES NOT SAVE IT THE NEXT TIME I SIGN ON TO FIRE FOX IT IS LOST. IT WORKS FINE ON MY DESKTOP BUT NOT ON MY LAPTOP THAT I JUST BOUGHT in English.

    Question
    WHEN I GO TO PRIVACY SETTINGS AND CLICK ON EXCEPTIONS AND TYPE IN A WEB ADDRESS TO ALLOW ALL THE TIME IT DOES NOT SAVE IT THE NEXT TIME I SIGN ON TO FIRE FOX IT IS LOST. IT WORKS FINE ON MY DESKTOP BUT NOT ON MY LAPTOP THAT I JUST BOUGHT in English.

    I just updated my whatsapp...clicked on whatsapp in appstore and now can access my whatsapp

Maybe you are looking for

  • Help on GR/IR GL Account Clearing

    Hi Experts, We are having problem with clearing GR/IR Account. Following is the scenario; PO -  Item 10 -  MXN 4700 (Amt in LC USD 3500) & Item 20 -  MXN 2300 (Amt in LC USD 175) Entries at GR  Debit GL (Exp)  - MXN 4700 (Amt in LC USD 3500) Credit 

  • [SOLVED] Slow ripping on Grip/No DMA on DVD drive

    Hi I am using Grip to rip and encode CDs to mp3. I am only getting 2.0x at the most on the rip, it generally tails off to about 0.8x. I am using cdparapoia as the ripper. I thought that it might be down to dma not being enabled for my dvd drive, so I

  • Database is not working properly

    Hi ; I created a DB, oracle 10g, when I try to connect to SQL : sqlplus /as sysdba I'm getting this explanation; SQL*Plus: Release 10.2.0.1.0 - Production Copyright (c) 1982, 2005, Oracle. All rights reserved. Usage 1: sqlplus -H | -V -H Displays the

  • Information Regarding Functions and Operators...@

    Hi... Please let me Where can we find the Examples of the Webi Functions in Report Designing..!! Please suggest me some good book related to the mentioned...?? I would like to know the Syntaxes also.. Regards L K Vepuri

  • Hide Archive button

    Hi , We have a requirement to hide the Archive button, We are implemented the KM Notification for the approval process. Once the manager get the mail notification he will click on the link Approve, Reject and Feedback in the mail. It will call the ur