Error 7 while using test report VIs
I'm trying to figure out how to use the Labview test report VIs and I'm getting error 7 message. Please attached VI and error message. Does any one know this can be fixed?
Thanks
Attachments:
LabviewTestReport.vi 21 KB
Error 7.png 34 KB
It looks like your file does not exist. Have you created an .xls file by that name in the location?
Similar Messages
-
Error While Genrating Test Report in Test Plan Management
Hi Guru's
I am getting an authorization error while generating test report via STWB_info.
Just i selected the test package and while click the test report i am getting this error.
Error during authorization check
Message no. TWBHS540
Guide Me to solve this issue
thanks in advance
regards
AnandhHi,
Please try the following:
Start transaction SMGENDOC03
Do not change anything but just hit the save button.
Afterwards restart transaction STWB_2 and try again to generate again.
Hope this helps.
Cheers
SH -
Error while running test report
I have just installed oracle application server 10g 10.1.2. on redhat linus AS4 on dell 64 bit machine.
forms servlet works fine but when i use the following url to access test report
It gives a very famous error error "REP-51002: Bind to Reports Server *** failed "
http://zeropoint:7779/reports/rwservlet?report=test.rdf&destype=cache&desformat=pdf
everything in infrastructure and application server middle tier is working fine.
the URL
http://zeropoint:7779/reports/rwservlet
Works fine
What might be the problem?
Regardshow are you martin
well i have checked at client side but same problem. the status of report server is
same as i told you after staring it through URL
its 1/0
i have done a freshj installation, but dont know why even after fress installation why isn't it working.
Let me tell you another thing. My client has not any DNS right now and they are using host file on client side to resolve the server name but they are running successfullly in same netwrok let me tell you another thing that they are using 10.1.2.0.2 on red had advance server 3 on a 32bit machine and the machine on which i am working right now is 64-bit DELL machine with red hat linux advance server 4. I have done same hing in my office on AMD 64-bit machine and there my reports server is running fine.
So do you think it might be a network problem? -
Error while using Before report trigger. -- Urgent
Dear All,
The following error I am getting when I execute my data template where I have used Before Report Trigger. I am also pasting the Data Template that I have developed.
============================
Error
============================
XDO Data Engine Version No: 5.6.3
Resp: 20560
Org ID : 204
Request ID: 4846248
All Parameters: P_LOB=01:P_DIV_FROM=:P_DIV_TO=:P_FROM_ORG=:P_TO_ORG=:P_INV_FROM=:P_TO_INV=:P_TRX_DATE_FROM="2003/01/01 00:00:00":P_TRX_DATE_TO="2003/01/15 00:00:00"
Data Template Code: SSBWIPANA_MFGR
Data Template Application Short Name: WIP
Debug Flag: N
{P_DIV_FROM=, P_TRX_DATE_TO=2003/01/15 00:00:00, P_DIV_TO=, P_FROM_ORG=, P_TO_ORG=, P_TRX_DATE_FROM=2003/01/01 00:00:00, P_INV_FROM=, P_LOB=01, P_TO_INV=}
Calling XDO Data Engine...
[122407_011745100][][EXCEPTION] SQLException encounter while executing data trigger....
java.sql.SQLException: ORA-06550: line 2, column 12:
PLS-00302: component 'P_LOB' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
ORA-06550: line 3, column 12:
PLS-00302: component 'P_DIV_FROM' must be declared
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
ORA-06550: line 4, column 12:
PLS-00302: component 'P_DIV_TO' must be declared
ORA-06550: line 4, column 1:
PL/SQL: Statement ignored
ORA-06550: line 5, column 12:
PLS-00302: component 'P_FROM_ORG' must be declared
ORA-06550: line 5, column 1:
PL/SQL: Statement ignored
ORA-06550: line 6, column 12:
PLS-00302: component 'P_TO_ORG' must be declared
ORA-06550: line 6, column 1:
PL/SQL: Statement ignored
ORA-06550: line 7, column 12:
PLS-00302: component 'P_FROM_INV' must be declared
ORA-06550: line 7, column 1:
PL/SQL: Statement ignored
ORA-06550: line 8, column 12:
PLS-00302: component 'P_TO_INV' must be declared
ORA-06550: line 8, column 1:
PL/SQL: Statement ignored
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:967)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3327)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3433)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4394)
at oracle.apps.xdo.dataengine.XMLPGEN.executeTriggers(XMLPGEN.java:699)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:254)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
=====================================================
Data Template
====================================================
<dataTemplate name="SSBWIPANA_MFGR" defaultPackage="PRODUCTION" version="1.0">
<parameters>
<parameter name="P_LOB" datatype="charecter"/>
<parameter name="P_DIV_FROM" datatype="charecter"/>
<parameter name="P_DIV_TO" datatype="charecter"/>
<parameter name="P_FROM_ORG" datatype="charecter"/>
<parameter name="P_TO_ORG" datatype="charecter"/>
<parameter name="P_FROM_INV" datatype="charecter"/>
<parameter name="P_TO_INV" datatype="charecter"/>
<parameter name="P_TRX_DATE_FROM" datatype="charecter"/>
<parameter name="P_TRX_DATE_TO" datatype="charecter"/>
</parameters>
<dataQuery>
<sqlStatement name="Q_1">
<![CDATA[SELECT DISTINCT MSI.CONCATENATED_SEGMENTS, MMT.INVENTORY_ITEM_ID,
MSI.DESCRIPTION, MMT.TRANSACTION_UOM, SDT.TRX_DATE,
MTP.ORGANIZATION_CODE, MMT.ORGANIZATION_ID
FROM MTL_MATERIAL_TRANSACTIONS MMT,
MTL_PARAMETERS MTP,
MTL_SYSTEM_ITEMS_VL MSI,
SSBWIP_DATE_TEMP SDT
WHERE MMT.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
AND MMT.ORGANIZATION_ID = MSI.ORGANIZATION_ID
AND MSI.ORGANIZATION_ID = MTP.ORGANIZATION_ID
AND MMT.ORGANIZATION_ID = MTP.ORGANIZATION_ID
AND MMT.TRANSACTION_TYPE_ID IN (17, 44)
AND MMT.ORGANIZATION_ID IN (
SELECT MP.ORGANIZATION_ID
FROM MTL_PARAMETERS MP, GL_CODE_COMBINATIONS GCC
WHERE MP.MATERIAL_ACCOUNT = GCC.CODE_COMBINATION_ID
AND GCC.SEGMENT1 = :P_LOB
AND (GCC.SEGMENT2 BETWEEN NVL (:P_DIV_FROM,
GCC.SEGMENT2)
AND NVL (:P_DIV_TO, GCC.SEGMENT2)
AND MTP.ORGANIZATION_CODE BETWEEN NVL (:P_FROM_ORG,
MTP.ORGANIZATION_CODE
AND NVL (:P_TO_ORG,
MTP.ORGANIZATION_CODE
AND MSI.CONCATENATED_SEGMENTS BETWEEN NVL
(:P_FROM_INV,
MSI.CONCATENATED_SEGMENTS
AND NVL
(:P_TO_INV,
MSI.CONCATENATED_SEGMENTS
ORDER BY MSI.CONCATENATED_SEGMENTS, MTP.ORGANIZATION_CODE]]>
</sqlStatement>
<sqlStatement name="Q_2">
<![CDATA[SELECT NVL (SUM (TRANSACTION_QUANTITY), 0) COMPLETION
FROM MTL_MATERIAL_TRANSACTIONS
WHERE INVENTORY_ITEM_ID = :INVENTORY_ITEM_ID
AND ORGANIZATION_ID = :ORGANIZATION_ID
AND TRANSACTION_TYPE_ID = 44
AND TRUNC (TRANSACTION_DATE) = :TRX_DATE]]>
</sqlStatement>
<sqlStatement name="Q_3">
<![CDATA[SELECT NVL (SUM (TRANSACTION_QUANTITY) * -1, 0) INCOMPLETION
FROM MTL_MATERIAL_TRANSACTIONS
WHERE INVENTORY_ITEM_ID = :INVENTORY_ITEM_ID
AND ORGANIZATION_ID = :ORGANIZATION_ID
AND TRANSACTION_TYPE_ID = 17
AND TRUNC (TRANSACTION_DATE) = :TRX_DATE]]>
</sqlStatement>
<sqlStatement name="Q_4">
<![CDATA[SELECT DESCRIPTION
FROM FND_FLEX_VALUES_VL
WHERE FLEX_VALUE_SET_ID = 1002470
AND FLEX_VALUE = :P_LOB]]>
</sqlStatement>
<sqlStatement name="Q_5">
<![CDATA[SELECT DESCRIPTION
FROM FND_FLEX_VALUES_VL
WHERE FLEX_VALUE_SET_ID = 1012471
AND FLEX_VALUE = :P_DIV_FROM
AND PARENT_FLEX_VALUE_LOW = :P_LOB]]>
</sqlStatement>
<sqlStatement name="Q_6">
<![CDATA[SELECT DESCRIPTION
FROM FND_FLEX_VALUES_VL
WHERE FLEX_VALUE_SET_ID = 1012471
AND FLEX_VALUE = :P_DIV_TO
AND PARENT_FLEX_VALUE_LOW = :P_LOB]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReport" source="PRODUCTION.beforereporttrigger(:P_TRX_DATE_FROM,:P_TRX_DATE_TO)"/>
<dataStructure>
<group name="G_CONCATENATED_SEGMENTS" source="Q_1">
<element name="CONCATENATED_SEGMENTS" datatype="charecter" value="CONCATENATED_SEGMENTS"/>
<element name="DESCRIPTION" datatype="charecter" value="DESCRIPTION"/>
<element name="TRANSACTION_UOM" datatype="charecter" value="TRANSACTION_UOM"/>
<element name="INVENTORY_ITEM_ID" datatype="number" value="INVENTORY_ITEM_ID"/>
<element name="ORGNIZATION_ID" datatype="number" value="ORGANIZATION_ID"/>
<group name="G_TRX_DATE" source="Q_1">
<element name="TRX_DATE" datatype="date" value="TRX_DATE"/>
<group name="G_1" source="Q_1">
<element name="ORGANIZATION_CODE" datatype="charecter" value="ORGANIZATION_CODE"/>
<group name="G_ORGANIZATION_CODEC" source="Q_2">
<element name="COMPLETION" datatype="number" value="COMPLETION"/>
</group>
<group name="G_ORGANIZATION_CODEI" source="Q_3">
<element name="INCOMPLETION" datatype="number" value="INCOMPLETION"/>
</group>
</group>
</group>
</group>
<group name="G_LOB" source="Q_4">
<element name="CF_LOB" datatype="charecter" value="description"/>
</group>
<group name="G_FROM_DIV" source="Q_5">
<element name="CF_DIVFROM" datatype="charecter" value="description"/>
</group>
<group name="G_TO_DIV" source="Q_6">
<element name="CF_DIVTO" datatype="charecter" value="descrption"/>
</group>
<element name="CS_COUNT" function="count()" datatype="number" value="G_CONCATENATED_SEGMENTS.CONCATENATED_SEGMENTS"/>
</dataStructure>
</dataTemplate>
Pls. suggest me.
nullHi,
without checked the whole document .... you've defined all paramaters as datataype charecter instead of character.
Regards
Rainer -
Error while using Test tool -WE19
Hi All,
When I am trying to use Test tool for IDOC processing ( WE19) in R/3 System for any Basic Type ,for example: PEXR2002 and select the Standard Outbound Processing, I am getting the message as Port does not exist in the table of port descriptions.
Is this error something where port configuration is missing or some standard error.
Please provide your inputs.
Regards
Pragya DubeyHello Dubey,
Check it once u r configaration..
Step by Step Procedure..
Create the tRFC port definition
Refer to the following steps to create the tRFC port definition.
1. SAP transaction code: WE21 Type /nwe21 on the SAP input window and press the
Enter key.
2. Highlight Transactional RFC.
3. Click the Port pull-down menu, which is located in the upper left corner of the SAP
screen. Click Create (or press F7).
4. Select the own port name radio button.
5. Type a port name such as ALEport. If you use a port name different from this, update
Table 2 at the beginning of this chapter for future reference.
6. Click the green check icon to continue.
7. Fill in the description field with tRFC port (You are free to write anything you want here).
8. Fill in the RFC destination field with ALESERVER. This must match the name you used on the previous RFC Destination step. If the name you enter here does not exist, the
system will flag an error and you will need to provide an existing RFC destination.
9. Make sure that IDoc record types SAP Release 4.x is selected.
10. Click on save.
Thanks,
Satya Kumar
Reward points if it is useful.. -
Error While Using Crystal Report and Its Print SAP Business One
Hi Experts,
I am using SAP Business One 8.82 PL 11. On my Server there is a problem in Crystal Report tool.
When I am trying to see preview and tried to get print of any Crystal report layout It gives me error "Unknown Database Connector Error"
Please give me solution on same ASAP.
Also I have attached Screen shot of error.
Thanks.
Ajit.Hi Ajit,
Please repost to the SAP B1 space.
-Abhilash -
Output looking fine in display queue but error while using test tab
Hi,
Iam working on an IDOC to XML scenario using multimapping.Here in my scenario i have a field in idoc namely E1PLOGI.
Here the output is two different types of miles.Here the mapping should generate different number of files based on the number of times E1PLOGI occurs.Here in the IDOC i have taken the particular field(E1PLOGI ) occurs six times.
Here the mapping rule is same for the two filestypes.But here for the first file type it is creating six files.But in the second case it is always creating 1 file only.
When i click on display queue and see it shows the correct vaues(six constant values which i mapped to the node for every existence of E1PLOGI) but when i go to test tab and test it creates only one instead of six.
Please help me with this problem.
Thanks,
BhargavHI Bhargav,
May be this is the problem of queue, first u go to <b>Tcode smq2</b> ( for inbound messages) in ur R/3 system and clean up this queue , after this send your message again, hopefully it will solve your problem.
regards
HONEY -
Error while generating the report on Test env (for divide condition)
Hi All,
I am facing the below error while generating the report in test environment while the same report is working fine on Prod environment.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16015] SQL statement execution failed. (HY000)
Actually the error is coming for the below logics:
COUNT(DISTINCT RMA.RMA)/COUNT(DISTINCT User."User Name")
"RMA Fact"."Module Backlog"/COUNT(DISTINCT User."User Name")
Can anyone please tell if I need to make any configuration changes as the same logic works perfectly fine on production but not on test.
Thanks in advanceIs anyone having any idea about it...
-
Error while creting webi report on top of query ,using BO XI3.1
Hi,
I'm getting below error while creating webi report ,tried to applying some patches but no luck
SAP021_sales value report
a database error occured ,the data base error text is error in MDD darasetBW.getcelldata.system error in program CL_RSR_MDX_BXML_FLATENING and form ASSIGN_COMP_02(see long text) (WIS10901)
Looking forward to your sugesstions.
Thankshi,
Go through the below SAP Notes on the issue-
SAP OSS Notes 1440912 and 1432162 -
We are facing error while executing Bex report.
Hi Gurus:
We are facing error while executing Bex report.
Messge :
u201CQuery 0: Runtime error program state check for conversation 05284411 / CP with parallel processing via RFC
Message no. DBMAN428u201D
The query is based upon Multiprovider (based upon 2 basic cubes).
Both cubes are partitioned by info object 0CALMONTH, (valid range - 01.2005 - 012.2010).
Those cubes are not containing any non-cumulative key figures and Service package level for SAP NetWeaver BI 7.0 is u2018SAPKW70012u2019.
I have checked those cubes in RSRV and carry out following steps:
"All Elementary Tests -> Transaction Data" and execute the repair "Consistency of the Time Dimension for an Info Cube"
I have found system inconsistency like u201CRecord with the DIMID 2 contains non-fitting time characteristics u201C
Detail ERROR:
Record with the DIMID 2 contains non-fitting time characteristics
Message no. RSCV053Diagnosis
The data record of the time dimension table with the described DIMID contains values for time characteristics that do not fit together.
I have found the u2018 Note 1130450 - Query displays error DBMAN 284; RSRV: Time dimension checku2019 for this but still not sure this will work or not .
I tested this in dev server , didn't feel useful.
Could you please let us know what to correct this error.
Anwser will be rewared.
Regards,>
Surendra Pande wrote:
> Anwser will be rewared.
> Regards,
Go read the RULES of these forums. -
Error while using window.open() in JSP page
I am getting error while using window.open() in my JSP page.
This is code in my JSP page,
<h:commandLink onclick="loadContextSensitiveHelp(#{setNewDayStatusBean. cycleStatusViewObject.helpUrl});" value="Help">
function loadContextSensitiveHelp(helpPageName) {
top.consoleRef=window.open('#{facesContext.externalContext.requestContextPath}/main/patient/helpPageName','myconsole',
'width=350,height=250'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0')
top.consoleRef.document.close()
I am getting the following error in my browser,
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /SetNewDayStatus.jsp(69,34) #{..} is not allowed in template text
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
Anyone help me to solve this issue. Thanks............................I am getting error while using window.open() in my JSP page.
This is code in my JSP page,
<h:commandLink onclick="loadContextSensitiveHelp(#{setNewDayStatusBean. cycleStatusViewObject.helpUrl});" value="Help">
function loadContextSensitiveHelp(helpPageName) {
top.consoleRef=window.open('#{facesContext.externalContext.requestContextPath}/main/patient/helpPageName','myconsole',
'width=350,height=250'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0')
top.consoleRef.document.close()
I am getting the following error in my browser,
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /SetNewDayStatus.jsp(69,34) #{..} is not allowed in template text
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
Anyone help me to solve this issue. Thanks............................ -
Error while running the Report
Hi ,
I am trying to run the Report in Bex Analyzer. and once I enter the value for the variable, it gives me message that "Element is not correctly define (please check query)" and when i click on the error it gives me detail message as below :
<b><b>Diagnosis
Additional elements that do not have the same dimension, such as quantities and amounts or amounts and ratios, are added to element Sales Qty Gallons .
Procedure
Check your definition.
If you still want to use this addition, you can suppress the dimensionality of one or both subexpressions by using the 'NODIM' operator. The system then interprets this or these subexpressions as nondimensional numbers.
In the executed query, you can use the Key Figure Definition function to analyze element Sales Qty Gallons .</b></b>
Now the thing is I am already using "NODIM" operator to add those elements. and I m not sure why this error is coming up now because I have created this query a while ago and it wasnt giving me any error at that time but now I have make some changes into it and it;s giving me this error while running the Report. But the thing is I didnt change anything in the element for which it;s showing me error.
Thanks,
NaitikNaitik,
There are two or more key figures in your report. They are defined by different dimensions and somewhere you have a formula with both these key figure.
Edit your query and select the Check Query icon. It will tell you which calculation you have the problem with. Edit this calculation to see which key figures are present.
If the formula is logically correct, best thing to do is to put a NODIM( ) on your key figures that make up the formula, and then change you formula to look at the NODIM( ) version.
That will fix things for you,
Regards
Gill -
Error while opening the report.
hi,
Some time i am getting "500 Internal Server Error',while executing the report.Please check the following exception and give the possible reason for getting this kind of problem.
<b> 500 Internal Server Error</b>
BEx Web Application
Failed to process request. Please contact your system administrator.
<b>Error Summary</b>
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator.
To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
<b>Root Cause</b>
The initial exception that caused the request to fail, was:
Termination message sent
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
<b>Messages</b>
ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
ABEND: Error in BW:
<b>System Environment</b>
<b>Server</b>
BI Java Release: 7 - Patch level: 0000000009 - Description: BI Web Applications Java - Additional info: - Production mode: true
BI ABAP Release: 700 - Patch level: 0009 - Description: SAP NetWeaver BI 7.0 (BIPCLNT300) - Additional info: - Production mode: true
Java Virtual Machine Classic VM - IBM Corporation - 1.4.2
Operating System AIX - ppc64 - 5.3
<b>Context</b>
ACCESSIBLE false
BEx Runtime Version 1
CACHE true
CONTENT_PADDING true
COUNTRY
DEBUG false
DEBUG_LEVEL 0
DEBUG_MESSAGES false
Initial Query String BUILDTREE=false&NAVIGATIONTARGET=navurl%3A%2F%2F7b8b73fe5fd57ae6c5c1a24aed5d1ac4&NAVPATHUPDATE=false&RELATIVENAVBASE=&SAP-LAFVERSIONS=portal%3A7.0.9.0.1%3Bur%3A7.0.9.0.1&SAP-PP-CONSUMERBASEURL=3A80&SAP-PP-PRODUCERID=com.lenovo.BIP_Lenovosap&TEMPLATE=Z_WEB_CR_ZCRMOPPI_Q0032&THEME=LenovoBlueTwo
LANGUAGE en
Master System Alias BIPCLNT300
PROFILING false
RTL false
Request URL http
SAP_BW_IVIEW_ID pcd:portal_content/d029033/com..BI_Reports/com.BI_Analytics/Z_WEB_CR_ZCRMOPPI_Q0032
SAP_EXTERNAL_SID CLGF6EORaEN7Vivt8TVaQw==3eTBxzbQZSMLxB4o3h9+7w==
THEME_NAME LenovoBlueTwo
TRACE false
TRAY_TYPE PLAIN
Time Thu Oct 04 03:14:20 PDT 2007
User EPSUPPORT (USER.R3_DATASOURCE.EPSUPPORT)
<b>Full Exception Chain</b>
Log ID 00145ED13086005200000889000C719A00043BA80CB04B89
com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error during conversion of the Web template "Z_WEB_CR_ZCRMOPPI_Q0032 from the master system at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2055) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:841) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:775) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:412) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java(Compiled Code)) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java(Compiled Code)) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code)) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code)) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code)) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java(Compiled Code)) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code)) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code)) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code)) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code)) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code)) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code)) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code)) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error during conversion of the Web template "Z_WEB_CR_ZCRMOPPI_Q0032 from the master system at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:93) at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:161) at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:81) at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:118) at com.sap.ip.bi.webapplications.runtime.base.Template.doInit(Template.java:105) at com.sap.ip.bi.webapplications.runtime.base.PageObject.init(PageObject.java:232) at com.sap.ip.bi.webapplications.runtime.base.Container.init(Container.java:46) at com.sap.ip.bi.webapplications.runtime.impl.Page.initPageObject(Page.java:3226) at com.sap.ip.bi.webapplications.runtime.impl.Page.createPageObject(Page.java:3427) at com.sap.ip.bi.webapplications.runtime.impl.Page.setTemplate(Page.java:4355) at com.sap.ip.bi.webapplications.runtime.impl.Page.doSetTemplateCommand(Page.java:4091) at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101) at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:410) at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325) at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144) at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandInternal(Page.java:1418) at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:1713) at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2424) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:1977) ... 38 moreCaused by: com.sap.ip.bi.deploytime.BIBaseRareSystemException: BI runtime subsystem error: Retrieve MetadataResources Failed1.4.2com.sap.ip.bi.deploytime.metadataresourcecache.MetadataResourceCache:initialize Note call hierarchy at com.sap.ip.bi.deploytime.metadataresourcecache.MetadataResourceCache.initialize(MetadataResourceCache.java:212) at com.sap.ip.bi.deploytime.BISP2Jsp.transformDTT(BISP2Jsp.java:1130) at com.sap.ip.bi.deploytime.BISP2Jsp.convert(BISP2Jsp.java:497) at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:88) ... 59 moreCaused by: com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION MSGV1: SAPMSSY1 MSGV3: UNCAUGHT_EXCEPTION at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148) at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113) at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144) at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113) at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:221) at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:171) at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java(Compiled Code)) at com.sap.ip.bi.deploytime.service.validation_metadata.impl.ValidationMetadataService.getTransformData(ValidationMetadataService.java:53) at com.sap.ip.bi.deploytime.metadataresourcecache.MetadataResourceCache.initialize(MetadataResourceCache.java:196) ... 62 more
Regards,
Ravi.Mhi,
Any suggestion for the above query.
here i am using federated portal concept,once i am opening this report in the portal only i am facing the above problem.
Regards,
Ravi.M -
OSB: Cannot acquire data source error while using JCA DBAdapter in OSB
Hi All,
I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
Error infor are as follows:
The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
JNDI Name for the Database pool: eis/DB/soademoDatabase
JNDI Name for the Data source: jdbc/soademoDatabase
I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
Login info in RetrievePersonService-or-mappings.xml
<login xsi:type="database-login">
<platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
<user-name></user-name>
<connection-url></connection-url>
</login>
jca file content are as follows:
<adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
<endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
<interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
<property name="DescriptorName" value="RetrievePersonService.PersonT"/>
<property name="QueryName" value="RetrievePersonServiceSelect"/>
<property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
<property name="ReturnSingleResultSet" value="false"/>
<property name="GetActiveUnitOfWork" value="false"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
RetrievePersonService_db.wsdl are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
<WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
<WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
<WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
<WL5G3N0:operation name="RetrievePersonServiceSelect">
<WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
<WL5G3N0:input>
<WL5G3N2:body use="literal"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N2:body use="literal"/>
</WL5G3N0:output>
</WL5G3N0:operation>
</WL5G3N0:binding>
<WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
<WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
<WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
</WL5G3N0:port>
</WL5G3N0:service>
</WL5G3N0:definitions>
Any suggestion is appricated .
Thanks in advance!
Edited by: user11262117 on Jan 26, 2011 5:28 PMHi Anuj,
Thanks for your reply!
I found that the data source is registered on server soa_server1 as follows:
Binding Name: jdbc.soademoDatabase
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 80328036
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
Binding Name: jdbc.SOADataSource
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 92966755
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
I don't know how to determine which server the DBAdapter is targetted to.
But I found the following information:
Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
Outbound Connection Pool Server State Current Connections Created Connections
eis/DB/SOADemo AdminServer Running 1 1
eis/DB/SOADemo soa_server1 Running 1 1
eis/DB/soademoDatabase AdminServer Running 1 1
eis/DB/soademoDatabase soa_server1 Running 1 1
The DbAdapter is related to the following files:
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
<?xml version="1.0"?>
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<outbound-resource-adapter>
<default-connection-properties>
<pool-params>
<initial-capacity>1</initial-capacity>
<max-capacity>1000</max-capacity>
</pool-params>
<properties>
<property>
<name>usesNativeSequencing</name>
<value>true</value>
</property>
<property>
<name>sequencePreallocationSize</name>
<value>50</value>
</property>
<property>
<name>defaultNChar</name>
<value>false</value>
</property>
<property>
<name>usesBatchWriting</name>
<value>true</value>
</property>
<property>
<name>usesSkipLocking</name>
<value>true</value>
</property>
</properties>
</default-connection-properties>
<connection-definition-group>
<connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
<connection-instance>
<jndi-name>eis/DB/SOADemo</jndi-name>
<connection-properties>
<properties>
<property>
<name>xADataSourceName</name>
<value>jdbc/SOADataSource</value>
</property>
<property>
<name>dataSourceName</name>
<value></value>
</property>
<property>
<name>platformClassName</name>
<value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
</property>
</properties>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
Then I decided to use eis/DB/SOADemo for testing.
For JDeveloper project, after I deployed to weblogic server, it works fine.
But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
BEA-380001: Invoke JCA outbound service failed with application error, exception:
com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
It almost drive me crazy!!:-(
What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
XML Publisher error while viewing a report
I get the following error while viewing a report I have just written using a data template:
The report cannot be rendered because of an error, please contact the administrator.
I am using XML Publisher 562 Enterprise.
The Data template I have loaded is as follows:
<dataTemplate name="FLEETMASTERS" description="Fleet Masters Listing">
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT fm.fms_id, fm.reg_no, fm.vsn, fm.vin
FROM fleet_masters fm
WHERE rownum <= 100]]>
</sqlStatement>
</dataQuery>
</dataTemplate>
The rtf template loaded is simply
Fms Id Reg No Vin
F FMS_ID REG_NO VIN E
If I use a Data Model using a SQL Query and type in above select statement, it works fine. The moment I use a Data Template I get the error mentioned above.
A dump of the error in the log is
[080406_041655194][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, S
ize: 0
at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492
at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(Dat
aTemplateParser.java:1449)
at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:298
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:2
64)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:229)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.ja
va:336)
at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataP
rocessor(AdvancedQueryBoundValue11.java:126)
at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(
AdvancedQueryBoundValue11.java:79)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportC
ontextImplV11.java:335)
at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:4
6)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
er.java:52)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:629)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:451)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:218)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:119)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
If anyone has experienced something similar please help.
Thank youOkay some more information:
If I change the data template to this
<dataTemplate name="FLEETMASTERS" description="Fleet Masters Listing">
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT fms.fms_id FMS_ID, fm.reg_no REG_NO , fm.vin VIN
FROM fleet_masters fm
WHERE fm.fms_id BETWEEN 55531 and 55620 ]]>
</sqlStatement>
</dataQuery>
</dataTemplate>
I only get the titles being printed but no errors i.e the select does not seem to retrieve data from the database(85 records in database). If I remove the where clause I get the same titles as per the template with no data(49089 records in Database).
Layout of template
Fms Id Reg No Vin
Now it begs the question, is XML Publisher finicky about the syntaxes you can use inside the "sqlStatement" clause?
I have to say that this is really frustrating as I have had no successes using Data Templates
Maybe you are looking for
-
Issues after updating ios 7.1.1 on my iPad Air
I just updated my iPad Air (32GB) this morning to ios 7.1.1 from 7.1. After updating, my iPad Air just went into recovery mode... I have more than 26GB data in my iPad Air... I tried several ways to reboot the iPad. But I still cannot turn my iPad no
-
When I've installed Cheese on my KDE5 setup, it failed on start with errors as follows. 1: ** (cheese:7857): WARNING **: Icon 'video-webm' not present in theme 2: (cheese:7857): GnomeDesktop-WARNING **: Unable to create loader for mime type video/web
-
Flash Lite database application - help!
Dear all, I would like to ask for your help/opinion. I am a beginner Flash programmer. I am planning to create a Flash Lite application that will provide information on current cultural events (e.g. music, theatre), cinema listings, restaurant recomm
-
Can I change the interface of iOs 7 to recover the appearance of iOS 6 ?
I upgrade my iPhone 4S with iOs 7 but I don't like the new interface. Can I change the interface to recover the appearance of iOS 6? Thank's!
-
I am new to Elements. One of the main reasons I purchased this software was for its 'scene repair tool' which, according to the literature I have read, should be located under the healing brush tool drop menu. A 'Dummies' book that I purchased actual