LOB management
Hello,
Is-it possible to add a menu/module to export/import Large Object as CLOB,BLOB, ...
Thanks.
Thanks
But imagine you have something like
DECLARE
myCLOB CLOB
BEGIN
myCLOB := to_clob('test clob');
-- Is it necessary ???
-- dbms_lob.freetemporary(myCLOB,...) ;
END;1) Do I have to explicitely free "myCLOB" or is it automatically done by Oracle ?
2) Does the declaration of myCLOB involves the creation of a "new temporary LOB" or is it only when we create the lob explicitly with the dbms_lob.createtemporary(...);
Regards
Similar Messages
-
KIMYONG : basic Export / Attachment issues 가이드
Purpose
======
이 문서는 Support Analayst / DBA에게 Export /Attachments issues 발생시
조치할수 있는 기본적인 Troubleshooting Guide를 소개하고자 합니다.
Explanations
======
Export Analysis
Turn on export debug,
Go to Help -> Diagnostics -> Examine
Set Block = GLOBAL
Set Field = FND_EXPORT_DEBUG
Set Value = TRUE
Then export and observe the messages that are generated during the export process
Important Parameters.
set serveroutput on
declare
plsql_agent varchar2(200);
web_server varchar2(200);
dad varchar2(200);
gfm_agent varchar2(200);
protocol varchar2(200);
database_id varchar2(200);
jsp_agent varchar2(200);
check_enabled varchar2(200) ;
begin
plsql_agent := fnd_web_config.plsql_agent ;
dbms_output.put_line('PL SQL Agent ->'||plsql_agent);
web_server :=fnd_web_config.web_server ;
dbms_output.put_line('Web Server ->'||web_server);
dad := fnd_web_config.dad ;
dbms_output.put_line('DAD ->'||dad);
gfm_agent := fnd_web_config.gfm_agent ;
dbms_output.put_line('GFM Agent ->'||gfm_agent);
protocol := fnd_web_config.protocol ;
dbms_output.put_line('Protocol ->'||protocol);
database_id := fnd_web_config.database_id ;
dbms_output.put_line('Database Id ->'||database_id);
jsp_agent := fnd_web_config.jsp_agent ;
dbms_output.put_line('JSP Agent ->'||jsp_agent);
check_enabled := fnd_web_config.check_enabled('FND_GFM.GET') ;
dbms_output.put_line('FND_GFM.GET ->'||check_enabled);
end ;
Examining SQL Trace for the sequence of events that happen in the Export process
SQL >alter session set events '10046 trace name context forever, level 12';
Then run the following block of pl/sql code
set serveroutput on
declare
db_file number;
mime_type varchar2(255) :='text/plain' ;
out_string varchar2(32767) :='Just some plain text that is stored' ;
web_server_prefix varchar2(500);
url varchar2(500);
begin
db_file :=fnd_gfm.file_create(content_type =>mime_type,program_name=>'export');
fnd_gfm.file_write_line(db_file,out_string);
db_file :=fnd_gfm.file_close(db_file);
url:=fnd_gfm.construct_download_url(fnd_web_config.gfm_agent,db_file,TRUE);
dbms_output.put_line(url);
end;
Exit the sql plus session and study the sql trace file as being there in USER_DUMP_DEST
$ ls -lrt
Refer to Note # 282806.1 Performance Tuning Approach for Oracle(8.1.6 - 9.2.0.5) on
UNIX for more information on how to obtain sql tracing .
Example of download URL :-
http://finance.sriratu:8001/pls/SR/fndgfm/fnd_gfm.get/776537528/202595/fnd_gfm.tsv
http://aoltest2.idc.oracle.com:8000/pls/VIS/fndgfm/fnd_gfm.get/820067633/298941/Screen_shots.doc
Example of Upload Attachment URL:
http://aoltest2.idc.oracle.com:8000/pls/VIS/OracleSSWA.Execute?
E=%7B!2DAF44968EBBEC83211B5D5F27F58334FBFB2B90E38AD205&P=%7B!BEFD8114A932C86A1548EC73FFCF6EADB4F7826B217EDCE92719B62BDA9FF0AF193DC7BC64A2C60AFC5123B50C8C78F9E6807695ED9A7FE7AE87F8E49E80807223756706B3FC777F645FA5A07C7A467B
http://aoltest2.idc.oracle.com:8000/pls/VIS/OracleSSWA.Execute?
E=%7B!2DAF44968EBBEC83211B5D5F27F58334FBFB2B90E38AD205&P=%7B!BEFD8114A932C86A5525987DB9C8D9785657497306AAE1FD25D1CC352ADF38DFD69C21355096CBC38D285B083D24F261701F5F278E199044D603A5A8B1D588292099782AC4AF3D97E23B95936809D280
To check the row being created in the table FND_LOBS during Export or Attachment
SQL>create table fnd_lobs_bak as
select file_id,file_name from fnd_lobs ;
SQL>select * from fnd_lobs
where file_id not in
(select file_id from fnd_lobs_bak );
SQL>select * from fnd_lobs
where to_char(upload_date,'DD/MM/YYYY')=to_char(sysdate,'DD/MM/YYYY')
Analysis on an Attachment
Help -> Diagnostics -> Examine
Block : DOCUMENT_HEADER
Field : ATTACHED_DOCUMENT_ID
Note down <Value>
SQL>select document_id
from fnd_attached_documents
where attached_document_id=<Value>;
SQL>select media_id
from fnd_documents_tl
where document_id=<document_id>;
SQL>select *
from fnd_lobs
where file_id=<media_id>;
SQL>select *
from fnd_documents_short_text
where media_id=<media_id>;
from fnd_documents_long_text
where media_id=<media_id>;
SQL>select *
from fnd_documents_long_raw
where media_id=<media_id>;
FND_LOBS stores information about all LOBs managed by the Generic File Manager (GFM).
Each row includes the file identifier, name, content-type, and actual data. Each row also
includes the dates the file was uploaded and will expire, the associated program name and
tag, and the language and Oracle characterset.
The file data, which is a binary LOB, is stored exactly as it is uploaded from a client browser,
which means that no translation work is required during a download to make it HTTP compliant.
Therefore uploads from non-browser sources will have to prepare the contents
appropriately (for instance, separating lines with CRLF).
The program_name and program_tag may be used by clients of the GFM for any purpose,
such as striping, partitioning, or purging the table if the program is de-installed.
They are otherwise strictly informative.
These columns and the expiration date are properly set when the
procedure FND_GFM.CONFIRM_UPLOAD is called. If not called, the column
expiration_date remains set, and will eventually be purged by the procedure
FND_GFM.PURGE_EXPIRED.
FND_DOCUMENTS_LONG_RAW stores images and OLE
Objects, such as Word Documents and Excel
spreadsheets, in the database. If the user elects
to link an OLE Object to the document, this table
stores the information necessary for Oracle Forms
to activate the OLE server, and it saves a
bit-mapped image of the OLE server's contents.
If the user does not elect to link an OLE Object,
the entire document will be stored in this table.
FND_DOCUMENTS_LONG_TEXT stores information about
long text documents.
FND_DOCUMENTS_SHORT_TEXT stores information about
short text documents.
To know which Forms provide Attachment feature
SQL>select *
from fnd_attachment_functions
where function_name like '%FND_%';
Examining FND_LOBS tablespace
SQL>select tablespace_name
from dba_tables
where table_name='FND_LOBS';
SQL>select *
from fnd_profile_options_tl
where profile_option_name='FND_EXPORT_MIME_TYPE';
SQL>select a.tablespace_name TABLESPACE_NAME , a.bytes TOTAL_BYTES,
sum(b.bytes) FREE_BYTES , count(*) EXTENTS
from dba_data_files a, dba_free_space b
where a.file_id = b.file_id AND A.TABLESPACE_NAME=<TABLESPACE_NAME>
group by a.tablespace_name, a.bytes
order by a.tablespace_name ;
Examing Profile Option value
SQL>select *
from fnd_profile_options_tl
where profile_option_name='FND_EXPORT_MIME_TYPE' ;
SQL>select b.profile_option_name,level_id,profile_option_value
from fnd_profile_option_values a, fnd_profile_options b
where a.application_id=b.application_id
and a.profile_option_id=b.profile_option_id
and b.profile_option_name in ('FND_EXPORT_MIME_TYPE') ;
Procedure FND_GFM.GET ANALYSIS
http://aoltest2.idc.oracle.com:8000/pls/VIS/fndgfm/fnd_gfm.get/560074272/298951/fnd_gfm.doc
access
SQL>select substr('/560074272/298951/fnd_gfm.doc',instr('/560074272/298951/fnd_gfm.doc','/',1)+1,instr('/560074272/298951/fnd_gfm.doc','/',2)-2) access from dual ;
560074272
file_id
SQL>select substr('/560074272/298951/fnd_gfm.doc',instr('/560074272/298951/fnd_gfm.doc','/',2)+1,(instr('/560074272/298951/fnd_gfm.doc','/',-1)-instr('/560074272/298951/fnd_gfm.doc','/',2)-1)) from dual ;
298951
Profile Options being referenced in the package FND_GFM
FND_EXPORT_MIME_TYPE
FND_NATIVE_CLIENT_ENCODING
Lookup Type Being used in the package FND_GFM
SQL>select tag,lookup_code,meaning
from fnd_lookup_values_vl
where lookup_type='FND_ISO_CHARACTER_SET_MAP';
Reference
========
Note 338651.1 -
What is SAP ESB (Enterprise Service Bus)?
Hi fellow sdners gurus I have been reading threads about SAP SOA and ESB.
I do not want to start a debate on wether XI is an ESB, but more of a statement to what is SAP ESB (if XI it is, then be it).
1) What is SAP ESB (Enterprise Service Bus) today (I could not find a clear answer to is)?
2) Who uses this SAP ESB in production currently and what kind of environment (i.e. strictly SAP backend systems, or combination of various vendors backend systems)?
Can someone share some light on this topic?
As a reminder, an ESB is expected to exhibit the following characteristics (source Wikipedia):
It is usually operating-system and programming-language agnostic; for example, it should enable interoperability between Java and .NET applications.
It uses XML (eXtensible Markup Language) as the standard communication language.
It supports web-services standards.
It supports various MEPs (Message Exchange Patterns) (e.g., synchronous request/response, asynchronous request/response, send-and-forget, publish/subscribe).
It includes adapters for supporting integration with legacy systems, possibly based on standards such as JCA
It includes a standardized security model to authorize, authenticate and audit use of the ESB.
To facilitate the transformation of data formats and values, it includes transformation services (often via XSLT or XQuery) between the format of the sending application and the receiving application.
It includes validation against schemas for sending and receiving messages.
It can uniformly apply business rules, enriching messages from other sources, the splitting and combining of multiple messages and the handling of exceptions.
It can provide a unified abstraction across multiple layers
It can route or transform messages conditionally, based on a non-centralized policy (i.e. no central rules-engine needs to be present).
It is monitored for various SLA (Service Level Agreement) threshold message latencies and other SLA characteristics.
It (often) facilitates "service classes," responding appropriately to higher and lower priority users.
It supports queuing, holding messages if applications are temporarily unavailable.
Your help is greatly appreciated.
Kind Regards,
Jean-MichelPI or XI is the ESB from SAP side. PI is not a full pledged ESB on a reference model of ESB idea but it is the the framework SAP provide as a ESB product.
A Standard Based ESB Reference Model should fullfil the following features in a framework.
ESB Features Service Enablement Phase (1, 2, 3)
1) Message brokering between heterogeneous environments
2) Supports asynchronous, synchronous, publish and subscribe messaging
3) Supports synchronous and asynchronous bridging
4) Supports message formats of SOAP
5) Support for message format of SOAP with attachments
6) Support for xml message
7) Support for structured non-XML data
8) Support for raw data message
9) Support for text data message
10) Sport for e-mail with attachment message
11) Heterogeneous transports between service end points
12) Supports for FILE protocols
13) Supports for FTP protocols
14) Supports for HTTP protocols
15) Supports for HTTPS protocols
16) Supports for Multiple JMS providers
17) Supports for RMI protocols
18) Supports for web service protocols
19) Supports for CORBA protocols
20) Supports for DCOM protocols
21) Supports for E-mail (POP, SMTP, IMAP) protocols
22) Support for advanced transformation engine
23) Support for configuration-driven routing
24) Message routing based policies
25) Support for call-outs to external services to support complex routing
26) Support for point-to-point routing
27) Support for one-to-many routing scenarios
28) Support for request response model
29) Support for publish-subscribe models
30) Service monitoring
31) Service logging
32) Service auditing with search capabilities.
33) Support for capture of key statistics for message and transport attributes including message invocations, errors, and performance, volume, and SLA violations.
34) Supports clusters and gathers statistics across the cluster to review SLA violations
35) Support for service provisioning
36) Support deployment of new versions of services dynamically through configuration
37) Migrates configured services and resources between design, staging and production
38) Supports multiple versions of message resources that are incrementally deployed with selective service access through flexible routing
39) Configurable policy-driven security
40) Supports the latest security standards for authentication, encryption-decryption, and digital signatures
41) Supports SSL for HTTP and JMS transports
42) Supports multiple authentication models
43) Policy-driven SLA enforcement
44) Establishes SLAs on a variety of attributes including
a. Throughput times
b. Processing volumes
c. Success/failure ratios of message processes
d. Number of errors
e. Security violations
f. Schema validation issues
45) Initiates automated alerts or enables operator-initiated responses to rule violations using flexible mechanisms including
a. E-mail notifications
b. Triggered JMS messages
c. Triggered integration processes with a JMS message
d. Web services invocations with a JMS message
e. Administration console alerts.
46) Support for having multiple LOBs manage their own service bus based on their policies, and a service bus at an enterprise level that could act as a broker for sharing services across the various business units.
47) Support for agent plug-in to support following features
48) External providers service access for security
49) External providers service management
50) External providers transaction container
a. External providers business orchestration (BPEL Engine) and business work flow service container
51) Transaction support on message level
52) IDE Integration
53) Open standards -
Migration LONG to LOB in manual space management tablespaces
Hi everyone,
We have Netweaver 7.0 and Oracle 11g and we are considering to migrate our manual tablespaces to ASSM. The first problem we've found is we can't do that online due to the LONG data type. So we decided to migrate LONG to LOB first. Note 835552 says that for Oracle version 11g the conversion is from LONG to SECUREFILE. But we follow seeking notes and in 1426979 (Oracle 11g: SecureFiles - The new way to store LOB data) one of the prerequisites for the conversion is to use ASSM tablespaces.
At this point, we can't migrate (online) to ASSM due to LONG data and neither can migrate to SECUREFILE due to the ASSM.
My question is: is it possible to make the migration from LONG to SECUREFILE specifying in the brspace a new tablespace with ASSM?
Thanks in advanced.Hello
It is in fact possible to reorganize segment to a specific target tablespace using brspace option -n|-newts
brspace -u / -f tbreorg -a long2lob -o sapsr3 -s <source_tablesapce> -t allsel -n <target_tablespace_in_ASSM>
It is odd that in 11g you are not in ASSM, so you upgrade to that version and never performed tablespace reorg ?
620803 - Oracle 9i: Automatic Segment Space Management
The new ASSM function is available as of Oracle Release 9i. As of Oracle 10g, ASSM is already contained in the standard system, and new tablespaces are by default created as ASSM tablespaces.
Regards -
I am looking for an Oracle tool for development. I need to manage a lot of LOB objects. I found that the following tools can also fulfill my requirements and in reasonable price.
- PL/SQL developer (http://www.allroundautomations.com)
- dbXpert for Oracle (http://www.vecal.biz)
Does anyone know about these two tools ? any suggestions ?
Thanks.Does anyone know about these two tools ? any suggestions ?There are some reviews of tools on OraFAQ
http://www.orafaq.com/tools/ -
LOB Appx Deployment issue with Configuration Manager 0x80073CF9
Hi,
trying to deploy a ModernUI LOB App with Config Manager 2012. After downloading the content to ccmcache, installation starts and ends up with error message 0x80073CF9.
AppDiscovery.log:
Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5" AND Revision = 1)"
AppDiscovery 23.04.2015 14:01:11
6148 (0x1804)
Performing detection of app deployment type SicherUndWeg.Windows - Windows app package (*.appx, *.appxbundle)(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5, revision 1) for user.
AppDiscovery 23.04.2015 14:01:11
6148 (0x1804)
Working with Package: 0bbc1bc5-a8eb-4bc0-9fbe-2a6141b7c835_2015.416.1305.4090_neutral_~_vv150cwvqh76c
AppDiscovery 23.04.2015 14:01:11
6148 (0x1804)
+++ Application NOT Discovered [AppDT Id: ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5, Revision: 1]
AppDiscovery 23.04.2015 14:01:12
6148 (0x1804)
+++ Did not detect app deployment type SicherUndWeg.Windows - Windows app package (*.appx, *.appxbundle)(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5, revision 1) for S-1-5-21-2924055433-2284826678-407803137-85917.
AppDiscovery 23.04.2015 14:01:12
6148 (0x1804)
ActionType - Install will use Content Id: Content_c458dc52-e321-40be-ab2f-a4599c387c7b + Content Version: 1 for AppDT "SicherUndWeg.Windows - Windows app package (*.appx, *.appxbundle)" [ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5],
Revision - 1 AppDiscovery
23.04.2015 14:01:13 6148 (0x1804)
ActionType - Install will use Content Id: Content_c458dc52-e321-40be-ab2f-a4599c387c7b + Content Version: 1 for AppDT "SicherUndWeg.Windows - Windows app package (*.appx, *.appxbundle)" [ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5],
Revision - 1 AppDiscovery
23.04.2015 14:01:13 6148 (0x1804)
Method EnforceApp failed with error 80073CF9
AppDiscovery 23.04.2015 14:01:15
6148 (0x1804)
CAppProvider::ExecMethodAsync failed. Error 80073cf9
AppDiscovery 23.04.2015 14:01:15
6148 (0x1804)
CITaskMgr.log
Initiating task ContentDownload for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1 (SicherUndWeg.Windows - Windows app package (*.appx, *.appxbundle)) for target: S-1-5-21-2924055433-2284826678-407803137-85917,
consumer: {9C03F93F-11ED-4E9A-B3C0-C2CB8F056002}
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
Initiating content download : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.ContentDownload)
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
Contents already available. CITaskMgr
23.04.2015 14:01:13 6940 (0x1B1C)
Contents download already in Success state : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.ContentDownload)
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
State transition to (Success), Param(0) : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.ContentDownload)
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
State transition to (Success), Param(0) : CTaskConsumer(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.{3C50E03E-1849-4371-820E-695BD2986F91})
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
Already completed state (Success) : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.ContentDownload)
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
Release task ContentDownload for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1 for target: S-1-5-21-2924055433-2284826678-407803137-85917, consumer {9C03F93F-11ED-4E9A-B3C0-C2CB8F056002}
CITaskMgr 23.04.2015 14:01:13
6616 (0x19D8)
Release task ContentDownload for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/Application_0e314ec1-b991-4c77-a980-58183b18d83f.1 for target: S-1-5-21-2924055433-2284826678-407803137-85917, consumer {A542B598-30EC-4690-A462-4EA1958EA7C6}
CITaskMgr 23.04.2015 14:01:13
6616 (0x19D8)
Release task ContentDownload for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/RequiredApplication_0e314ec1-b991-4c77-a980-58183b18d83f.1 for target: S-1-5-21-2924055433-2284826678-407803137-85917, consumer {F0354997-44B3-428F-9F46-2D7FF9EE5933}
CITaskMgr 23.04.2015 14:01:13
6616 (0x19D8)
Initiating task Enforce for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1 (SicherUndWeg.Windows - Windows app package (*.appx, *.appxbundle)) for target: S-1-5-21-2924055433-2284826678-407803137-85917,
consumer: {0FC6DA00-8B41-458A-BDF2-130128CAFF57}
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
Submitted new MTC request 0a4ea4a5-a0b6-4c41-95a4-0f89861f545f
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
State transition to (WaitSerialize), Param(0) : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
State transition to (WaitSerialize), Param(0) : CTaskConsumer(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.{3C50E03E-1849-4371-820E-695BD2986F91})
CITaskMgr 23.04.2015 14:01:13
6940 (0x1B1C)
Sending ack to MTC for task 0a4ea4a5-a0b6-4c41-95a4-0f89861f545f
CITaskMgr 23.04.2015 14:01:13
6604 (0x19CC)
Starting Enforcement : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:13
6604 (0x19CC)
Initiated application enforcement. : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:13
6604 (0x19CC)
State transition to (InProgress), Param(0) : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:13
6604 (0x19CC)
State transition to (InProgress), Param(0) : CTaskConsumer(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.{3C50E03E-1849-4371-820E-695BD2986F91})
CITaskMgr 23.04.2015 14:01:13
6604 (0x19CC)
Application enforcement completed : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:15
9060 (0x2364)
Enforcement completion state Failure : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:15
9060 (0x2364)
State transition to (Failure), Error(0x80073cf9) : CITask(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.S-1-5-21-2924055433-2284826678-407803137-85917.Install.Enforce)
CITaskMgr 23.04.2015 14:01:15
9060 (0x2364)
State transition to (Failure), Param(-2147009287) : CTaskConsumer(ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1.{3C50E03E-1849-4371-820E-695BD2986F91})
CITaskMgr 23.04.2015 14:01:15
9060 (0x2364)
Active enforcement task with MTC Id 0a4ea4a5-a0b6-4c41-95a4-0f89861f545f not found
CITaskMgr 23.04.2015 14:01:15
5632 (0x1600)
Release task Enforce for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/DeploymentType_3838926b-1593-41aa-bec7-f57b8df37ee5.1 for target: S-1-5-21-2924055433-2284826678-407803137-85917, consumer {0FC6DA00-8B41-458A-BDF2-130128CAFF57}
CITaskMgr 23.04.2015 14:01:15
2972 (0x0B9C)
Release task Enforce for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/Application_0e314ec1-b991-4c77-a980-58183b18d83f.1 for target: S-1-5-21-2924055433-2284826678-407803137-85917, consumer {550FED48-B73A-4CDA-9CCD-895F4A39BE60}
CITaskMgr 23.04.2015 14:01:15
2972 (0x0B9C)
Release task Enforce for CI ScopeId_11FA4582-378A-44FF-ADF8-174A38635DF5/RequiredApplication_0e314ec1-b991-4c77-a980-58183b18d83f.1 for target: S-1-5-21-2924055433-2284826678-407803137-85917, consumer {C47690C7-AD25-496D-9880-96439013C199}
CITaskMgr 23.04.2015 14:01:15
2972 (0x0B9C)
Any Ideas?Are you using Windows 8 Enterprise? If so, did you configure the AllowAllTrustedApps
key?
For more information see:
http://blogs.technet.com/b/ryanan/archive/2014/05/16/sideloading-windows-8-appx-applications-via-configmgr.aspx
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Installing a LOB App for Multiple Accounts On The Same Surface Device
Hi,
When installing apps to iOS & Android there is no concept of a local user account, and an app can only be installed once. For Windows devices, a single device can have multiple accounts. Those accounts can be local or domain and have administrator privileges
or not.
We are planning to use the Device Enrollment Manager concept in Intune to enroll approximately 200 non-domain joined devices. Each device will have two local accounts - one in English and one in French. We have a LOB Windows App that works in both
languages. We do not want the local accounts with the App to have administrative permission.
It seems you need local administrator permission to enroll the device. If I then install the app from this account, it works. However, I need the app installed on the local English and local French account.
When I log locally into the device using a standard account and log into the Company Portal, it shows the app as installed. It is not, however, installed for that user and is not accessible. Note that I'm using the same Intune account. It is only available
to the local administrator account. The only option I have is 'Re-Install'. When I select that, nothing happens - it is stuck in the "Installing..." state.
If I only enroll the device using the local administrator account and then log into the local standard account to install the app, it doesn't show as installed. When I choose to install it, it gets stuck on Installing.
I'm missing something here...
Is it possible to install an App from Intune more than once on a Surface device? Do the Intune accounts need to be unique per-install? Is it possible to install the app without local administrator permission?
Thank you!
-jdAn update. If I:
Enroll a Windows Surface using a local admin account
Request to install an app from a local standard account it appears stuck on Installing...
Log back in as the local admin account and wait, the app appears.
Questions:
Can the same app be installed into multiple local accounts on the same device? It doesn't look like it.
Is the local account used when the device is enrolled the only local account that will install Intune apps?
-jd -
Hello am an intermediate Windows Phone/Store Developer. Am currently in the process of implementing a LOB app that will have three different types users, an admin, a student, a teacher . Depending on how a user logs in i would like certain pages to be exposed
to them and the rest to be hidden. The app will also store data temporally on a local db then sync regularly to an azure database(Can the recent entity framework 7 that supports store/phone apps allow code first databases or are there features still not fully
accessible in WinRT apps)...This i believe can handle but also kindly point me out to existing implemented resources/examples i will appreciate very much.
What am finding problematic is how to consume different app data stored by various users logged in for these different views. Will i need an asp web api is it really necessary cause i want to avoid it cause i have about three months to do it. I do not want
to create three different apps and one ASP Web AP, i want one single app and an api if possible, i know windows usually sandboxes apps hence app to app communication will be hard if not impossible. So my question is, is it possible to implement different
user session management with a login (Windows Live ID) which i can abstract various parts of the app from them depending on the users login id in the app. E.g How can an admin logged in the same app as the student have access rights to certain pages in the
app that a student will not see. How do i route different users to certain pages and can isolated storage store these persisting as a setting.
How can i know which login id belongs to which of the three users? How do i then assign different access to different controls of the app with their id,provide custom views routes,access right,session management. I think i can do these without an ASP Web
API is It wise? Building pages in the apps is easy but i want users to see different views of the app instead of one standard app depending on there login id, how can the NAVIGATION URI be used here. How can azure and features like active directory,azure mobile
services. I know i have repeated the same things over and over and these might be complex for a free advise but as a windows dev these is my one stop shop. Any one with a view on how to approach these kindly show me the best directions. Thanks guys in advance.I suggest you have a look at this sample.
https://code.msdn.microsoft.com/windowsapps/ListView-Interaction-ac044c3c. MainPage provides the framework to hold the content. At runtime, we create the Scenario collections and then bind to control. This approach can help you determine the type of users
and provide some appropriate pages at runtime.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
Hi,
When I execute Incremental or Full Crawl I get 17000 error and only 1 success.
The error is:
Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )
I went to Central Admin > Security > Specify Web application Policy > Search for the service account for crawl and it's "svc_SPSearch"
I went to Central Admin > Application Management > Manage Service Application > BDC Service > I select all the affected external sources > then Set Object Permission in ribbon > Added "svc_SPSearch" with execute rights > then
kick incremental crawl...
After this I still get 17000 error, 1 success.. Still an error.
I am not sure how the crawler's trust to FAST infrastructure works.
Your response is appreciated. Thanks!
-FranI have the same issue.
I have Configured the BDC Service application using SQL external content. The connection was successful and I am able to see the external content in the List "BDC Demo" . But when I search in the BDC Demo site it gives nothing.
So I checked in the crawl logs and identified that it shows " 1 " under error. to further drill down the issue , I went to click on "1" and see the error message : Error while crawling LOB contents SharePoint 2013 .
I have created an external DB named BCSDemo_DB for which I have granted my search Service account read& write permission.
I have added the same account under administrators for both secure store and BCS service applications.
I have done index reset , done a full crawl but the error still occurs.
Can someone please advise if I am missing something.
Regards -
How to effectively manage large table which is rapidly growing
All,
My environment is single node database with regular file system.
Oracle - 10.2.0.4.0
IBM - AIX
A tablespace in this database is growing rapidly. Especially a single table in that tablespace having "Long Raw" column datatype has grown from 4 GBs to 900 GBs in 6 months.
We had discussion with application team and they mentioned that due to acquisitions, data volume is increased and we are expecting it to grow up to 4 TBs in next 2 years.
In order to effectively manage the table and to avoid performance issues, we are looking for different options as below.
1) Table is having date column. With that thought of converting to partitioned table like "Range" partitioning. I never converted a table of 900 GBs to a partitioned table. Is it a best method?
a) how can I move the data from regular table to partitioned table. I looked into google, but not able to find good method for converting to regular table to partitioned table. Can you help me out / share best practices?
2) In one of the article, I read, BLOB is better than "Long RAW" datatype, how easy is to convert from "Long RAW" datatype. Will BLOB yield better performance and uses disk space effectively?
3) Application team is having purging activity based on application logic. We thought of using shrinking of tables option with enable row movement- "alter table <table name> shrink space cascade". But it is returning the error that table contains "Long" datatype. Any suggestions.
Any other methods / suggestions to handle this situation effectively..
Note: By end of 2010, we have plans of moving to RAC with ASM.
ThanksTo answer your question 2:
2) In one of the article, I read, BLOB is better than "Long RAW" datatype,
how easy is to convert from "Long RAW" datatype. Will BLOB yield better
performance and uses disk space effectively?Yes, LOBs, BLOBs, or CLOBs are (supposed) to be better than raws (or long raws). In addition, I believe Oracle has or will shortly be desupporting the use of long raws in favor of LOBs, CLOBs, or BLOBs (as appropriate).
There is a function called "to_lob" that you have to use to convert. Its a pain because you have to create the second table and then insert into the second table from the first table using the 'to_lob' function.
from my notes...
=================================================
Manually recreate the original table...
Next, recreate (based on describe of the table), except using CLOB instead of LONG:
SQL> create table SPACER_STATEMENTS
2 (OWNER_NAME VARCHAR2(30) NOT NULL,
3 FOLDER VARCHAR2(30) NOT NULL,
4 SCRIPT_ID VARCHAR2(30) NOT NULL,
5 STATEMENT_ID NUMBER(8) NOT NULL,
6 STATEMENT_DESC VARCHAR2(25),
7 STATEMENT_TYPE VARCHAR2(10),
8 SCRIPT_STATEMENT CLOB,
9 ERROR VARCHAR2(1000),
10 NUMBER_OF_ROWS NUMBER,
11 END_DATE DATE
12 )
13 TABLESPACE SYSTEM
14 ;
Table created.
Try to insert the data using select from original table...
SQL> insert into SPACER_STATEMENTS select * from SPACER_STATEMENTS_ORIG;
insert into SPACER_STATEMENTS select * from SPACER_STATEMENTS_ORIG
ERROR at line 1:
ORA-00997: illegal use of LONG datatype
That didn't work...
Now, lets use TO_LOB
SQL> insert into SPACER_STATEMENTS
2 (OWNER_NAME, FOLDER, SCRIPT_ID, STATEMENT_ID, STATEMENT_DESC, STATEMENT_TYPE, SCRIPT_STATEMENT, ERROR, NUMBER_OF_ROWS, END_DATE)
3 select OWNER_NAME, FOLDER, SCRIPT_ID, STATEMENT_ID, STATEMENT_DESC, STATEMENT_TYPE, TO_LOB(SCRIPT_STATEMENT), ERROR, NUMBER_OF_ROWS, END_DATE
4 from SPACER_STATEMENTS_ORIG;
10 rows created.
works well...
=============================================================== -
How to show unhidden parameter in linked report in report manager in ssrs ?
Hi,
in my ssrs report1 i have added a image,if i click on that image it will redirect to report2 and it will take parameters from report1 automatically and all parameters are in report2 are hidden because it will consider report1 parameters,but here my requirement
is
in report2 i have total six parameters and all are hidden,i want to show the one of the hidden parameter(LOB) in report,so, i was set visibility property to visible, now i am able to see that one parameter(LOB).
but after deploying the report in report manager,when i click on the image it is not showing the parameter(LOB)
Do i need to change anything in image properties?please let me know
Please help me with this issue how to show the that one particular parameter(LOB) in report manager which is unhidden?, it is an urgent requirement.
here we are building reports on cube.
Please let me know if you need more information.
Thanks in advance,
NaveenHi Naveen,
As per my understanding, since the purpose of a drill-through report is to pass the parameters from main report to the details report, we wouldn't want users to see or modify the parameters in the details report. Therefore, by default, the parameter pane
is automatically hidden in the details report.
In this scenario, we can try to use “Go to URL” instead “Go to report” option to work around this issue. If the parameters are multi-value parameters, we can use the expression to like below:
="javascript:void(window.open('http://server_name/reportserver?/Report_folder/Report_name&A=" &Join(Parameters!B.Value,"&A=") & "','_blank'))"
If the three parameters are single-value parameters, we can use the expression to like below: ="javascript:void(window.open('http://server_name/reportserver?/Report_folder/Report_name&A=" & Parameters!B.Value & "','_blank'))"
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hello,
We are trying to implement a document management application on XDB. What we want to do is to use the versioning and security (resource ACLs) features to effectively manage documents which includes pdf,doc,bmp etc.
I am considering the following approach for this:
Define a scheme with a complex type for the document as we want to store it - name,description,content etc. Define a table with one column being of this complex type. Use this table for querying and all the DML.
I have some doubts regarding this though:
1. Since the document being uploaded could be of any type, the content element should be a LOB. Can I achieve this by giving base as string and no length, or will that only create a CLOB for me?
2. If I use the schema-based approach, the document content actually being uploaded will get embedded into the actual xml document that I store into the DB. Is this advisable? Since, if I say create a version, I will be versioning this entire xml...
Overall, is the schema-based approach the right way to take, or should I go with using resource_view itself for all my querying and DML? Please advise.
Thanks,
VandanaSince the majoring of the content appears to be non-xml use the Resource_View
-
ORA-22275: invalid LOB locator specified in a function
Hello all!!!
I am having a little problem with a function that returns a blob... When I call the function, I get that error... Here is the function (I took all the exception management code to clear it up a little...)
<CODE>
FUNCTION f_getfileblob (p_id IN NUMBER,
p_application IN VARCHAR2,
p_subject IN VARCHAR2)
RETURN BLOB
IS
v_table_name VARCHAR2(50);
v_sql_string VARCHAR2(1000);
lobfile BLOB := empty_blob();
v_error NUMBER;
BEGIN
SELECT TABLE_NAME INTO v_table_name FROM ORACLE_TEXT_FILE WHERE APPLICATION = p_application AND SUBJECT = p_subject;
v_sql_string := 'SELECT FILE_BLOB FROM ' || v_table_name || ' WHERE id = :1';
EXECUTE IMMEDIATE v_sql_string INTO lobfile USING p_id;
RETURN lobfile;
END;
</CODE>
So, in this function, the first select is to find the name of the table in which I store my blobs (I'm trying to do something generic and cross application). Once I have that name, I can do the select of the blob. I can only use dynamic SQL because of the table name that is not known in advance.
I tried this function with
DBMS_LOB.CREATETEMPORARY(LOBFILE, TRUE, DBMS_LOB.CALL);
to create the lob at the begining, but this returns another error... (i tried with and without the initialisation of the blob, empty_blob())
ORA-24801: illegal parameter value in OCI lob function. But I don't even know if it would help...
Can somebody please help me?
Thanks and best regards
Neil.Sorry about that, error came from elsewhere...
Thanks anyway
Best regards
Neil. -
Should I go for a managed switch?
Hi all,
It's a SBS2K3 network with 2 servers (SBS and LOB) and 65 computers. The SBS2003 will be migrated to SBS2011 soon.
two main switches: Dlink 2x24port, unmanaged. I am thinking to replace them with 1x48port. I am wondering if I should get a managed switch or not. Would a managed switch help troubleshoot network slowness? If so, this can be the reason that convinces
me.
Any thoughts?
JackI think a question is how is your LAN configured. One client has 30 workstations and another 20 mobile scanners with Access points. The complex is three building big so we use fiber from server site to each of the two other buildings. From that smart switch
we have 100ft runs to where most of the workstations are.
L2 switches provide easy way to find bad performing mobiles and cable issues.
Other client is all one floor one building and the not-smart 48 port switch is perfect as all new set runs, proper wall mounts and standard length cat6 set runs.
I do like smart switches, more options if you need them, great at start of upgrade and rather have options and not use them that to go back to owner for more money a year from now.
Guzzifrank -
Regarding lobs...
I am not that familiar with LOBs, and was hoping someone could shed some light for me.
I am running Oracle 11.2.0.2 EE, and have made an interesting discovery of this new database that i am responsible.
First, I found out that I have a table that is about 7.4G, but it has two LOB columns that when I query dba_lobs, I found that they contains 365G of lobs and the table itself has 22G of LOBS - not sure what is the difference.
SQL> 1 select segment_name, round(sum(bytes)/1024/1024/1024,1) as "SIZE" , segment_type
2 from dba_segments where owner = 'ARADMIN'
3 group by segment_name, segment_type
4 having round(sum(bytes)/1024/1024/1024,1) > 1
5* order by 2
SEGMENT_NAME SIZE SEGMENT_TYPE
SYS_LOB0000077517C00027$$ 4.2 LOBSEGMENT
SYS_LOB0000210343C00029$$ 4.4 LOBSEGMENT
SYS_LOB0000077480C00002$$ 4.6 LOBSEGMENT
T465 5 TABLE
T2052 8.3 TABLE
T2115 12.4 TABLE
T2444 13.4 TABLE
T2179 14.8 TABLE
T2192 21.8 TABLE
SYS_LOB0000077549C00015$$ 182 LOBSEGMENT <=== (related to table T2192)
SYS_LOB0000077549C00016$$ 184.4 LOBSEGMENT <=== (related to table T2192)
30 rows selected.Now, let's look at the which table these LOBS belong...
SQL> select table_name, column_name, segment_name
2 from dba_lobs
3 where segment_name in (
4 select segment_name from dba_segments where owner = 'ARADMIN'
5 having round(sum(bytes)/1024/1024/1024,1) > 1
6 group by segment_name
7 )
8 /
TABLE_NAME COLUMN_NAME SEGMENT_NAME
B1947C536880923 C536880923 SYS_LOB0000077310C00002$$
T2051 C536870998 SYS_LOB0000077426C00041$$
T2052 C536870987 SYS_LOB0000077440C00063$$
T2115 C536870913 SYS_LOB0000077463C00009$$
B2125C536880912 C536880912 SYS_LOB0000077480C00002$$
B2125C536880913 C536880913 SYS_LOB0000077483C00002$$
T2179 C536870936 SYS_LOB0000077517C00027$$
T2192 C456 SYS_LOB0000077549C00015$$ <====
T2192 C459 SYS_LOB0000077549C00016$$ <====
T2444 C536870936 SYS_LOB0000210343C00029$$
T1990 C536870937 SYS_LOB0000250271C00026$$
11 rows selected.So, from the above, I noticed in the first query that the table T2192 itself contains 21.8G of LOBS, and, that the columns C456 and C459 of same table contain a total of (181.7+183.9) = 365.6G.
First question is how can the table be only 21.8G, and the lob segments of the table columns be 365.6G of Lobs?
It seems some lobs must be external, while others are part of the actual table.
Next, I am wondering if a row is deleted from the table, would the lobs associated with that row that are referenced by columns C456 and C459 also be deleted.
Discussing this with our Sr. Developer, he says the table is purged of rows older than 6 months, but my question is whether the Lobs are actually purged with the rows.
Any ideas?
Edited by: 974632 on Dec 27, 2012 8:05 AMHi John,
Reading note 386341.1, this is pretty messed up about lobs.
First, the UNDO data for a LOB segment is kept within the LOB segment space, e.g., when lobs are deleted, etc. Yuck!
So, you are right about the space eventually being returned to the database, but surely we can do better than that!
Then, when we check for the size of the lobs using dbms_lob.getlength, (since we are using AL32UTF8), it returns it in the number of characters instead of bytes.
So, then we have to convert - ref. note 790886.1. An enhancement request via Bug 7156454 has been filed to get this functionality and is under consideration by development.
So, how does one (safely) clean up lobs that have been deleted in the database?
It seems that doing an alter table... 'move lob' might work, and also an alter table ... modify lob (...) (shrink space [cascade]);
But with this being production, I'm very concerned about all the related bugs, even though I am on 11.2.0.2.
WARNING : shrinking / reorganizing BASICFILE lobs can cause performance problems due to "enq: HW contention" waits
Serious LOB corruption can occur after an
ALTER TABLE <table> MODIFY LOB ("<lob_column>") (STORAGE (freelists <n>));
has been issued on a LOB column which resides in a manual space managed tablespace. Subsequent use of the LOB can fail with various internal errors such as:
ORA-600 [ktsbvmap1]
ORA-600 [25012]
For more information, please refer to bug 4450606.
#2. Be aware of the following bug before using the SHRINK option in releases which are <=10.2.0.3:
Bug: 5636728 LOB corruption / ORA-1555 when reading LOBs after a SHRINK operation
Please check:
Note.5636728.8 Ext/Pub Bug 5636728 - LOB corruption / ORA-1555 when reading LOBs after a SHRINK operation
for details on it.
#3. Be aware that, sometimes, it could be needed to perform the shrink operation twice, in order to avoid the:
Bug:5565887 SHRINK SPACE IS REQUIRED TWICE FOR RELEASING SPACE.
is fixed in 10.2.From looking at note: 1451124.1, it seems the best options are:
1) alter table move (locks the table, and requires additional space of at least double the size of the table).
2) do an export / drop the table / and reimport - again downtime required.
Neither option are possible in our environment.
Maybe you are looking for
-
IDOC 2 FIle Scenario BD64 error ?
Hi Experts While Create Distribution Model (BD64) Sender System u2013 R3XCLNT100 (RFC Destination From XI) Receiver System u2013 XIRCLNT100 (RFC Destination Form SAP ) Message type - MATMAS While selecting Sender System and Receiver System it show
-
I have a photo with a bright light in backround how do i soften it in elements 10
-
We are currently looking into reporting and have noticed that the Data Warehouse takes 4 hours to update. We do not have any of our DW jobs set at 4 hours, but have consistently seen that it takes 4 hours for the IRs/SRs to show in the DW. Is there a
-
I am trying to refactor a piece of code that was originally designed using HTMLB to create a tree view role menu that invokes an event in another iView. My question is, can portal eventing be done with traditional JavaScript as opposed to using HTML
-
How to create the Error description?
Hi Experts, Scenario : Webservice -> XI -> JDBC (Synh) Pass the EmpId as a webservice request and get the corresponding Emp address as a response. Q: How to set the error description/error message, If we don't have address info. for the requested Emp