Problem in viewing cubes with Cube Viewer
I have installed oracle 9.2.0.1.0 in windows 2000 platform and created a oracle's standard data warehousing database. When I try to use the cube viewer in Enterprise manager Console to view a cube(SALES_CUBE or COST_CUBE which are the sample cubes given with the database) a dialog box is displayed while reading cube meta data. Problem is this dialog does not display any error message(It is empty except for the red icon) but when ok is clicked cube viewer terminates and also the windows service of the database stops.
Can you please help.
hmm.... I had experience with Oracle and Macoye DB. They save the data in ISO. In order to view the data in IE u need to get them as UTF8. So I think thats the only problem u see them as ????. In oder to test this, please view it in IE and when u see ????. Select View -> Encoding and select Arabic (Window) from IE toolbar. if you see the correct Arabic, than it simply means that you need to convert ur Arabic Charset into UTF8 after getting it from DB, but before displaying it in IE.
Similar Messages
-
Viewing reports with crviewer:viewer
Hello All,
I am having issues with the <crviewer:viewer> tag
I am trying to embed the crystal report inside the another jsp
here is the code that i wrote
for setting the crystal viewer
String label = request.getParameter("label")==null?(String)session.getAttribute("label"):request.getParameter("label");
session.removeAttribute("label");
session.setAttribute("label",label);
String userID = (String)session.getAttribute("USERID");
String userName = (request.getParameter("userid")==null)?"":request.getParameter("userid");
CrystalReportViewer viewer = new CrystalReportViewer();
IEnterpriseSession es = (IEnterpriseSession) session.getAttribute("ISEnterpriseSession");
Fields parameterFields = (Fields)session.getAttribute("parameterFields");
IReportSource reportSource = (IReportSource)session.getAttribute("reportSource");
System.out.println(" report source in the view report : " + reportSource);
viewer.setName("CrystalReportViewer");
viewer.setOwnPage(true);
viewer.setDisplayPage(true);
viewer.setPrintMode(CrPrintMode.ACTIVEX);
viewer.setOwnForm(true);
viewer.setParameterFields(parameterFields);
viewer.setReportSource(reportSource);
in the above code i already set the parameters but in this tag it still shows me the page where i need to put the values
<crviewer:viewer viewerName="<%= viewer.getName()%>" enablePageToGrow="false" height="250" width="250" reportSourceType="reportApplicationServer" reportSourceVar="reportSource" >
</crviewer:viewer>
or can anyone tell me how to set the parameters values to the <crviewer:viewer> tagYou are mixing two technologies: The crviewer tag must have the parameters set in the tag itself. If you want to use the CrystalReportViewer object to set parameters and view the report, you will need to use the processHTTPRequest method instead.
-
Are Cube organized materialized view with Year to Date calculated measure eligible for Query Rewrite
Hi,
Will appreciate if someone can help me with a question regarding Cube organized MV (OLAP).
Does cube organized materialized view with calculated measures based on time series Year to date, inception to date eg.
SUM(FCT_POSITION.BASE_REALIZED_PNL) OVER (HIERARCHY DIM_CALENDAR.CALENDAR BETWEEN UNBOUNDED PRECEDING AND CURRENT MEMBER WITHIN ANCESTOR AT DIMENSION LEVEL DIM_CALENDAR."YEAR")
are eligible for query rewrites or these are considered advanced for query rewrite purposes.
I was hoping to find an example with YTD window function on physical fact dim tables with optimizer rewriting it to Cube Org. MV but not much success.
Thanks in advanceI dont think this is possible.
(My own reasoning)
Part of the reason query rewrite works for base measures only (not calc measures in olap like ytd would be) is due to the fact that the data is staged in olap but its lineage is understandable via the olap cube mappings. That dependency/source identification is lost when we build calculated measures in olap and i think its almost impossible for optimizer to understand the finer points relating to an olap calculation defined via olap calculation (olap dml or olap expression) and also match it with the equivalent calculation using relational sql expression. The difficulty may be because both the olap ytd as well as relational ytd defined via sum() over (partition by ... order by ...) have many non-standard variations of the same calculation/definition. E.g: You can choose to use or choose not to use the option relating to IGNORE NULLs within the sql analytic function. OLAP defn may use NASKIP or NASKIP2.
I tried to search for query rewrite solutions for Inventory stock based calculations (aggregation along time=last value along time) and see if olap cube with cube aggregation option set to "Last non-na hierarchical value" works as an alternative to relational calculation. My experience has been that its not possible. You can do it relationally or you can do it via olap but your application needs to be aware of each and make the appropriate backend sql/call. In such cases, you cannot make olap (aw/cubes/dimensions) appear magically behind the scenes to fulfill the query execution while appearing to work relationally.
HTH
Shankar -
Master-detail with dynamic view object
How can you create a view link with a view object that is dynamic? I have created a master-detail relationship on a UIX page. I change the master view object at runtime using a view definition and SQL and then I bind the view object to an iterator on a UIX page. I need the new dynamic view object to maintain the link between the detail view object. Is this possible?
The reason why I have to change the view object at runtime is because I am implementing a search module and the tables in the from clause can be modified at runtime so I need to have a dynamic view object.
Thanks,
SanjayAfter playing around with ViewObjectImpl's setQuery() method some more I found out that this solution might not work for me due to the following reason: when the user tries to sort a column in the result table, the original contents of the view object get executed instead of the run time query.
<p>
I would like to go back to my original solution that included creating a view definition based on the runtime query and then creating a view object from that which I bind to the RowSetIterator. The missing piece to the master-detail functionality is with the detail Iterator being in sync with the master. I have tried the following but I get a ClassCastException <p>
DCIteratorBinding detailBinding = ctx.getBindingContainer().findIteratorBinding("DetailIterator");
detailBinding.getViewObject().<b>setMasterRowSetIterator</b>(masterBinding.getRowSetIterator());
<p>
here is the relevant stack trace:
java.lang.ClassCastException
at oracle.jbo.client.remote.ViewUsageImpl.getImplObject(ViewUsageImpl.java:1829)
at oracle.jbo.client.remote.RowSetImpl.setMasterRowSetIterator(RowSetImpl.java:512)
at oracle.jbo.client.remote.ViewUsageImpl.setMasterRowSetIterator(ViewUsageImpl.java:1147)
at oracle.jbo.common.ws.WSViewObjectImpl.setMasterRowSetIterator(WSViewObjectImpl.java:1005) -
Problems with Cube Data Viewer
OWB is all of a sudden returning an error on a launching the data viewer on a cube that has 7 dimensions. Is this a limitation in OWB? I have cubes with 6 or less that seem to be OK.
I answered my own question. Not all dimensions were in the catalog. Setting the common deployment options cured the problem.
-
Objects are not referenced in cube data source view. Large model.
Looking at large model. 100+ measure groups, 200+ dimensions, one cube. Deployed to multiple customers in production as a part of custom developed software.
in data tools 2010 I'm looking at the cube on sql 2008, sql 2008 R2 (EE, DE).
In the cube data source diagram we observe 50+ objects that do not have any links to them or from them.
1)
Some of these I was unable to find in DMV's of the cube at all, it turns out they are present in the Data source that is in Data Source Views section.
How did these end/could end up in the cube data source model? they are not available in dimension usage window at all.
2) Others do not have any links from them or to them in cube’s data source diagram, however the dimension usage clearly shows these objects are part of relationships
both regular and many to many depending on the object in question.
We are trying to identify what objects we can ‘trim’ from the model. I’m not sure what am I looking at in this case: data tools have a trouble interpreting diagram for 200+ dimensions and
100+ measure groups (it is a large existing model) and this artifact should not be used to decide what in dimensions is obsolete and can be decommissioned.
We are looking at cube that has over 40 NxM just to one fact not counting regular relationships.
Am I looking at a feature or maybe an issue with the model itself that somehow has developed in the particular cube.
It is not something I came across before.
thanksHi,
According to your description, you are designing a large SQL Server Analysis Services cube, the problem is that you are unable view the relationship in the data source
view diagram, right?
In your description, you said that you can see the relationships in Dimension Usage window. In your scenario, can you see the relationship under the Tables pane when expanding
a table's Relationships folder?
General, the relationships will be defined automatic if the relationships were defined in your data source of the cube. And the dimension relationships between cube dimensions
and measure groups in the cube are defined manually in Dimension Usage. In your scenario, you can define relationship manually in the data source view, please refer to the link below to see the details.
http://technet.microsoft.com/en-us/library/ms178448.aspx
Regards,
Charlie Liao
TechNet Community Support -
Problems in the creation of a MOLAP Cube with DBMS_AWM.
I want to create a MOLAP Cube with the package DBMS_AWM. So I create the ROLAP Cube and the Dimensions with the Enterprise Manager Website, and all works perfectly. Then I executed the code to create the multidimensional dimensions and the multidimensional cube (awm dimensions/cubes), but I had some problems in the first dimension.
This dimension has the name D_DESTIN, and has the following hierarchy:
+DESTIN_DESC_H3
|
+---DESTIN_DESC_H2
|
+------DESTIN_DESC_H1
|
+---------DESTIN_DESC_H0
The name of the hierarchy is H_D_DESTIN.
The following code is the code that I used to create the first multidimensional dimension:
set serveroutput on
execute cwm2_olap_manager.set_echo_on;
execute dbms_aw.execute ('aw create ''WTESTE''');
execute dbms_awm.create_awdimension('EXEMPLO_OLAP', 'D_DESTIN', 'EXEMPLO_OLAP','WTESTE', 'WD_DESTIN');
execute dbms_awm.create_awdimload_spec('D_DESTIN_LOAD', 'EXEMPLO_OLAP', 'D_DESTIN', 'FULL_LOAD');
execute DBMS_AWM.SET_AWDIMLOAD_SPEC_PARAMETER ('D_DESTIN_LOAD','EXEMPLO_OLAP','D_DESTIN','UNIQUE_RDBMS_KEY','NO');
execute dbms_awm.refresh_awdimension('EXEMPLO_OLAP', 'WTESTE', 'WD_DESTIN', 'D_DESTIN_LOAD');
commit;
execute cwm2_olap_manager.set_echo_off;
execute cwm2_olap_manager.end_log
When I executed the code above, I got the following error:
PL/SQL procedure successfully completed.
SP2-0103: Nothing in SQL buffer to run.
PL/SQL procedure successfully completed.
AMD-00001 created AWDimension "EXEMPLO_OLAP.WTESTE.WD_DESTIN"
PL/SQL procedure successfully completed.
AMD-00001 created AWDimLoad_Spec "D_DESTIN_LOAD.EXEMPLO_OLAP.D_DESTIN"
PL/SQL procedure successfully completed.
AMD-00002 set AWDimLoad_Spec_Parameter "D_DESTIN_LOAD.EXEMPLO_OLAP.D_DESTIN"
UNIQUE_RDBMS_KEY to "NO"
PL/SQL procedure successfully completed.
ERROR Create_AWDimension. Problem refreshing dimension:
WD_DESTIN
Error
Validating Dimension Mappings WD_DESTIN.DIMENSION. Key Expression
DWH.D_DESTIN.DESTIN_KEY for Mapping Group
WD_DESTIN.H_D_DESTIN.DESTIN_DESC_H0.DWH_D_DESTIN_WD_DESTIN_H_D_DESTIN
DESTINDESC_H0.DIMENSIONMAPGROUP, Level WD_DESTIN.DESTIN_DESC_H0.LEVEL,
Hierarchy WD_DESTIN.H_D_DESTIN.HIERARCHY is Incorrectly Mapped to
RDBMS.
(AW$XML) AW$XML
In SYS.AWXML!__XML_HANDLE_ERROR PROGRAM:
BEGIN dbms_awm.refresh_awdimension('EXEMPLO_OLAP', 'WTESTE',
'WD_DESTIN', 'D_DESTIN_LOAD'); END;
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.DBMS_AWM", line 1012
ORA-06512: at line 1
Commit complete.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
I donât know what is wrong. The ROLAP Cube is valid according to Oracle Enterprise Manager Website, and it is possible to consult its data with "OracleBI Spreadsheet Add-In"
What is wrong?
Regards,
Rui TorresI executed the same code in a different user and the MOLAP Cube was created successfully.
But, I donât know what is the privilege/role, that permits this second user to create a MOLAP cube with the package DBMS_AWM.
The privileges/roles of the first user are:
ROLES
======
CONNECT
OLAP_DBA
OLAP_USER
OWBR_EXEMPLO_OLAP
OWB_EXEMPLO_OLAP
SYSTEM PRIVILEGES
=================
ALTER SESSION
CREATE ANY PROCEDURE
CREATE DATABASE LINK
CREATE DIMENSION
CREATE INDEXTYPE
CREATE MATERIALIZED VIEW
CREATE PROCEDURE
CREATE PUBLIC DATABASE LINK
CREATE PUBLIC SYNONYM
CREATE ROLE
CREATE SEQUENCE
CREATE SESSION
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
DROP ANY PROCEDURE
DROP PUBLIC SYNONYM
EXECUTE ANY PROCEDURE
GLOBAL QUERY REWRITE
SELECT ANY TABLE
SYSDBA
UNLIMITED TABLESPACE
OBJECTS PRIVILEGES
==================
Object Privilege |Schema |Object
=======================================================
SELECT |SYS |DBA_ROLE_PRIVS
EXECUTE |SYS |DBMS_LOCK
SELECT |SYS |DBMS_LOCK_ALLOCATED
EXECUTE |SYS |DBMS_OBFUSCATION_TOOLKIT
EXECUTE |SYS |DBMS_SNAPSHOT
SELECT |SYS |V_$LOCK
SELECT |SYS |V_$MYSTAT
SELECT |SYS |V_$SESSION
SELECT |SYS |V_$SYSTEM_PARAMETER
The privileges/roles of the second user are:
ROLES
======
AQ_ADMINISTRATOR_ROLE
DBA
MGMT_USER
SYSTEM PRIVILEGES
=================
CREATE MATERIALIZED VIEW
CREATE TABLE
GLOBAL QUERY REWRITE
SELECT ANY TABLE
UNLIMITED TABLESPACE
OBJECTS PRIVILEGES
==================
Object Privilege |Schema |Object
=============================================
EXECUTE |SYS |DBMS_ALERT
EXECUTE |SYS |DBMS_AQ
EXECUTE |SYS |DBMS_AQADM
EXECUTE |SYS |DBMS_AQELM
EXECUTE |SYS |DBMS_AQ_IMPORT_INTERNAL
EXECUTE |SYS |DBMS_DEFER_IMPORT_INTERNAL
EXECUTE |SYS |DBMS_REPCAT
EXECUTE |SYS |DBMS_RULE_EXIMP
EXECUTE |SYS |DBMS_SYS_ERROR
EXECUTE |SYS |DBMS_TRANSFORM_EXIMP
ALTER |SYS |INCEXP
DEBUG |SYS |INCEXP
DELETE |SYS |INCEXP
FLASHBACK |SYS |INCEXP
INDEX |SYS |INCEXP
INSERT |SYS |INCEXP
ON COMMIT REFRESH |SYS |INCEXP
QUERY REWRITE |SYS |INCEXP
REFERENCES |SYS |INCEXP
SELECT |SYS |INCEXP
UPDATE |SYS |INCEXP
ALTER |SYS |INCFIL
DEBUG |SYS |INCFIL
DELETE |SYS |INCFIL
FLASHBACK |SYS |INCFIL
Which privilege/role permits the second user to create a MOLAP cube?
Regards,
Rui Torres -
Problem with a calculated member browsing cube with a specific user role
Good evening to all of you .
I am not a newbie about SSAS nor an expert developer.
I use SSAS 2008 R2 Standard Edition.
I try to simplify my problem with a calculated measure.
I have a CUBE with :
[Measures].[Sales Amount]
Dimension STORES - Dimension CUSTOMERS - Dimension DATE
I have also 2 user roles :
Direction Role can see all members of all dimensions.
Customize Role has a restriction about Dimension STORES ..it can see only a STORE of all (Suppose to have 100 stores).
User that has a Customize Role, when browse cube in Excel , want to see for a specific CUSTOMER , Sales Amount of his own STORE but also the total Sales Amount of ALL STORES for that Customer...
Is it possibile to do that ???
Can you give any suggestion also using Adventure Works Cube ???
I was able to create a calculated measure like that below.
It does not work...It give the same result of Sales Amount
It seems that Customize Role win Always about every kind of calculate measure i need to create..
i.e SUM([STORES].[STORES].[ALL STORES],[Measures].[Sales Amount])
Thanks in advance.Hi maretix,
According to your description, you have a customize role which limit the user can only see data about his own STORE. Now this user wants to see the total Sales Amount for his own STORES only. Right?
In Analysis Services, when granting custom access to dimension data, it has a option "Enable Visual Total" in Advanced dimension security. By default, the
VisualTotals property is disabled (set to False). This default setting maximizes performance because Analysis Services can quickly calculate the total of all cell values, instead of having to spend time selecting which
cells values to calculate. So you always get same result which is the total for all STORES.
In this scenario, please select this option. When you enable the VisualTotals property, your custom role can only view aggregated totals for dimension members to which the role has permission.
Reference:
Grant custom access to dimension data (Analysis Services)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support -
Can CWM2 API creating dimensions and cube reference a view
Can CWM2 API creating dimensions and cube reference a view instead of a table.
Can the following API reference a view instead of table
For creating dimensions
CWM2_OLAP_TABLE_MAP.MAP_DIMTBL_HIERLEVEL
CWM2_OLAP_TABLE_MAP.MAP_DIMTBL_HIERLEVELATTR
For creating cubes
CWM2_OLAP_TABLE_MAP.MAP_FACTTBL_LEVELKEY
CWM2_OLAP_TABLE_MAP.MAP_FACTTBL_MEASUREHi!
Yes!
And I am using views sometimes.
I am reading at this moment also the following...
maybe someone can explain me this sentence...
MULTIPLE FACT TABLES:
"The CWM2 APIs also support multiple fact tables per cube. In this case, the data
associated with a given combinations of hierarchies can be stored in a separate fact
table. All the fact tables associated with a cube must have the same column
structure."
I get a fetch error message..'cause of this.
What does it mean by "the same column
structure" ???
ODDS -
Error during viewing the OLAP cubes
Hi ALl,
Thanks for you time.
I recently installed a new development environment of BOXI-R2 sp4 and then imported all the contents from another existing BOXI-R1 environment.
I can now see all my existing UNIVERSES properly.
However each time I try to view the OLAP cubes on the dashboard, the below error is thrown.
Was wondering if anyone out there faced the same problem?
Any help is deeply appreciated.
Regards,
Steve
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN minor code: 0x0 completed: No
com.crystaldecisions.thirdparty.com.ooc.OB.Util.unmarshalSystemException(Util.java:295)
com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorker.execute(GIOPClientWorker.java:598)
com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.receiverRun(GIOPClientWorkerThreaded.java:595)
com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$ReceiverThread.run(GIOPClientWorkerThreaded.java:137)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.The stack trace from Tomcat log attached:
-06-16 15:39:44 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
java.lang.IllegalStateException: Cannot forward after response has been committed
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:324)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
at org.apache.jsp.scripts.tools.err_005fpage_jsp._jspService(err_005fpage_jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581)
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:787)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
at org.apache.jsp.jsp.dashboard_jsp._jspService(dashboard_jsp.java:658)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at com.crystaldecisions.webapp.struts.framework.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:29)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
2009-06-16 15:45:18 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN minor code: 0x0 completed: No
at com.crystaldecisions.thirdparty.com.ooc.OB.Util.unmarshalSystemException(Util.java:295)
at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorker.execute(GIOPClientWorker.java:598)
at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.receiverRun(GIOPClientWorkerThreaded.java:595)
at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$ReceiverThread.run(GIOPClientWorkerThreaded.java:137) -
Performance problem with WPF Viewer CRVS2010
Hi,
We are using Crystal Reports 2010 and the new WPF Viewer. Last week when we set up a test machine to run our integration tests (several hundred) all report tests failed (about 30 tests) with a timeout exception.
The testmachine setup:
HP DL 580 G5
WMWare ESXi 4.0
Guest OS: Windows 7 Enterprise 64-bit
Memory (guest OS): 3GB
CPU: 1
Visual Studio 2010
Crystal Reports for Visual Studio 2010 with 64 bit runtime installed
Visual Studio 2008 installed
Microsoft Office 2010 installed
Macafee antivirus
There are about 10 other virtual machines on the same HW.
I think the performance problem is related to text obejcts on a report document viewed in a WPF Viewer. I made a simple WPF GUI with 2 buttons and the first button executes a very simple report that only has a text object with a few words in it and the other button is also a simple report with only 1 text object with approx. 100 words (about 800 charchters).
The first report executes and displays almost instantly and the second report executes instantantly but displays after approx. 1 min 30 sec.
And execute in this context means that all VB.Net code runs in the compiler without any exception or performance problem. The performance problem seems to come after viewer.Show() (in the code below) has executed.
I did another test on the second report and replaced the text obejct with a formula field with the same text as the text object and this test executed and displayed the report instantly.
So the performance problem seems to have something to do with rendering of textobjects in the WPF Viewer on a virtual machine with the above setup.
I've made several tests on local machines with Windows XP (32 bit) or Winows 7 (64 bit) installed and none of them have this performance problem. Its not a critical issue for us because our users will run this application on their local PCs with Windows 7 64-bit but its a bit problematic for our project not being able to run all of our integration tests but I will probably solve this by using a local PC instead.
Here is the VB.Net code Im using to View the reports:
Private Sub LightWeight_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
Dim lightWeightReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
lightWeightReport.Load(Environment.CurrentDirectory & "\LightWeight.rpt")
' Initialize Viewer
Dim viewer As LF.LIV.PEAAT.Crystal.Views.ReportViewer = New LF.LIV.PEAAT.Crystal.Views.ReportViewer()
viewer.Owner = Me
viewer.reportViewer.ViewerCore.ReportSource = lightWeightReport
viewer.Show()
End Sub
Private Sub LightWeightSlow_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
Dim lightWeightReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
lightWeightReport.Load(Environment.CurrentDirectory & "\LightWeightSlow.rpt")
' Initialize Viewer
Dim viewer As LF.LIV.PEAAT.Crystal.Views.ReportViewer = New LF.LIV.PEAAT.Crystal.Views.ReportViewer()
viewer.Owner = Me
viewer.reportViewer.ViewerCore.ReportSource = lightWeightReport
viewer.Show()
End Sub
The reports are 2 empty default reports with only 1 textobject on the details section.
// ThomasSee if the KB [
[1448013 - Connecting to Oracle database. Error; Failed to load database information|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433343338333033313333%7D.do] helps.
Also the following may not hurt to have a look at (if only for ideas):
[1217021 - Err Msg: "Unable to connect invalid log on parameters" using Oracle in VS .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033323331%7D.do]
[1471508 - Logon error when connecting to Oracle database in a VS .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433373331333533303338%7D.do]
[1196712 - Error: "Failed to load the oci.dll" in ASP.NET application against an Oracle database|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393336333733313332%7D.do]
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
Problem with a view in XK01 transaction
Hi All,
I am working on upload conversion for Vendor Master. While doing conversion, i am getting a problem with a Contact person view in XK01 transaction. In contact person view the telephone field column sometimes allowing to add data ,sometimes it's not allowing data which results an error in conversion program saying that the telephone field in not an input field. I don't know why the view is showing the telephone field like that.
Can any one suggest the solution for this problem. I know this is configuration problem with a view but i posted in ABAP forums.
ThanksHi Ben,
I assume that you are writing a BDC program to upload contact person information. If so, you are trying to populate a table control here. Please check to see if you are calculating the index to assign values to the correct rows.
if you are calculating index in your program then i think it should be configuration problem as you said.
Thanks,
Ganesh. -
Problem with Design View in DW5
I've recently inherited responsibility for my group's website (despite the fact that I'm kind of a noob at all this) and am dealing with an interesting challenge that I hope someone can help me with.
It seems that our pages are based on a number of templates that for some reason were not saved along with the rest of the site. Short term this is not a huge issue, as the pages have the source code from the templates embedded in them, but this code is not editable and I can't figure out a way to override the fact that I'm "locked out" from making any changes (at least from within Dreamweaver). Up to now I've just been editing the pages individually in Komodo, which is tedious but not horrible, given that our site isn't that big, but it's clearly no way to do business in the long term.
So I'm trying to re-engineer some templates that I can work with. What I did was use Komodo to strip away all of the template-related language from one of the site pages, and re-imported the code back into Dreamweaver, in the hope that I can then save that as a new template. I'm close, but not quite there. My problem is that DW's Design View isn't rendering the page properly, even though it displays fine in Live View and in browsers. Maybe this isn't a huge deal, but it's really bugging me because: 1) I do rely on Design View, since I'm not an experienced programmer; and 2) I'm kind of anal retentive.
To see what I'm talking about, here is the page I used as the foundation for creating a new template:
http://iodp.ldeo.columbia.edu/TOOLS_LABS/TRIPLE/aps.html
... and here is my new "template" (although I haven't saved it yet as a DW template):
http://iodp.ldeo.columbia.edu/TOOLS_LABS/TRIPLE/test3.html
The second page displays correctly in Live View, Safari and Firefox, but not in DW's Design View, where it looks like this, at least on my computer:
As you can see, there's an odd "break" between the banner image and the menus on the left, and the body of the page, which should appear to the right of the menus on the left, is instead underneath them. I'm at a loss as to why the same code displays properly for the first page, but not the second.
I guess my questions are as follows:
1) Does anyone else get the same messed up display in DW's design view if they import the second page into DW?
2) And if so, can you pinpoint where the problem is?
I hope I've explained this clearly and would really be grateful for help. Thanks!Validate your code and fix errors. #1 problem is the lack of a valid Document Type Declaration (DTD) on line 1 of HTML code.
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
To add a DTD in DW:
Go to Modify > Page Properties > Title/Encoding.
Select document type from drop list. I recommend HTML 4.0 Transitional.
Hit Apply & OK.
Repeat Steps 1 - 3 on remaining site pages.
I'm not a huge fan of DW Templates (.dwt). I don't know how big your site is but it might be simpler to disconnect from Templates, giving you freedom to edit anything you wish. Then use Server-Side Includes (SSIs) for common site wide elements such as menus, headers & footers.
The great thing about SSIs is that you only need to edit one file, save it and upload to server. Site pages are automatically updated by the server. With Templates, you have to upload every child page each time you change your template. Even on small sites, this is tedious.
Server-Side Includes
http://www.smartwebby.com/web_site_design/server_side_includes.asp
More on Server-Side Includes
http://forums.adobe.com/message/2112460#2112460
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
Dear All ,
I am facing a problem with HTML Viewer . My senario is as follows :
1. I have created one HTML page . On that page there are 4 Images
2. I imported that HTML page in SAP with the help of transaction SMW0
3. I Called that HTML page in my ABAP program using the method "load_html_document" of class cl_gui_html_viewer
4. This is happening perfectly ok on the machine on which all this developement was done.
But the issue is when I execute my ABAP program on a different machine , those Images on that HTML page are not displaying.
Can you please guide me how to remove that machine dependancy?
Regards,
NikhilHi Nikhil,
Please check if the image is properly imported properly. Also check if there is any option which you might have forgotten while imported like dependeency.
Regards
Abhii... -
Problem With Image View After Cropping
Hi All,
I have a problem when I try to crop an image in CS4. The crop tool works perfectly, however sometime the cropped image has parts of the image “out of line” I believe the problem is just with the view, not the actual file. I have saved the image and opened it in MS Picture Viewer and the image is perfect.
I was using Windows XP without a problem. I have only experienced this since I upgraded to windows 7 64 bit.
Below is a screen shot of the problem, not the bottom right of the image. Any suggestions please.
Thanks - VickiNo, it was me. Feel free to review the thread history at this URL if you'd like: http://forums.adobe.com/message/4206899
Your display driver IS out of date. You really don't want the one from Microsoft's WHQL
If you would like to be able to use the OpenGL-specific features, listed on the page below, as well as not have display corruption, I recommend you update SPECIFICALLY to Catalyst 11.7 (which carries driver version 8.872). Anything up to 11.12 is probably okay, but 12.1 has some very specific problems with Photoshop. Several of us on the forum here have had particularly good, solid results from 11.7.
http://kb2.adobe.com/cps/405/kb405745.html
-Noel
Maybe you are looking for
-
One-click 'Save as jpeg' shortcut script please! - saved in the same folder
Hi, I've been re-directed here because I was told a script could solve my problems - but I have no scripting experience/knowledge/ability! Below is my original problem and post. I got as close as 2 button presses, but I'm after that sweet, sweet sing
-
Saving and loading 1D array to/from file
Hi, i have some problems with my NI application. for the first, i have case structure with two cases: true and false. FALSE: in this case i have a for loop with 100 samples. i catch signal from my DAQ (now just Simulate Signal) and what i want is to
-
How do I pass the exact datetime parameter in a procedure.
How do I pass the exact datetime parameter in a procedure. Hi All, I have a datetime problem which is driving me crazy. I need pass a datetime field as a parameter in an oracle procedure exactly as below with timestamp. Example: '6/01/2005 5:25:24 AM
-
Need help setting up IMAP account
I have an IMAP account with JustHost. I'm confused about how to set it up on the iPhone so that deleted and sent messages are stored on the server in the same folder they would be stored in if I deleted or sent them from Mail.app. JustHost include th
-
Cost fileds description of table in KEPH
Dear All, I am developing a query with table KEKO and KEPH for the material cost estimate. I need to run for several materials. CK13N is can be used for only one material. I am getting Cost estimate No from the table KEKO and passing the value to KEP