Problem in while creating text search index
Hi,
When I am tring to create a text search index I am getting the following:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: GLOBAL_LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
ORA-06512: at "myschema.RECREATE_SEARCHINDEX", line 31
ORA-06512: at line 2
any idea what is causing the problem?
saby
Looks like you don't have a lexer called GLOBAL_LEXER, but you're trying to use it in the create index statement.
Maybe it's owned by someone other than the current user - or maybe you meant to write WORLD_LEXER.
Perhaps you could paste the whole index creation script here.
Similar Messages
-
Problem while creating text search index
Hi,
When I am tring to create a text search index I am getting the following:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: GLOBAL_LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
ORA-06512: at "myschema.RECREATE_SEARCHINDEX", line 31
ORA-06512: at line 2
any idea what is causing the problem?
sabyHi,
I think Probably what has failed is some inner kind of operation that didn't handle the exception correctly, that is dropping the offending object automatically and it issue is raised (error). Therefore you'll have to manually drop the index and re-create the desired index (that might solve your problem)
- Pavan Kumar N -
Issues while creating a search project in BCC
Hi There,
Migrating the apps from 2007.3 to 10.0.3.Experiencing issues while creating a search project.
Step #1.In Search Administration,navigating through Project > Global Settings & creating a Content Label named as "Catalog"
Step #2.Navigating through Project > Create Production Project.Creating a project with Content Set as "CatalogSet"
Step #3.Adding a Content with this info:
Content Name: Catalog
Type of Content : ATG Repository
IndexingOutputConfig Path : /atg/commerce/search/ProductCatalogOutputConfig
Host name : localhost
RMI : 10160 ( RMI port of commerce instance)
Creating a content & getting the message as New Content "CatalogTest" has been created.
Issue #1: Content is not displaying in the Content eventhough content has been created successfully.
Issue #2: Getting error for "Default Text Processing Options"
You can refer these issues in the attached screenshot "Content-Page-with-error.jpg"
Step #4.Creating a new TPO as "English" & trying to "Associate Search Project" & getting an error.Refer the attached error log "Associate-Search-Project.log"
Due to these issues, "Build Index" button is disabled.Did anybody experienced these issues? Any help/comments are appreciated.
Also attached the full server logs as commerce-server.log & publishing-server.log.
Since no options for attachment in this forum, I posted the attachment in this link.Please refer it.
https://groups.google.com/forum/?fromgroups#!topic/atg_tech/csEHi-x3Nyc
Thanks in advance!
Mani
Edited by: user11263665 on Apr 25, 2012 10:38 PMWe faced the same problem when migrating from 2007 to ATG 10.0.3. The reason this error comes up is because the Search depends on a local customization adapter /atg/searchadmin/adapter/customization/LocalCustomizationDataAdapter which adds English as a language in the text processing options.
After the migration you need to import the initial ATG search related data into your Search schema. These instructions have been mentioned in the ATG install guide. Here is the extract from the docs.
Note: The import scripts import data using startSQLRepository. Make sure your JTDataSource and
FakeXADatasource are configured to permit this in home/localconfig. JTDataSource should automatically
point to FakeXADataSource. FakeXADataSource should point to the administration database, and
FaxeXADataSource_production should point to the production database. Note that some product
installation processes, including Oracle ATG Web Knowledge Manager Self Service, need FakeXADataSource
pointed at the production database, so you may need to change the FakeXADataSource between installations.
once you are done with the configurations above, import only the searchadmindata xml into search schema as this imports the LocalCustomizationDataAdapter config information into your search schema. Once this is done, you should be good to index.
<ATG10dir>\home\bin\startSQLRepository.bat|sh -m SearchAdmin.AdminUI
-repository /atg/searchadmin/SearchAdminRepository -import
<ATG10dir>\Search10.1\SearchAdmin\common\data\initial\searchadmindata.
xml -
Hi Gurus,
In text search index is there any way to know which documents are indexed and which are not.
thanks in advance
sabyActually, I was thinking of using autonomous_transaction at the time in a proc that is called by the trigger as follows:
CREATE OR REPLACE PROCEDURE z_sync_idx
IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
ctx_ddl.sync_index('Z_TEST_IDX');
END;
CREATE OR REPLACE TRIGGER z_test_trig
AFTER INSERT OR UPDATE OR DELETE ON z_test
FOR EACH ROW
BEGIN
z_sync_idx;
END z_test_trig;
My logic was flawed however. This does work for those items marked as pending on insert...the problem is the commit for the current insert hasn't happened yet, therefore, it is not marked as pending. Inserting into the table does kick off the triggger, but doesn't sync the current record as a result.
Looks like we're back to the job... -
Exception while creating the Search view by using ZBOL
Hi,
I created a ZBOL by using
http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/
It is working fine.
I created ZBOL_K.
Now based on this I want create a Search and Search Result.
http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view/
In this when I create a Search View I getting the Exception like this.
I went step by step. But in the third page I write like this.
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<%
DATA: LV_XML TYPE STRING.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
<thtmlb:advancedSearch id = "advsO"
fieldMetadata = "<%= controller->get_dquery_definitions( ) %>"
header = "<%= TESTSEARCH->get_param_struct_name( ) %>"
fieldNames = "<%= controller->get_possible_fields( ) %>"
maxHits = "//TESTSEARCH/max_hits"
values = "//TESTSEARCH/PARAMETERS"
onEnter = "SEARCH"
ajaxDeltaHandling = "false" />
Save and Activate the view.
But when I go to the config tab. It is showing the Error.
An exception occurred in inbound plug IP_DEFAULT of target view BSP_DLC_CONF/AdvSearchConfig
An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class does not exist.
Method: CL_BSP_MODEL=>CREATE_STANDALONE_MODEL
Source Text Row: 10
And aslo in available Search Criteria I did not get fields.
So, then how I can solve this problem.
Please tell me any solution.
Regards,
B.Krishna.Hi,
I created a ZBOL by using
http://blogs.moovar.com/sap/sap-crm-create-a-custom-bol-for-web-ic/
It is working fine.
I created ZBOL_K.
Now based on this I want create a Search and Search Result.
http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view/
In this when I create a Search View I getting the Exception like this.
I went step by step. But in the third page I write like this.
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<%
DATA: LV_XML TYPE STRING.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
%>
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
<thtmlb:advancedSearch id = "advsO"
fieldMetadata = "<%= controller->get_dquery_definitions( ) %>"
header = "<%= TESTSEARCH->get_param_struct_name( ) %>"
fieldNames = "<%= controller->get_possible_fields( ) %>"
maxHits = "//TESTSEARCH/max_hits"
values = "//TESTSEARCH/PARAMETERS"
onEnter = "SEARCH"
ajaxDeltaHandling = "false" />
Save and Activate the view.
But when I go to the config tab. It is showing the Error.
An exception occurred in inbound plug IP_DEFAULT of target view BSP_DLC_CONF/AdvSearchConfig
An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class does not exist.
Method: CL_BSP_MODEL=>CREATE_STANDALONE_MODEL
Source Text Row: 10
And aslo in available Search Criteria I did not get fields.
So, then how I can solve this problem.
Please tell me any solution.
Regards,
B.Krishna. -
Help me with Points to be noted While creating a Secondary Index.
Hi,
There is a Secondary index created on a Z table which already have 9 secondary indexes. This is the 10th index that is created.
The Index is created as follows
MANDT Client
DOCNUM_REF Document number
The Table data is huge and it is more than 4Lakh records.
I have done the following analyses.
1) The fields to be used are not in any other indexes.
2) The Data is mostly different, i.e. The document reference field is having distinct data
select a~docnum a~werks_o a~docnum_ref a~natop
a~m_icms a~m_ipi
b~lgort_out b~mov_est
b~item b~matnr
appending table ti_requisicoes
from zsytmm_reqnfcb as a
inner join zsytmm_reqnfit as b
on a~branch_o eq b~branch_o
and a~requi eq b~requi
and a~mask eq b~mask
for all entries in ti_doc_saida_del
where a~docnum_ref eq ti_doc_saida_del-docnum.
What else I need to check , so that the index improves the performance. The table is using in 300 reports.Ravishankar Lanjewar wrote:
@SAP LEARNER,
>
> There is a Secondary index created on a Z table which already have 9 secondary
> indexes. This is the 10th index that is created.
>
>
> I will not recommand to create index any more on this table. If you want to create secondary index for on above table which you have mention. You don't create index only for hamper of performance of single program/report.
>
> Don't create more than 4 to 5 index on sinlge table.
>
> Refere the tread Link:[Why to create Secondary index ?|Re: When is a secondary index used (in select or where)]
Sounds like another myth that is widely spread across SAP community.
Remember, complex systems like modern DBMS do not like generalizations. I personally know standard SAP tables with 9 standard secondary indexes. In the meantime the hardware became fast enough to update several secondary indexes without really significant problems. Of course indexes require space, of course one should create indexes that are not similar and differ from each other with more than one field for example. In other words, think before creating!
But it's again incorrect to say "do not create because you already have 9 others". You did not even ask what fields are in the affected table, what are the existing indexes.
Ravishankar Lanjewar wrote:
> I will recommand to delete all the index and create 4 to 5 fresh index while doing analysis for all SQL statement using where use list depends on where condition of SQL.
I am now trying to imagine the effort to analyze 300 reports using this table and all corresponding selects. And probably you will drop supporting indexes for several reports. Some of them may be CEO/CFO-relevant reports that will run minutes/hours instead of seconds. And I would like to see the reaction of CEO when he finds out that it was the result of your "optimization" activities. -
Error while creating the CTXXPATH Index
Hi,
I tried to create the CTXXPATH index on my table, which has XMLTYPE column. But while creating the index i m getting the below error,
Error report:
SQL Error: ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
ORA-29960: line 1,
DRG-11304: function-based indexes are not supported by this indextype
29958. 00000 - "fatal error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
I m using oracle 11g version. Could anyone please help me in resolving it.Hi,
you can have a look at document "How to Create a Context Index Using a Function [ID 1063279.1]" at Oracle Support. You tried to create a CONTEXT index using a function but a function-based index is not supported. Workaround given in the document is to use a Multi_Column_Datastore.
CTXXPATH is deprecated in Oracle 11.1, better is to use XMLINDEX, see http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/whatsnew.htm.
Herald ten Dam
http://htendam.wordpress.com -
Exception while creating Employee Search Page
Hi all i have created a Employee Search Page by following some tutorials,now whenever i enter some values in the empno or ename fields and press GO i get the below exception
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for xxhciOafTrngEmpTabEO.
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
--Can anyone suggest me where i am doing wrong
Thanks in advance!!Now i am getting the below exception
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT *
FROM xxc_temp
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:3917)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3946)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(Unknown Source)
at temp.oracle.apps.po.SAWorkspace.server.SAWorkspaceAMImpl.initSummary(SAWorkspaceAMImpl.java:31)
at temp.oracle.apps.po.SAWorkspace.webui.SAWorkspaceCO.processFormRequest(SAWorkspaceCO.java:49)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:3917)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3946)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(Unknown Source)
at temp.oracle.apps.po.SAWorkspace.server.SAWorkspaceAMImpl.initSummary(SAWorkspaceAMImpl.java:31)
at temp.oracle.apps.po.SAWorkspace.webui.SAWorkspaceCO.processFormRequest(SAWorkspaceCO.java:49)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)I have a table named xxc_temp..So,what am i doing wrong now. -
IM Login problem Error while doing the search
Hi people,
I'm facing some strange behaviour with login for a couple of users, I have users that don't have problems to login and I have user that can't login, I'm sure that all of them are valid because they're login to Portal Server, and then launch the IMClient using SSO, users that can achieved the login can't found users that can't login using the "add contact" button of the IMClient.
In the javaws console I'm seeing this exceptions when a user can't login:
30 Oct 2007 14:02:18,898] [xmpp] [javawsApplicationMain] org.netbeans.lib.collab.CollaborationException: Error while doing the search
org.netbeans.lib.collab.CollaborationException: Error while doing the search
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getUserAttributes(XMPPPersonalStoreService.java:1211)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getPrivateQuery(XMPPPersonalStoreService.java:1289)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getProfile(XMPPPersonalStoreService.java:419)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.getProfile(XMPPPersonalStoreService.java:240)
at com.iplanet.im.client.manager.CurrentUserManager.getCurrentProfile(CurrentUserManager.java:350)
at com.iplanet.im.client.manager.Manager.login(Manager.java:1255)
at com.iplanet.im.client.swing.login.DefaultLoginDialog.login(DefaultLoginDialog.java:550)
at com.iplanet.im.client.swing.login.DefaultLoginDialog.connect(DefaultLoginDialog.java:540)
at com.iplanet.im.client.iIM.startLogon(iIM.java:464)
at com.iplanet.im.client.iIM.init(iIM.java:203)
at com.iplanet.im.client.iIM.main(iIM.java:950)
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 com.sun.javaws.Launcher.executeApplication(Launcher.java:1171)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1118)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:961)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:595)
/home/lalo/.sunmsgr/mx_m53852_latam_int_bbvabancomer_com_mx/messages/scripts/scripts.txt
[SafeResourceBundle] Missing resource key: iIMFrame_title
[Fatal Error] :1:2908: The element type "body" must be terminated by the matching end-tag "</body>".
com.sun.im.service.CollaborationException: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.im.service.util.ReflectUtil.getDelegatorObject(ReflectUtil.java:27)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:179)
at com.iplanet.im.client.manager.UserCache.getPrincipal(UserCache.java:161)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:171)
... 19 more
[Fatal Error] :1:2908: The element type "body" must be terminated by the matching end-tag "</body>".
com.sun.im.service.CollaborationException: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.im.service.util.ReflectUtil.getDelegatorObject(ReflectUtil.java:27)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:179)
at com.iplanet.im.client.manager.UserCache.getPrincipal(UserCache.java:161)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:171)
... 19 more
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)All of the users are under the same ldap branch, and previously I ran the command: /opt/SUNWiim/sbin/imadmin assign_services, for that ldap branch.
Any suggestion? Thanks in advance....Finally we found the cause of the problems, for an strange reason if the user has the character '�' in his 'cn' o 'sn' he can't login, for example:
bash-3.00# ldapsearch -x -h ldap -p 389 -b "c=mx,o=isp" -D "cn=DirectoryManager" -w password "cn=mx.m524217" cn sn uid
version: 1
dn: cn=mx.m524217, ou=people, c=mx, o=isp
uid: m524217
sn: VERA TREVI�O
cn: mx.m524217
When a user login to IM made a search of users if he search a user that can't login that search doesn't found nothing and the exception I posted before appears in the javaws console.
But this only happened while we are using the gateway, if we point to the IM multiplexor directly we don't have all of this problems.
Regards.. -
Issue while creating a search page..
Hi,
I am trying to create a search page.
The requirement is:
Searching a SponsorDetails by Name.
I am having a data control getSponsorByName, which is created from web service proxy.
I created a table out of return object from getSponsorByName method. And passing pageflowScope parameter which i am setting at runtime.
The idea is in search form, on entering sponsorName and click on Search button i am setting the enter sponsorName to pageFlowscope and calling dataControlBinding.
But when i open the search page at runtime, getSponsorByName method getting called and returning error message. I am not setting any parameter at. How to stop fetching data onload of table. I want to get data on click on search only.
Thanks
ThoomSee this:
http://blogs.oracle.com/shay/2010/08/delay_method_execution_when_us.html -
Urgent help needed : Error while creating r-tree index
Hi All:
When i try to create an rtree index on a multipolygon layer am getting the following error . Am using the following statement:
CREATE INDEX SYSTEM.TEST_IDX ON SYSTEM.TEST("GEOMETRY) INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_INDX_DIMS=2')
java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCR
EATE routine
ORA-00600: internal error code, arguments: [kope2upic954], [], [], [], [], [], [
Best Regards
Debasish SahuHi,
There is something wrong with the data as you loaded it.
Can you try to validate the geometries?
Thanks,
d -
Problem while creating text pop-ups in image maps
Hi,
I need to create a text pop-up on an image, on mouse hover. I tried creating bookmarks to link with the image map and it worked. The problem is when I click on the text pop-up in the image, it goes to the bookmark (which is created in a separate topic), but I don't want it to go to the bookmark which is in a different topic. Is it possible to stay on the image itself without going to the bookmark?
Regards,
LathaHello again
The option I mentioned would indeed work inside a CHM.
There is possibly a way to accomplish what you are wanting, but to do it would require lots of JavaScripting. The simple fact you are asking if it can be done suggests that you aren't comfortable working with JavaScript.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Error while creating intermedia search in portal
hi,
i tried to install the intermedia search feauture. i followed all the steps in the document,i ran all scripts necessary. i started the server by connecting as ctxsys/ctxsys..it started successfully.
then i logged into portal, enabled the intermedia search checkbox. then when i clicked on the create index
button...it shows the following error,
An unexpected error has occurred (WWS-32100)
An unexpected error has occurred (WWS-32100)
ORA-29855: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: file not found
DRG-10700: file not found (WWC-36000)
Failed to parse as PORTAL30 - (WWS-08300)
ORA-29855: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: file not found
DRG-10700: file not found (WWC-36000)
can any one help me on this..
regds
Rajeshmy database version is 9.0.1.1.1 and the version of intermedia text installed is 8.1.7. as i came to know that error might be due to external procedure calls. i checked the tnsnames and listener .ora files in my database home. i have extproc_connection_data entry in the tnsnames.ora. tnsping on extproc_connection_data is working fine.
but when i try to connect as system/manager@extproc_connection_data it throws a error. what might be the problem. can u help me out in this????
Regds
Kiran -
Error while creating the Unique Index of the Primary Key of an Item
Hi all,
I have deployed a new item (CO_CONTRACTUNIT_PRODUCT) in my publication. The deploy appears to be successfull as the item can be seen in the repository through the Mobile Manager.
The problem occurs when i sync my local DB to get the item offline. While synchronizing, the following error appears, both in the sync window and the log file ol_sync.log.
"ERROR",POL-5130,"11/09/2010 11:43:52","table or view %s.%s not found:CO_CONTRACTUNIT_PRODUCT,CO_CONTRACTID,OD_PRODUCTID,CO_CONTRACTUNITID","DB_ROSHNI"
However, the debug file gives this other error regarding this table.
ALL_INDEX:CREATE UNIQUE INDEX "TPCO_CONTRACTUNIT_PRODUCT_PK" ON CO_CONTRACTUNIT_PRODUCT (CO_CONTRACTID,OD_PRODUCTID,CO_CONTRACTUNITID) -5130Error at C:\ADE\omeprod_ol103021\olite\db\build\win\ocapi\..\..\..\src\ocapi\allindexes.cpp line:329 rc:-5130
Build date Mar 29 2010
okErr=(table or view %s.%s not found)
mess=(CO_CONTRACTUNIT_PRODUCT,CO_CONTRACTID,OD_PRODUCTID,CO_CONTRACTUNITID)
AddLog(-5130 "ERROR",POL-5130,"11/09/2010 11:43:52","table or view %s.%s not found:CO_CONTRACTUNIT_PRODUCT,CO_CONTRACTID,OD_PRODUCTID,CO_CONTRACTUNITID","DB_ROSHNI")
But the index that is being created and is giving the error is the index created automatically with the Primary Key of the table, and so nothing has been modified in that.
The primary key of the table is created with the three columns that are part of the index that is returning the error.
As I could not solve the error, I tried to drop and re-create the item in the repository, but no luck. As a last option, i tried to remove the item from the repository to be able to sync properly again (just like before creating the item), but the error still happens.
Another weird point is that i have tried creating the item in another publication of another database (but with almost equal items), and the item could was downloaded to my local DB without any problem, which makes this problem still more bizarre.
What can it be?
Any help would be great!
Roshnihave you tried unistalling the client and reinstalling it?
schema evolution changes are not always handled correctly please check thread:
Modification of publication item into Mobile Server
i quote from rekounas instructions:
If you are just adding a field, you should only have to run the alter publication item API call.
Here is an old note on schema evolution on different scenarios. The names for the APIs that they use are now deprecated. Use the ConsolidatorManager class and call the method alterPublicationItem("PUBLICATION_ITEM_NAME", "SELECT STMT") :
A) Add column
1. Upload all client data. Clients should not add new data until they are told by the administrator to sync again!!
2. Stop Mobile Server listener
3. Change the Oracle8i/9i database schema (add column)
4. Create a Java program to call the Consolidator Admin API AlterPublicationItem()
5. Start Mobile Server
6. Execute a sync from the client
7. The new column should be seen on the client. Use MSQL to check snapshot definitions.
B) Drop column
1. Upload all client data. Clients should not add new data until they are told by the administrator to sync again!!
2. Stop Mobile Server listener
3. Delete column of the base table in the Oracle database schema
4. Create a Java program to call the Consolidator Admin API DropPublicationItem()
5. Create a Java program to call the Consolidator Admin API CreatePublicationItem() and AddPublicationItem().
6. Start Mobile Server
7. Execute a sync from the client
8. The new column should be seen on the cliet. Use MSQL to check snapshot definitions.
C) Change column datatype
Changing datatypes in a repliatated system is not an easy task. You have to follow certain procedures in order to make it to work. Use DropPublicationItem, CreatePublicationItem and AddPublicationItem methods from the Consolidator Admin API. You must stop/start Mobile Server listener to refresh the cache.
1. Client syncs. Clients should not add new data until they are told by the administrator to sync again!!
2. Stop Mobile Server listener
3. Drop/create column (do not use conversion procudures) at the base table
4. Call DropPublicationItem(). Check if the ErrorQueue and InQueue no longer exist.
5. Call CreatePublicationItem() and AddPublicationItem(). Check if the ErrorQueue and InQueue reflect the new column datatype
6. Start Mobile Server. This automatically resumes application
7. Client executes sync. This should drop the old snapshot and recreate the new snapshot. Use MSQL to check
snapshot definitions.
D) Drop table
1. Client syncs. Clients should not add new data until they are told by the administrator to sync again!!
2. Stop Mobile Server listener
3. Drop base table
4. Call DropPublicationItem(). Check if the ErrorQueue and InQueue no longer exist.
5. Start Mobile Server. This automatically resumes application
6. Client executes sync. This should drop the old snapshot. Use MSQL to check snapshot definitions.
E) Add table
1. Client syncs. Clients should not add new data until they are told by the administrator to sync again!!
2. Stop Mobile Server listener
3. Add new base table
4. Call CreatePublicationItem() and AddPublicationItem() method
5. Start Mobile Server. This automatically resumes application
6. Client executes sync. This should add the new snapshot. Use MSQL to check snapshot definitions.
F) Changing Primary Keys
Chaning PK is a severe operation which must be executed manually. A snapshot must be deleted and recreated to propagate the changes to the clients. This causes a full refresh on this snapshot.
1. Client syncs. Clients should not add new data until they are told by the administrator to sync again!!
2. Stop Mobile Server listener
3. Drop the snapshot using DropPublicationItem() method o
4. Alter the base table
5. Call CreatePublicationItem()and AddPublicationItem() methods for the altered table
6. Start Mobile Server. This automatically resumes application
7. Client executes sync. The old snapshot will be replaced by the new snapstot using a full refresh. Use MSQL to check snapshot definitions.
G) To Change a Table Weight =>
Follow the procedure below to change the Table Weight parameter. The table weight is used by the Mobile Server/Synchronization to determin the sequence in which client records are applied to the Oracle database.
1. Run MGP to apply any changes in the InQueue to the Oracle databse
2. Change table weight using SetTemplateItemMetadata() method
3. Add/change constraint on the the base table which reflects the change in table weight
4. Synchronize
gl m8 -
Problem faced while creating database in oracle 10g
SQL> get C:\Oracle_Docs\ex\dbcreation_script\DBCREATIONSCRIPT
1 create database db_test
2 logfile group 1 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO01.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO02.rdo') size 100 m,
3 group 2 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO03.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO04.rdo') size 100 m
4 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\system01.dbf' size 32m
5 SYSAUX DATAFILE 'C:\oracle\product\10.1.0\oradata\orcl\testdb\SYSAUX.DBF' SIZE 325M
6 undo tablespace testundotbs
7 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\undo01.dbf' size 40 m
8 default temporary tablespace test_temptbls
9 tempfile 'C:\oracledb\testdb\tempo1.dbf' size 40 m
10 character set WE8MSWIN1252
11* national character set AL16UTF16
12 /
create database db_test
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'DB_TEST' does not match parameter db_name 'orcl'
create spfile = 'C:\oracle\product\10.1.0\db_1\database\spfiledb_test.ora' from pfile = 'C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora'
ERROR at line 1:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'C:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\PFILE\INIT.ORA'
Message was edited by:
user525645i have the init file which contains my database name.i have tries asking one sir regarding this. he checked out my problem but couldnt get the solution.he told he'll check it out and tell...he 's telling ther is 25% chance in installation problem.
my init.ora file
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=db_test
# Diagnostics and Statistics
background_dump_dest=C:\oracle\product\10.1.0\admin\orcl\bdump
core_dump_dest=C:\oracle\product\10.1.0\admin\orcl\cdump
user_dump_dest=C:\oracle\product\10.1.0\admin\orcl\udump
# File Configuration
control_files=("C:\oracle\product\10.1.0\oradata\orcl\testdb\control01.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control02.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control03.ctl")
db_recovery_file_dest=C:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
Message was edited by:
user525645
Maybe you are looking for
-
How can i move an mp4 from my PC into a track on garage band on my iphone 4S? Help!
I have a recorded track saved as an Mp4 that i am desperate to save as a track on a garageband song so i can add track to it. I am not too savvy with IOS stuff and really need some help in straighforward terms! IOS 7 on iPhone 4S Thank you!
-
Shared library deployment error in jdev- 11.4, PS3 release
Hi, I am facing an shared library reference exception.Please help in resolving it. Find the below exception. <Mar 10, 2011 4:39:16 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1299755348296
-
Help installing Brother 4100e printer on MacBook Pro running Mountain Lion
I can't install my Brother 4100e printer on MacBook Pro. It is listed on the support page as a printer that software is available for. I have updated my software. I have done everything that I know to do. When I plug the printer into my computer it d
-
My MacBook Pro shuts down when I start downloads or new tabs!
I have a MacBook Pro that I bought in late 2009, running OSX (10.7.1); when running Google Chrome I've had a problem for the past several weeks in that my laptop randomly shuts down when I start new downloads and open new links in other tabs. This ne
-
Character spacing messes printing and PDF exporting
I'm having problems printing and exporting to PDF from Pages. The problem is that when I'm using Character spacing (ie. -7%) they display different on screen, on paper and in PDF. They display right on the screen. But PDF and printing get messed up,