Simple RFC call not returning results
Hi,
I have created a VERY simple Dynpro project to return the results of a simple RFC. I've created the JCO connections and they test fine but the RFC doesn't return results to my application.
Steps:
1. create the project
2. import the RFC Adaptive Model specifying the JCO connections
3. Create an application
4. Add the rfc model to the "Models Used"
5. Bind the model to the component
6. Context map two variables to the view (one input and one output)
7. Create the method on the component
8. Bound the UI elements to the model
9. Set up the JCO connections from http://portal:50000/webdynpro/welcome
For the JCO Connection creation, I used "Application" type through a load balanced connection for the Model Data connection (WD_MODELDATA_DEST) and the "Dictionary" type for the Metadata connection (WD_RFC_METADATA_DEST).
Code:
1. In the wdDoInit() of the controller
wdContext.nodeZ_Hr_Get_Perno_Input().bind(new Z_Hr_Get_Perno_Input());
2. In the wdDoInit() of the view
wdContext.currentContextElement():setLogin_id( "mylogon" );
wdThis.wdGetRfcTestComponentController().executeZ_Hr_Get_Perno_Input();
My gut tells me it's an issue with my JCO connections but I can't be sure.
I'm using Developer Studio SP9 with Patch 1 connecting to EP6 SP9 Patch 6. When I start the Dev Studio, however, it displays version 2.0.9, is this the same for everyone?
I've tested the function module from SE37 and it definitely returns a value. Also, if I don't set the login_id in the wdDoInit() before executing, it gives me the error that the input variable has not been set. So, this tells me that it connected to R3 to know that the variable was not passed but it still doesn't return any value when the variable is passed.
Any ideas?? HELP!!!!!!!!!!
Thanks,
Andrew
Okay, I'm not going crazy. The issue was with my "simple" rfc. When I changed the input and output to char(), it returned as expected. I just have to figure out why the Dictionary types from R3 caused an issue.
Andrew
Similar Messages
-
RFC Call not returning in normal exec;retunrs in debugger
Hi all
i m sorry for posting it twice,due to my ignorance
i first posted it in wrong forum
i had a requirement to invoke a RFC Async and recieve the results in my program with a condition that the name and parameters of RFC are determined runtime.
To meet this requirement, i generated a the RFC call and return form code dynamically and called that code from my program via a subroutine.
The problem i am facing is that, whenever i execute my program in debug mode the RFCs are called and the parameters are returned( perform on end of task edition is used)
via subroutine, but when i execute the code via F8 the program goes in indefinite wait for return parameters.I am calling 2-3 RFcs at same time, and all of them are on local host.
the Functions are working well and the RFC destination is also working well.
But this amalgum of my program and dynamic calls is not going through.
I read in documentation that if we change the program context or the roll area then the results are not recieved by main program. by the way i am using WAIT to receive the results.
For the moment if i consider, my program context or roll area is getting changed because of dynamic code generation then also the dynamically generated code is the one containing the RFC call and its revieve subroutine, therefore there shall be no problem with that, the other thought i am getting is that in debugger implict commit work happens, is the program working because of that in debugger?? i dont know....
Can any one help me with this, in the above long paragraph if anyone gets confused..i can again try to restate my problem.
One more thing..i have checked the ST22 and SM50 for any abnormalities, couold not find one.
thanks in advance
praveenWAIT statement also triggers a DB commit like debugger.
Are you using WAIT UNTIL <condition>?
Regards
Sridhar -
Content scope document library does not return result for non farm administrator
Hi
I have a situation where I had to go with a unique permission applied subsite to store 1000 documents in the document library. This site has a set of 50 users. I was able to create content scope and library path for search. It returns results for me(creator/owner/administrator)
however if I add other users as contributor or full permission, even after full crawling it does not return result for others.
I saw some article that security broken site wont be indexed normal way and to include and I did that as well but no result for other users. I always get result.
Please suggest if there are any specific security permissions that I need to include, so the document library target search will return result for others.
Thanks
ShriHi Shri,
For administrator search results, it looks like the documents could be crawled and searched.
For other users you grant full control permission on subsite with unique permission where you store 1000 dcouments in document library, please make sure these 50 users have access permission(at least view permission) on documents from the
library, then test again.
Also test if users search on search center site without search scope, see if it's scope issue or search web part issue.
If above doesn't work, please check ULS log for related useful information around the time when users search the documents, there should be more info to verify if issue is related to unique permision.
Thanks,
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
CQWP does not return result for a specific query when filtering on a managed metadata field.
Hi,
We are facing a serious production issue. We've search the web extensively but to no avail.
Problem:
CQWP does not return result for a specific query when filtering on a managed metadata field.
ULS log:
The Uls logs provides 3 different messages that I could relate to every time the query is executed. The last item(level Medium) is displayed 14 times. For readability I've moved the ULS logs to the bottom of this question.
Query:
The query is as follows:
(I've translated this from dutch so pardon any typo's)
Query: (top selection) Display items from all sites in the site collection
ListType: Documentlibrary
Contenttype:
Items from this group:Custom Document Contenttypes
Items from this content type: Verklaring
Filter: Soort is equal to X
extra info: the field soort (Type) is a managed metadata field that was assigned the value X
Managed Metadata Structure:
-managed metadata service
-Contoso
-Enterprise Taxonomy (term set)
-Document (term)
-Verklaring (term)
-Soort (term)
-x (term)
EXTRA INFO:
When I modify the filter to filter on Title the CQWP DOES return the correct document!
When I modify the query settings to search a specific library the CWQP also does return the correct document! (In this case I am filtering on a managed metadata field).
QUESTION:
Why doesn't the CQWP return the document when filtering on a managed metadata field over the entire site collection.
Why does the CQWP return the document when filtering on a managed metadata field over a single library.
(The type of information the CQWP should return (Soort:x) is stored in a dozen document libraries!)
Here are the ULS logs.
Product: Web Content Management
Category Publishing
Level: Monitorable:
CrossListQueryCache::GetSiteData() caught exception (Microsoft.SharePoint.SPException: Kan deze actie niet voltooien. Probeer het opnieuw. ---> System.Runtime.InteropServices.COMException (0x80004005): Kan deze actie niet voltooien. Probeer
het opnieuw. bij Microsoft.SharePoint.Library.SPRequestInternalClass.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns)
bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns) --- Einde van intern uitzonderingsstackpad
--- bij Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery,
ISP2DSafeArrayWriter pCallback, Object& pvarColumns) bij Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query) bij Microsoft.SharePoint.Publishing.CachedArea.GetSiteData(SPWeb web, SPSiteDataQuery
siteDataQuery, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CachedArea.GetCrossListQueryResults(SPSiteDataQuery query, SPWeb currentContext, Boolean onlyPopulateCache, Boolean useSpQueryOnList, Int32 lcid)
bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea cachedArea, SPWeb web, SPSiteDataQuery query, Boolean useSpQueryOnList)) for query: '<ViewFields><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
Nullable="True" Type="Text"/><FieldRef ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Nullable="True" Type="Lookup"/><FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Nullable="True"
Type="Counter"/><FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Nullable="True" Type="DateTime"/><FieldRef ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" Nullable="True" Type="User"/><FieldRef
ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" Nullable="True" Type="User"/><FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime"/><FieldRef ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}"
Nullable="True" Type="Lookup"/><FieldRef ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Nullable="True" Type="Text"/><FieldRef ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Nullable="True"
Type="Lookup"/><FieldRef ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Nullable="True" Type="Lookup"/><FieldRef ID="{39360f11-34cf-4356-9945-25c44e68dade}" Nullable="True" Type="Text"/><FieldRef
ID="{543bc2cf-1f30-488e-8f25-6fe3b689d9ac}" Nullable="True" Type="Image"/><FieldRef ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Nullable="True" Type="Number"/><FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}"
Nullable="True" Type="Note"/><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}" Nullable="True" Type="Lookup"/><FieldRef Name="ScopeId" /><FieldRef Name="_Level" /><FieldRef
Name="UniqueId" /><ListProperty Name="DraftVersionVisibility" /></ViewFields><Lists ServerTemplate="101"></Lists><Webs Scope="Recursive" /><RowLimit>45</RowLimit><Query><Where><And><BeginsWith><FieldRef
Name="ContentTypeId" Nullable="True" Type="ContentTypeId"/><Value Type="ContentTypeId">0x010100C5FEE83B67FA6445B0C14AE8B7761BB8011E</Value></BeginsWith><In><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}"
LookupId="TRUE"/><Values><Value Type="Counter">783</Value></Values></In></And></Where><OrderBy><FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True"
Type="DateTime" Ascending="FALSE"/></OrderBy></Query>' at url: /. Titel webonderdeel: Inhoudsquery
Product: Web Content Management
Category Publishing
Level: Warning
Error occured while processing a Content Query Web Part. Performing the following query '<ViewFields><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Nullable="True" Type="Text"/><FieldRef ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}"
Nullable="True" Type="Lookup"/><FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Nullable="True" Type="Counter"/><FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Nullable="True"
Type="DateTime"/><FieldRef ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" Nullable="True" Type="User"/><FieldRef ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" Nullable="True" Type="User"/><FieldRef
ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime"/><FieldRef ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Nullable="True" Type="Lookup"/><FieldRef ID="{ba3c27ee-4791-4867-8821-ff99000bac98}"
Nullable="True" Type="Text"/><FieldRef ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Nullable="True" Type="Lookup"/><FieldRef ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Nullable="True"
Type="Lookup"/><FieldRef ID="{39360f11-34cf-4356-9945-25c44e68dade}" Nullable="True" Type="Text"/><FieldRef ID="{543bc2cf-1f30-488e-8f25-6fe3b689d9ac}" Nullable="True" Type="Image"/><FieldRef
ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Nullable="True" Type="Number"/><FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}" Nullable="True" Type="Note"/><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}"
Nullable="True" Type="Lookup"/><FieldRef Name="ScopeId" /><FieldRef Name="_Level" /><FieldRef Name="UniqueId" /><ListProperty Name="DraftVersionVisibility" /></ViewFields><Lists
ServerTemplate="101"></Lists><Webs Scope="Recursive" /><RowLimit>45</RowLimit><Query><Where><And><BeginsWith><FieldRef Name="ContentTypeId" Nullable="True" Type="ContentTypeId"/><Value
Type="ContentTypeId">0x010100C5FEE83B67FA6445B0C14AE8B7761BB8011E</Value></BeginsWith><In><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}" LookupId="TRUE"/><Values><Value Type="Counter">783</Value></Values></In></And></Where><OrderBy><FieldRef
ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime" Ascending="FALSE"/></OrderBy></Query>' generated the following error: Kan deze actie niet voltooien. Probeer het opnieuw.
at the following url: /. Titel webonderdeel: Inhoudsquery
Kan deze actie niet voltooien. Probeer het opnieuw. This is Dutch. It means something like: Cannot complete this action. Please try again.
Product: Web Content Management
Category Publishing
Level: Medium (this message is displayed 14 times)
ConsoleUtilies.GetContextualControlMode had no currentPage so the current SPWebPartManager mode cannot be retrieved.Hi,
while digging through the logging (again) I found some extra logging regarding the same correlation id (see details below).
We have a fairly large term store (4000+ lines).
If somebody has a clue or tip that would greatly appreciated!
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa42 Monitorable A large block of literal text was sent to sql. This can result in blocking in sql and excessive memory use on the front
end. Verify that no binary parameters are being passed as literals, and consider breaking up batches into smaller components. If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields. 1971313a-6baa-49e9-bace-d024ce67f25c
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa43 High Slow Query Duration: 127.1515 1971313a-6baa-49e9-bace-d024ce67f25c
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa44 High Slow Query StackTrace-Managed: bij Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand command,
SqlQueryData monitoringData) bij Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) bij Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean
retryfordeadlock) bij Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) bij Microsoft.SharePoint.Library.SPRequestInternalClass.CrossListQuery(String bstrUrl, String bstrXmlWebs, String
bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns) bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter
pCallback, Object& pvarColumns) bij Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query) bij Microsoft.SharePoint.Publishing.CachedArea.GetSiteData(SPWeb web, SPSiteDataQuery siteDataQuery, Boolean
useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CachedArea.GetCrossListQueryResults(SPSiteDataQuery query, SPWeb currentContext, Boolean onlyPopulateCache, Boolean useSpQueryOnList, Int32 lcid) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea
cachedArea, SPWeb web, SPSiteDataQuery query, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea ca, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(SPSite
site, String webUrl, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.IssueQuery() bij Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String
viewPath) bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformSelect()
bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind() bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.EnsureDataBound() bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()
bij System.Web.UI.Control.EnsureChildControls() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal()
bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) bij System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) bij System.Web.UI.Page.ProcessRequest()
bij System.Web.UI.Page.ProcessRequest(HttpContext context) bij ASP.BLANKWEBPARTPAGE_ASPX_1653093133.ProcessRequest(HttpContext context) bij Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext
context) bij System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() bij System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
bij System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) bij System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) bij System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32
flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 1971313a-6baa-49e9-bace-d024ce67f25c -
Find an item not returning results in SharePoint calendar list
Environment: SharePoint 2013 upgraded to SP1. We have 1000s of team sites that have been upgraded from 2010 to 2013. In the lists in these sites, quite often I encounter that
Find an item does not return results for certain fields other than the title field. For example, we have a calendar list which has a Single Line of Text field. I can not get meaningful results searching on
this field. I have tried this, no luck:
http://www.enjoysharepoint.com/Articles/Details/sharepoint-2013-find-an-item-search-box-does-not-return-20956.aspx
Search service crawls incremental every hour. I hope this does not need a full crawl.
Thanks, Soumya | MCITP, SharePoint 2010Thanks Ganesh. All these settings are as you recommended it to be. Nonetheless I double checked and here are the results:
Ensure in the Search Service Application that the Web Application is included in the Content Source under SharePoint Start Addresses.
Yes. Please remember we are getting search results. To be specific we are not getting Find items in the list to be returning accurate results.
Make sure that the address in Alternate access mappings default text box is same as the start crawl address in the search service application.
Yes.
List Setting - Allow items from this list to appear in search results? yes
Ensured
set “Require content approval for submitted item?” to “No”.
It is set to "No". However, will it not work for approved contents also?
Thanks, Soumya | MCITP, SharePoint 2010 -
Fuzzy search not returning results?
I'm executing a phonetic search on the nm_resource column. my application allows a call center employee to search on the resource name (nm_resource), if the resource is not found then they will enter a new one. The problem is someone may have already entered the resource name but spelled it incorrectly resulting in duplicate records for the same resource name. To enable the call center to retrieve records that may have the same sound but are spelled differently we have implemented the fuzzy search capability of Oracle text. Things have been going very nicely for the most part with the exception of this one issue we're trying to understand.
Using the query below we're searching for the resource name "rosies" the actual record in the database was entered as "rosy's". the search returns (rosies,rosie's,rosys) and does not return ---> rosy's <--- the record i'm interested in
it is reasonable to expect rosy's to be returned in the result set? my query should retunn the max fuzzy expansions and all fuzzy scores.
select score(1), nm_resource, ADDR_RSRC_ST_LN_1, id_resource, ADDR_RSRC_CITY FROM caps_resource where
CONTAINS (nm_resource,'fuzzy(rosies, 0, 5000, weight)',1)>0
union
select /*+index(caps_resource ind_caps_resource_8)*/ 10, nm_resource, ADDR_RSRC_ST_LN_1, id_resource, ADDR_RSRC_CITY from caps_resource
where NM_RESOURCE_UPPER like upper(replace(replace('%' || 'rosies' || '%',' '), '-'))
and rownum<500 order by 1 DESC;
any help explaining this is much appriciated.
Regards,When you index "Rosy's", by default it sees the apostropohe as a delimiter and tokenizes and indexes "Rosy" and "s" separately. So, you could only find it by searching the singular form or the singular form obtained by using stemming. However, if you set the apostrophoe as a skipjoin, then it tokenizes and indexes "Rosys" as one token that you can then search for that using "rosies":. Please see the demonstration below. You might also be interested in soundex, which can be used with Oracle Text, or the functions in the utl_match package or metaphone.
SCOTT@orcl_11g> CREATE TABLE caps_resource
2 (nm_resource VARCHAR2 (30))
3 /
Table created.
SCOTT@orcl_11g> INSERT ALL
2 INTO caps_resource VALUES ('Rosy''s')
3 SELECT * FROM DUAL
4 /
1 row created.
SCOTT@orcl_11g> SELECT * FROM caps_resource
2 /
NM_RESOURCE
Rosy's
SCOTT@orcl_11g> CREATE INDEX your_text_idx ON caps_resource (nm_resource)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 PARAMETERS
4 ('STOPLIST CTXSYS.EMPTY_STOPLIST')
5 /
Index created.
SCOTT@orcl_11g> SELECT token_text FROM dr$your_text_idx$i
2 /
TOKEN_TEXT
ROSY
S
SCOTT@orcl_11g> SELECT * FROM caps_resource
2 WHERE CONTAINS (nm_resource, 'FUZZY (rosies, 0, 5000, weight)') > 0
3 /
no rows selected
SCOTT@orcl_11g> DROP INDEX your_text_idx
2 /
Index dropped.
SCOTT@orcl_11g> BEGIN
2 CTX_DDL.CREATE_PREFERENCE ('your_lexer', 'BASIC_LEXER');
3 CTX_DDL.SET_ATTRIBUTE ('your_lexer', 'SKIPJOINS', '''');
4 END;
5 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11g> CREATE INDEX your_text_idx ON caps_resource (nm_resource)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 PARAMETERS
4 ('STOPLIST CTXSYS.EMPTY_STOPLIST
5 LEXER your_lexer')
6 /
Index created.
SCOTT@orcl_11g> SELECT token_text FROM dr$your_text_idx$i
2 /
TOKEN_TEXT
ROSYS
SCOTT@orcl_11g> SELECT * FROM caps_resource
2 WHERE CONTAINS (nm_resource, 'FUZZY (rosies, 0, 5000, weight)') > 0
3 /
NM_RESOURCE
Rosy's
SCOTT@orcl_11g> -
Windows 8.1 x64 Smart Search Outlook and OneNote 2013(x32) not returning results
Is the 8.1 Smart Search([windows-key]-type) supposed to return results from Outlook and/or OneNote?
I am using Exchange Cached mode for Outlook if that matters.
I have done the following to try and get results to show up:
control panel...Indexing Options...Advanced...File Types...Index Properties and File Contents
used indexing troubleshooter which found no problems
control panel...Indexing Options...Advanced...Rebuild...
used scanpst to scan my ost and make repairs.
checked and unchecked Outlook and OneNote within index properties
tried to go to C:\Users\[username]\AppData\Local\Microsoft\Outlook\username.ost properties...advanced...checked allow this file to have contents indexed. Except the next time i start outlook the check mark goes away.
verified .pst , .ost and .pst files are all in the index service...file types... list
Search within Outlook itself works just fine and quickly, but i would like to be able to search from the "Smart Search". File name search is flawless.
If it isn't supported, why is it in the indexing options that clearly work for smart search settings because I also added a location for searching where file names search works just fine(although it does seem the contents of excel/word files are
not being indexed, but the index might still be rebuilding)
Any help would keep some hair on my head.
ThanksHi,
It seems that the smart search can't search the content in outlook and OneNote.
blogs.technet.com/b/daanish/archive/2014/03/19/windows-8-101-smart-search.aspx
The reason why Outlook and OneNote appears in the Index option tab is that Outlook and OneNote need the Windows search to help index the content in Outlook and OneNote, if we remote the outlook and onenote from Index Option tab, the search function in the
Outlook and OneNote may not works.
Also, smart search main focus on Settings , files, web Images, web Videos which we can select above the search box. Another reason we suspect the design for this is the consideration for security, if we can search the emails in the smart search, that
maybe some programs can access the content in Outlook and OneNote without authentication .
Hope the information above help.
Best Regards,
Jason Zeng -
Oracle not return results only in Oracle11g
Hello everyone.
I have a very strange problem.
I have this query:
SELECT *
FROM
(SELECT objT.*,
UP.UserId permissionUserId,
UP.ObjectVersionLabel permissionObjectId,
UP.DocumentAccessPermissions permissionDocAccessPermissions,
UP.SpecialPermissions permissionSpecialPermissions,
UP.IsDeleted permissionIsDeleted
FROM TMPLT_WORKFLOWS objT
LEFT JOIN
(SELECT * FROM PERMIT_WORKFLOWS_USERS ut WHERE ut.UserId = 81
) UP
ON objT.VersionLabel = UP.ObjectVersionLabel
INNER JOIN RELAT_SITES_WORKFLOW_TEMPLATES siteT
ON objT.VersionLabel = siteT.ObjectVersionLabel
WHERE objT.IsDeleted <> 1
AND ( UP.UserId = 81 OR UP.UserId IS NULL)
AND ( UP.IsDeleted <> 1 OR UP.IsDeleted IS NULL)
AND objT.IsStoragePolicy = 0
AND IsCurrent = 1
AND siteT.IsDeleted <> 1
AND ( siteT.SiteId = 4 OR siteT.SiteId = -101)
) A
WHERE A.TemplateId IN
SELECT TemplateId
FROM TMPLT_WORKFLOWS
WHERE VersionLabel NOT IN
(SELECT ObjectVersionLabel
FROM PERMIT_WORKFLOWS_USERS
WHERE UserId = 81
AND SpecialPermissions BETWEEN 12288 AND 16383
AND IsDeleted = 0)
)when I runs the query on Oracle11G I got no results.
If I runs this query on Oracle10g with the same data I got results.
I started to investigate this and I saw two strange things:
1. If I write 'SELECT To_Number(TemplateId)' instead of 'SELECT TemplateId' in the IN clause everithing works.
2. If I comment out the line: 'AND ( UP.UserId = 81 OR UP.UserId IS NULL)' everything works - For this query UP is empty so this isn't supposed to change the results.
Again, it's happening only on 11g.
What is this?I created a simple example.
Creation of table CUSTOMERS
-- DDL for Table CUSTOMERS
CREATE TABLE "TESTS"."CUSTOMERS"
( "CUSTOMERLABEL" NVARCHAR2(50),
"CUSTOMERNAME" NVARCHAR2(255),
"CUSTOMERID" NUMBER(10,0)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
-- DDL for Index CUSTOMERS_PK
CREATE UNIQUE INDEX "TESTS"."CUSTOMERS_PK" ON "TESTS"."CUSTOMERS" ("CUSTOMERID")
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
-- Constraints for Table CUSTOMERS
ALTER TABLE "TESTS"."CUSTOMERS" ADD CONSTRAINT "CUSTOMERS_PK" PRIMARY KEY ("CUSTOMERID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ENABLE;
ALTER TABLE "TESTS"."CUSTOMERS" MODIFY ("CUSTOMERLABEL" NOT NULL ENABLE);
ALTER TABLE "TESTS"."CUSTOMERS" MODIFY ("CUSTOMERNAME" NOT NULL ENABLE);
ALTER TABLE "TESTS"."CUSTOMERS" MODIFY ("CUSTOMERID" NOT NULL ENABLE);Creation of table ORDERS
-- DDL for Table ORDERS
CREATE TABLE "TESTS"."ORDERS"
( "ORDERID" NUMBER(10,0),
"CUSTOMERLABEL" NVARCHAR2(50),
"ORDERDETAILS" NVARCHAR2(255)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
-- DDL for Index ORDERS_PK
CREATE UNIQUE INDEX "TESTS"."ORDERS_PK" ON "TESTS"."ORDERS" ("ORDERID")
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
-- Constraints for Table ORDERS
ALTER TABLE "TESTS"."ORDERS" ADD CONSTRAINT "ORDERS_PK" PRIMARY KEY ("ORDERID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ENABLE;
ALTER TABLE "TESTS"."ORDERS" MODIFY ("ORDERID" NOT NULL ENABLE);
ALTER TABLE "TESTS"."ORDERS" MODIFY ("CUSTOMERLABEL" NOT NULL ENABLE);
ALTER TABLE "TESTS"."ORDERS" MODIFY ("ORDERDETAILS" NOT NULL ENABLE);I inserted two rows to table CUSTOMERS:
CustomerLabel | CustomerName | CustomerId
Label1 | George | 1
Label2 | Tom | 2
I also inserted two rows to table ORDERS:
OrderId| CustomerLabel | OrderDetails
7 | Label1 | Details1
8 | Label1 | Details2
Now, when i runs this simple query I got no results:
SELECT * FROM customers CST
LEFT JOIN (SELECT * FROM orders WHERE orderid = 1) UP
ON CST.CustomerLabel = UP.CustomerLabel
WHERE ( UP.orderid = 1 OR UP.orderid IS NULL)
AND CST.customerId IN (SELECT customerId FROM customers)Thank you. -
Reports are not returning results in obiee 11g dashboards.
Hi,
I have dashboard with 3 reports,i saved my customization of particular date range,product group and target list.When I ran the dashboard for first time,I got all the results for 3 reports in dashboard but from the second time,only one of the reports returned results but other reports are just hanging up.I tried to clear cache in both BI server and presentation services but no use.
Please help me what steps needs to be done so that all my saved reports return data.963277 wrote:
Hi,
I have dashboard with 3 reports,i saved my customization of particular date range,product group and target list.When I ran the dashboard for first time,I got all the results for 3 reports in dashboard but from the second time,only one of the reports returned results but other reports are just hanging up.I tried to clear cache in both BI server and presentation services but no use.
Please help me what steps needs to be done so that all my saved reports return data.Do you know if anything has changed in the database or the RPD from the first time you ran those reports? Did you try running the physical query of the reports against the database to see if you are able to return results quickly? -
'People Search Core Result' web part with 'office' filter in Keyword Query is not returning results
I have created a page with "People search core result" web part on SharePoint 2010.
When I try to use the setting (A) or (C) as shown below, there is no results been returned but when set to setting (B), there are results been returned.
In the returned results I can see the OfficeNumber field is been populated with values and some of them is "UK Finance".
Setting (A)
Result Query Options
-- Fixed Keyword Query = contentclass:spspeople -- Append Text To Query = Department:"Finance" AND OfficeNumber:"UK Finance"
Setting (B)
Result Query Options
--- Fixed Keyword Query = contentclass:spspeople --- Append Text To Query = Department:"Finance"
Setting (C)
Result Query Options
--- Fixed Keyword Query = contentclass:spspeople --- Append Text To Query = OfficeNumber:"UK Finance"
What am I doing wrong here? Am I missing something? Do I need any additional configuration in order to get this to work?
I hope someone could help me or point me to the right direction.
Thank you
mugesYou might want to check the Manage User Properties area of the User Profile Service in Central Admin.
Any properties you query on should be marked "Indexed" or "Use in Scopes". You can also check that you are using the correct internal name for these properties. -
RFC is not returning parameters
Hi All,
I have written an Java code in my UDF to call the RFC. Basically i am sending some Import parameters to RFC and getting the Export parameters from the RFC. My RFC structure is like this.
XX_RFC
IMPORT
a
b
EXPORT
c
d
e
My UDF code (Queue) is :
AbstractTrace trace;
java.util.Map map;
map = container.getTransformationParameters();
trace = container.getTrace();
trace.addDebugMessage(" XX_RFC lookup started ");
String strSystem = (String) map.get(StreamTransformationConstants.RECEIVER_SERVICE);
String[] tagNames = { "a", "b"};
ArrayList arrayList = new ArrayList();
int iNoOfValuesToBeSet = a.length;
try {
RFCLookup rfcl = new RFCLookup("XX_RFC");
rfcl.setConn(strSystem,"RFCLookUp_Receiver");
arrayList.add(a);
arrayList.add(b);
rfcl.setTable(arrayList, "IMPORT", tagNames, iNoOfValuesToBeSet);
trace.addInfo(" Table set. Going to invoke RFC.");
trace.addDebugMessage("\n Start of Request XML \n" + rfcl.getRequestRoot() + "\n *** End of Request XML *** \n");
rfcl.invoke();
trace.addInfo("RFC invoked. Parsing the Response.");
trace.addInfo("\n Start of Response XML \n" + rfcl.getResponseRoot() + "\n *** End of Response XML *** \n");
strArrTempOut1 = rfcl.getParam("EXPORT", "c");
strArrTempOut2 = rfcl.getParam("EXPORT", "d");
strArrTempOut3 = rfcl.getParam("EXPORT", "e");
}catch (Exception e) {
trace.addWarning("!!! Exception caught !!! " + e+ " : \n" + e.toString());
finally
I have declared all the global variables in the Java section and i am writing an UDF for using those global variables.
the UDF (Queue) is :
if(strArrTempSTRASOut == null)
result.addValue("");
else
for (int i=0;i<strArrTempOut1.length;i++)
result.addValue(strArrTempOut1<i>);
When i call the RFC with a valid data, my output XML is not getting formed actually. But, the RFC is working fine when i check it in the SAP system. Any help would be greatly appreciated.
regards,
Sherin Jose PHi Sherin,
Please refer the following blog to acehive your Functionaliy.Its very simple to use and .Because the lookup code gives you RFC response as XML. apply the DOm parisng code to get the desired value from the output XML structure.Follow the article and use the following piece of code in the 5th step of the code given in the article.
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417400)ID0702528050DB00626426829334031456End?rid=/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439&overridelayout=true
*5. Execute lookup.*
Payload result = accessor.call(payload);
InputStream in = result.getContent();
/* out = new ByteArrayOutputStream(1024);
byte[] buffer = new byte[1024];
for (int read = in.read(buffer); read > 0; read = in.read(buffer))
out.write(buffer, 0, read);
content = out.toString();*/ you can avoid the commented code
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse(in);
NodeList list = document.getElementsByTagName("C"); //same way for D, E
Node node = list.item(0);
if (node != null) {
node = node.getFirstChild();
if (node != null) {
Cvalue = node.getNodeValue(); //Desired value of C in string
Thanks,
Ram. -
Stored function not returning result set unless recompiled
Hi,
I have a strange situation going on with a basic Java (1.6.0.17) application talking to an Oracle 11g (11.2.0.1.0) database. Basically what is happening is that sometimes a stored function's return value (a result set) is not making it as far as JDBC/Java, unless I recompile the stored function (with absolutely no changes to the application or function's code). I am always able to successfully see the result set if I call the function directly from within SQL Developer, just not on the Java app/JDBC side.
I've tried running with 3 different physical Oracle 11g servers and tried running the app on a couple of machines. I'm wondering if this is either some kind of caching issue or perhaps a JDBC bug/misconfiguration.
Any help would be greatly appreciated. Attached to this message:
1. stored function code
2. snippet of Java app code
3. ODBC trace output when returned a empty result set (ie failure scenario)
4. ODBC trace out when returned the correct result set (ie success scenario)
* it's helpful if you compare the texts of 3 & 4 with Vim diff or WinMerge etc.
** as they're large I've just extracted the sections that had differences. Leave a message here and I can send you the full ones if necessary.
1. stored function code
===============
FUNCTION getRecordSet (
ActionId Number
RETURN CallingList.ref_cursor
IS
myDataCursor CallingList.ref_cursor;
ActionId_ Number;
BEGIN
ActionId_ := ActionId;
IF isActionExpired(ActionId) <= 0 THEN
ActionId_ := 0;
END IF;
OPEN myDataCursor FOR
SELECT
C.ID,
C.CUSTOMER_ID,
C.CAMPAIGN_ID,
c.phone,
C.TRANSFERDN,
(SELECT
TTS_MESSAGE
FROM CAMPAIGN CMP
WHERE CMP.CAMPAIGN_ID = C.CAMPAIGN_ID) "TTS"
FROM
CALLING_LIST C
WHERE
C.ACTION_ID = ActionId_
AND
C.CALL_STATUS = 1
AND
C.CALLCOUNT > 0
And rownum <=5;
RETURN myDataCursor;
EXCEPTION
WHEN CURSOR_ALREADY_OPEN THEN
RETURN NULL;
WHEN INVALID_CURSOR THEN
RETURN NULL;
WHEN NO_DATA_FOUND THEN
RETURN NULL;
END getRecordSet;
....and the isActionExpired function that is called from within getResultSet is (but for all my testing it's been returning 1 with no problems)
FUNCTION isActionExpired (
ActionId number
) RETURN number
AS
Today varchar2(12);
myCount number(6);
BEGIN
myCount := 0;
today := to_char(sysdate, 'dd.mm.yyyy');
SELECT
count(*)
INTO
myCount
FROM
ACTION A
where
ACTION_ID = ActionId
AND
SYSDATE BETWEEN ACTION_STARTDATETIME
AND
ACTION_STOPDATETIME
and
SYSDATE BETWEEN to_date(today || ' ' || A.STARTTIME, 'dd.mm.yyyy HH24:MI:SS') and to_date(today || ' ' || A.ENDTIME, 'dd.mm.yyyy HH24:MI:SS')
AND
ACTION_STATUS = 1;
return myCount;
END isActionExpired;
2. snippet of Java app code
=================
... db connect logic...
javax.management.MBeanServer mbs = null;
javax.management.ObjectName name = null;
try {
String loader = Thread.currentThread().getContextClassLoader().toString().replaceAll("[,=:\"]+", "");
name = new javax.management.ObjectName("com.oracle.jdbc:type=diagnosability,name="+loader);
mbs = java.lang.management.ManagementFactory.getPlatformMBeanServer();
mbs.setAttribute(name, new javax.management.Attribute("LoggingEnabled", true));
} catch (Exception e) {
System.out.println("ORACLE TRACE ERROR: " + e.getStackTrace());
try {
String query = "begin ? := CALLINGLIST.getRecordSet(?); end;";
CallableStatement stmt = conn.prepareCall(query);
stmt.registerOutParameter(1, OracleTypes.CURSOR);
stmt.setInt(2, actionId);
stmt.execute();
ResultSet rs = (ResultSet) stmt.getObject(1); // So, here it works.
// print the results
int count=0;
while (rs.next()) {
count++;
stmt.close();
System.out.println("rs count was: " + count);
} catch (SQLException e) {
System.out.println("Exception occurred: " + e.getMessage());
3. ODBC trace output when returned a empty result set (ie failure scenario)
===============================================
Jul 1, 2010 3:30:47 PM oracle.net.ns.Packet receive
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.net.ns.Packet receive
TRACE_20: Debug: type=6, length=121, flags=0
00 79 00 00 06 00 00 00 |.y......|
00 00 06 22 01 06 00 01 |..."....|
0A 00 00 00 07 03 C2 04 |........|
0E 04 C3 5E 22 03 02 C1 |...^"...|
2A 04 33 30 30 32 03 37 |*.3002.7|
37 37 05 48 65 6C 6C 6F |77.Hello|
08 01 06 00 00 01 02 00 |........|
00 00 00 00 00 04 01 05 |........|
01 01 02 05 7B 00 00 01 |....{...|
02 00 03 00 00 00 00 00 |........|
00 00 00 00 00 00 00 00 |........|
00 01 01 00 00 00 00 19 |........|
4F 52 41 2D 30 31 34 30 |ORA-0140|
33 3A 20 6E 6F 20 64 61 |3:.no.da|
74 61 20 66 6F 75 6E 64 |ta.found|
0A |. |
Jul 1, 2010 3:30:47 PM oracle.net.ns.Packet receive
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 1, [I@1315d34, 20
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 1, 871, [I@1315d34, 20, oracle-character-set-830, oracle-character-set-2000, oracle-character-set-871, false
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 1, [I@1315d34, true, 20
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: return: 4
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: return: 4
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: return: 4
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 211, [I@1de256f, 10
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 211, 871, [I@1de256f, 10, oracle-character-set-830, oracle-character-set-2000, oracle-character-set-871, false
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 211, [I@1de256f, true, 10
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: return: 3
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: return: 3
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: return: 3
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 321, [I@16bd8ea, 2000
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 321, 871, [I@16bd8ea, 2000, oracle-character-set-830, oracle-character-set-2000, oracle-character-set-871, false
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: Enter: [B@1fa1bb6, 0, [C@1b000e7, 321, [I@16bd8ea, true, 2000
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: return: 5
Jul 1, 2010 3:30:47 PM oracle.sql.CharacterSet convertUTFBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: return: 5
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion _CHARBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: return: 5
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.DBConversion CHARBytesToJavaChars
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CConnection updateSessionProperties
TRACE_16: Enter: [Loracle.jdbc.internal.KeywordValue;@16e1fb1
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CConnection updateSessionProperties
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CStatement fetch
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement checkValidRowsStatus
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement checkValidRowsStatus
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl <init>
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CResultSetAccessor getCursor
TRACE_16: return: oracle.jdbc.driver.OracleResultSetImpl@e2cb55
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CResultSetAccessor getCursor
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.ResultSetAccessor getObject
TRACE_16: return: oracle.jdbc.driver.OracleResultSetImpl@e2cb55
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.ResultSetAccessor getObject
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleCallableStatement getObject
TRACE_1: return: oracle.jdbc.driver.OracleResultSetImpl@e2cb55
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleCallableStatement getObject
TRACE_1: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleCallableStatementWrapper getObject
TRACE_30: return: oracle.jdbc.driver.OracleResultSetImpl@e2cb55
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleCallableStatementWrapper getObject
TRACE_30: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: Public Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_20: Debug: closed=false, statement.currentRow=-1, statement.totalRowsVisited=0, statement.maxRows=0, statement.validRows=1, statement.gotLastBatch=true
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: return: true
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: Public Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_20: Debug: closed=false, statement.currentRow=0, statement.totalRowsVisited=1, statement.maxRows=0, statement.validRows=1, statement.gotLastBatch=true
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: Enter: false
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.BaseResultSet close
TRACE_16: Public Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.BaseResultSet close
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection registerHeartbeat
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection registerHeartbeat
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection needLine
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection needLine
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CStatement closeQuery
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CConnection assertLoggedOn
TRACE_16: Enter: "oracle.jdbc.driver.T4CStatement.closeQuery"
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CConnection assertLoggedOn
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CStatement closeQuery
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement endOfResultSet
TRACE_16: Enter: false
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement prepareForNewResults
TRACE_16: Enter: false, false
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement clearWarnings
TRACE_16: Public Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement clearWarnings
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: Enter: true
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: return:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement prepareForNewResults
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CStatement clearDefines
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement clearDefines
TRACE_16: Public Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement freeLine
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement freeLine
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement cleanupDefines
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Enter: [B@8e32e7
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.BufferCache put
TRACE_16: Enter: [B@8e32e7
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.BufferCache put
TRACE_30: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Enter: [C@1b000e7
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.BufferCache put
TRACE_16: Enter: [C@1b000e7
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.BufferCache put
TRACE_30: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement cleanupDefines
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement clearDefines
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.T4CStatement clearDefines
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement endOfResultSet
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: return: false
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: Exit
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleCallableStatementWrapper close
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OraclePreparedStatementWrapper close
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatementWrapper close
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement close
TRACE_1: Public Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.OracleStatement closeOrCache
TRACE_16: Enter: null
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection isStatementCacheInitialized
TRACE_16: Enter:
Jul 1, 2010 3:30:47 PM oracle.jdbc.driver.PhysicalConnection isStatementCacheInitialized
4. ODBC trace out when returned the correct result set (ie success scenario)
===============================================
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.net.ns.Packet receive
TRACE_20: Debug: type=6, length=82, flags=0
00 52 00 00 06 00 00 00 |.R......|
00 00 08 01 06 00 00 01 |........|
02 00 00 00 00 00 00 04 |........|
01 05 00 02 05 7B 00 00 |.....{..|
01 02 00 03 00 00 00 00 |........|
00 00 00 00 00 00 00 00 |........|
00 00 01 01 00 00 00 00 |........|
19 4F 52 41 2D 30 31 34 |.ORA-014|
30 33 3A 20 6E 6F 20 64 |03:.no.d|
61 74 61 20 66 6F 75 6E |ata.foun|
64 0A |d. |
Jul 1, 2010 3:30:07 PM oracle.net.ns.Packet receive
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CConnection updateSessionProperties
TRACE_16: Enter: [Loracle.jdbc.internal.KeywordValue;@1fa1bb6
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CConnection updateSessionProperties
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CStatement fetch
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: Enter: false
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.BaseResultSet close
TRACE_16: Public Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.BaseResultSet close
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection registerHeartbeat
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection registerHeartbeat
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection needLine
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection needLine
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CStatement closeQuery
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CConnection assertLoggedOn
TRACE_16: Enter: "oracle.jdbc.driver.T4CStatement.closeQuery"
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CConnection assertLoggedOn
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CStatement closeQuery
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement endOfResultSet
TRACE_16: Enter: false
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement prepareForNewResults
TRACE_16: Enter: false, false
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement clearWarnings
TRACE_16: Public Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement clearWarnings
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement prepareForNewResults
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CStatement clearDefines
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement clearDefines
TRACE_16: Public Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement freeLine
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement freeLine
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement cleanupDefines
TRACE_16: Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Enter: [B@8e32e7
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.BufferCache put
TRACE_16: Enter: [B@8e32e7
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.BufferCache put
TRACE_30: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Enter: [C@1b000e7
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.BufferCache put
TRACE_16: Enter: [C@1b000e7
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.BufferCache put
TRACE_30: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.PhysicalConnection cacheBuffer
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement cleanupDefines
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement clearDefines
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CStatement clearDefines
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleStatement endOfResultSet
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleResultSetImpl internal_close
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleResultSetImpl <init>
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CResultSetAccessor getCursor
TRACE_16: return: oracle.jdbc.driver.OracleResultSetImpl@1315d34
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.T4CResultSetAccessor getCursor
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.ResultSetAccessor getObject
TRACE_16: return: oracle.jdbc.driver.OracleResultSetImpl@1315d34
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.ResultSetAccessor getObject
TRACE_16: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleCallableStatement getObject
TRACE_1: return: oracle.jdbc.driver.OracleResultSetImpl@1315d34
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleCallableStatement getObject
TRACE_1: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleCallableStatementWrapper getObject
TRACE_30: return: oracle.jdbc.driver.OracleResultSetImpl@1315d34
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleCallableStatementWrapper getObject
TRACE_30: Exit
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_1: Public Enter:
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleResultSetImpl next
TRACE_20: Debug: closed=true, statement.currentRow=-1, statement.totalRowsVisited=0, statement.maxRows=0, statement.validRows=0, statement.gotLastBatch=false
Jul 1, 2010 3:30:07 PM oracle.jdbc.driver.OracleResultSetImpl next
Edited by: user9376621 on Jul 1, 2010 1:07 AM
Edited by: user9376621 on Jul 1, 2010 1:13 AMPlease ignore this, it was a non-issue in the end.
-
CF not returning results of CFIF
I am trying to make website sections have a different
appearance when selected.
My code all works fine unless you click on the first item in
the list "HOME", then it refused to return the results of any of
the cfif's after it.
Attached is the code and the page where it is failing is:
http://www.itla.net/index.cfm?sec=ITLA_Information&con=main
This seems simple and straightforward, but is failing.
Thanks,
KirkI had an error in logic.
Here is the new code. I have to simplify it. The entire URL
isn't needed, I will replace them with the same logic and only the
change in the class code.
Kirk -
Subsequence does not return result
I want to have a subsequence return a pass or fail result to the main sequence. I read on the forums to make a pass/fail test in the subsequence and I set that step to cause the sequence to fail. I set a breakpoint and can see that that step is failing. I set another breakpoint after the call to the subsequence in the main sequence and that step always passes.
How do I do this properly? I can't seem to find any good documentation on the subject.
I have tested this in 3.5, 4.0, and 4.0.1. The attached sequences were made in 3.5.
Attachments:
seq1.seq 49 KB
subseq1.seq 30 KBHi Andrew,
When i closed my TestStand the system asked me so save NI-Types!! That means your Types differs from that which are shipped from NI.
Maybe you will get some problems with typeconflicts in future.
For all other users here in this forum be careful when loading the upper or my example. NEVER accept savings to NI-Steptypes !!!!!
Refer to this Site: type conflict error when using TS_EngineGetSeqFile link: http://forums.ni.com/ni/board/message?board.id=330&message.id=17427#M17427
greetings from the lake of Constance, Germany
and get never affected by a type virus
juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e= -
MS Query will not return results after modification
Using an ORACLE OBDC link, a msquery will work fine when first set up, but will fail to work when modified. The query can be reset up with the modified criteria and work fine, however, all links have to be changed to the new table. Other queries
will work fine with multiple modifications. We link to the BANNER database system tables. (when you try to query now, it is as if the query does not run any longer. Results which normally take up to 3 minutes to return, are returned immediately as no
information)Hi,
Do you get the error message when you Microsoft query fail to work? Which Excel and Oracle version are you using?
Please try the below workaround to check if it is helpful:
1. Update the Oracle ODBC drive
2. Turn Off the Enable Background Refresh Setting
http://support.microsoft.com/kb/168702/en-us
Then, we also may be try to use OLEBD instand of the ODBC?
http://blog.mclaughlinsoftware.com/microsoft-excel/how-to-query-oracle-from-excel-2007/
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
George Zhao
TechNet Community Support
Maybe you are looking for
-
I am trying to use Acrobat Pro version XI to crop my PDF but can't find the "PAGES" tools
I have a 1 page PDF that is 9.5 inches wide with about 1.5 inches of margin. I want to crop off the extra white space and center the image so that it fits on a normal letter sized page. However, I can't find any sort of crop or trim command in Acro
-
How could i export a JPanel as a pdf ??
is there any package to help me encode a pdf from a bufferedImage or what else ?? Thanks @
-
I would like upgrade a 16-bit dll that was developed for 16-bit windows to a 32-bit dll
I have an 16-bit dll library that was used for talking to a DAQ through Labview version 4 for windows 3.1. I would like to upgrade it so that I can make these calls through Labview version 4.0.1(32-bit). Can anybody do it for me Attachments: Megadac.
-
Hi, I have logical standby (broken ??) I started it, I got : alert.log: Archive log rejected (thread 1 sequence 9367) by RFS clients Thu Jul 04 15:06:09 2013 Archive log rejected (thread 1 sequence 9367) by RFS clients Thu Jul 04 15:07:09 2013 Archiv
-
I can't see all my page's apps on itunes,only show me 5 pages
I have 8 "pages" of apps showing on my iPhone 3G . In using iTunes 9 on Snow Leopard but only show me 5 pages. In a PC its works ok,but i need to fix in my principal mac.i've restored iphone,reinstall itunes but don't work...