There is no .xdo file generated while migrating to BIEE

As a result I get all the files (except xdo),
Hi everyone,
When I convert oracle report to OBIEE.
I got: report.xml; report_template.xml, report_S.pls; report_B.pls, report.log, report.rtf fiels
except report.xdo
could anyone tell me why and how can I generate separatly for .xdo?
(In addition, I use RTFTemplateGenerator and DataTemplateGenerator, If chage to Batch by using BIPBatchConversion, it doesn't work and there are java.lang.NoClassDefFoundError).
Thanks

Are you using the converter that ships with EBS XMLP? You need the one that ships with BIP under OBIEE.
For the batch comd, what command are you using? What classpath are you setting?
Tim

Similar Messages

  • Sql server service crashes a few times yesterday, however, there is no .MDMP file generated in the log folder

    hi there:
     I've experienced several sql server service crashes yesterday, service was brought up after a few secs as we have an autostart feature. 
    Today, I'd like to dig more into the errors and on the event viewer -> Application, I saw errors below
    "Faulting application sqlservr.exe, version 2009.100.4302.0, time stamp 0x52f5d194, faulting module ntdll.dll, version 6.0.6001.18538, time stamp 0x4cb73957, exception code 0xc0000374, fault offset 0x00000000000a7857, process id 0x15ec, application
    start time 0x01cfd7e72b2997d3.
    People suggested to check dump file inside C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQL\Log
    However, the lastest .mdmp file was  on April 11, 2014. Do I need to turn on some settings on sql server in order to have this dump file? 
    Thanks
    Hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Results after sp_readerrorlog 1
    LogDate ProcessInfo
    Text
    2014-09-24 04:03:28.460 Server
    Microsoft SQL Server 2008 R2 (SP2) - 10.50.4302.0 (X64) 
    Feb  7 2014 17:23:24 
    Copyright (c) Microsoft Corporation
    Enterprise Edition (64-bit) on Windows NT 6.0 <X64> (Build 6001: Service Pack 1)
    2014-09-24 04:03:28.460 Server
    (c) Microsoft Corporation.
    2014-09-24 04:03:28.460 Server
    All rights reserved.
    2014-09-24 04:03:28.460 Server
    Server process ID is 5612.
    2014-09-24 04:03:28.460 Server
    System Manufacturer: 'IBM', System Model: 'IBM System x3650 -[7979AC1]-'.
    2014-09-24 04:03:28.460 Server
    Authentication mode is MIXED.
    2014-09-24 04:03:28.460 Server
    Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQL\Log\ERRORLOG'.
    2014-09-24 04:03:28.460 Server
    This instance of SQL Server last reported using a process ID of 6780 at 9/24/2014 4:03:20 AM (local) 9/24/2014 11:03:20 AM (UTC). This is an informational message only; no user action is required.
    2014-09-24 04:03:28.460 Server
    Registry startup parameters: 
    -d C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQL\DATA\master.mdf
    -e C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQL\Log\ERRORLOG
    -l C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQL\DATA\mastlog.ldf
    2014-09-24 04:03:28.480 Server
    SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2014-09-24 04:03:28.480 Server
    Detected 4 CPUs. This is an informational message; no user action is required.
    2014-09-24 04:03:28.480 Server
    Cannot use Large Page Extensions:  lock memory privilege was not granted.
    2014-09-24 04:03:28.580 Server
    Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2014-09-24 04:03:28.700 Server
    Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
    2014-09-24 04:03:28.870 spid7s
    Starting up database 'master'.
    2014-09-24 04:03:28.940 spid7s
    1 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required.
    2014-09-24 04:03:28.940 spid7s
    0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
    2014-09-24 04:03:28.940 spid7s
    Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2014-09-24 04:03:29.040 spid7s
    CHECKDB for database 'master' finished without errors on 2014-09-20 12:00:01.697 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:29.050 spid7s
    Resource governor reconfiguration succeeded.
    2014-09-24 04:03:29.050 spid7s
    SQL Server Audit is starting the audits. This is an informational message. No user action is required.
    2014-09-24 04:03:29.050 spid7s
    SQL Server Audit has started the audits. This is an informational message. No user action is required.
    2014-09-24 04:03:29.050 spid7s
    FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'SQL2008R2'.
    2014-09-24 04:03:29.070 spid7s
    SQL Trace ID 1 was started by login "sa".
    2014-09-24 04:03:29.070 spid7s
    Starting up database 'mssqlsystemresource'.
    2014-09-24 04:03:29.090 spid7s
    The resource database build version is 10.50.4302. This is an informational message only. No user action is required.
    2014-09-24 04:03:29.600 spid10s
    Starting up database 'model'.
    2014-09-24 04:03:29.600 spid7s
    Server name is 'BPWDB046\SQL2008R2'. This is an informational message only. No user action is required.
    2014-09-24 04:03:29.880 spid13s
    A new instance of the full-text filter daemon host process has been successfully started.
    2014-09-24 04:03:29.960 spid14s
    Starting up database 'msdb'.
    2014-09-24 04:03:29.960 spid17s
    Starting up database 'DW_Detail'.
    2014-09-24 04:03:29.960 spid16s
    Starting up database 'ReportServer_MSSQLSSRSTempDB'.
    2014-09-24 04:03:29.960 spid13s
    Starting up database 'Billing_Rep'.
    2014-09-24 04:03:29.960 spid15s
    Starting up database 'ReportServer_MSSQLSSRS'.
    2014-09-24 04:03:29.960 spid18s
    Starting up database 'BCBio_DW'.
    2014-09-24 04:03:29.960 spid19s
    Starting up database 'ODS'.
    2014-09-24 04:03:29.960 spid20s
    Starting up database 'ReportServer$SQL2008'.
    2014-09-24 04:03:29.970 spid21s
    Starting up database 'ReportServer$SQL2008TempDB'.
    2014-09-24 04:03:29.970 spid22s
    Starting up database 'Billing'.
    2014-09-24 04:03:29.970 spid23s
    Starting up database 'Billing_Snap'.
    2014-09-24 04:03:29.970 spid24s
    Starting up database 'DBA'.
    2014-09-24 04:03:30.000 Server
    A self-generated certificate was successfully loaded for encryption.
    2014-09-24 04:03:30.000 Server
    Server is listening on [ 'any' <ipv6> 52328].
    2014-09-24 04:03:30.000 Server
    Server is listening on [ 'any' <ipv4> 52328].
    2014-09-24 04:03:30.000 Server
    Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SQL2008R2 ].
    2014-09-24 04:03:30.000 Server
    Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$SQL2008R2\sql\query ].
    2014-09-24 04:03:30.010 Server
    Server is listening on [ ::1 <ipv6> 52329].
    2014-09-24 04:03:30.010 Server
    Server is listening on [ 127.0.0.1 <ipv4> 52329].
    2014-09-24 04:03:30.010 Server
    Dedicated admin connection support was established for listening locally on port 52329.
    2014-09-24 04:03:30.060 spid10s
    CHECKDB for database 'model' finished without errors on 2014-09-20 12:00:17.583 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:30.060 spid10s
    Clearing tempdb database.
    2014-09-24 04:03:30.140 Server
    The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/BPWDB046.bcbio.org:SQL2008R2 ] for the SQL Server service. 
    2014-09-24 04:03:30.140 Server
    The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/BPWDB046.bcbio.org:52328 ] for the SQL Server service. 
    2014-09-24 04:03:30.140 Server
    SQL Server is now ready for client connections. This is an informational message; no user action is required.
    2014-09-24 04:03:30.480 spid21s
    CHECKDB for database 'ReportServer$SQL2008TempDB' finished without errors on 2014-09-20 16:13:10.043 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:30.520 spid14s
    2933 transactions rolled forward in database 'msdb' (4). This is an informational message only. No user action is required.
    2014-09-24 04:03:30.650 spid7s
    0 transactions rolled back in database 'msdb' (4). This is an informational message only. No user action is required.
    2014-09-24 04:03:30.650 spid7s
    Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
    2014-09-24 04:03:30.770 spid14s
    CHECKDB for database 'msdb' finished without errors on 2014-09-20 12:00:18.473 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:30.950 spid10s
    Starting up database 'tempdb'.
    2014-09-24 04:03:30.990 spid52
    Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
    2014-09-24 04:03:31.010 spid52
    Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_sqlagent_monitor'. This is an informational message only; no user action is required.
    2014-09-24 04:03:31.060 spid14s
    The Service Broker protocol transport is disabled or not configured.
    2014-09-24 04:03:31.060 spid14s
    The Database Mirroring protocol transport is disabled or not configured.
    2014-09-24 04:03:31.070 spid14s
    Service Broker manager has started.
    2014-09-24 04:03:31.330 spid16s
    CHECKDB for database 'ReportServer_MSSQLSSRSTempDB' finished without errors on 2014-09-20 12:00:39.873 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:31.500 spid20s
    2 transactions rolled forward in database 'ReportServer$SQL2008' (11). This is an informational message only. No user action is required.
    2014-09-24 04:03:31.960 spid7s
    0 transactions rolled back in database 'ReportServer$SQL2008' (11). This is an informational message only. No user action is required.
    2014-09-24 04:03:31.960 spid7s
    Recovery is writing a checkpoint in database 'ReportServer$SQL2008' (11). This is an informational message only. No user action is required.
    2014-09-24 04:03:32.150 spid20s
    CHECKDB for database 'ReportServer$SQL2008' finished without errors on 2014-09-20 16:13:07.583 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:33.170 spid24s
    CHECKDB for database 'DBA' finished without errors on 2014-09-20 16:22:41.603 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:33.600 spid13s
    Recovery of database 'Billing_Rep' (8) is 0% complete (approximately 1537 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:03:34.820 spid15s
    CHECKDB for database 'ReportServer_MSSQLSSRS' finished without errors on 2014-09-20 12:00:32.067 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:48.290 spid13s
    Recovery of database 'Billing_Rep' (8) is 1% complete (approximately 1488 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:03:49.520 spid17s
    1 transactions rolled forward in database 'DW_Detail' (7). This is an informational message only. No user action is required.
    2014-09-24 04:03:50.070 spid7s
    0 transactions rolled back in database 'DW_Detail' (7). This is an informational message only. No user action is required.
    2014-09-24 04:03:50.070 spid7s
    Recovery is writing a checkpoint in database 'DW_Detail' (7). This is an informational message only. No user action is required.
    2014-09-24 04:03:50.070 spid7s
    Recovery completed for database DW_Detail (database ID 7) in 5 second(s) (analysis 251 ms, redo 4314 ms, undo 44 ms.) This is an informational message only. No user action is required.
    2014-09-24 04:03:50.520 spid22s
    CHECKDB for database 'Billing' finished without errors on 2013-04-25 18:47:20.743 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:03:51.620 spid17s
    CHECKDB for database 'DW_Detail' finished without errors on 2014-09-20 12:00:46.917 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:04:03.740 spid13s
    Recovery of database 'Billing_Rep' (8) is 2% complete (approximately 1493 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:13.040 spid13s
    Recovery of database 'Billing_Rep' (8) is 0% complete (approximately 8052 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:23.220 spid18s
    Database BCBio_DW has more than 1000 virtual log files which is excessive. Too many virtual log files can cause long startup and backup times. Consider shrinking the log and using a different growth increment to reduce the number of virtual log files.
    2014-09-24 04:04:23.420 spid18s
    Recovery of database 'BCBio_DW' (9) is 0% complete (approximately 4664 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:25.640 spid18s
    Recovery of database 'BCBio_DW' (9) is 0% complete (approximately 4954 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:25.640 spid18s
    Recovery of database 'BCBio_DW' (9) is 3% complete (approximately 74 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:25.730 spid18s
    Recovery of database 'BCBio_DW' (9) is 2% complete (approximately 98 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:26.000 spid18s
    Recovery of database 'BCBio_DW' (9) is 12% complete (approximately 18 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:28.000 spid19s
    Database ODS has more than 1000 virtual log files which is excessive. Too many virtual log files can cause long startup and backup times. Consider shrinking the log and using a different growth increment to reduce the number of virtual log files.
    2014-09-24 04:04:28.350 spid19s
    CHECKDB for database 'ODS' finished without errors on 2014-09-20 16:07:22.603 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:04:29.370 spid18s
    Recovery of database 'BCBio_DW' (9) is 19% complete (approximately 24 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:31.380 spid18s
    Recovery of database 'BCBio_DW' (9) is 25% complete (approximately 22 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:32.490 spid18s
    Recovery of database 'BCBio_DW' (9) is 32% complete (approximately 18 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:33.150 spid13s
    Recovery of database 'Billing_Rep' (8) is 0% complete (approximately 9805 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:33.860 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 04:04:33.860 Logon
    Login failed for user 'ETLAdmin'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.101.33]
    2014-09-24 04:04:34.040 spid18s
    Recovery of database 'BCBio_DW' (9) is 39% complete (approximately 15 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:35.600 spid18s
    Recovery of database 'BCBio_DW' (9) is 46% complete (approximately 13 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:36.740 spid18s
    Recovery of database 'BCBio_DW' (9) is 53% complete (approximately 10 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:37.220 spid13s
    Recovery of database 'Billing_Rep' (8) is 0% complete (approximately 10106 seconds remain). Phase 1 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:37.230 spid13s
    Recovery of database 'Billing_Rep' (8) is 2% complete (approximately 2587 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:37.360 spid13s
    Recovery of database 'Billing_Rep' (8) is 1% complete (approximately 3654 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:37.560 spid13s
    Recovery of database 'Billing_Rep' (8) is 3% complete (approximately 1564 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:38.070 spid13s
    Recovery of database 'Billing_Rep' (8) is 4% complete (approximately 1328 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:38.830 spid18s
    Recovery of database 'BCBio_DW' (9) is 61% complete (approximately 8 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:40.080 spid13s
    Recovery of database 'Billing_Rep' (8) is 5% complete (approximately 1268 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:40.680 spid18s
    Recovery of database 'BCBio_DW' (9) is 69% complete (approximately 6 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:42.960 spid18s
    Recovery of database 'BCBio_DW' (9) is 77% complete (approximately 4 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:44.870 spid18s
    Recovery of database 'BCBio_DW' (9) is 85% complete (approximately 3 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:44.870 spid18s
    3 transactions rolled forward in database 'BCBio_DW' (9). This is an informational message only. No user action is required.
    2014-09-24 04:04:45.120 spid18s
    Recovery of database 'BCBio_DW' (9) is 85% complete (approximately 3 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:04:46.870 spid7s
    0 transactions rolled back in database 'BCBio_DW' (9). This is an informational message only. No user action is required.
    2014-09-24 04:04:46.870 spid7s
    Recovery is writing a checkpoint in database 'BCBio_DW' (9). This is an informational message only. No user action is required.
    2014-09-24 04:04:46.870 spid7s
    Recovery completed for database BCBio_DW (database ID 9) in 23 second(s) (analysis 2417 ms, redo 19227 ms, undo 1745 ms.) This is an informational message only. No user action is required.
    2014-09-24 04:04:47.610 spid18s
    CHECKDB for database 'BCBio_DW' finished without errors on 2014-09-20 14:02:10.680 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:04:47.820 spid23s
    Database Billing_Snap has more than 1000 virtual log files which is excessive. Too many virtual log files can cause long startup and backup times. Consider shrinking the log and using a different growth increment to reduce the number of virtual log files.
    2014-09-24 04:04:48.570 spid23s
    CHECKDB for database 'Billing_Snap' finished without errors on 2014-09-20 16:13:11.037 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:04:52.970 spid13s
    Recovery of database 'Billing_Rep' (8) is 6% complete (approximately 1247 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:05:05.540 spid13s
    Recovery of database 'Billing_Rep' (8) is 7% complete (approximately 1224 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:05:17.980 spid13s
    Recovery of database 'Billing_Rep' (8) is 8% complete (approximately 1202 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:05:22.450 spid13s
    Recovery of database 'Billing_Rep' (8) is 8% complete (approximately 1196 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:05:22.450 spid13s
    1 transactions rolled forward in database 'Billing_Rep' (8). This is an informational message only. No user action is required.
    2014-09-24 04:05:22.560 spid13s
    Recovery of database 'Billing_Rep' (8) is 8% complete (approximately 1196 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.
    2014-09-24 04:05:22.710 spid13s
    CHECKDB for database 'Billing_Rep' finished without errors on 2014-09-20 13:25:01.597 (local time). This is an informational message only; no user action is required.
    2014-09-24 04:05:22.720 spid13s
    0 transactions rolled back in database 'Billing_Rep' (8). This is an informational message only. No user action is required.
    2014-09-24 04:05:22.720 spid13s
    Recovery is writing a checkpoint in database 'Billing_Rep' (8). This is an informational message only. No user action is required.
    2014-09-24 04:05:22.730 spid13s
    Recovery completed for database Billing_Rep (database ID 8) in 109 second(s) (analysis 63983 ms, redo 45211 ms, undo 154 ms.) This is an informational message only. No user action is required.
    2014-09-24 04:05:22.750 spid7s
    Recovery is complete. This is an informational message only. No user action is required.
    2014-09-24 07:00:06.930 spid53
    Common language runtime (CLR) functionality initialized using CLR version v2.0.50727 from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\.
    2014-09-24 07:00:07.720 spid53
    AppDomain 2 (mssqlsystemresource.sys[runtime].1) created.
    2014-09-24 07:13:38.590 spid51
    SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ad
    Hoc Distributed Queries' by using sp_configure. For more information about enabling 'Ad Hoc Distributed Queries', see "Surface Area Configuration" in SQL Server Books Online.
    2014-09-24 07:13:53.870 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:13:53.870 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:13:56.560 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:13:56.560 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:13:57.460 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:13:57.460 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:13:57.560 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:13:57.560 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:13:57.950 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:13:57.950 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:14:04.410 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:14:04.410 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:14:04.960 Logon
    Error: 18456, Severity: 14, State: 38.
    2014-09-24 07:14:04.960 Logon
    Login failed for user 'BCBIO\sqlservice'. Reason: Failed to open the explicitly specified database. [CLIENT: 172.20.100.6]
    2014-09-24 07:34:13.330 spid54
    Error: 17053, Severity: 16, State: 1.
    2014-09-24 07:34:13.330 spid54
    V:\log\templog.ldf: Operating system error 112(There is not enough space on the disk.) encountered.
    2014-09-24 07:34:14.430 spid54
    Error: 9002, Severity: 17, State: 4.
    2014-09-24 07:34:14.430 spid54
    The transaction log for database 'tempdb' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

  • Where can I find the .xdo file?

    Hi Everyone...
    To create a new report in the EBS, I create an xml file with my data queries, load it into the data definition and then create a layout definition and load my layout template in there. The process works as expected, but I believe there is an XDO file that is created in the background (please correct me if I'm wrong). Could someone tell me where I could see that .xdo file?
    I am trying to upload my Apps report into OBIEE and it is asking for a .zip or .xdo file. My goal is to be able to upload a report that I already have written in the Apps.
    Thank you in advance for your help!
    -CC

    Zip or xdo , files are needed to migrate from OBIEE to OBIEE instances.
    If you're migrating from APPS to OBIEE, check the report and i guess, you need to create them in OBIEE.
    If you are lucky, there might be a tool or utility which will migrate out there, i am not so sure.

  • 10053 - no trace file generated

    Hi,
    no 10053 trace file is generated in the diag directory.
    sql_trace = true
    trace_enabled = true
    i set
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'TEST';
    ALTER SESSION SET EVENTS='10053 trace name context forever, level 1';
    but there is no trace file generated.
    Something seems to be missing.
    Any help would be much appreciated!
    Best Regards
    user11368124

    thanks for your messages.
    @Dom Brooks
    the Oracle release is 11.2 running on Ubuntu.
    Added flushing pool. That statement was missing.
    But unfortunately the 10053 trace file is still not generated.
    i am running the following query mentioned in the article "Examining the Oracle Database 10053 Trace Event Dump File" of Steve Callan:
    alter system set TRACE_ENABLED = true;
    alter system set SQL_TRACE = true;
    alter session set statistics_level=all;
    --alter session set max_dump_file_size = unlimited;
    --oradebug setmypid
    --oradebug unlimit
    --oradebug event 10053 trace name context forever, level 1
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'TEST';
    alter session set events '10046 trace name context forever, level 12';
    alter session set events '10053 trace name context forever, level 1';
    -- plan_table exists
    select * from plan_table
    -- flushing pool
    alter system flush shared_pool;
    explain plan for
    SELECT ch.channel_class,
    c.cust_city,
    t.calendar_quarter_desc,
    SUM(s.amount_sold) sales_amount
    FROM sh.sales s,
    sh.times t,
    sh.customers c,
    sh.channels ch
    WHERE s.time_id = t.time_id
    AND s.cust_id = c.cust_id
    AND s.channel_id = ch.channel_id
    AND c.cust_state_province = 'CA'
    AND ch.channel_desc in ('Internet','Catalog')
    AND t.calendar_quarter_desc IN ('1999-01','1999-02')
    GROUP BY ch.channel_class, c.cust_city, t.calendar_quarter_desc
    ORDER by 1,2,3,4;
    Best Regards
    user11368124

  • How to use an SWF file generated by Flex as a Stand Alone file

    Whenever we compile an MXML file, there is an SWF file
    generated. This file is not a standalone file and will not work on
    any other computer expect on the computer where there is a Project
    file created by the Flex builder.
    Why am I not able to use that SWF file as a stand alone file?
    If I want to use that SWF file alone as in the SWF generated
    by Flash what do I have to do?
    Regards,
    Rashmi

    The swf file will run from anywhere. What's it doing when you
    try to open it on another machine?
    The only thing I can think of is if you're getting a security
    violation in which case you would need to read about Flash Player
    trust files and security.
    -Mac

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • Are there any possible reason RMAN generates some corrupt archive log files

    Dear all,
    Are there any possible reason RMAN generates some corrupt archive log files?
    Best Regards,
    Amy

    Because I try to perform daily backup at lunch time and found out it takes more than 1 hour had no any progress. Normally we take around 40 minus. The following is the log file:
    RMAN> Run
    2> {
    3> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    4> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/db/backup/RMAN/%F.bck';
    5> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    6> allocate channel ch1 type disk format '/u03/db/backup/RMAN/backup_%d_%t_%s_%p_%U.bck';
    7> backup incremental level 1 cumulative database plus archivelog delete all input;
    8> backup current controlfile;
    9> backup spfile;
    10> release channel ch1;
    11> }
    12> allocate channel for maintenance type disk;
    13> delete noprompt obsolete;
    14> delete noprompt archivelog all backed up 2 times to disk;
    15>
    16>
    using target database controlfile instead of recovery catalog
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/db/backup/RMAN/%F.bck';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/db/backup/RMAN/%F.bck';
    new RMAN configuration parameters are successfully stored
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    new RMAN configuration parameters are successfully stored
    allocated channel: ch1
    channel ch1: sid=99 devtype=DISK
    Starting backup at 31-MAR-09
    current log archived
    After that I go to archive log directory "/u02/oracle/uat/uatdb/9.2.0/dbs" and use ls -lt command to see how many archive logs and my screen just hang. After we found out that we cannot use ls -lt command to read arch1_171.dbf
    archive log, the rest of archive logs able to use ls -lt command.
    We cannot delete this file as well. We shutdown database abort and perform check disk...... and fix the disk error and then open database again. Everything seems back to normal and we can use ls -lt command to read arch1_171.dbf.
    The strange problem is we have the same problem in Development and Production..... one ore more archive logs seems to be corrupted under the same directories /u02/oracle/uat/uatdb/9.2.0/dbs.
    Does anyone encounter the same problem?
    Amy

  • Which file gets created automatically while migrating

    Which file gets created automatically while migrating from non-ASM files to ASM diskgroup by using RMAN?----No.113
    A. the contol file
    B. the alert log file
    C. the parameter file
    D. the server parameter file
    E. the archive redo log file
    Message was edited by:
    frank.qian

    Reviewing the steps in Documentation provided below:
    Oracle® Database Backup and Recovery Advanced User's Guide
    Migrating a Database into ASM
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmasm001.htm#i1016547
    None of the choices are correct.

  • Which file gets created automatically while migrating from---QNo.113

    Which file gets created automatically while migrating from non-ASM files to ASM diskgroup by using RMAN?
    A. the contol file
    B. the alert log file
    C. the parameter file
    D. the server parameter file
    E. the archive redo log file

    Check this out
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10734/rcmasm.htm

  • While trying to upload an Audio file from a CD, iTunes won't let me.  Says there is a duplicate file.

    I have been successfully uploading Audio CDs for a Social Studies Textbook onto my iTouch.  When I went to do this today, iTunes "Failed" because it says there is a duplicate file.  I have not uploaded this new CD, so that is not possible.  Each CD lists their "Tracks" the same way.  Track 01, Track 02, etc, however I renamed previous tracks in iTunes. 
    I need to get these files uploaded so we can listen to them on the iTouch, but I have had no success today.  The frustrating part is that I have done 3 CDs previously with no issues.
    Even if I did find a duplicate file, I don't know how to delete the file.  I do have 1 failed "Track 01" in the Recently Updated section, but it won't play, because it can't "locate" the file.  When I try to delete in iTunes, "Delete" is greyed out and unavailable.
    What do I need to do?  

    I keep getting 'check Internet connection' getting bit sick of it now ;( sorry cant help

  • HT4796 How to retain original dates of files while migrating from PC to MacBookPro

    I migrated my Documents, Pictures, etc.  from my PC (Dell Latitude E6410) to the new MacBookPro (late 2013) by a hard connection (Thunderbolt to Ethermet adaptor) using the Migration Assistant. The transfer was OK, however, the dates of the Files (and individual Documents)  migrated now ALL have the date of migration!!!
    Is it possible to "retain" the original dates of the files during the migration process???

    its often the same going from PC to PC and mac to Mac if you use external media
    I do have one complicated suggestion. if you can get the two machines networking smoothly, you could run rsync scripts to sync them and maintain dates as best possible. I can do that via SMB to a network attached drive.
    But i cannto even try to my PC because its sharing rules are locked by corporate IT weasels
    Grant

  • Error while migrating users using CSSImportExportUtility

    Error while migrating users using CSSImportExportUtility
    I'm tring to export all user and group information from a Hyperion Shared Services 9.2.1 by using CSSExport.bat
    When there was only native directory in HSS, i can export these information successfully.
    But when I enabled NTLM external user authentication following error occurred:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: getOSVersion
    at com.hyperion.css.spi.impl.ntlm.NTLMProvider.getOSVersion(Native Metho
    d)
    at com.hyperion.css.spi.impl.ntlm.NTLMProvider.<clinit>(Unknown Source)
    at com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(Unknown
    Source)
    at com.hyperion.css.CSSAPIExtnImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.exchange.NativeProviderManager.<init>(Unknown Source
    at com.hyperion.css.exchange.ImportExportManager.cssExport(Unknown Sourc
    e)
    at com.hyperion.css.exchange.CommandUtility.run(Unknown Source)
    at com.hyperion.css.exchange.CommandUtility.main(Unknown Source)
    I searched reference documents on the web, found this article: (http://download.oracle.com/docs/cd/E12825_01/epm.111/readme/mdm_111110_readme.html)
    Troubleshooting Tip: If HSS is configured for an NTLM provider, DRM services may not start due to error: "Exception Emdm_Exception with message 'Could not Initialize CSS. Error: 'getOSVersion'."
    You may receive the following error after clicking the "Enable CSS" button in DRM Console: “LoadLibrary("C:\Hyperion\Master Data Management\mdm_ntier_css_validator.dll") failed - The specified module could not be found.”
    To resolve both of these conditions, update the Windows System Path on the Data Relationship Management server with the applicable JRE and CSS pathing below.
    NOTE: Reboot the Data Relationship Management server machine after making any changes to the Windows Path.
    NOTE: Ensure that only one JRE version and one CSS version are referenced in the Windows Path.
    ? For HSS 9.3.1:
    %HYPERION_HOME%\common\JRE\Sun\1.5.0\bin;%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin\client;%HYPERION_HOME%\common\CSS\9.3.1\bin;
    ? For HSS 9.3.0:
    %HYPERION_HOME%\common\JRE\Sun\1.5.0\bin;%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin\client;%HYPERION_HOME%\common\CSS\9.3.0\bin;
    ? For HSS 9.2.0.3:
    %HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client;%HYPERION_HOME%\common\CSS\9.2.0.3\bin;
    ? For HSS 9.2.0:
    %HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client;%HYPERION_HOME%\common\CSS\9.2.0\bin;
    I found these is no directory "%HYPERION_HOME%\common\CSS\9.2.0\bin;" exists but "%HYPERION_HOME%\common\CSS\9.2.1\bin;"
    I configured PATH by setting to above, and tried CSSExport again, still failed.
    Than I disabled the NTLM is HSS, tried CSSExport again. It was successful.
    So I am convinced that the problem caused by NTLM or PATH environment variable or some files associated.
    Does anybody know the solution ?

    I recommend you upgrade at least to 10.1.0.5. 10.1.0.2 comes with the very first version of csalter.plb, which has not the current implementation. From and to which character set do you try to migrate?
    -- Sergiusz

  • How Can i use the key file Generated by RSACryptoServiceProvider to encrypt with php?

    I need to be able to encrypt data in PHP using a public key generate by .NET(RSACryptoServiceProvider).  I will then decrypt the data later in C# using the private key.
    Code Snippet
    <RSAKeyValue><Modulus>xU5JyaPNDKXI/h/uo5Vk89wZSz3zsB1+c+1IMYIQa+mCmuRCRPuoBI7ODSV2ndP6grfhdrWEzhpZtkI3SThbBh/3t+tfZ2PF8Iyv9ECN07V64nPCiJGhAnfENE+J9UD9Kw5czXHgZcBbpM5N0VfXmLSleaS65DDoNPtoStVy7ss=</Modulus><Exponent>AQAB</Exponent><P>4ScAjVrPZii/6lICAP2yDQiNEmNL74+5AcxNVDI0IombfDPIygrqEWmuDu0pngApQak7XnEnLbaDChILFiHPZQ==</P><Q>4FaYlse+cjrlPD/jk+GsTJeuP7yuQx8ztjVnQWVh6GKQP+uk1dAl6kcZOfLNR6LWwE3CSygt8PthTEw96Zbabw==</Q><DP>XvXtNLE9UjATqYeHEtXtV7Pok/3PVC3A8PIzFzTJaluxeXP51sU9rbRt1hvO9rXIsMnooU+GH7Cfmgq8JEyERQ==</DP><DQ>HXkC/vwq9xLpvuqd2XXSjxV2XQVK16Knxo5pjFvnawJX9S3eMADymj7Q/534firUj9snZXxX3MsJ015I3AFnnQ==</DQ><InverseQ>AM0fVCE3n2FKf2zb3CcDEge1Ko35VvMEL+LXgR87QwO2HScZSuLevGLi2SSAkB1vu8RSNzB028SZReeOZWnq4Q==</InverseQ><D>fI+GKdRNOTTYhQZnw8Im74T+OvArjf2wvUMJlqfD8jyDBYIhDCfL1MTK9KW4Er+moSuxHR5Pb0ZXaKa4/HKlk0aJ1jB2C+jg7zTSuPRNuS16BpVHaJYsQurCwZwElXMum+GxeXK/h3wXWq5HwebjqZr0aLUMZKRcweDPRoVFiRE=</D></RSAKeyValue>
    As you see this code snippet is a xml format private key. at .net platform,which can use encrypt or dencrypt.
    i have try the Extension Crypt RSA ( http://pear.php.net/reference/Crypt_RSA-1.0.0/elementindex_Crypt_RSA.html ) to help me encrypt data by php.but it haven't return a currect result. the data encrypted by php cann't dencrypt by c#.
    does the RSA algorithm provider by Crypt_RSA can give a stand result as c#?
    BTW :i just use the xmlkeystring like this.
    Code Snippet
    <?php
    require_once("Crypt/RSA.php");
    require_once("includes/Utils.class.php");
        $public_key_string = simplexml_load_string("<RSAKeyValue><Modulus>xU5JyaPNDKXI/h/uo5Vk89wZSz3zsB1+c+1IMYIQa+mCmuRCRPuoBI7ODSV2ndP6grfhdrWEzhpZtkI3SThbBh/3t+tfZ2PF8Iyv9ECN07V64nPCiJGhAnfENE+J9UD9Kw5czXHgZcBbpM5N0VfXmLSleaS65DDoNPtoStVy7ss=</Modulus><Exponent>AQAB</Exponent><P>4ScAjVrPZii/6lICAP2yDQiNEmNL74+5AcxNVDI0IombfDPIygrqEWmuDu0pngApQak7XnEnLbaDChILFiHPZQ==</P><Q>4FaYlse+cjrlPD/jk+GsTJeuP7yuQx8ztjVnQWVh6GKQP+uk1dAl6kcZOfLNR6LWwE3CSygt8PthTEw96Zbabw==</Q><DP>XvXtNLE9UjATqYeHEtXtV7Pok/3PVC3A8PIzFzTJaluxeXP51sU9rbRt1hvO9rXIsMnooU+GH7Cfmgq8JEyERQ==</DP><DQ>HXkC/vwq9xLpvuqd2XXSjxV2XQVK16Knxo5pjFvnawJX9S3eMADymj7Q/534firUj9snZXxX3MsJ015I3AFnnQ==</DQ><InverseQ>AM0fVCE3n2FKf2zb3CcDEge1Ko35VvMEL+LXgR87QwO2HScZSuLevGLi2SSAkB1vu8RSNzB028SZReeOZWnq4Q==</InverseQ><D>fI+GKdRNOTTYhQZnw8Im74T+OvArjf2wvUMJlqfD8jyDBYIhDCfL1MTK9KW4Er+moSuxHR5Pb0ZXaKa4/HKlk0aJ1jB2C+jg7zTSuPRNuS16BpVHaJYsQurCwZwElXMum+GxeXK/h3wXWq5HwebjqZr0aLUMZKRcweDPRoVFiRE=</D></RSAKeyValue>");
        $key =new Crypt_RSA_Key(base64_decode($public_key_string->Modulus),base64_decode($public_key_string->Exponent),"public");
        echo "<pre>";
        print_r($key);
        echo "</pre>";
        $rsa_obj = new Crypt_RSA();
        //try encrypt data
        echo "encrypted result is:<br/>".$rsa_obj->encrypt("this is a smple text.",$key)
        ?>
    but the encrypted data cann't decrypt by c#?where is the problem?what should i do with php codes?

    thank you for your reply, i also found this article by google.but this does not meet scene,  thank you all the same.
    i have already solved the problem now,i'd like to post the Solution .infact it's so easy to use rsakey file generated by .net .
    -------------rsa.class.php-------------------
    Code Snippet
    <?php
     * Some constants
    define("BCCOMP_LARGER", 1);
    class RSA
      * PHP implementation of the RSA algorithm
      * (C) Copyright 2004 Edsko de Vries, Ireland
      * Licensed under the GNU Public License (GPL)
      * This implementation has been verified against [3]
      * (tested Java/PHP interoperability).
      * References:
      * [1] "Applied Cryptography", Bruce Schneier, John Wiley & Sons, 1996
      * [2] "Prime Number Hide-and-Seek", Brian Raiter, Muppetlabs (online)
      * [3] "The Bouncy Castle Crypto Package", Legion of the Bouncy Castle,
      *      (open source cryptography library for Java, online)
      * [4] "PKCS #1: RSA Encryption Standard", RSA Laboratories Technical Note,
      *      version 1.5, revised November 1, 1993
      * Functions that are meant to be used by the user of this PHP module.
      * Notes:
      * - $key and $modulus should be numbers in (decimal) string format
      * - $message is expected to be binary data
      * - $keylength should be a multiple of 8, and should be in bits
      * - For rsa_encrypt/rsa_sign, the length of $message should not exceed
      *   ($keylength / 8) - 11 (as mandated by [4]).
      * - rsa_encrypt and rsa_sign will automatically add padding to the message.
      *   For rsa_encrypt, this padding will consist of random values; for rsa_sign,
      *   padding will consist of the appropriate number of 0xFF values (see [4])
      * - rsa_decrypt and rsa_verify will automatically remove message padding.
      * - Blocks for decoding (rsa_decrypt, rsa_verify) should be exactly
      *   ($keylength / 8) bytes long.
      * - rsa_encrypt and rsa_verify expect a public key; rsa_decrypt and rsa_sign
      *   expect a private key.
      * rsa encrypt data
      * @param binary string $message
      * @param unknown_type $public_key
      * @param numbers $modulus
      * @param numbers $keylength
      * @return binary data
     function rsa_encrypt($message, $public_key, $modulus, $keylength)
      $padded = RSA::add_PKCS1_padding($message, true, $keylength / 8);
      $number = RSA::binary_to_number($padded);
      $encrypted = RSA::pow_mod($number, $public_key, $modulus);
      $result = RSA::number_to_binary($encrypted, $keylength / 8);
      return $result;
     function rsa_decrypt($message, $private_key, $modulus, $keylength)
      $number = RSA::binary_to_number($message);
      $decrypted = RSA::pow_mod($number, $private_key, $modulus);
      $result = RSA::number_to_binary($decrypted, $keylength / 8);
      return RSA::remove_PKCS1_padding($result, $keylength / 8);
     function rsa_sign($message, $private_key, $modulus, $keylength)
      $padded = RSA::add_PKCS1_padding($message, false, $keylength / 8);
      $number = RSA::binary_to_number($padded);
      $signed = RSA::pow_mod($number, $private_key, $modulus);
      $result = RSA::number_to_binary($signed, $keylength / 8);
      return $result;
     function rsa_verify($message, $public_key, $modulus, $keylength)
      return RSA::rsa_decrypt($message, $public_key, $modulus, $keylength);
     function rsa_kyp_verify($message, $public_key, $modulus, $keylength)
      $number = RSA::binary_to_number($message);
      $decrypted = RSA::pow_mod($number, $public_key, $modulus);
      $result = RSA::number_to_binary($decrypted, $keylength / 8);
      return RSA::remove_KYP_padding($result, $keylength / 8);
      * The actual implementation.
      * Requires BCMath support in PHP (compile with --enable-bcmath)
     // Calculate (p ^ q) mod r
     // We need some trickery to [2]:
     //   (a) Avoid calculating (p ^ q) before (p ^ q) mod r, because for typical RSA
     //       applications, (p ^ q) is going to be _WAY_ too large.
     //       (I mean, __WAY__ too large - won't fit in your computer's memory.)
     //   (b) Still be reasonably efficient.
     // We assume p, q and r are all positive, and that r is non-zero.
     // Note that the more simple algorithm of multiplying $p by itself $q times, and
     // applying "mod $r" at every step is also valid, but is O($q), whereas this
     // algorithm is O(log $q). Big difference.
     // As far as I can see, the algorithm I use is optimal; there is no redundancy
     // in the calculation of the partial results.
     function pow_mod($p, $q, $r)
      // Extract powers of 2 from $q
      $factors = array();
      $div = $q;
      $power_of_two = 0;
      while(bccomp($div, "0") == BCCOMP_LARGER)
       $rem = bcmod($div, 2);
       $div = bcdiv($div, 2);
       if($rem) array_push($factors, $power_of_two);
       $power_of_two++;
      // Calculate partial results for each factor, using each partial result as a
      // starting point for the next. This depends of the factors of two being
      // generated in increasing order.
      $partial_results = array();
      $part_res = $p;
      $idx = 0;
      foreach($factors as $factor)
       while($idx < $factor)
        $part_res = bcpow($part_res, "2");
        $part_res = bcmod($part_res, $r);
        $idx++;
       array_push($partial_results, $part_res);
      // Calculate final result
      $result = "1";
      foreach($partial_results as $part_res)
       $result = bcmul($result, $part_res);
       $result = bcmod($result, $r);
      return $result;
     // Function to add padding to a decrypted string
     // We need to know if this is a private or a public key operation [4]
     function add_PKCS1_padding($data, $isPublicKey, $blocksize)
      $pad_length = $blocksize - 3 - strlen($data);
      if($isPublicKey)
       $block_type = "\x02";
       $padding = "";
       for($i = 0; $i < $pad_length; $i++)
        $rnd = mt_rand(1, 255);
        $padding .= chr($rnd);
      else
       $block_type = "\x01";
       $padding = str_repeat("\xFF", $pad_length);
      return "\x00" . $block_type . $padding . "\x00" . $data;
     // Remove padding from a decrypted string
     // See [4] for more details.
     function remove_PKCS1_padding($data, $blocksize)
      assert(strlen($data) == $blocksize);
      $data = substr($data, 1);
      // We cannot deal with block type 0
      if($data{0} == '\0')
      die("Block type 0 not implemented.");
      // Then the block type must be 1 or 2
      assert(($data{0} == "\x01") || ($data{0} == "\x02"));
      // Remove the padding
      $offset = strpos($data, "\0", 1);
      return substr($data, $offset + 1);
     // Remove "kyp" padding
     // (Non standard)
     function remove_KYP_padding($data, $blocksize)
      assert(strlen($data) == $blocksize);
      $offset = strpos($data, "\0");
      return substr($data, 0, $offset);
     // Convert binary data to a decimal number
     function binary_to_number($data)
      $base = "256";
      $radix = "1";
      $result = "0";
      for($i = strlen($data) - 1; $i >= 0; $i--)
       $digit = ord($data{$i});
       $part_res = bcmul($digit, $radix);
       $result = bcadd($result, $part_res);
       $radix = bcmul($radix, $base);
      return $result;
     // Convert a number back into binary form
     function number_to_binary($number, $blocksize)
      $base = "256";
      $result = "";
      $div = $number;
      while($div > 0)
       $mod = bcmod($div, $base);
       $div = bcdiv($div, $base);
       $result = chr($mod) . $result;
      return str_pad($result, $blocksize, "\x00", STR_PAD_LEFT);
    ?>
    -------------RSAProcessor.class.php------------------------
    Code Snippet
    <?php
    require_once("rsa.class.php");
    class RSAProcessor
     private $public_key = null;
     private $private_key = null;
     private $modulus = null;
     private $key_length = "1024";
     public function __construct($xmlRsakey=null,$type=null)
             $xmlObj = null;
       if($xmlRsakey==null)
               $xmlObj = simplexml_load_file("xmlfile/RSAKey.xml");
              elseif($type==RSAKeyType::XMLFile)
               $xmlObj = simplexml_load_file($xmlRsakey);
              else
               $xmlObj = simplexml_load_string($xmlRsakey);
             $this->modulus = RSA::binary_to_number(base64_decode($xmlObj->Modulus));
       $this->public_key = RSA::binary_to_number(base64_decode($xmlObj->Exponent));
       $this->key_length = strlen(base64_decode($xmlObj->Modulus))*8;
      * get public key
      * @return string public key
     public function getPublicKey()
      //return base64_encode(RSA::number_to_binary($this->public_key,($this->key_length)/8));
      return $this->public_key;
     public function getPrivateKey()
      //return base64_encode(RSA::number_to_binary($this->private_key,($this->key_length)/8));
      return $this->private_key;
     public function getKeyLength()
      return $this->key_length;
     public function getModulus()
      return $this->modulus;
      * encrypt data
      * @param string $data
      * @return base64 encoded  binary string
     public function encrypt($data)
      return base64_encode(RSA::rsa_encrypt($data,$this->public_key,$this->modulus,$this->key_length));
     public function dencrypt($data)
      return RSA::rsa_decrypt($data,$this->private_key,$this->modulus,$this->key_length);
     public function sign($data)
      return RSA::rsa_sign($data,$this->private_key,$this->modulus,$this->key_length);
     public function verify($data)
      return RSA::rsa_verify($data,$this->public_key,$this->modulus,$this->key_length);
    class RSAKeyType
     const XMLFile = 0;
     const XMLString = 1;
    ?>
    -------------- encrypt data with public key-----------------
    Code Snippet
    <?php
    require_once("RSAProcessor.class.php");
    $processor = new RSAProcessor
    ("<RSAKeyValue><Modulus>m6ljoeWhmnd0oRnsVEH5iNw3B8+vKVu7v7CVfMyf6bnKEzHa62TRmT/baJiSevoI/vgm2ph/s1JrQQTaGiErHicigwSC
    Aw7+i05WFbnz7tOyiiJJVMfsdd+v7Xan9Hiud05FzxoMbM8vpiMHPEIDbGJ1MiXyupTVkz2WcMHyBoJ4S189opktZ43pviUhy0PeuWkyoU7zR54akPmK
    Yg+z5Zr1r7K8lUZ1a3TThfJGxTQR/uZMtZz/q8QF0AANVQ/eyahTv9icBzBoDuncS0Y5l3vqogW1C/ltJvhJpvSn/OgjbRjuixCAptOUmRd13sDWU95/
    x0bMq+Lg68lj2OjJ1Q==</Modulus><Exponent>AQAB</Exponent><P>zfvdBsMLlmo+4PAUYLgSV2xyyVa7ZqFjkJaAE4EbYuH24EoZjrzeiJR++D
    FUT/GUhjfZ5eZ/5e29dXwk0sKUw6nHzBdBtOPp5fr4t5SKLEcWY+J+zLUSOlhG9NUkohFf6+Miy2Y7BLpXVrcl6UwXV0ak8KkTPB2l/aIMwYj5dgc=</
    P><Q>wXV0sA3nDzoSDQA/4QSu/WIlBhkA3jZ7K7G9Z9rpP1A0vH+bZeyCIyo52u8ahGuYbubaizF1XMp+Xv3Mh2KmRbt7+UptwEwbFAUiiad2a312mqm
    j7IJd7gRjGkyzKEm+6fpNeY3NFLNVNhccBqzhNkRoM22xnvQcImD10XVAakM=</Q><DP>wd1HdCLEWCfc0DYE59a2pINUMXyo2foRTDbpifHcRZ+ojAY
    Rsc6+nsssCQnccXVMNVqBgSgEvfGYe+eAfMBX5SN5APPuioJrVGF2DsoFlZC+WPoGH0JYSoNlHO8yEDrMDaXzzH2GFHgQ1XOAged0nFbHzB1FFjJNVL5
    cxRXWu6c=</DP><DQ>QDKuCk5SwubOXqoaiJ15RHRxPNjHRPZnYVSWOgSXKn9/QJ5H/0bA2NKGaHS4JAFgkEzjcRV0kNpRnUwztymxa6qPtWZRjWK0Ca
    y6jVuZHIqB9UkeMLoCWZ3zFSMmwNPYGuUJGLFJwPjR6iU5E64C/nMs8QQR0WHIhFAQwvVZ7uk=</DQ><InverseQ>JckMSlJR10VZdnp83VPjrZ/Z+63
    CGu3tWHm7f4DJ8IwjJWr8FlCpbSwiP6a4e9Upv6bUn/tOj2gY6MMq5G5yTKm2SCRvpUKRu4NCmWAt7vlFv0Z6pkXlTOpzvVjv3v16+dIZOA5Zn+v7+r1
    xbdYdH20KRAbiBO3MfQP7s+VJJvM=</InverseQ><D>W1xrBr2hQOj1wgxWAgoK7IHbprEFrK+TnWmGA46SGPsbmHJ9fAVbY6fwHg7Wgmk4WHXLUCeLY
    /Nu0eWIISfwh60Oe3ls2WC2k4qxyeSvQDBuLNb81U7WAUT9m9E1uK4QMCP3oxs1ybM80zTh7UMNgVK0WG+fbFUomVffcWTTqW+Fu12PEIO+UR/85oq+x
    qVlTzYAEzt1OE9IhkYiRzi99ePXeH2gFltzJ/fb/7jLsDTkhM2eiYTGyOTZmBnen6c6a8b9LFTY4Bc0bGpk5ezHkub6F8p2ZgL/JgIOJMyRZICjDjs+9
    k9PTmMTFsCF6xzHY15Fg25xIDYzIyx1rrRUjQ==</D></RSAKeyValue>",RSAKeyType::XMLString);
    $rs =  $processor->encrypt("Hello,It's Works.");
    echo $rs;
    ?>
    with the front codes.you can easy to encrypt data by public key generate by .net programe.

  • Locale Error while migrating from One Server to another Server in Essbase

    Hi Gurus,
    Actually we are trying to migrate the Essbase Native users/groups from Windows 2003 Server to 2008.In windows 2003 the Version is 11.1.1 and in 2008 its 11.1.2.While Migrating i faced he below error.I was using the Migration Wizard to migrate.
    Start of Application Migration.
    [D4W0218G.americas.hpqcorp.net:1423.Fiji]     MigrateApplication     February 15, 2013 10:30:04 AM SGT     Failed
    Error: Source and target servers should be of same locale for migration. [Source Locale: English_UnitedStates.MS1252@Binary, Target Locale: English_UnitedStates.Latin1@Binary]
    End of Application Migration.
    I even tried to change the target local to source local name in Environment Variables -->ESSLANG=English_UnitedStates.MS1252@Binary but of no use.
    Can anyone please suggest me how to rectify this error.
    Regards,
    Naveen

    Hi,
    Review the section beginning at page 663 on unicode applications from the Essbase Database Admin Guide. On windows this is the ESSLANG environment variable on unix there is a file that you must modify.
    See http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag.pdf
    I do suggest you read the whole section I referenced above. You would not be changing the source server. It is whatever format it is. You need to change in windows 2008.
    Mark if this helps you.
    Regards,
    Kishore Rout

  • Screenshot Error in Mac OS X 10.8, Short key working but no file generated

    Today I'm going to use the mac screenshot (screen capture from COMMAND+CONTROL+SHIFT+4) to capture the window while the problem comes. The short key is working and the icon of pointer has changed accordingly, but once I clicked there is no file generated in the destination folder. I would like to know what's wrong with my screenshot? Is there anyone who encountered the similar errors before?
    I'm using Mac OS X 10.8.5 and I believe the screenshot is still avalaible after the update from the 10.7.x. I guess the problem is more about the screenshot applet rather than the system. Besides, I'm eager to know that is there any method to solve this problem.
    Thank you.

    I am running a Retina Macbook Pro with Mavericks 10.9.3 installed.  I was having this problem today, but I did a few things that got rid of the issue...
    1)  Go to System Preferences > Keyboard > Shortcuts > Screen Shots, and click each of these 4 boxes...
    Then close the window.
    2) Open the application "Terminal."
    Type in killall Finder > Push enter
    Type in killall Dock > Push enter
    Close the program
    3) Turn off the computer.  Now turn it on, but hold down "CMD + OPTION + P + R" on the keyboard as it boots up.  This will restart your computer.  Let the keys go after the restart, and let it boot all the way.  Pressing these keys clears your PRAM and NVRAM settings--it doesn't harm your computer at all, but it is supposed to help give your battery a boost.  Apparently, it also resolved my screen shot issues.
    I blame my screen shot issues on a program I tried installing today--it must have messed with the OS somehow.  Hope all of this helps!

Maybe you are looking for