Report returns wrong data when run on server
Hi,
I'm runing CRS XI R2 on Windows Server 2003 SP2. When I refresh a report in the Crystal Reports XI Designer, I'm getting correct data. But when I schedule the report to run on the server it returns wrong data. The data is different from what I see when I refresh it from the designer. In the report I have running totals set up to count customers that meet a certain criteria. The report is very large. It take almost 2 hours to refresh.
I was wondering what is causing the difference in running total data between refreshing it on the designer and running it on the server. Is it returning wrong data b/c of it not reading all the records? Should I be making any changes to the server settings? I saw that under pageserver, there are options for setting the 'Minutes Before an Idle Report Job is Closed' and 'Database Records To Read When Previewing Or Refreshing a Report". Do either of those have anything to do with the report returning incorrect data when being scheduled to run on the server?
Thanks,
Kim
Hi Xuandao,
You would need to Use Cell Binding and Trigger concept to accomplish this.
Its simple, however, you would have to work on a trial and error basis to understand this concept as implementing the same is subject to your dashboard and WEBI Design.
Open you LiveOffice.
Insert your WEBI, Now, go to Object Properties of your WEBI, select the second tab that says Prompt, Here, it lists the prompts that you have for your WEBI. This would also enlist your BEx variables as well. Select this BEx variable and click on the button that says Prompt at the bottom of this window. Here, select choose Excel Data Range and click on the cell select button on the right (small button that lets you choose what cell you want to bind this prompt to), Now select a free cell that would not be even populated later on when you run the dashboard say A1 (remember the value that you select). Click on OK and again OK. The WEBI Refreshes and you can see all the prompt values at the cell A1. These are all the possible values stored for your BEx prompt variables (these values are fetched from BW system dynamically).
Now, save this LiveOffice, Go to you dashboard. Connect your dashboard to your Live office. Go to Data-> connections-> Now, select the WEBI and in the right hand pane go to Usage tab, here, Click on Trigger cell button on the right hand side and select A1 in you LiveOffice.
It should work fine.
Let me know.
Rgds,
Sreekul Nair
Similar Messages
-
Tax Report Returns No Data [Message 131-85]
Our client has been using SBO for the past few years and run the Standard Tax Report.
They follow a standard procedure whereby they open the Tax Report enter the period details and click OK, the report returns all Input and Output Tax details.
This month they have run the report and no matter what dates you enter the report returns No Date [Message 131-85]
Does anyone have any clues as to what might be causing this?I have discovered via a SQL trace that the following script is tun for the tax report
exec sp_executesql N'
SELECT T0.[AbsEntry],
T0.[Code],
MIN(T0.[Name]),
T0.[SrcObjType],
T0.[DocNum],
MIN(T0.[Category]),
MIN(T0.[IsEC]),
T0.[IsAcq],
MIN(T0.[VatPercent]),
MIN(T0.[EqPercent]),
T0.[DocDate],
MIN(T0.[TaxDate]),
MIN(T0.[CANCELED]),
SUM(T0.[BaseSum]),
SUM(T0.[VatSum]),
SUM(T0.[EqSum]),
SUM(T0.[DeductSum] - T0.[EqSum]),
MIN(T0.[SrcObjAbs]),
N''0'',
0,
0,
MIN(T0.[DocDate]),
0,
0,
MIN(T0.[NumAtCard]),
SUM(T0.[BaseSumSc]),
SUM(T0.[VatSumSc]),
SUM(T0.[EqSumSC]),
SUM(T0.[DedctSumSC] - T0.[EqSumSC]),
MIN(T0.[TaxType]),
T0.[CrditDebit],
MIN(T0.[CardCode]),
MIN(T0.[CardName]),
MIN(T0.[SrcLineNum]),
MIN(T0.[VatDate]),
MIN(T0.[VatIdUnCmp]),
MIN(T0.[LicTradNum]),
MIN(T0.[BPLicTradNum]),
MIN(T0.[AddID]),
SUM(T0.[BaseSum])
FROM [dbo].[B1_VatView] T0
WHERE (T0.[Code] = (@P1) OR
T0.[Code] = (@P2) OR
T0.[Code] = (@P3) OR
T0.[Code] = (@P4) OR
T0.[Code] = (@P5) OR
T0.[Code] = (@P6) OR
T0.[Code] = (@P7) OR
T0.[Code] = (@P8) OR
T0.[Code] = (@P9) OR
T0.[Code] = (@P10) OR
T0.[Code] = (@P11) OR
T0.[Code] = (@P12) ) AND
T0.[DocDate] >= (@P13) AND
T0.[DocDate] <= (@P14)
GROUP BY T0.[AbsEntry], T0.[Code], T0.[SrcObjType], T0.[DocNum], T0.[IsAcq], T0.[DocDate], T0.[CrditDebit]
ORDER BY T0.[IsAcq] DESC,T0.[CrditDebit]',N'@P1 nvarchar(30),@P2 nvarchar(30),@P3 nvarchar(30),@P4 nvarchar(30),@P5 nvarchar(30),@P6 nvarchar(30),@P7 nvarchar(30),@P8 nvarchar(30),@P9 nvarchar(30),@P10 nvarchar(30),@P11 nvarchar(30),@P12 nvarchar(30),@P13 datetime2,@P14 datetime2',N'SEXP',N'SFRE',N'SGST',N'SNT',N'PCAF',N'PCAP',N'PFRE',N'PGNR',N'PGST',N'PGSTV',N'PNT',N'PPRI','2010-03-01 00:00:00','2010-03-31 00:00:00'
If I run this in SQL I get the following error, which mat shed some light on what is happening
Msg 2715, Level 16, State 3, Line 1
Column, parameter, or variable #13: Cannot find data type datetime2.
Parameter or variable '@P13' has an invalid data type.
Msg 2715, Level 16, State 3, Line 1
Column, parameter, or variable #14: Cannot find data type datetime2.
Parameter or variable '@P14' has an invalid data type. -
Hyperlink in pdf is missing when run from server.
Hello,
I create a link for a field in a report (using Hyperlink tab Hyperlink information). When I export the pdf from Crystal Report, I could see the link when mouse over the field. But when I run the report from opendocumentfrom server) , the link is missing. Does Crystal Report support hyperlink in pdf when run from server? Or do I miss anything?
Thanks for your help in advance.Moving to BusinessObject forum
-
JSObject returns wrong date. How can I extract correct date from digital signature?
I'm trying to extract name and date from digital signatures by using JSObject in Excel VBA, but JSObject returns wrong date. Year, month, hour and minute are correct, but only day is incorrect.
Here is my code. I'm using Acrobat 8.1.3.
Please tell me what's wrong with this code and how I can extract correct date from digital signatures.
Public Sub sbTest()
Dim oApp As Acrobat.acroApp
Dim oPDDoc As Acrobat.AcroPDDoc
Dim jso As Object
Dim f As Object
Dim sig As Object
Dim strFileName As String
Set oApp = CreateObject("AcroExch.App")
Set oPDDoc = CreateObject("AcroExch.PDDoc")
strFileName = "C:\Test.pdf"
If (oPDDoc.Open(strFileName)) Then
Set jso = oPDDoc.GetJSObject
Set f = jso.getField("Signature1.0")
Set sig = f.signatureInfo()
Debug.Print sig.Name
Debug.Print sig.Date
End If
Call oPDDoc.Close
Call oApp.Exit
End SubHi
You can use TDMS file format to save the data. I have attached a reference Vi.
On button click you can log the data or remove the case structure and continuous log the complete acquisition data.
Thanks and Regards
Himanshu Goyal
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Attachments:
Data Save in File.vi 35 KB -
Reports Services getting down when running reports using in process server
Hi,
I have applied patchset 3829014 (Containers for J2EE: Patchset PLACE HOLDER FOR OC4J STANDALONE RELEASE 9.0.4.1)
to fix the Bug No. 2670561 CPU usage becomes 100% when there is a new HTTP connection
request in the queue.
Now after reploying the *.ear file and restarting OC4J_BI_FORMS services from Enterprise Manager and starting the Reports Services if I want to run the reports from the application contained in the ear file, I find the Reports Services is down and the browser throws a 500 - Internal Server Error.
In the ipm.log file in Oracle_home\opmn\logs I find the following lines:
05/01/08 17:15:55 [4] Process Alive: OC4J~OC4J_BI_Forms~default_island~1 (1162281586:636)
05/01/08 17:17:32 [2] [libopmnoc4j] AJP13: Receiving response code: 500 while configured success code is: 200
05/01/08 17:17:32 [2] [libopmnoc4j] Ping URL for proc: 1162281586 failed while pinging url:/reports/rwservlet/pingserver?start=auto
05/01/08 17:17:32 [4] [libopmnoc4j] Process Ping Failed: OC4J~OC4J_BI_Forms~default_island~1 (1162281586:636)
I can't get from where the response code of 500 is coming.
I have consulted the Doc Id 261867.1 in Metalink and has tuned the opmn.xml file as suggested there but of no use.
Urgent help in this regard is needed where I went wrong as my production Application Server has become inoperative.
Thanks
NilayThe ear file contains the front end application from where the reports are called. I have created a new J2EE instance and deployed the application in the form of ear file there.
After tuning the opmn.xml file following Metalink Doc. Id 261867.1 adding a value of pingtimeout, I found the OC4J_BI_FORMS was not shutting down the inprocess reports server and I was unable to generate reports by giving values from URL. But when I deploy the ear file in the newly created J2EE instance, the OC4J_BI_FORMS is shutting down . Now when I try to start the infrastructure components the OC4J_SEcurity is showing Database dependancy failed although OID and HTTP server components are up. -
Query for selecting current date when running report
Hi all
I need a query that will copy today's date on posted sales order via DTW then that query will be linked to an alert and be sent to the sales manager every morning after the import went through successfully.
The report at the moment is running fine as i pulling through the other info required the only problem is it's pulling all the sales orrders on the system , we want it to pull only the days orders imported.You could use either of these queries
SELECT T0.DocNum, T0.DocDueDate, T0.CardCode, T0.CardName, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK
FROM [dbo\].[ORDR\] T0
WHERE T0.DocDate = GETDATE()
ORDER BY T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK, T0.DocDueDate
OR
SELECT T0.DocNum, T0.DocDueDate, T0.CardCode, T0.CardName, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK
FROM [dbo\].[ORDR\] T0
WHERE DATEDIFF(Day, T0.DocDate, GETDATE()) = 0
ORDER BY T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK, T0.DocDueDate -
Crystal Reports return no data after publish to Infoview.
*Description of Problem or Question:
Reports defined in Crystal report client do not work correctly when published to Infoview.
When report run from client, correct data is returned. When run from Infoview, no or limited data is returned.
The problem is new since installation of Service Pack 3 fixpack 3.5.
We are using the SAP Integration kit.
Product\Version\Service Pack\Fixpack (if applicable):
BOBJ XI 3.1 SP3, FP 3.5 (Including Integration kit transports)
Relevant Environment Information (OS & version, java or .net & version, DB & version):
Windows 2003 64-Bit, Java, Linking to SAP ECC6 on MAXDB 7.6
Sporadic or Consistent (if applicable):
Consistent, altough 1st refresh returns data, subsequent refresh returns no rows or few rows.
What has already been tried (where have you searched for a solution to your question/problem):
We have searched SAP Marketplace for OSS notes but none match our problem.
Steps to Reproduce (if applicable):
Create report in Crystal Reports - publish to Infoview
Install BOBJ XI 3.1 SP3 and FP 3.5
Refresh report in infoview - shows limited or no data
Open report in Crystal Reports 2008 Client, refresh data - returns correct data.
Save Cystal report to Infoview, refresh data in infoview (scheduled or online) - returns incorrect or no data.Hello,
this is interesting. Check your CR Server settings if there are any limits with regards to rows or timeouts after the installation of FP3.5
If your CR reports are running on a Universe, check the properties of the Universe if there are limitations affected to the rows.
If this all brings no result i would highly recommend to open a Support Message at SAP - maybe thats a Bug coming with FP3.5
Regards
-Seb. -
Report yields no data when viewing from InfoView
Post Author: Johannes
CA Forum: Publishing
I've just installed CRXi server and I'm now trying to publish a simple Crystal report.
First of all, this report accesses a date field that's a string format yyyymmdd. I'd like the report to run for today, in the format mmddyyyy. So I created a formula to convert the date string field to the system's date. it works when I run the report in CRXi.
When I publish the report onto the server, it only prints the report header and no data.
Has anyone come across this? I can't seem to find anything on the help files. I tried different viewers such as Acrobat reader, Active X - no difference.
Any help for this newbie would be appreciated.
JHi
SQL services are running under MSSQL_MSSQLSERVER, when changing owner of the CreateCache job to NT SERVICE\SQLSERVERAGENT it works, but after SQL reboots the domain account are there again. I think it will work if a use a copy of the job and set the SQLSERVERAGENT.
I talked to some SQL guys about this and they saw that the script use the owner to execute the script.
However this is not a recommended solution. I will install SP1 very soon and see if there is any change.
By the way installations instructions for SP1 are really bad but I assume that we can use the same approach as we did when going from MBAM 1.0>2.0?
Thomas Z -
Hi,
i have a custom report, when i choose to log in the application with Arabic language and run the report it return no data, while it return data when i log with English language ,
i have English as basic lang and Arabic as installed lang and i am using R 12 .
any help, many thanks.In Report Attributes tab, under Messages, you will see a section named "When No Data Found Message". In it, I added this javascript code. When no data was found, the javascript worked, and popped up a message box. You can replace the alert code below with a call to your javascript function.
<script language="javascript">
alert("no data found");
</script>
There is another way. In the Region Definition tab, there is a section called "Region Footer". In it, add this javascript:
<script language="javascript">
var i = #TOTAL_ROWS#;
alert(i);
</script>
When variable i is zero, then you know that no data was returned.
Hope this helps.
Ravi -
Java.util.Calendar returning wrong Date object
Example: This was my scenario last night. A server in California has date/time of 'Mon Aug 18'. Current time in Indiana is 'Sun Aug 17'. I use Calendar.getInstance(TimeZone.getTimeZone("America/Indiana/Indianapolis")) to return a Calendar instance. I then call the getTime() method on that instance. It should return a Date object relating to that particular time zone. It will not. It defaults back to the server time. When I print out the Calendar instance everything is good, correct date, correct time,etc. WHY WON'T THE getTime() return the correct java.util.Date???
Following is the output was run today so the dates happened to be the same so focus on the Time. Output includes Server time, new Calendar values, and the Date returned by calendar instance getTime(). See that the Calendar is getting the correct Time.
SERVER DATE=Mon Aug 18 15:52:13 CEST 2003
CALENDAR INSTANCE=java.util.GregorianCalendar[time=1061214732975,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/Indiana/Indianapolis",offset=-18000000,dstSavings=0,useDaylight=false,transitions=35,lastRule=null],firstDayOfWeek=2,minimalDaysInFirstWeek=1,ERA=1,YEAR=2003,MONTH=7,WEEK_OF_YEAR=34,WEEK_OF_MONTH=4,DAY_OF_MONTH=18,DAY_OF_YEAR=230,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=3,AM_PM=0,HOUR=8,HOUR_OF_DAY=8,MINUTE=52,SECOND=12,MILLISECOND=975,ZONE_OFFSET=-18000000,DST_OFFSET=0]
Date from getTime()=Mon Aug 18 15:52:12 CEST 2003I got it worked with using DateFormat.parse !
The trick is to instantiate a new Date object as a result
of parsing out of 'localized' date string.
with below code :
Calendar localCal = new GregorianCalendar(TimeZone.getTimeZone("America/Los_Angeles"));
localCal.set(Calendar.DATE, 25);
localCal.set(Calendar.MONTH, 7);
localCal.set(Calendar.YEAR, 2003);
localCal.set(Calendar.HOUR_OF_DAY,6);
localCal.set(Calendar.MINUTE, 38);
localCal.set(Calendar.SECOND, 11);
Calendar sinCal = new GregorianCalendar(TimeZone.getTimeZone("Asia/Singapore"));
sinCal.setTimeInMillis(localCal.getTimeInMillis());
int date = sinCal.get(Calendar.DATE);
int month = sinCal.get(Calendar.MONTH);
int year = sinCal.get(Calendar.YEAR);
int hour = sinCal.get(Calendar.HOUR_OF_DAY);
int min = sinCal.get(Calendar.MINUTE);
int sec = sinCal.get(Calendar.SECOND);
String sinTimeString = date + "/" + month + "/" + year + " " + hour + ":" + min + ":" + sec;
System.out.println("VIDSUtil.hostToLocalTime : time string now in SIN time : " + sinTimeString);
java.util.Date sinTime = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").parse(sinTimeString);
System.out.println("time in SIN using Date.toString(): " + sinTime.toString());
It prints out :
VIDSUtil.hostToLocalTime : time string now in SIN time : 25/7/2003 21:38:11
time in SIN using Date.toString(): Fri Jul 25 21:38:11 PDT 2003
(Ignore the PDT, because Date.toString() defaults where the JVM is running) -
Error: Boot loader didn't return any data when creating VM
Env: VirtualBox
Host: Windows 7
Guest: Linux
Domain Type: Xen PVM
Network Boot Path: http://192.168.1.200/aaa
(THis is how I mounted...
cd /var/www/html
mkdir aaa
mount -o ro,loop /var/www/html/Linux6.3V33411-01.iso /var/www/html/aaa )
When creating a VM, I get the following error. (boot loader didn't return any data)
Actioner
Starting operation 'Bridge Configure Operation' on object '0004fb0000200000b15ee1091fd244e1 (network.BondPort (1) in vmserver.com)'
Bridge [192.168.1.0] already exists (and should exist) on interface [bond0] on server [vmserver.com]; skipping bridge creation
Completed operation 'Bridge Configure Operation' completed with direction ==> DONE
Starting operation 'Virtual Machine Start' on object '0004fb0000060000bd9fc1468258f53b (first vm)'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: start_vm to server: vmserver.com failed. OVMAPI_4004E Server Failed Command: start_vm 0004fb000003000091ebba8d298de87c 0004fb0000060000bd9fc1468258f53b, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg".
Fri Aug 10 02:37:21 HST 2012
Fri Aug 10 02:37:21 HST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:459)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:385)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:65)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAsyncAction(ManagedObjectDbImpl.java:999)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAsyncAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:596)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:52)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: start_vm 0004fb000003000091ebba8d298de87c 0004fb0000060000bd9fc1468258f53b, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg".
Fri Aug 10 02:37:21 HST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 43 more
FailedOperationCleanup
Starting failed operation 'Virtual Machine Start' cleanup on object 'first vm'
Complete rollback operation 'Virtual Machine Start' completed with direction=first vm
Rollbacker
Executing rollback operation 'Bridge Configure Operation' on object '0004fb0000200000b15ee1091fd244e1 (network.BondPort (1) in vmserver.com)'
Complete rollback operation 'Bridge Configure Operation' completed with direction=DONE
Executing rollback operation 'Virtual Machine Start' on object '0004fb0000060000bd9fc1468258f53b (first vm)'
Complete rollback operation 'Virtual Machine Start' completed with direction=DONE
Objects To Be Rolled Back
Object (IN_USE): [BondPort] 0004fb0000200000b15ee1091fd244e1 (network.BondPort (1) in vmserver.com)
Object (IN_USE): [Vnic] 0004fb000007000010d326921b98ec03 (00:21:f6:00:00:08)
Object (IN_USE): [VirtualDisk] 0004fb0000120000d8f2f687d3e4c97f.img (VD1)
Object (IN_USE): [VmDiskMapping] 0004fb0000130000e3b9005a802f903e
Object (IN_USE): [VirtualMachine] 0004fb0000060000bd9fc1468258f53b (first vm)
Write Methods Invoked
Class=InternalJobDbImpl vessel_id=2712 method=addTransactionIdentifier accessLevel=6
Class=VirtualMachineDbImpl vessel_id=897 method=start accessLevel=6
Class=VnicDbImpl vessel_id=787 method=lock accessLevel=6
Class=VirtualDiskDbImpl vessel_id=919 method=lock accessLevel=6
Class=VnicDbImpl vessel_id=787 method=lock accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=928 method=lock accessLevel=6
Class=VirtualDiskDbImpl vessel_id=919 method=lock accessLevel=6
Class=VirtualMachineStartingEventDbImpl vessel_id=2721 method=notify accessLevel=6
Class=VirtualMachineStartingEventDbImpl vessel_id=2721 method=setDescription accessLevel=6
Class=BondPortDbImpl vessel_id=518 method=addJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=2712 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=2712 method=setAssociatedHandles accessLevel=6
Class=BondPortDbImpl vessel_id=518 method=setCurrentJobOperationComplete accessLevel=6
Class=BondPortDbImpl vessel_id=518 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=897 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=2712 method=setFailedOperation accessLevel=6
Class=BondPortDbImpl vessel_id=518 method=nextJobOperation accessLevel=6
Class=VnicDbImpl vessel_id=787 method=nextJobOperation accessLevel=6
Class=VirtualDiskDbImpl vessel_id=919 method=nextJobOperation accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=928 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=897 method=nextJobOperation accessLevel=6
Class=BondPortDbImpl vessel_id=518 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=897 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: start_vm to server: vmserver.com failed. OVMAPI_4004E Server Failed Command: start_vm 0004fb000003000091ebba8d298de87c 0004fb0000060000bd9fc1468258f53b, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg".
Fri Aug 10 02:37:21 HST 2012
Fri Aug 10 02:37:21 HST 2012
com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: start_vm to server: vmserver.com failed. OVMAPI_4004E Server Failed Command: start_vm 0004fb000003000091ebba8d298de87c 0004fb0000060000bd9fc1468258f53b, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg".
Fri Aug 10 02:37:21 HST 2012
Fri Aug 10 02:37:21 HST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:459)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:385)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:65)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAsyncAction(ManagedObjectDbImpl.java:999)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAsyncAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:596)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:52)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: start_vm 0004fb000003000091ebba8d298de87c 0004fb0000060000bd9fc1468258f53b, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/0004fb000003000091ebba8d298de87c/VirtualMachines/0004fb0000060000bd9fc1468258f53b/vm.cfg".
Fri Aug 10 02:37:21 HST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 43 more
End of Job
Thank you so much...I was advised to run PVM on VirtualBox. When running HVM, it complained about the CPU not supporting for Hardware Virtualization even though I'm sure that the CPU and MB support Hardware Virtualization.
Any thoughts or comments? -
Function sometimes return wrong data
Hi all.
I have a very strange problem with a function. Situation is this: I have an application that handles processes. Each process have a number of steps that is arranged in a matrix like layout. User clicks a step to start/execute it.
Now in a list of current processes i want to have an indication of how "far" a process has reached so i created a function for that and included that in my processlist fetch.
gchs_user_process_steps is the table where the user data for the process step is
gchs_process_steps is the definition table of what steps a process has
gchs_steps is the definition table of all steps
The below function is supposed to return latest step user clicked in the display matrix. tier is used to store the column number and sortorder is the row number of any step user clicked.
CREATE OR REPLACE FUNCTION FN_REACHEDSTEP(p_user_process_id NUMBER)
RETURN VARCHAR IS
ret VARCHAR(30);
ret_id INTEGER;
ret_num INTEGER;
BEGIN
ret := '';
ret_id := 0;
ret_num := 0;
BEGIN
SELECT substr(step_name,1,30),step_id,reached INTO ret,ret_id,ret_num
FROM (
SELECT a.*, rownum rnum
FROM (
SELECT s.name AS step_name, ps.id AS step_id, max((ps.tier*1000)+ps.sortorder) AS reached
FROM gchs_user_process_steps ups, gchs_process_steps ps, gchs_steps s
WHERE ups.gchs_process_step_id=ps.id AND
ps.gchs_step_id=s.id AND
ups.gchs_user_process_id=p_user_process_id
GROUP BY s.name,ps.id
ORDER BY 3 DESC) a
WHERE rownum <= 1 )
WHERE rnum >= 1;
EXCEPTION
WHEN OTHERS THEN
ret:='';
END;
RETURN ret;
EXCEPTION
WHEN OTHERS THEN
ret := '';
RETURN ret;
END FN_REACHEDSTEP;
Now the problem is that the function sometimes return wrong value. The name of the step that is returned is not the one i get if i run the SQL by itself.
So doing a
SELECT substr(step_name,1,30),step_id,reached INTO ret,ret_id,ret_num
FROM (
SELECT a.*, rownum rnum
FROM (
SELECT s.name AS step_name, ps.id AS step_id, max((ps.tier*1000)+ps.sortorder) AS reached
FROM gchs_user_process_steps ups, gchs_process_steps ps, gchs_steps s
WHERE ups.gchs_process_step_id=ps.id AND
ps.gchs_step_id=s.id AND
ups.gchs_user_process_id=21680
GROUP BY s.name,ps.id
ORDER BY 3 DESC) a
WHERE rownum <= 1 )
WHERE rnum >= 1;
and a
select fn_ReachedStep(21680) from dual;
will sometimes return different values.
So is the function fundamentally wrong or is there any cache or something that i've missed that could hold "old" function outputs or am i missing something else.
Thankful for any clues.
I'm using Oracle 10.2.0.1.0
Best regards
/Tomas
Edit: Here's some data that the system uses.
gchs_steps
ID NAME
10000 Step 1
10020 Step 2
10021 Step 3
10022 Step 4
10023 Step 5
10060 Step 6
10140 Step 7
gchs_process_steps
ID GCHS_STEP_ID TIER SORTORDER
10000 10000 0 1
10001 10020 1 1
10002 10021 1 2
10003 10022 2 1
10020 10023 3 5
10060 10060 3 4
10080 10140 3 2
10040 10040 3 3
10100 10160 4 3
10160 10220 4 2
11640 11640 3 1
11660 11660 0 6
11661 11661 0 7
11600 11600 0 4
11620 11620 4 1
gchs_user_process_steps
ID GCHS_USER_PROCESS_ID GCHS_PROCESS_STEP_ID
35541 21680 10002
38441 21680 10020
38440 21680 10000
52062 21680 10060
Relations beween table is
gchs_user_process_steps.gchs_process_step_id=gchs_process_steps.id
and
gchs_process_steps.gchs_step_id=gchs_steps.id
So doing the SQL alone will always return
SUBSTR(..) STEP_ID REACHED
Step 5 10020 3005
but executing the function sometimes returns
FN_REACHEDSTEP(21680)
Step 6
Also removing the rownum limits return and doing a
SELECT s.name AS step_name, ps.id AS step_id, max((ps.tier*1000)+ps.sortorder) AS reached
FROM gchs_user_process_steps ups, gchs_process_steps ps, gchs_steps s
WHERE ups.gchs_process_step_id=ps.id AND
ps.gchs_step_id=s.id AND
ups.gchs_user_process_id=21680
GROUP BY s.name,ps.id,ps.tier, ps.sortorder
ORDER BY 3 DESC
give this result
STEP_NAME STEP_ID REACHED
Step 5 10020 3005
Step 6 10060 3004
Step 3 10002 1002
Step 1 10000 1
Edited by: user4935832 on 2008-sep-19 01:38ORDER BY 3 DESC) a
WHERE rownum <= 1 )
WHERE rnum >= 1;Just some thoughts.
1. You could replace "ORDER BY 3" by "ORDER BY reached"
2. the rownum <=1 and rnum>=1 will return only one row... I don't understand the second one.
Lastly, the difference might come from a duplicate value return by your MAX() function.
If there is two rows (or more) with same MAX, Oracle might return one row arbitrary.
To get the same row, you have to use some aggregation function like MAX() KEEP (DENSE_RANK LAST...).
Here a try for your query, obviously not tested :
SELECT max(substr(step_name,1,30)) keep (dense_rank last order by reached) as step_name,
max(step_id) keep (dense_rank last order by reached,step_name) as step_id,
max(reached) as reached
FROM (SELECT s.name AS step_name,
ps.id AS step_id,
max((ps.tier*1000)+ps.sortorder) AS reached
FROM gchs_user_process_steps ups,
gchs_process_steps ps,
gchs_steps s
WHERE ups.gchs_process_step_id=ps.id
AND ps.gchs_step_id=s.id
AND ups.gchs_user_process_id=21680
GROUP BY s.name,ps.id) a;Nicolas. -
Hi Gurus,
When we are generating report in the answers in one column it is showing wrong data from where i have to start for this issue.
Thanks,
RafiPull that column alone,run report, compare the results with your manual query, and also compare the physical query.
if all are good then try to add other column from any other dim and then do the same as above
repeat till you know the cause.
Pls mark if helps -
Discoverer Report returning ' no data found '
Hi ...
i have an issue with one discoverer report .
Discoverer report name : EDI Price Exception Report.
when i ran the report in Discoverer Desktop edition It is returning 'No Data Found ' But i am taken the Query from admin edition and tried to ran in PL/SQL Developer/TOAD by setting Org_id condition
it's returning Data . the Desktop Edition of Discoverer for some specific date Range it's giving Data But from last month on wards it's not returning any Data.
in Discoverer Report Desktop it's not retuning the Data from November to till date
Oracle Applications 11i
Discoverer 4i
Oracle Data base :9i
OS : Windows.
Attached the Sql which i used to generate the Report :
I HAVE USED THE FOLLOWING :-for initialize the profile options
EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
SELECT A.CUST_PO_NUMBER,
A.ORDER_NUMBER,
A.ORDERED_DATE,
A.ORDER_TYPE,
-- C.CUSTOMER_ID,
C.CUSTOMER_NUMBER,
C.CUSTOMER_NAME,
B.LINE_NUMBER,
B.ORDERED_ITEM,
MSI.SEGMENT1 ACCO_ITEM, -- GRW 20060407
MSI.DESCRIPTION,
-- MSI.INVENTORY_ITEM_ID,
(SELECT MCI.CUSTOMER_ITEM_NUMBER
FROM MTL_CUSTOMER_ITEMS MCI,
MTL_CUSTOMER_ITEM_XREFS MCIX,
MTL_SYSTEM_ITEMS_B MSIB
-- MTL_PARAMETERS MP
WHERE MCI.CUSTOMER_ID = C.CUSTOMER_ID --1814924
AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID --869899
AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
AND MTP.ORGANIZATION_CODE = 'BRM'
AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
AND NVL (mci.inactive_flag, 'N') <> 'Y'
AND NVL (mcix.inactive_flag, 'N') <> 'Y')
CUSTOMER_ITEM,
XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
B.ORDERED_QUANTITY,
B.PRICE_LIST,
B.UNIT_SELLING_PRICE,
B.UNIT_LIST_PRICE,
TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)
CUST_SENT_PRICE_CONVERTED,
ABS ( (B.UNIT_SELLING_PRICE
- apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)))
DIFFERENCE,
MTP.ORGANIZATION_CODE,
B.SHIP_TO_LOCATION
FROM OE_ORDER_HEADERS_V A,
OE_ORDER_LINES_V B,
RA_CUSTOMERS C,
MTL_PARAMETERS MTP,
MTL_SYSTEM_ITEMS_B MSI
WHERE A.HEADER_ID = B.HEADER_ID
AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
-- Added by Gati on 19-Oct-2012, tkt - INC000000118962
AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)),
2) <> B.UNIT_SELLING_PRICE
--AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
--AND a.ship_from_org_id = mtp.organization_id
AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID -- GRW 20060413
--AND a.ship_from_org_id = msi.organization_id
AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID -- GRW 20060413
AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID -- GRW 20060407
AND A.ORDER_SOURCE_ID = 6
AND A.ORG_ID = B.ORG_ID
AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between '01-NOV-2013' and '03-NOV-2013'
and mtP.organization_code='BRM'
AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
FROM HR_OPERATING_UNITS HOU
WHERE HOU.NAME = '50 ACCO Canada')
AND B.cancelled_flag <> 'Y'
AND B.flow_status_code <> 'CANCELLED'
AND B.ORDERED_ITEM <> 'INVALID_ITEM'
ORDER BY a.order_numberHi,
Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
You may find another condition or join that limits your data.
Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
begin
fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
end -
Opening PDF in Browser when running in Server 2008 R2 RemoteApp (Terminal Services)
We are running a RemoteApp server that allows users to access an intranet page, through this can can click and open a number of PDF documents.
When connecting and running locally (RDP) the PDFs open in the browser as required, but when running through remoteApp its forcing the PDF to open into Adobe Reader.
Im getting this on all versions of IE 9-11 and Reader 9-11, ive enabled view in PDF and also the IE add-ons but it still forces the file to open in the full application.
Group polciy isnt an issue as Ive tested this on a live users, and also a clean slate test account. Ive even moved the RemoteApp server out of the domain and tried as a local system (with local accounts) and the same behaviour happens.
This is the same if I try and open PDF documents from the internet.
Any Advice would be good
Steve.Hi Uber,
This is a known issue that error occurs when running report "Count of instances of specific software registered with Add or Remove Programs" due to non-printable characters for XML. Based on internal research, the hotfix for this issue will be
included in the System Center 2012 Configuration Manager Service Pack 1.
As a workaround, you can remove the nonprintable character populated into the report parameter by referring to the following KB article:
http://support.microsoft.com/KB/914159
Hope this helps.
Regards,
Mike Yin
Mike Yin
TechNet Community Support
Maybe you are looking for
-
When I try to open yahoo Firefox will hang and when I try to restart it will close but stay running. It seems to have started when yahoo went to the new version.I reset my screen resolution to 1152 by 864 pixels like yahoo said no difference. Firefox
-
Mac Pro Boot Problems. Kona 3?
I'm having booting problems with a Mac Pro. It's got a kona 3 card in one of the PCI slots, and we've been tinkering with it to try to get the audio to work right. However, I've been having huge problems whenever I try to restart the computer. After
-
Problem ,working with UNTIL TIME..
hi i have a serious problem when issuing UNTIL TIME commends. Such as this command in RMAN: run { backup (archivelog from time '02-OCT-06 09.00.00' until time '03-OCT-06 21.00.00'); or working with UNTIL TIME in point-in-time recovery . it gives me t
-
I have changed my location from korea to pakistan and now my iphine 4 is not working?
i have shifted in pakistan but my i phone is not working. its iphone 4 and version 6.01
-
Namespace Creation for my SWCV
Guyz, i just created a swcv and i right-clicked and select 'Namespace' item. In edit mode, though the section 'Namespaces*' is appearing , there isn't any placeholder to type my namespace value..... i'm on NW04s ....is it something i missed while cre