Using Dumplog to generate CVP server log
Hi everyone,
I want to generate logs in the cvp (7.0) server using the dumplog command,
can anyone advice me which process name to use, and the procedure.
Severin
Hi Severin,
For setting the router trace do the below.
On the Router please click on Start -> run -> rtrtrace and then type the customer name and press the Connect Button.
select the components you want to do trace for.
Now use the dumplog utility to collect the logs on router.
Regards
Sandeep
Similar Messages
-
Using Splunk to monitor Hyperion server logs live
Is anyone using Splunk or another third party software to monitor Hyperion server logs?
If so, do you have anything special in place to allow the files to be monitored 'live'?
When we attempt to look at the logs via Splunk, it appears the application is locking the current logs, preventing splunk from reading it live, until they are swapped out and new files started.
Any tips will be most appreciated.
thanks,
Insiyah.
ij24 at drexel dot eduWhich version of Hyperion?
Never heard about Splunk but from 11.1.2.1, Hyperion is integrated with Enterprise manager which can be used to monitor the log files,performance and many more things. -
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 -- -
Question About CVP Call Server Logs
Hi Members,
In the CallServer Logs i could see a [SIP_LEG_PRERTE_CORRID] - Publishing ,, [ICM_REQUEST_INSTRUCTION]
Could someone tellme what is the difference between [SIP_LEG] and [SIP_LEG_PRERTE_CORRID]
In what are all the scenarios i would get [SIP_LEG_PRERTE_CORRID] this leg
Regards,
SenthilHi Kris,
Thanks For your reply. Here is my Scenario.
PSTN---->VoiceGateway---->CUSP---->CVP CallServer----->ICM---->Script(Just to Play Music).
Here in ICM i have a Dialed Number configured and Mapped to a Calltype and Calltype is Associated in the Script where i have a IF Node (condition Match the Dialed Number).
We have lot of TFN's configured and everything is working fine without any issue.
Now i have to add new DID's in my Setup. When i test the Call it is not hitting my START NODE on the Script itself.
I have attached my ICM Router Logs here. Please let me know if you have any suggestion.
ICM Router Logs for the Dialog ID : 515149
07:21:29 rb-rtr Trace: Dialog (515149) has a correlation id (7 7) that is unknown.
07:21:29 rb-rtr Trace: For message (14) from routing client iyogi_CVP_PG_RC2 (ID 5003) could not find dialog id (7).
07:21:29 rb-rtr Trace: Router sending dialog fail reason (11) for dialog (515149).
CVP Call Server Logs for the Dialog ID : 515149
137620197: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %_Message-6-com.dynamicsoft.DsLibs.DsUALibs.DsSipObject.Message: In DsMimeEntity.parseBody() - Content type application/x-q931 is unregistered.
137620198: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %_Message-6-com.dynamicsoft.DsLibs.DsUALibs.DsSipObject.Message: In DsMimeEntity.parseBody() - Content type application/gtd is unregistered.
14036239: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_ICM-7-CALL: {Thrd=pool-1-thread-50-ICM-6090032} CALLGUID = 31D4D479100001305602249B0A6E0A12, DLGID = -1 [null] - Processing ,, [MsgBus:NEW_CALL], ssId=SYS_SIP2, mediaType=, location=, locationpkid=, locationsiteid=, srcaddr=10.100.0.9, pstntrunkgroupid=10.100.0.9 , pstntrunkgroupchannelnum=2147483647, sipheader=, rckey=, rcday=, rcseq=, uui=, CallContext:, user.media.id: 31D4D479100001305602249B0A6E0A12,, LEGID = null, DNIS = -1, ANI = -1
14036240: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_ICM-7-CALL: {Thrd=pool-1-thread-50-ICM-6090032} CALLGUID = 31D4D479100001305602249B0A6E0A12 - Correlation ID routed call
14036241: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_ICM-7-CALL: {Thrd=pool-1-thread-50-ICM-6090032} CALLGUID = 31D4D479100001305602249B0A6E0A12, DLGID = 515149 [SIP_LEG_PRERTE_CORRID] - Publishing ,, [ICM_REQUEST_INSTRUCTION], dialogueId=515149, sendSeqNo=1, trunkGroupId=200, trunkNumber=1, serviceId=2, uui=, correlationId=7, location=, locationpkid=, pstntrunkgroupid=10.100.0.9 , pstntrunkgroupchannelnum=2147483647, sipheader=,, LEGID = 6B6C5D0A-87A311E0-8FF3C7B6-824C2EAB, DNIS = 35315260067, ANI = 18664281713
14036242: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_ICM-7-CALL: {Thrd=pool-1-thread-138-ICM-6090033} CALLGUID = 31D4D479100001305602249B0A6E0A12, DLGID = 515149 [SIP_LEG_PRERTE_CORRID] - Processing ,, [ICM_DIALOGUE_FAILURE_EVENT], dialogueId=515149, sendSeqNo=1, errorCode = E_UNSPECIFIED_FAILURE,, LEGID = 6B6C5D0A-87A311E0-8FF3C7B6-824C2EAB, DNIS = 35315260067, ANI = 18664281713
14036243: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_ICM-7-CALL: {Thrd=pool-1-thread-138-ICM-6090033} CALLGUID = 31D4D479100001305602249B0A6E0A12, DLGID = 515149 [SIP_LEG_PRERTE_CORRID] - Publishing ,, [MsgBus:DIALOGUE_FAILURE], ssId=SYS_SIP2, errorCode=E_UNSPECIFIED_FAILURE,, LEGID = 6B6C5D0A-87A311E0-8FF3C7B6-824C2EAB, DNIS = 35315260067, ANI = 18664281713
12185266: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_SIP-3-SIP_CALL_ERROR: CALLGUID = 31D4D479100001305602249B0A6E0A12 LEGID = 6B6C5D0A-87A311E0-8FF3C7B6-824C2EAB - [INBOUND] - DIALOGUE_FAILURE from ICM Router sends 404 rejection to call. errorcode=15 [id:5004]
12185267: 10.110.10.18: May 27 2011 07:21:29.593 -0700: %CVP_8_0_SIP-3-SIP_CALL_ERROR: CALLGUID = 31D4D479100001305602249B0A6E0A12 LEGID = 6B6C5D0A-87A311E0-8FF3C7B6-824C2EAB - [INBOUND] - ABNORMALLY ENDING - SIP code [404], Reason Hdr [SIP;cause=404] Not Found, GW call using SURV TCL flag [false], NON NORMAL flag [true], USE ERROR REFER flag [true] with AGE (msecs) 0 and Call History : [id:5004]
Regards,
Senthil -
Exception in Server Logs : JMSCC0033 While using Weblogic 10.3.X and MQ 7
Following exception is contuniously occuring in Weblogic Managed Server Logs after migrating to IBM MQ 7.
com.ibm.msg.client.jms.DetailedIllegalStateException: JMSCC0033: A synchronous method call is not permitted when a session is being used asynchronously: 'acknowledge' The JMS specification does not permit the use of a session for synchronous methods when asynchronous message delivery is running. Create a separate session if you wish to use both synchronous methods and asynchronous delivery simultaneously.
at sun.reflect.GeneratedConstructorAccessor43.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:313)
at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:388)
at com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)
at com.ibm.msg.client.jms.internal.JmsSessionImpl.checkSynchronousUsage(JmsSessionImpl.java:2375)
at com.ibm.msg.client.jms.internal.JmsMessageImpl.acknowledge(JmsMessageImpl.java:1559)
at com.ibm.jms.JMSMessage.acknowledge(JMSMessage.java:351)
at weblogic.ejb.container.internal.MDListener$MDMessage.acknowledge(MDListener.java:802)
at weblogic.ejb.container.internal.MDListener$1.run(MDListener.java:237)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.ejb.container.internal.JMSConnectionPoller.doPrivilegedJMSAction(JMSConnectionPoller.java:2473)
at weblogic.ejb.container.internal.MDListener.putListener(MDListener.java:234)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:687)
at weblogic.ejb.container.internal.MDListener.run(MDListener.java:744)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)You should check with IBM Support.
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ73363
-Akshay -
Dear Members,
Could someone help me by providing any good document related to the "CVP CALLSERVER LOGS" and "CVP VXMLSERVER LOGS"
Regards,
Senthil.I'll leave the Call Server log question alone for a bit, because you have a point.
But the CVP VXML activity logs could not be any more transparent.
When the logging is set to complete (the default), and all the modules turned on (again, the default), every element is tracked in detail, plus any of your custom logging that you add either in the elements or in your own Action Elements is recorded in the log.
The CVP VXML documentation describes exactly how the log file is layed out. The VXML engine buffers the logging for each call and writes it when the call terminates, keeping all the activities for one call together in a block.
What is it about these logs that you want to understand? It's extremely obvious.
The only thing that is annoying is that the default setting for the activity log rotation attribute is "by_size" with a ludicrous value of 100MB. It should be set to
The other little thing I'll complain about is somewhere between CVP 3 and CVP 7, they lost control over the comma-separated fields. These were exact in CVP 3, and you could import into SQL - in fact, a tool was provided. Along came the Reporting Option and bye-bye went the tool.
But there are some inconsistencies now with the number of comma-separated fields and I had to write a little Java pre-processor to pass my activity logs through, before upload into SQL Server. Annoying.
Regards,
Geoff -
CVP call server logs
Hi All,
I am trying to figure out whether caller party(End User) hangup the call first or UCCE Agent.
Attaching CVP call server Logs& UCCE TCD& Route Call Details for your reference.From the CVP logs, it can be determined which side disconnected the call first. For each call, CVP keeps track each call leg. From Inbound Gateway to CVP is INBOUND leg, rest are OUTBOUND leg. You can then look at which leg the SIP BYE message is received first.
Since you have very basic log enabled, you will not see the exact SIP message. But it can be determined by the outcome of the message. Here is the snippet of the log during the disconnect:
Line 3766: 3083689: 10.180.245.43: Sep 12 2014 12:21:11.293 -0700: %CVP_8_5_SIP-7-CALL: {Thrd=DIALOG_CALLBACK.6} CALLGUID = CBCCDD8539E811E4A3E2CCEF48565980 LEGID = CC65CE04-39E811E4-87DFD7D1-64B198F2 - [INBOUND] DURATION (msecs) = 25610 - DIALOG TERMINATED. Reason: Q.850;cause=16
Line 3768: 3083690: 10.180.245.43: Sep 12 2014 12:21:11.293 -0700: %CVP_8_5_SIP-7-CALL: {Thrd=DIALOG_CALLBACK.6} Sending BUS MSG:>>HEADERS: (JMSType)=MsgBus:CALL_STATE_EVENT (JMSDestination)=Topic(CVP.SIP.CC.EVENT) (JMSTimestamp)=1410549671293 >>BODY: callguid=CBCCDD8539E811E4A3E2CCEF48565980 RouterCallKey=6472 RouterCallKeySent=true causecode=1 timezone=America/Los_Angeles RouterCallKeySequenceNumber=0 version=CVP_8_5 labeltype=1 RouterCallKeyDay=151099 calldate=Fri Sep 12 12:21:11 PDT 2014 label=190376 localOffset=-420 eventid=6 calllegid=CC65CE04-39E811E4-87DFD7D1-64B198F2 >>STATE: isTabular=false isWriteable=true cursor=-1
The first Termination message came on the INBOUND leg which is the PSTN. That means, PSTN side disconnected the call first.
Hope this helps.
Abu -
Very weird issue with server logging when using log4j.properties file
I'm using log4j logging. In log4j.properties the root logger is set up to use the ServerLoggingAppender class so that all our application logs go to the main server logfile. In addition, there are several appenders defined for specific components, with output going to specific per-component log files. Everything is going fine until I launch the server console. At this point all of those per-component log files get wiped out (zero length) and some non-ASCII lines are written to at least one of these files, after which the logs appear to be fine. The main server log file does not appear to be affected (because the root logger is set to "warn" level, while component-specific loggers are set to trace, the contents in these files is different; however I tried disabling all the other appenders and turning the root logger up to trace, and that still did not re-create the problem in the main server log file.
And here's the really weird part -- if I use the same configuration, but in a log4j.xml file, the problem does not happen.Figured it out.
We were passing in the configuration for log4j as -Dlog4j.configuration=file:/<properties file> and this was added to the command line for both the managed and admin servers. Problem is that the console app starts its own instance of log4j, and when it reads the configuration for the appenders it initializes or rolls over the files. At some point we have two JVMs accessing the same files, so some corruption is bound to happen.
I'm not clear why the .xml file made a difference, but earlier we had been passing the log4j configuration as a jar file placed in the domain/lib folder, so perhaps the designer reverted to that (placed the log4j.xml file in a jar in lib, and not simply changed the -Dlog4j.configuration=file:/ option. -
Just trying out my new mac but email won't load, error says "The mail server denied access to the account because an administrator or other mail client was using it when Mail tried to log in. Try again later." A little lock is beside the email inbox account, no password prompted and account is online and enabled... Thoughts?
Have you tried clicking on the lock to see it it will then ask for a passwored. Otherwise, try reblooting.
-
Weblogic server log files !! can i read them through HTTP using browser ?
hi all
i wonder if i can configure weblogic server or use a utility to read my log files in application,i need something like log file browsing in oracle webcenter content .
any advise ?
thanks
Edited by: hsweiss on Jul 18, 2012 9:28 AMHi,
I believe you can read log files using admin console. Go to Diagnostic--> logs and select the server which logs you want to see.
Regards,
Shashi -
Using Caching Service when the Server Sleeps or Users have logged out?
When the Mac Mini Server logs out all users, the OS X Server 3 should still be running to my belief. Thus the Caching Service of the OS X Server 3 should still be running. However, in a number of cases, I found that the time taken for an app download after the first time uses the same time for download. So, I guess the Caching Service is not performing at all when there is no Logged-in user.
I further wonder why there is a Sleep Button at the User Log-in Screen and no wonder that the Server will not be providing Services (e.g. Caching Service) when the Server is in Sleep Mode. Will the Server 3 be providing Caching Service while the Mac Mini Server has enter Sleep mode and it's just my configuration problem?Here is an explanation of how caching server works.
http://nbalonso.com/os-x-server-caching/
In summary:
Your server periodically talks to apple. Compares notes. Verifies it is authentic. Gets a certificate from apple to prove it is authentic.
If your device asks for something (contacts apple), Apple says that you have a local caching server, and responds with the info telling your device to try your local server first. (includes certificate info, so your device is confident the local server that responds is actually authorized to do so).
If that goes well, then fine. If not, then you device falls back to getting the info from Apple's servers.
If your server is asleep, then this process won't work. Your server is supposed to phone home to apple (hourly?) to keep proving it is authorized to server updates, and to update Aple's record that it is authorized to serve updates for your private network IP address. -
OEM 12c using lots of DB Space and generating over 100Gbytes logs daily
We have upgraded to OEM12c, but we notice that
1. Tablespace Mgmt_tablespace is growing very rapidly about 5GBytes every week
2. and we are generating many achieve logs in my case 100 gbytes in every days
Is this normal and are there anything I can do to reduce the space usage?
Is anyone having this problem or is it just me
Many thanks
Edited by: user10745648 on Mar 5, 2013 2:00 PM
Edited by: user10745648 on Mar 5, 2013 2:22 PMExcessive archivelog generation on an EM12c repository database may mean you are hitting bug 14726136. Please see MOS note 1502370.1. I would suggest filing an SR with support to confirm whether or not you are experiencing this bug; they can help you with some additional analysis.
-
Oracle.security.idm.OperationFailureException in ucm server logs
Hi,
We have integrated IDM (OID and OAM) in our weblogic servers. For some specific users when they try to access, below error seems to be recorded in UCM server logs.
Event generated by user '10819' at host 'CIS'. csJpsErrorLoadingSecurityInfo Unable to execute service method 'next'. oracle.security.idm.OperationFailureException: javax.naming.InvalidNameException: Invalid name: ldap:. javax.naming.InvalidNameException: Invalid name: ldap:. [ Details ]
An error has occurred. The stack trace below shows more information.
!csUserEventMessage,10819,CIS!$!$csJpsErrorLoadingSecurityInfo!csUnableToExecMethod,next!syJavaExceptionWrapper,oracle.security.idm.OperationFailureException: javax.naming.InvalidNameException: Invalid name: ldap:!syJavaExceptionWrapper,javax.naming.InvalidNameException: Invalid name: ldap:
intradoc.common.ServiceException: csJpsErrorLoadingSecurityInfo
at idc.provider.jps.JpsUserProvider.loadSecurityInfo(JpsUserProvider.java:601)
at idc.provider.jps.JpsUserProvider.checkCredentials(JpsUserProvider.java:229)
at intradoc.server.UserStorageImplementor.checkExternalProvidersForUser(UserStorageImplementor.java:653)
at intradoc.server.UserStorageImplementor.retrieveUserDatabaseProfileDataImplement(UserStorageImplementor.java:306)
at intradoc.server.UserStorage.retrieveUserDatabaseProfileDataEx(UserStorage.java:159)
at intradoc.server.UserStorageUtils.loadUserData(UserStorageUtils.java:88)
at intradoc.server.ServiceSecurityImplementor.loadUserData(ServiceSecurityImplementor.java:538)
at intradoc.server.ServiceSecurityImplementor.globalSecurityCheck(ServiceSecurityImplementor.java:221)
at intradoc.upload.UploadSecurityImplementor.globalSecurityCheck(UploadSecurityImplementor.java:57)
at intradoc.server.Service.globalSecurityCheck(Service.java:2671)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:678)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: intradoc.common.ServiceException: !csUnableToExecMethod,next
at intradoc.common.ClassHelper.invoke(ClassHelper.java:168)
at intradoc.common.ClassHelper.invoke(ClassHelper.java:135)
at idc.provider.jps.JpsUserProvider.loadSecurityInfo(JpsUserProvider.java:502)
... 17 more
Caused by: oracle.security.idm.OperationFailureException: javax.naming.InvalidNameException: Invalid name: ldap:
at oracle.security.idm.providers.stdldap.util.LDAPRealm.throwException(LDAPRealm.java:758)
at oracle.security.idm.providers.stdldap.util.LDAPRole.getName(LDAPRole.java:360)
at oracle.security.idm.providers.stdldap.LDRole.getName(LDRole.java:65)
at oracle.security.idm.providers.stdldap.LDRole.<init>(LDRole.java:60)
at oracle.security.idm.providers.stdldap.LDIdentityStore.getNewRoleInstance(LDIdentityStore.java:742)
at oracle.security.idm.providers.stdldap.LDSearchResponse.next(LDSearchResponse.java:111)
at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at intradoc.common.ClassHelper.invokeRawEx(ClassHelper.java:195)
at intradoc.common.ClassHelper.invokeRaw(ClassHelper.java:175)
at intradoc.common.ClassHelper.invoke(ClassHelper.java:157)
... 19 more
Caused by: javax.naming.InvalidNameException: Invalid name: ldap:
at org.apache.harmony.jndi.internal.parser.LdapRdnParser.checkTypeRestrictionsStatic(LdapRdnParser.java:243)
at org.apache.harmony.jndi.internal.parser.LdapRdnParser.getListForRdn(LdapRdnParser.java:226)
at javax.naming.ldap.Rdn.<init>(Rdn.java:111)
at org.apache.harmony.jndi.internal.parser.LdapNameParser.getList(LdapNameParser.java:106)
at javax.naming.ldap.LdapName.<init>(LdapName.java:57)
at oracle.security.idm.providers.stdldap.util.LDAPRole.getName(LDAPRole.java:332)
Please suggest, how to remove this error.
Regards
Boopathy PIt seems that chunking is causing the issue. In the HTTP Transport Configuration Options of your business service, disable the setting "Use Chunked Streaming Mode"
Regards,
Anuj -
Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)
I'm trying to migrate a Sql Server 2k database to an Oracle 8i schema using OMWB. After using BCP to collect metadata information on the source database, I tried to capture the source data model and got a "Capture aborted" message on the progress screen (even though then it appears a dialog window reporting "0 errors and 0 warnings", funny!). Down there is the error log OMWB generated. After reading some posts, I changed some columns of the OMWB dictionary that holds the source database name, but still got the same error. If someone can enlighten me on this toppic, I'd greatly appreciated it.
Here's the error log of OMWB:
** Oracle Migration Workbench
** Production
** ( Build 20050629 )
** OMWB_HOME: D:\Datos\Download\Oracle\Oracle Migration Workbench\omwb
** user language: es
** user region: null
** user timezone:
** file encoding: Cp1252
** java version: 1.4.2_04
** java vendor: Sun Microsystems Inc.
** o.s. arch: x86
** o.s. name: Windows 2000
** o.s. version: 5.0
** Classpath:
..\lib\boot.jar
** Started : Fri Feb 23 17:18:48 GMT-03:00 2007
** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Repository Connection URL: jdbc:oracle:thin:@ServerCms:1521:sigcewbc
** The following plugins are installed:
** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 7.0 Plugin, Production Release 10.1.0.4.0
** Active Plugin : SQLServer2K
EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
** Shutdown : Fri Feb 23 18:00:50 GMT-03:00 2007Duplicate thread
Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i) -
Content server log showing exception in stream
Hi all,
I am connecting to ecm with the follwoing cod eand error
on transfere stream is ocurring
after connection was paralyesd for about 4 minutes then
ecxeption occure then server log shows
a service exception
the follwoing is the used code
PLZ HELP ME
* Copyright (c) 1997-2001 IntraNet Solutions, Incorporated. All rights reserved.
* Copyright (c) 2001-2007 Stellent, Incorporated. All rights reserved.
package com.stellent.cis.sdk.samples.checkin;
import java.net.MalformedURLException;
import java.rmi.RemoteException;
import java.util.Date;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import com.stellent.cis.client.command.CommandException;
import com.stellent.cis.client.io.ICISTransferStream;
import com.stellent.cis.client.api.scs.ISCSContent;
import com.stellent.cis.client.api.scs.ISCSContentID;
import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinAPI;
import com.stellent.cis.client.api.scs.document.checkin.ISCSCheckinFlags;
import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinResponse;
import com.twainconnect.sample.UCPMClient1;
import java.io.FileInputStream;
import java.io.InputStream;
* This class shows how to check in a file into the content server. This takes a bunch of command line switches most of which is
* optional. If some required values are not given, it creates random values for them.
* -file : the absolute path to the file which is to be checked in (required)
* -contentid : the content id of the document (auto generated)
* -title : the title of the document (auto generated)
* -type : the type of the document (defaults to ADACCT)
* -securitygroup : the security group (defaults to Public)
public class CheckinFile extends UCPMClient1 {
// The path to the primary file of the document
private String primaryFile = null;
// The content id of the document
private String contentId = null;
// The title of the document
private String title = null;
// the type of the document
private String type = null;
// the security group of the document
private String securityGroup = null;
// The check in api from the cis
private ISCSDocumentCheckinAPI api = null;
public static void main(String[] args) {
CheckinFile checkin = new CheckinFile();
checkin.initialize(args);
try {
checkin.connect();
checkin.execute();
} catch (CommandException e) {
e.printStackTrace();
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
System.exit(0);
* Executes the services to perform a content server check in.
protected void execute() throws RemoteException, CommandException {
// Get the Document check in api from the active api.
api = getClient().getUCPMAPI().getActiveAPI().getDocumentCheckinAPI();
// Perform a check in of the file with the values provided. The check in flags is generated in the method
// getCheckinFlags(). Also see getActiveContent(), getActiveContentId()
try {
ICISTransferStream transferStream = getClient().getUCPMAPI().createTransferStream();
transferStream.setFile(new File("D:\\ddd.doc"));
System.out.println("read b4 get === "+transferStream.getInputStream().read());
// InputStream inputStreamxx = new FileInputStream( );//transferStream.getInputStream();
// FileInputStream inputStreamxx = new FileInputStream(new File("D:\\ddd.doc"));
// transferStream.setInputStream(inputStreamxx);
// System.out.println("after setting "+transferStream.getInputStream().read());
// byte[] input = new byte[25];
// for (int i = 0; i < input.length; i++) {
// int b = transferStream.getInputStream().read(input);
// if (b == -1)
// break;
// input[i] = (byte)b;
// System.out.println("\n---------\n"+input.length);
// System.out.println("Whole legnth= "+transferStream.getInputStream().read(input));
// System.out.println(inputStream .read());
// System.out.println(getPrimaryFile());
// transferStream.setFileName("mmm");
// transferStream.setContentType("text/plain");
// transferStream.setContentLength(5);
ISCSDocumentCheckinResponse result =
api.checkinFileStream(getSCSContext(), getActiveContent(),
transferStream);
//getSCSContext().setCrendentials();
// The message from the content server , if any
String message = result.getMessage();
// Print a status message to the console
print("Checked in the file [" + getPrimaryFile() +
"] with content id " + getContentId() + ". Message:" +
message);
} catch (FileNotFoundException exp) {
throw new CommandException(exp);
} catch (IOException exp) {
throw new CommandException(exp);
} catch (Exception exp) {
exp.printStackTrace();
* This creates a new SCSCheckinFlags object which can be used to define the check-in properties.
* @return new SCSCheckinFlags object
* @throws RemoteException
* @throws com.stellent.cis.client.command.CommandException
protected ISCSCheckinFlags getCheckinFlags() throws RemoteException,
CommandException {
log.fine("Entering getCheckinFlags");
ISCSCheckinFlags checkinFlags =
(ISCSCheckinFlags)getClient().getUCPMAPI().createObject(ISCSCheckinFlags.class);
// Specify that the file should be copied, and not be deleted after the check in.
checkinFlags.setFileCopy(true);
// Specify this to true if this is a workflow step checkin.
checkinFlags.setFinished(false);
return checkinFlags;
* Creates a new SCSContent object where all the document specific properties and meta-data values can be set for the
* check-in process.
* @return new SCSContent object with the properties set
* @throws RemoteException
* @throws com.stellent.cis.client.command.CommandException
protected ISCSContent getActiveContent() throws RemoteException,
CommandException {
// Create a new content object for the executing context
ISCSContent activeContent =
(ISCSContent)getClient().getUCPMAPI().createObject(ISCSContent.class);
ISCSContentID contentID =
(ISCSContentID)getClient().getUCPMAPI().createObject(ISCSContentID.class);
contentID.setContentID(getContentId());
activeContent.setContentID(contentID);
// Set the Title of the document
activeContent.setTitle(getTitle());
// set the type of the document
activeContent.setType(getType());
// set the security group of the document
activeContent.setSecurityGroup(getSecurityGroup());
return activeContent;
* Override the initialize method to read in more document specific values from the command line.
protected void initialize(String[] args) {
log.fine("Entering initialize");
super.initialize(args);
// Provide a default value for the fields so that we don't have to enter it always. ;-)
// Date is random enough for us.
Date now = new Date();
setPrimaryFile(readArgsAsString("-file", args, null));
setTitle(readArgsAsString("-title", args,
"Title By SDK " + now.getTime()));
setContentId(readArgsAsString("-contentid", args,
now.getTime() + "Content-Id-SDK"));
setType(readArgsAsString("-type", args, "ADACCT"));
setSecurityGroup(readArgsAsString("-securitygroup", args, "Public"));
// Getters and setters for the variables
public String getPrimaryFile() {
primaryFile = "D:\\w.txt";
return primaryFile;
public void setPrimaryFile(String primaryFile) {
this.primaryFile = primaryFile;
public String getContentId() {
return contentId;
public void setContentId(String contentId) {
this.contentId = contentId;
public String getTitle() {
return title;
public void setTitle(String title) {
this.title = title;
public String getSecurityGroup() {
return securityGroup;
public void setSecurityGroup(String securityGroup) {
this.securityGroup = securityGroup;
public String getType() {
return type;
public void setType(String type) {
this.type = type;
Edited by: user7326470 on Oct 17, 2009 2:52 AM<?xml version="1.0" encoding="windows-1256" ?>
<config>
<adapter default="true" name="myadapter" type="scs">
<config>
<property name="type">web</property>
<property name="vaultType">web</property>
<property
name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
y>
<property name="port">4444</property>
<property
name="contentServerAdminID">sysadmin</property>
<property
name="contentServerAdminPassword">idc</property>
<property
name="eventPollingEnabled">true</property>
<property
name="persistentConnection">true</property>
<property name="cacheEnabled">true</property>
<property
name="connectionTimeout">9999999999999999999999999999999
9999999999999999999999999999999999999999999999999999</pr
operty>
<property
name="contentServerMappedVault"></property>
<property name="appserverMappedVault"></property>
</config>
<beans template="classpath:/META-
INF/resources/adapter/adapter-services-scs.jxml"/>
</adapter>
<adapter name="checkin" type="scs">
<config>
<property name="type">web</property>
<property
name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
y>
<property name="port">4444</property>
<property
name="contentServerAdminID">sysadmin</property>
<property
name="contentServerAdminPassword">idc</property>
<property
name="eventPollingEnabled">true</property>
<property
name="persistentConnection">false</property>
<property name="cacheEnabled">true</property>
<property
name="connectionTimeout">9999999999999999999999999999</p
roperty>
<property
name="contentServerMappedVault"></property>
<property name="appserverMappedVault"></property>
</config>
<beans template="classpath:/META-
INF/resources/adapter/adapter-services-scs.jxml"/>
</adapter>
</config>
the JDeveloper exception is as foolows
[2009-10-17 11:24:10,749] [SCS EventPoller [myadapter]]
WARN
(com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
er) - No password credentials supplied for background
polling thread but adapter config 'myadapter' is set to
type web which requires authentication will attempt to
poll with no credentials
[2009-10-17 11:24:10,811] [SCS EventPoller [myadapter]]
WARN
(com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
er) - Error in content server event poller
com.stellent.cis.client.command.CommandException: Error
reading the response from the Content Server: 401
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:338)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.execute
(SCSCommand.java:222)
at
com.stellent.cis.client.command.impl.services.CommandExe
cutorService.executeCommand
(CommandExecutorService.java:57)
at
com.stellent.cis.client.command.impl.CommandFacade.execu
teCommand(CommandFacade.java:158)
at
com.stellent.cis.client.command.impl.BaseCommandAPI.invo
keCommand(BaseCommandAPI.java:84)
at
com.stellent.cis.client.api.scs.administrative.query.imp
l.SCSAdministrativeQueryAPI.queryDocumentHistory
(SCSAdministrativeQueryAPI.java:76)
at
com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
Caused by:
com.stellent.cis.server.api.scs.request.SCSRequestExcept
ion: Error reading the response from the Content Server:
401
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:156)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.processRequest(SCSRequestProcessor.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:61)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedPublishFilter.handleRequest
(SCSOptimizedPublishFilter.java:128)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedRetrieveFilter.handleRequest
(SCSOptimizedRetrieveFilter.java:250)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
rviceCacheFilter.handleRequest
(SCSServiceCacheFilter.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestE
xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
iaProxy(SCSCommand.java:353)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:335)
... 6 more
Caused by:
com.stellent.cis.common.exception.HttpException: 401
at
com.stellent.cis.server.api.scs.protocol.impl.httpclient
.HdaViaHttpProtocol.writeMessage
(HdaViaHttpProtocol.java:171)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:148)
... 19 more
[2009-10-17 11:29:10,847] [SCS EventPoller [myadapter]]
WARN
(com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
er) - Error in content server event poller
com.stellent.cis.client.command.CommandException: Error
reading the response from the Content Server: 401
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:338)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.execute
(SCSCommand.java:222)
at
com.stellent.cis.client.command.impl.services.CommandExe
cutorService.executeCommand
(CommandExecutorService.java:57)
at
com.stellent.cis.client.command.impl.CommandFacade.execu
teCommand(CommandFacade.java:158)
at
com.stellent.cis.client.command.impl.BaseCommandAPI.invo
keCommand(BaseCommandAPI.java:84)
at
com.stellent.cis.client.api.scs.administrative.query.imp
l.SCSAdministrativeQueryAPI.queryDocumentHistory
(SCSAdministrativeQueryAPI.java:76)
at
com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
Caused by:
com.stellent.cis.server.api.scs.request.SCSRequestExcept
ion: Error reading the response from the Content Server:
401
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:156)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.processRequest(SCSRequestProcessor.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:61)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedPublishFilter.handleRequest
(SCSOptimizedPublishFilter.java:128)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedRetrieveFilter.handleRequest
(SCSOptimizedRetrieveFilter.java:250)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
rviceCacheFilter.handleRequest
(SCSServiceCacheFilter.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestE
xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
iaProxy(SCSCommand.java:353)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:335)
... 6 more
Caused by:
com.stellent.cis.common.exception.HttpException: 401
at
com.stellent.cis.server.api.scs.protocol.impl.httpclient
.HdaViaHttpProtocol.writeMessage
(HdaViaHttpProtocol.java:171)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:148)
... 19 more
com.stellent.cis.client.command.CommandException: Error
reading the response from the Content Server: 500
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:338)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.execute
(SCSCommand.java:222)
at
com.stellent.cis.client.command.impl.services.CommandExe
cutorService.executeCommand
(CommandExecutorService.java:57)
at
com.stellent.cis.client.command.impl.CommandFacade.execu
teCommand(CommandFacade.java:158)
at
com.stellent.cis.client.command.impl.BaseCommandAPI.invo
keCommand(BaseCommandAPI.java:84)
at
com.stellent.cis.client.api.scs.document.checkin.impl.SC
SDocumentCheckinAPI.checkinFileStream
(SCSDocumentCheckinAPI.java:663)
at
com.stellent.cis.sdk.samples.checkin.CheckinFile.execute
(CheckinFile.java:118)
at
com.stellent.cis.sdk.samples.checkin.CheckinFile.main
(CheckinFile.java:71)
Caused by:
com.stellent.cis.server.api.scs.request.SCSRequestExcept
ion: Error reading the response from the Content Server:
500
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:156)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.processRequest(SCSRequestProcessor.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:61)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedPublishFilter.handleRequest
(SCSOptimizedPublishFilter.java:128)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedRetrieveFilter.handleRequest
(SCSOptimizedRetrieveFilter.java:250)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
rviceCacheFilter.handleRequest
(SCSServiceCacheFilter.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestE
xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
iaProxy(SCSCommand.java:353)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:335)
... 7 more
Caused by:
com.stellent.cis.common.exception.HttpException: 500
at
com.stellent.cis.server.api.scs.protocol.impl.httpclient
.HdaViaHttpProtocol.writeMessage
(HdaViaHttpProtocol.java:171)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:148)
... 20 more
Process exited with exit code 0.
the server exception in log of content server is as
follows
Event generated by user 'anonymous' at host
'192.168.0.104'. Stream terminated before being able to
read HTTP protocol line. Stream terminated before being
able to read HTTP protocol line. [ Details ]
An error has occurred. The stack trace below shows more
information.
!csUserEventMessage,anonymous,192.168.0.104!$!
syStreamTerminatedBeforeProtocol!
syStreamTerminatedBeforeProtocol
intradoc.common.ServiceException: !
syStreamTerminatedBeforeProtocol
at
intradoc.server.ServiceRequestImplementor.doRequest
(ServiceRequestImplementor.java:628)
at intradoc.server.Service.doRequest
(Service.java:1709)
at
intradoc.server.ServiceManager.processCommand
(ServiceManager.java:357)
at intradoc.server.IdcServerThread.run
(IdcServerThread.java:195)
Caused by: java.io.IOException: !
syStreamTerminatedBeforeProtocol
at
intradoc.serialize.DataBinderSerializer.readStreamLineBy
teEx(DataBinderSerializer.java:1588)
at
intradoc.serialize.DataBinderSerializer.readStreamLineEx
(DataBinderSerializer.java:1556)
at
intradoc.serialize.DataBinderSerializer.readLineEx
(DataBinderSerializer.java:1528)
at
intradoc.serialize.DataBinderSerializer.parseForData
(DataBinderSerializer.java:1336)
at
intradoc.serialize.DataBinderSerializer.parseMultiConten
t(DataBinderSerializer.java:1283)
at
intradoc.serialize.DataBinderSerializer.continueParse
(DataBinderSerializer.java:1244)
at
intradoc.data.DataSerializeUtils.continueParse
(DataSerializeUtils.java:138)
at intradoc.server.Service.continueParse
(Service.java:415)
at
intradoc.server.ServiceRequestImplementor.doRequest
(ServiceRequestImplementor.java:620)
... 3 more
Maybe you are looking for
-
Error message: "The iPod 'Jianna's iPod' cannot be synced...
...The required disc cannot be found." I attempted to sync my iPod (add new songs purchased from iTunes). iTunes froze and my iPod did nothing. What the heck does that mean? Why can I not add new songs to my iPod now? They're showing up in iTunes, ju
-
How do i create this kind of click box?? HELP
Hi There, How do i create a click box that when you double click it a black dot is displayed. Im sorry if im not being clear. I mean a dot in the middle of a circular click box. When you click multiple choice, sort of. Any help would be appreciated!
-
I bout the app "find my phone". Accodingly updated I tunes so that I could access icloud. Did all that. However, when I tried to unlock my phone with my password (which I did not change) it did not recognize it. Help!!
-
Printing multiple pdf documents
We need to generate multiple pdf docs at one go based on selections. we need to have the option of including one report or multiple reports With one go, we want to generate these reports Currently these reports are generated in excel based on macro's
-
HFM "Inter unit profit elimination"
Can any one have any idea about " Inter unit profit elimination" and how it is done in HFM? we have done this through Essbase, and we just converted to HFM