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.
Similar Messages
-
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. -
I have used a 7520 and an 8700 now I have an 8300 and I am sad to say the contacts view looks more like pocket pc then the traditional easy to see blackberry view where you could see many contacts easy on the screen . The old way when you were searching for a contact the search results would show one line per contact instead of the contact taking up two lines...when viewing on the screen. when you can view one contact per line you can see more contacts is there a way to get back to the old view where you would see one line per contact when keyword searching in contacts?
Hi Robert,
I hear you, but don't give up on TrackPoint buttons just yet:
http://shop.lenovo.com/us/en/tablets/thinkpad/thinkpad-helix-2nd-gen/
Z.
The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc. The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
English Community Deutsche Community Comunidad en Español Русскоязычное Сообщество -
Hello I bought a G-Raid GR4 4000 4 TB and used it for a backup with my new Imac27. Now this is all I get. "Time Machine couldn’t complete the backup to “G-RAID”. to complete backup. An error occurred while creating the backup folder."
Any idea what I should do?If you have more than one user account, these instructions must be carried out as an administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message. Clear the text field and scroll back in the log to that time. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.
If all you see are messages that contain the word "Starting," you didn't clear the search box.
If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
When posting a log extract, be selective. Don't post more than is requested.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Some personal information, such as the names of your files, may be included — anonymize before posting. -
Hi,
I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below
<target name="jdbcinfo">
<wlconfig password="weblogic"
username="weblogic"
url="${url}"
<query domain="mydomain" type="Server"
name="myserver" property="serverbean"
/>
<create type="JDBCConnectionPool"
name="jdbcpoolA"
property="jdbcPoolProp">
<set value="false"
attribute="ShrinkingEnabled"
<set value
attribute="
<set value="${serverbean}"
attribute="Targets"/>
The JDBCConnectionPool is created as long as I don't specified the attribute "Targets"
Once I add the target I get the following error
<JDBC> <BEA-001129> <Received exception while creating connection for pool "poolname" invalid arguments in call>
Please any help will be greatly appreciated.
ThanksIn your applicaion module configurations check if you are using 'JDBC URL' or 'JDBC DataSource'. You should use JDBC DataSource. Then make sure that your deployment descriptor (menu 'Application->Application Properties->Deployment) has the 'Auto Generate ...' checkbox set.
Timo -
Error while creating the DWH tables using DAC
Hi,
I am getting error while creating the DWH tables using DAC. I have created a ODBC DSN using merant driver with DAC repository DB credentials and the test connection is successful. And while creating the tables i gave the olap dw credentials and the DSN name which i created earlier. But it throws the error as below:
Please find the below mentioned error message
=====================================
STD OUTPUT
=====================================
CREATING SIEBEL DATABASE OBJECTS
F:\DAC\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u infdomain /p ******* /c DB_DAC /G "SSE_ROLE" /f F:\DAC\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b "" /K "" /X "" /W N
Error while importing Siebel database schema.
=====================================
ERROR OUTPUT
=====================================
Siebel Enterprise Applications ODBC DDL Import Utility, Version 7.7 [18030] ENU
Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.
This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
San Mateo, CA 94404.
User agrees that any use of this software is governed by: (1) the applicable
user limitations and other terms and conditions of the license agreement which
has been entered into with Siebel Systems or its authorized distributors; and
(2) the proprietary and restricted rights notices included in this software.
WARNING: THIS COMPUTER PROGRAM IS PROTECTED BY U.S. AND INTERNATIONAL LAW.
UNAUTHORIZED REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PORTION
OF IT, MAY RESULT IN SEVERE CIVIL AND CRIMINAL PENALTIES, AND WILL BE
PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE UNDER THE LAW.
If you have received this software in error, please notify Siebel Systems
immediately at (650) 295-5000.
F:\DAC\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u infdomain /p ***** /c DB_DAC /G SSE_ROLE /f F:\DAC\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b /K /X /W N
Connecting to the database...
28000: [DataDirect][ODBC Oracle driver][Oracle]ORA-01017: invalid username/password; logon denied
Unable to connect to the database...
any help is appreciated.
Thanks,
RMThe fact that you are getting an "ORA-01017: invalid username/password; logon denied" message indicates that you are at least talking to the database.
The log shows that username "infdomain" is being used. Can you double check the username and password you have in DAC in a SQL*Plus/SQL Developer session?
Please mark if useful/helpful,
Andy. -
Creation of invoicing plan while creating the PO using BAPI_PO_CREATE1
Hi, basically I'm creating a PO using BAPI_PO_CREATE1 and then creating Invoicing plan thru ME22 using BDC.
Could anyone please help me if there is any possibility of creation of invoicing plan while creating the PO itself using BAPI_PO_CREATE1.
thanks in advance.Hi,
Have you tried filling up the invoicing plan related tables of the bapi ?
*" INVPLANHEADER STRUCTURE BAPI_INVOICE_PLAN_HEADER OPTIONAL
*" INVPLANHEADERX STRUCTURE BAPI_INVOICE_PLAN_HEADERX OPTIONAL
*" INVPLANITEM STRUCTURE BAPI_INVOICE_PLAN_ITEM OPTIONAL
*" INVPLANITEMX STRUCTURE BAPI_INVOICE_PLAN_ITEMX OPTIONAL
Regards. -
Error while creating the view from one instance to another instance
Hi Experts
I want to Create a view which reside in one instance for example xxx Instance . I want to create the same view which reside in xxx instance to another instance for example YYY Instance How to acheive this ?
I tried desc the View take the view script from XXX instance and copied the view script to YYY instance when I compiled Iam getting an Error
For Example My view in XXX Instance
CREATE OR REPLACE FORCE VIEW xxx.sample
First_name,
last_name
as
select "F_NAME",
"L_NAME"
FROM EMP;When try to copy and compile the same view in my YYY Instance
i am getting error
ORA: table or view does not exist
Advance Thanks
ATA.T wrote:
Hi Experts ,
Thanks For all your valuable information I amTrying Of DB Link i think so
As per My understanding If wrong anywhere please advice me
Here Instance is Like : One DB 10g divided into several Instance like (test , devlopement , production Instance)
Now hope i ll make my req clear .
Coming to my reqirement
the actual table EMP is in xxi.TEST (Here xxi => Schema and test is an Instance )
I want to create the view which is based on by table EMP which in my test instance to devoplment instance
For example xxo.development (here xxo => Schema and development is an Instance )
Need to access the xxi schema in Test Instance How can I create a DB Link please share your ideas and advice me
Advance Thanks
ATIt's still not at all clear, but let me outline what I think you are after
Given a database, ORCL_A
In database ORCL_A we have a schema, HALFTRACK
User HALFTRACK has a table, MYSTUFF
Given a database, ORCL_B
In database ORCL_B we have a user GREENBRASS
User GREENBRASS needs to be able to query the table HALFTRACK.MYSTUFF.
In database ORCL_B, as user GREENBRASS
create database link mylink
connect to halftrack identified by halftracks_pswd
using ORCL_A;
select * from mytable@mylink;The db link defines a connection specification to ORCL_A, using the credentials of a user on ORCL_A. The target of the USING clause in the link definition must be an entry in the tnsames.ora file on the server hosting database ORCL_B.
When querying through the link, database ORCL_B is simply acting as a client to ORCL_A, no different that a sqlplus session on ORACL_B's server. As far as ORCL_A is concerned, ORCL_B is just another client requesting a connection, connecting with the credentials defined in the link definition. -
I am trying to use Time Machine to back-up to an external hard drive and I get the following message.Unable to complete backup. An error occurred while creating the backup folder. Does anyone know what I should do?
Hello Drake, I suspect one or more of the Drives needs repairing, but...
Have you looked through Pondini's extensive TM help site?
http://Pondini.org/TM/FAQ.html
http://pondini.org/TM/Troubleshooting.html
Can't imaging something not being covered there. -
Creating the materialized view using the database link
Hi Guys,
I am using the Oracle 11g release version.
Following is my question,
I had created the Database link to get the data from remote DB table.
Using that DB link, i can access the required table using SELECT statment.
When i tried to create the materialized using that DB link.
I am getting the error SQL Error: ORA-00942: table or view does not exist.
Can anyone please find the root cause and provide the solution for this?
TIA,
Dhivakar.Hi Dhivakar,
try like this
CREATE DATABASE LINK test
CONNECT TO scott IDENTIFIED BY tiger
USING 'orcl';
Pls make sure the table name.which ur using to create the materialized view.Thanks
Venkadesh -
got an error message saying "an error occurred while creating the backup folder". I have tried deleting the plist and am using the latest time capsule software and using OS Lion Any ideas what to do please?
See #C10 in Time Machine - Troubleshooting.
-
Thread was being aborted Exception while creating large number of Sites in SharePoint 2013
Hi All,
I am getting threading exception while creating a large extent of sites in SharePoint 2013. I am reading data from an excel file and then looping each row. The sites are creating for first two rows then i am getting exception. This code working fine in dev
server but not in UAT server. I tried with changing maxRequestLength in web.config but not working. And also followed the below link.
http://support.microsoft.com/kb/928756
My code as follows-
private void CreateSites(DataRow dr)
try
using (SPSite site = new SPSite(OtherSiteCollection)) // I am creating sites in another site collection
using (SPWeb web = site.OpenWeb())
SPWeb newWeb = null;
SPWebTemplateCollection templates = site.RootWeb.GetAvailableWebTemplates(1033);
SPWebTemplate template = (from SPWebTemplate m in
templates
where m.Title == "SiteTemplate"
select m).FirstOrDefault(); //Here i am using custom template
string siteName = dr["Site Name"].ToString();
newWeb = web.Webs.Add(siteTitle, siteTitle, siteDescription, 1033, template, true, false); //Getting exception here.
newWeb.Update();
newWeb.Dispose();
catch (Exception ex)
lblMsg.Text = "Exception in create sites : " + ex.Message + ";" + ex.StackTrace + ";" + ex.ToString()
I am getting error as-
Exception in create sites: Thread was being aborted.; at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent,
String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate)
at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, SPWebTemplate WebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32&
plWebTemplateId)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate)
at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, SPWebTemplate WebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
Thread was being aborted.; at System.Threading.ThreadAbortException: Thread was being aborted.
Can anyone please help. Thanks!
dineshIf you do this from a Console application, does it succeed?
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Getting *Not all values are bound* error while creating the VO
Hi
When i create a VO with the following query i am getting ORA-01008: not all variables bound error after giving apply.
The Query is:
SELECT
emp.full_name CSA,
COUNT(*) "Total # disputes",
SUM(rac.total_amount) "Total Dispute Amt",
(SELECT
COUNT(jtb4.task_id)
FROM
jtf_tasks_b jtb4,
ra_cm_requests_all rac4
WHERE
rac4.request_id = jtb4.attribute8
AND jtb4.attribute_category = 'Dispute'
AND trunc(jtb4.scheduled_end_date) = trunc(SYSDATE)
AND rac4.org_id = *:1*
AND jtb4.owner_type_code = 'RS_EMPLOYEE'
AND rac4.status = 'PENDING_APPROVAL'
AND jtb4.owner_id=emp.resource_id
AND jtb4.open_flag = 'Y'
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp4
WHERE rac4.customer_trx_id = arp4.customer_trx_id
AND arp4.amount_in_dispute IS NOT NULL)) "#D's on Today",
(SELECT
NVL (SUM (rac4.total_amount), 0)
FROM
jtf_tasks_b jtb4,
ra_cm_requests_all rac4
WHERE
rac4.request_id = jtb4.attribute8
AND jtb4.attribute_category = 'Dispute'
AND trunc(jtb4.scheduled_end_date) = trunc(SYSDATE)
AND rac4.org_id = *:2*
AND jtb4.owner_type_code = 'RS_EMPLOYEE'
AND rac4.status = 'PENDING_APPROVAL'
AND jtb4.owner_id=emp.resource_id
AND jtb4.open_flag = 'Y'
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp4
WHERE rac4.customer_trx_id = arp4.customer_trx_id
AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp on Today",
(SELECT
COUNT (jtb4.task_id)
FROM
jtf_tasks_b jtb4,
ra_cm_requests_all rac4
WHERE
rac4.request_id = jtb4.attribute8
AND jtb4.attribute_category = 'Dispute'
AND trunc(jtb4.scheduled_end_date) < trunc(SYSDATE)
AND rac4.org_id = *:3*
AND jtb4.owner_type_code = 'RS_EMPLOYEE'
AND rac4.status = 'PENDING_APPROVAL'
AND jtb4.owner_id=emp.resource_id
AND jtb4.open_flag = 'Y'
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp4
WHERE rac4.customer_trx_id = arp4.customer_trx_id
AND arp4.amount_in_dispute IS NOT NULL)) "#D's <Today",
(SELECT
NVL (SUM (rac4.total_amount), 0)
FROM
jtf_tasks_b jtb4,
ra_cm_requests_all rac4
WHERE
rac4.request_id = jtb4.attribute8
AND jtb4.attribute_category = 'Dispute'
AND trunc(jtb4.scheduled_end_date) < trunc(SYSDATE)
AND rac4.org_id = *:4*
AND jtb4.owner_type_code = 'RS_EMPLOYEE'
AND rac4.status = 'PENDING_APPROVAL'
AND jtb4.owner_id=emp.resource_id
AND jtb4.open_flag = 'Y'
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp4
WHERE rac4.customer_trx_id = arp4.customer_trx_id
AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp<Today",
(SELECT
COUNT (jtb4.task_id)
FROM
jtf_tasks_b jtb4,
ra_cm_requests_all rac4
WHERE
rac4.request_id = jtb4.attribute8
AND jtb4.attribute_category = 'Dispute'
AND trunc(jtb4.scheduled_end_date) > trunc(SYSDATE)
AND rac4.org_id = *:5*
AND jtb4.owner_type_code = 'RS_EMPLOYEE'
AND rac4.status = 'PENDING_APPROVAL'
AND jtb4.owner_id=emp.resource_id
AND jtb4.open_flag = 'Y'
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp4
WHERE rac4.customer_trx_id = arp4.customer_trx_id
AND arp4.amount_in_dispute IS NOT NULL)) "#D's >Today",
(select
nvl(SUM (rac4.total_amount), 0)
FROM
jtf_tasks_b jtb4,
ra_cm_requests_all rac4
WHERE
rac4.request_id = jtb4.attribute8
AND jtb4.attribute_category = 'Dispute'
AND trunc(jtb4.scheduled_end_date) > trunc(SYSDATE)
AND rac4.org_id = *:6*
AND jtb4.owner_type_code = 'RS_EMPLOYEE'
AND rac4.status = 'PENDING_APPROVAL'
AND jtb4.open_flag = 'Y'
AND jtb4.owner_id=emp.resource_id
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp4
WHERE rac4.customer_trx_id = arp4.customer_trx_id
AND arp4.amount_in_dispute IS NOT NULL)) "$Val Disp>Today",
MIN(jtb.scheduled_end_date) "EARLIEST_END_DATE",
MAX(jtb.scheduled_end_date) "LATEST_END_DATE"
FROM
jtf_tasks_b jtb,
ra_cm_requests_all rac,
jtf_rs_emp_dtls_vl emp
WHERE
rac.request_id=jtb.attribute8
AND jtb.owner_id=emp.resource_id
AND jtb.attribute_category='Dispute'
AND rac.org_id =*:7*
AND jtb.scheduled_end_date IS NOT NULL
AND rac.status = 'PENDING_APPROVAL'
AND jtb.owner_type_code = 'RS_EMPLOYEE'
AND jtb.open_flag = 'Y'
AND EXISTS (SELECT 1
FROM apps.dnb_ac_orc_coll_csa_map_s orc
WHERE orc.csa_id = jtb.owner_id
AND NVL(orc.attribute1,107) = *:8*
AND orc.customer_segment = *:9*
AND EXISTS (SELECT 1
FROM ar_payment_schedules_all arp
WHERE rac.customer_trx_id = arp.customer_trx_id
AND arp.amount_in_dispute IS NOT NULL
GROUP BY emp.full_name
,emp.resource_id
I dont have any cue why the error is prompting while creating the VO itself. Kindly let me know the issue with the above query.
Thanks,
PraveenPraveen,
In the Query , you are given alias name like "#D's on Today" . Avoid to use special charaters in coulmn alias in the view query, as the alias name is failed to conver it into view attributes.
During creating view object, in the query screen, there is dropdown which is below the query region. By default it is style of "oracle named" , changed it to "Oracle Positional".
Thanks,
Kumar -
Recieving ORA-01722 invalid number error while creating a materialized view
Hi,
I am receiving a ORA-01722 invalid number error while creating a materialized view. when run the select statement of the view i don't get any error, but when i use the same select statement to create a materialized view i receive this error. Could any please help in resolving this error. Here is the code i am using to create a materialized view.
CREATE MATERIALIZED VIEW MV_EBS_CH_CLOSED
REFRESH FORCE ON DEMAND
AS
SELECT DISTINCT kr.request_id, org.org_unit_name,
ebs_ch_ticket_type (kr.request_id) ticket_type,
DECODE
(kr.status_code,
'CLOSED_SUCCESS', kr.last_update_date,
'IN_PROGRESS', (SELECT MAX (start_time)
FROM ebs_ch_datastore ecd1
WHERE kr.request_id = ecd1.request_id
AND workflow_step_name =
'Final BA Review and Deployment Exit Criteria')
) closed_date,
substr(krhd.visible_parameter12,1,10) siebel_start_date,
kr.creation_date itg_start_date
FROM kcrt_requests kr,
kcrt_request_types krt,
kcrt_req_header_details krhd, kcrt_request_details krd1,
(SELECT koum.user_id user_id,
DECODE (koup.org_unit_name,
'IT Implementations', 'CHS - Service Management BA',
koup.org_unit_name
) org_unit_name
FROM krsc_org_unit_members koum, krsc_org_units koup
WHERE 1 = 1
AND 'Y' = koup.enabled_flag
AND koum.org_unit_id = koup.org_unit_id
AND EXISTS (
SELECT 'X'
FROM krsc_org_units kouc
WHERE koup.org_unit_id = kouc.org_unit_id
START WITH kouc.parent_org_unit_id =
ANY (SELECT org_unit_id
FROM krsc_org_units krsc_org_units1
WHERE 'Clearinghouse' =
org_unit_name)
CONNECT BY kouc.parent_org_unit_id =
PRIOR kouc.org_unit_id)
UNION
SELECT kou.manager_id user_id,
DECODE
(kou.org_unit_name,
'IT Implementations', 'CHS - Service Management BA',
kou.org_unit_name
) org_unit_name
FROM krsc_org_units kou
WHERE 'Y' = kou.enabled_flag
START WITH kou.parent_org_unit_id =
(SELECT org_unit_id
FROM krsc_org_units krsc_org_units2
WHERE 'Clearinghouse' = org_unit_name)
CONNECT BY kou.parent_org_unit_id = PRIOR kou.org_unit_id) org
WHERE krt.request_type_id = kr.request_type_id
AND krt.request_type_name IN ('Bug Fix', 'IT Enhancement')
and kr.REQUEST_ID = krd1.request_id
and krd1.batch_number = 1
AND kr.request_id = krhd.request_id
AND org.user_id in (krd1.parameter4, krd1.parameter5, krd1.parameter7)
AND ( 'CLOSED_SUCCESS' = kr.status_code
OR 'IN_PROGRESS' = kr.status_code
AND kr.request_id IN (
SELECT request_id
FROM (SELECT DISTINCT request_id,
MAX
(start_time)
closed_date
FROM ebs_ch_datastore
WHERE 'Final BA Review and Deployment Exit Criteria' =
workflow_step_name
GROUP BY request_id))
Thanks,
Shaik MohiuddinThis error occurs when you try to create a materialized view , but if you run the sql the results are perfectly fine. Well it happend to me also and to fix this I made sure all the coulmns have the same data type which are used in joins or in where clause.
use
where
to_number(col1)=to_number(col2) and to_number(col3)=to_number(col4)
hope this helps.. -
Hi,
While creating the analytic workspace I am getting following message..
Can anyone please tell what might have gone wrong? Any help will be appriciated.
Preparing
Creating analytic workspace...
Processing cube AW_SALES_CUBE
Processing Creating Dimension : AW_CUST_DIM
Processing Creating Dimension : AW_PROD_DIM
Processing Creating Cube : AW_SALES_CUBE
Processing Defining Load for Cube: AW_SALES_CUBE
SqlException = ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 469
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 983
ORA-06512: at "OLAPSYS.DBMS_AWM", line 428
ORA-06512: at line 1
Error Code = 6510
Sql State = 65000
All the cubes could not be added to the Analytic Workspace AWSALE;
The following cubes could not be added : SALES_CUBE
Could not generate SQL for Views and ADTS for OLAP API and beans enabling.
java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 469
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 983
ORA-06512: at "OLAPSYS.DBMS_AWM", line 428
ORA-06512: at line 1
Tidying Up
Failed to create the analytic workspaceThe versions are follows..
Also, I tried with another set of tables. But, I still got the same errors. I am attaching all those details..
Please help..
--SOFTWARES....
--Oracle Database:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning and OLAP options
JServer Release 9.2.0.5.0 - Production
--OEM
9.2.0.1.0 Production
--AWM
9.2.0.4.1D
--TABLE CREATION SCRIPTS
Note: I created the following tables in user RMS_PROTOTYPE
create table meter (
meter_id number(10),
meter_name varchar2(40),
make_id number(10),
make_name varchar2(40)
alter table meter
add constraints meter_pk
PRIMARY KEY (meter_id)
NORELY DISABLE NOVALIDATE;
create table month (
month_id number(10),
month_name varchar2(40)
alter table month
add constraints month_pk
PRIMARY KEY (month_id)
NORELY DISABLE NOVALIDATE;
create table invoice (
invoice_id number(10),
month_id number(10),
meter_id number(10),
invoice_amount number(16,2)
alter table invoice
add constraints invoice_pk
PRIMARY KEY (invoice_id)
NORELY DISABLE NOVALIDATE;
alter table invoice
add constraints invoice_meter_fk
FOREIGN KEY (meter_id)
REFERENCES meter (meter_id)
NORELY DISABLE NOVALIDATE;
alter table invoice
add constraints invoice_month_fk
FOREIGN KEY (month_id)
REFERENCES month (month_id)
NORELY DISABLE NOVALIDATE;
Note: I created the following dimensions/cube in user RMS_PROTOTYPE
--METER DIMENSION
CREATE DIMENSION RMS_PROTOTYPE.METER_DIM
LEVEL LVL_METER IS METER.METER_ID
ATTRIBUTE LVL_METER DETERMINES (METER.MAKE_ID, METER.METER_NAME, METER.MAKE_NAME)
begin
cwm_classify.remove_entity_descriptor_use(28, cwm_utility.DIMENSION_TYPE, 'RMS_PROTOTYPE', 'METER_DIM');
cwm_olap_dimension.set_plural_name('RMS_PROTOTYPE', 'METER_DIM', 'METER_DIM');
cwm_olap_dimension.set_display_name('RMS_PROTOTYPE', 'METER_DIM', 'METER_DIM');
cwm_olap_dimension.set_description('RMS_PROTOTYPE', 'METER_DIM', 'Meter Dimension');
cwm_olap_level.set_display_name('RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'LVL_METER');
cwm_olap_level.set_description('RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'Level Meter');
cwm_olap_level_attribute.set_name('RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'MAKE_ID', 'MAKE_ID');
cwm_olap_level_attribute.set_name('RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'METER_NAME', 'METER_NAME');
cwm_olap_level_attribute.set_name('RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'MAKE_NAME', 'MAKE_NAME');
cwm_olap_dim_attribute.create_dimension_attribute('RMS_PROTOTYPE', 'METER_DIM', 'MTR_Name', 'MTR_Name', 'Meter Name');
cwm_classify.add_entity_descriptor_use(41, cwm_utility.DIMENSION_ATTRIBUTE_TYPE, 'RMS_PROTOTYPE', 'METER_DIM', 'MTR_Name');
cwm_olap_dim_attribute.create_dimension_attribute('RMS_PROTOTYPE', 'METER_DIM', 'Mk_Id', 'Mk_Id', 'Maker Id');
cwm_classify.add_entity_descriptor_use(42, cwm_utility.DIMENSION_ATTRIBUTE_TYPE, 'RMS_PROTOTYPE', 'METER_DIM', 'Mk_Id');
cwm_olap_dim_attribute.create_dimension_attribute('RMS_PROTOTYPE', 'METER_DIM', 'Mk_Name', 'Mk_Name', 'Maker Name');
cwm_olap_dim_attribute.add_level_attribute('RMS_PROTOTYPE', 'METER_DIM', 'MTR_Name', 'LVL_METER', 'METER_NAME');
cwm_olap_dim_attribute.add_level_attribute('RMS_PROTOTYPE', 'METER_DIM', 'Mk_Id', 'LVL_METER', 'MAKE_ID');
cwm_olap_dim_attribute.add_level_attribute('RMS_PROTOTYPE', 'METER_DIM', 'Mk_Name', 'LVL_METER', 'MAKE_NAME');
cwm_classify.add_entity_descriptor_use(41, cwm_utility.LEVEL_ATTRIBUTE_TYPE, 'RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'METER_NAME');
cwm_classify.add_entity_descriptor_use(42, cwm_utility.LEVEL_ATTRIBUTE_TYPE, 'RMS_PROTOTYPE', 'METER_DIM', 'LVL_METER', 'MAKE_ID');
commit;
end;
--Month DIMENSION
CREATE DIMENSION RMS_PROTOTYPE.MONTH_DIM
LEVEL LVL_MONTH IS MONTH.MONTH_ID
ATTRIBUTE LVL_MONTH DETERMINES MONTH.MONTH_NAME
begin
cwm_classify.remove_entity_descriptor_use(28, cwm_utility.DIMENSION_TYPE, 'RMS_PROTOTYPE', 'MONTH_DIM');
cwm_olap_dimension.set_plural_name('RMS_PROTOTYPE', 'MONTH_DIM', 'MONTH_DIM');
cwm_olap_dimension.set_display_name('RMS_PROTOTYPE', 'MONTH_DIM', 'MONTH_DIM');
cwm_olap_dimension.set_description('RMS_PROTOTYPE', 'MONTH_DIM', 'Month Dimension');
cwm_olap_level.set_display_name('RMS_PROTOTYPE', 'MONTH_DIM', 'LVL_MONTH', 'LVL_MONTH');
cwm_olap_level.set_description('RMS_PROTOTYPE', 'MONTH_DIM', 'LVL_MONTH', 'Month Level');
cwm_olap_level_attribute.set_name('RMS_PROTOTYPE', 'MONTH_DIM', 'LVL_MONTH', 'MONTH_NAME', 'MONTH_NAME');
cwm_olap_dim_attribute.create_dimension_attribute('RMS_PROTOTYPE', 'MONTH_DIM', 'MNTH_NAME', 'MNTH_NAME', 'Month Name');
cwm_classify.add_entity_descriptor_use(41, cwm_utility.DIMENSION_ATTRIBUTE_TYPE, 'RMS_PROTOTYPE', 'MONTH_DIM', 'MNTH_NAME');
cwm_olap_dim_attribute.add_level_attribute('RMS_PROTOTYPE', 'MONTH_DIM', 'MNTH_NAME', 'LVL_MONTH', 'MONTH_NAME');
cwm_classify.add_entity_descriptor_use(41, cwm_utility.LEVEL_ATTRIBUTE_TYPE, 'RMS_PROTOTYPE', 'MONTH_DIM', 'LVL_MONTH', 'MONTH_NAME');
commit;
end;
--SALE CUBE
declare MTR_DIM number;
MTH_DIM number;
tmp number;
begin
CWM_OLAP_CUBE.Create_Cube('RMS_PROTOTYPE', 'INV_CUBE', 'Invoice Cube', '');
MTR_DIM := CWM_OLAP_CUBE.Add_Dimension('RMS_PROTOTYPE', 'INV_CUBE', 'RMS_PROTOTYPE', 'METER_DIM', 'MTR_DIM');
CWM_OLAP_CUBE.Map_Cube('RMS_PROTOTYPE', 'INV_CUBE', 'RMS_PROTOTYPE', 'INVOICE', 'INVOICE_METER_FK', 'LVL_METER', 'RMS_PROTOTYPE', 'METER_DIM', 'MTR_DIM');
MTH_DIM := CWM_OLAP_CUBE.Add_Dimension('RMS_PROTOTYPE', 'INV_CUBE', 'RMS_PROTOTYPE', 'MONTH_DIM', 'MTH_DIM');
CWM_OLAP_CUBE.Map_Cube('RMS_PROTOTYPE', 'INV_CUBE', 'RMS_PROTOTYPE', 'INVOICE', 'INVOICE_MONTH_FK', 'LVL_MONTH', 'RMS_PROTOTYPE', 'MONTH_DIM', 'MTH_DIM');
CWM_OLAP_MEASURE.Create_Measure('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_AMOUNT', 'Invoice Amount', '');
CWM_OLAP_MEASURE.Set_Column_Map('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_AMOUNT', 'RMS_PROTOTYPE', 'INVOICE', 'INVOICE_AMOUNT');
CWM_OLAP_MEASURE.Create_Measure('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_ID', 'Invoice Id', '');
CWM_OLAP_MEASURE.Set_Column_Map('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_ID', 'RMS_PROTOTYPE', 'INVOICE', 'INVOICE_ID');
tmp:= cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_AMOUNT', tmp, 'RMS_PROTOTYPE', 'METER_DIM', 'MTR_DIM');
tmp:= cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_AMOUNT', tmp, 'RMS_PROTOTYPE', 'MONTH_DIM', 'MTH_DIM');
tmp:= cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_ID', tmp, 'RMS_PROTOTYPE', 'METER_DIM', 'MTR_DIM');
tmp:= cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method('RMS_PROTOTYPE', 'INV_CUBE', 'INVOICE_ID', tmp, 'RMS_PROTOTYPE', 'MONTH_DIM', 'MTH_DIM');
commit;
end;
Note: I tried to create the analytic workspace in user RMS_PROTOTYPE_AW. But I got the following error.
--ERROR in AWM
Preparing
Creating analytic workspace...
Processing cube P_INV_CUBE
Processing Creating Dimension : P_METER_DIM
Processing Creating Dimension : P_MONTH_DIM
Processing Creating Cube : P_INV_CUBE
Processing Defining Load for Cube: P_INV_CUBE
SqlException = ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 469
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 983
ORA-06512: at "OLAPSYS.DBMS_AWM", line 428
ORA-06512: at line 1
Error Code = 6510
Sql State = 65000
All the cubes could not be added to the Analytic Workspace AW_INV_01;
The following cubes could not be added : INV_CUBE
java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 469
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "OLAPSYS.DBMS_AWM_PRV", line 983
ORA-06512: at "OLAPSYS.DBMS_AWM", line 428
ORA-06512: at line 1
Tidying Up
Failed to create the analytic workspace
Thanks in advance.
Maybe you are looking for
-
New to JavaMail: sending via MS Outlook
i was searching the forum for quite some time, i just couldn't find what i am looking for. sorry if similar question has been posted. all i want to do is: 1) send an email via outlook, that means in my application i set all the parameters like recipi
-
My accelerometer not working so screen doesn't switch when u turn it round what can I do?
Screen doesn't switch around when I turn my iPad.is it broke?
-
Cannot get network to work properly on fresh install
I just got myself a new lenovo laptop and naturally wanted to instakll arch on it immediately. The network I am on requires me to register the MAC address of the machine before I can access anything more than our intranet. Since this is done via a we
-
WebOS Cloud Services to end January 15, 2015 alternatives?
what happen with this "Cloud services support for webOS devices will be endingon January 15, 2015"
-
Bug: Raise to Speak sensor for Siri remains on whenever the screen is active - regardless of Siri Raise to Speak Setting (enabled or disabled). After updating to iOS 6 (via iTunes - not OTA), I noticed that my battery was taking quite a bit of a hit.