NDATA does not return all possible results
I created an index with userdatastore, basic and basic wordlist preference lexer. Also, a group of sections with section ndata. Basic letter, index of the substring all are true."but when I search"script", I don't get ' of * script * Pétion" in the results. pls help.
So, you want to be able to search periods and commas and spaces? By default, these things are considered to be punctuation and separators, not as searchable characters. However, you can set the period and the comma as printjoins, as follows:
ctx_ddl.set_attribute ('mystery_lex', 'printjoins', ',.');
Which will allow you to search for them, as follows:
SCOTT@orcl_11gR2> select column1, score(1) from table1
2 where contains (indexed_column, '%\,%', 1) > 0
3 order by score(1) desc
4 /
COLUMN1 SCORE(1)
------------------------------------------------------------ ----------
this,that 6
1 row selected.
SCOTT@orcl_11gR2> select column1, score(1) from table1
2 where contains (indexed_column, '%\.%', 1) > 0
3 order by score(1) desc
4 /
COLUMN1 SCORE(1)
------------------------------------------------------------ ----------
this.that 6
1 row selected.
SCOTT@orcl_11gR2>
I can't imagine why you would need to look for space and not what Oracle Text is designed for. You really need to explain your business needs and provide a test case so that we can help you. It is a standard expectation and many forums do not provide any help until a test case is provided. You can convert the spaces in a few other available characters in your procedure using the user_datastore.
Tags: Database
Similar Questions
-
% ROWCOUNT SQL does not return the expected result
I have the following function within a package:
--Update APPERY_JTI_deleted_USERS table: FUNCTION fn_updt_app_jti_dlt_usr( p_update_co IN VARCHAR2, p_appery_user_id IN APPERY_JTI_deleted_USERS.appery_user_id%TYPE, p_outlet_code IN APPERY_JTI_deleted_USERS.outlet_code%TYPE) RETURN NUMBER AS lv_sql VARCHAR2(4000); lv_rowcount NUMBER := 0; BEGIN lv_sql := 'UPDATE APPERY_JTI_deleted_USERS SET '||p_update_co||' = 1 WHERE '||p_update_co||' = 0 AND OUTLET_CODE = '''||p_outlet_code||''' AND APPERY_USER_ID = '''||p_appery_user_id||''''; --EXECUTE IMMEDIATE lv_sql; EXECUTE IMMEDIATE 'BEGIN ' || lv_sql || '; :z := sql%rowcount; END; ' USING OUT lv_rowcount ; RETURN lv_rowcount; EXCEPTION WHEN OTHERS THEN RETURN -1; END fn_updt_app_jti_dlt_usr;
The function called several times as part of a job. Basically, the main function (Say M), call a few functions (for example A1... A9). Each of these functions is to do something and updated the application using the above function. Therefore, each of the nine functions will call the above function with different parameters.
The problem that I am facing is:
First run, invoke only first of all for the above function will return the positive result ($sql rowcount > 0). When I run M the second time, only first and second calls for the above function will be to return positive results and so on.
How odd, it's that if I change the values again and run a function M, it will start from the beginning. And what strange more, the dynamic update statement is executed correctly and data are updated successfully. It's just sql rowcount % do not return is not the expected results.
I tried to run execute immediately without (begin, end). I also tried to run it without HELP ON. It's always the same. I'm really confused, what Miss me here.
I don't know if this is relevant. But for what it's worth, invoking the function above updates the SAME lines in the table appery_jti_deleted_users that the columns are different. So for all the work, the same lines need to be updated. Each function (A1... A9) will call the above function to update a different column of these lines.
If you REALLY want to help you having US SHOW, not tell us:
1. WHAT you do
2. HOW to
3. WHAT results you get
4. WHAT results you expect to get
First run, invoke only first of all for the above function will return the positive result ($sql rowcount > 0). When I run M the second time, only first and second calls for the above function will be to return positive results and so on.
How odd, it's that if I change the values again and run a function M, it will start from the beginning. And what strange more, the dynamic update statement is executed correctly and data are updated successfully. It's just sql rowcount % do not return is not the expected results.
Perhaps that the foregoing is true and maybe he's not. We have NO WAY of knowing because you don't SHOW US anything.
I tried to run execute immediately without (begin, end). I also tried to run it without HELP ON. It's always the same.
Yet once you showed us NOTHING >
You do NOT FOLLOW best practices when you use dynamic sql statements: the sql statement real so that you can print:
1 SEE what's running - make sure there are no syntax errors, and it seems to be what you wanted
2 EXECUTE/TEST manually - to see if he really runs without error and see what results it really give.
3. FIX any syntax or other problems and retest it
Instrument properly your code and you won't have the problems you are having.
You should know by now what are the parameters are transmitted when you run the function. So, there are at least three sets of these parameters.
So you should be able to:
1 run the instrumented manually function three times
2. see that all three SQL statements are
3 manually run these instructions
4. see that the number of lines is after each execution
We have no idea of what the output of the function is every time you call it. Apparently, you have, if you save the results of the function somewhere, but you didn't post any of this info.
We need real details to help you - just listen to your story is not enough.
-
Oracle text index does not return the expected results.
Hello
My project requires a generic search on 5 different columns and all the VARCHAR2 data type.
As performance is very slow with AS % search, I try to use for the multi_column_datastore that is recommended for this.
Here's what I did.
1 - Create table.
My search must be made on the columns ENTITY_NUMBER, GIVEN_NAMES, surname, ORGANISATION_NAME and DISPLAY_NAME.CREATE TABLE BILLING_SCHEMA.NAMES_TABLE ( ID NUMBER(9,0) NOT NULL, ENTITY_NUMBER VARCHAR2(30) NOT NULL, GIVEN_NAMES VARCHAR2(50) NULL, SURNAME VARCHAR2(30) NULL, ORGANISATION_NAME VARCHAR2(60) NULL, DISPLAY_NAME VARCHAR2(100) NULL ) /
2. - insert values into the table
3 - create context multi_column_datastore indexINSERT INTO NAMES_TABLE VALUES(1, 'GH', NULL, NULL, NULL, 'GROUP OF HOSPITAL') / INSERT INTO NAMES_TABLE VALUES(2, 'DH', NULL, NULL, NULL, 'DEPARTMENT OF HEALTH') / INSERT INTO NAMES_TABLE VALUES(3, 'REC', NULL, NULL, NULL, 'DEBTOR FOR RECEIPTS') / INSERT INTO NAMES_TABLE VALUES(4, 'UN_REC', NULL, NULL, NULL, 'DEBTOR FOR UNMATCHED RECEIPTS') / INSERT INTO NAMES_TABLE VALUES(5, 'SAM_FUND', NULL, NULL, NULL, 'THE S FUND') /
4 - create the trigger that should update the column ENTITY_NUMBER if everything is inserted/updatedBEGIN CTX_DDL.CREATE_PREFERENCE('NAMES_TABLE_MULTI', 'MULTI_COLUMN_DATASTORE'); CTX_DDL.SET_ATTRIBUTE('NAMES_TABLE_MULTI', 'COLUMNS', 'ENTITY_NUMBER, GIVEN_NAMES, SURNAME, ORGANISATION_NAME, DISPLAY_NAME'); END; CREATE INDEX NAMES_TABLE_IDX ON NAMES_TABLE(ENTITY_NUMBER) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('DATASTORE NAMES_TABLE_MULTI')
5. the search queryCREATE OR REPLACE TRIGGER NAMES_TABLE_TRIGGER BEFORE INSERT OR UPDATE OF GIVEN_NAMES, SURNAME, ORGANISATION_NAME, DISPLAY_NAME ON NAMES_TABLE FOR EACH ROW BEGIN :NEW.ENTITY_NUMBER := :NEW.ENTITY_NUMBER; END
I am so very confused here because the result returned is onlySELECT * FROM NAMES_TABLE WHERE CONTAINS(ENTITY_NUMBER,'%TH%') > 0
When I wait for him that the 5th inserted record is returned too as it contains "THE S FUND" that begins with "TH".ID ENTITY_NUMBER GIVEN_NAMES SURNAME ORGANISATION_NAME DISPLAY_NAME 2 DH (null) (null) (null) DEPARTMENT OF HEALTH
When I use the search string '% %' and %, no results are returned, although I expect at least two records in each case.
I would appreciate help with this.
Thanks in advance,
Marilyn
Published by: user5615580 on 08/03/2011 21:35
Published by: user5615580 on 08/04/2011 16:33
-
ctxrule - match does not return a result
v.11.1.07 - I created a ctxrule index as described below. However, although a query must match on the given document, it does not return. Any ideas?
Then, run a query:begin ctx_ddl.create_preference('ot_lexer', 'basic_lexer'); ctx_ddl.set_attribute('ot_lexer', 'index_stems', 'ENGLOSH'); end; begin ctx_ddl.create_section_group('ot_sec_group', 'auto_section_group'); end; create table ot_profile_test (profile_id number, query clob); create index ot_profile_rule_ndx on ot_profile_test(query) indextype is ctxsys.ctxrule parameters ('stoplist ctxsys.empty_stoplist section group ot_sec_group lexer ot_lexer'); insert into ot_profile_test values(1, '($apple and $pear) and (1 within food)'); commit; exec ctxsys.ctx_adm.set_parameter('log_directory', '/yourdir'); exec ctx_output.start_log('ot'); exec ctx_output.add_event(ctx_output.event_index_print_rowid); exec ctx_output.add_event(ctx_output.event_index_print_token); exec ctx_ddl.sync_index('ot_profile_rule_ndx', '2040M', null, 1, null, ctx_ddl.lock_nowait_error); exec ctx_output.end_log;
Profile_id = 1 should not be returned?declare a clob := 'apple orange pears banana <metadata> <indicators> <food>1</food> </indicators> </metadata> '; vn_profile_id number; begin select profile_id into vn_profile_id from ot_profile_test where matches(query, a) > 0; dbms_output.put_line(vn_profile_id); end; ERROR at line 1: ORA-01403: no data found ORA-06512: at line 8
In addition, the log file should not have 2 lines written in $I?
WRITING APPLE: ((PEAR) TOKEN = (PEARS)) * ((1) IN FOOD), 0
WRITING APPLES: ((PEAR) TOKEN = (PEARS)) * ((1) IN FOOD), 0As noted earlier, you must use a list of words, not a lexer to control, like the two conflicts between them. All what you need to do is remove the following line from your code:
ctx_ddl.set_attribute ('ot_lexer', 'index_stems', 'ENGLISH');
You can still have a lexer with other attributes; Just do not set the attribute index_stems to the lexer. Set the attribute generator of forms derived from the list of words only.
-
Hello
I'm running the PS latest version 2015.1.2 (subscription) - 20160113.r.355 x 64
I installed it on a Windows 10 computer and on a MAC El Capitan (OS X 10.11).But there is a difference in what a certain sharpening setting does not work on the Win10 PC.
I chose:
Filter | Sharpen | Sharpness...From there everything works OK on the Mac.
But on the PC, a framework does not at all and it is if I set the RADIUS to 0.1.
All other values respond normally, while the 0.1 parameter is simply dead (respond well on MAC).I (re) installed PS in Norwegian and English (International), but the problem is persistent.
This could be a bug in the version of PS window?
Concerning
Erik AasethNorway
Solved!
When you enable more "accurate" for sharpness (under the gear wheel), the value 0.1 works too!
But w / just "use Legacy" checked (by default), there is not admissible. -
Hello
The "NetChartsServer4.6SiebelEdition.exe" which included Siebel Innovation Pack 2015 does not at all. It cannot be installed on Windows Server 2008 R2 / (also does not work on any compatible mode, for example, Server 2003).
\15.0.0.0\Windows\Server_Ancillary\Visual_Mining_Netcharts_Server\enu\windows\NetChartsServer4.6SiebelEdition.exe
I tried to download the last server of NetCharts 7.0 on official site, then configure the Siebel server to use the NetCharts Server 7.0.
Following the file and folder have been configured correctly on the NetCharts server:
C:\Program Files (x 86) \Visual Mining\NetCharts Server 7.0\Server\root\projects\Siebel.chart\Siebel.cdx
But after you run graphic graphs of sales opportunity, I got the following errors, it says "The URL < b >http://192.168.1.2:8001/projects/Siebel.cdx< /b > you have requested could not be found". ""
It seems that Siebel server can connect to the NetCharts Server 7.0, but the Siebel server send request wrong URL, the URL must be " " http://192.168.1.2:8001/projects/Siebel.Chart/Siebel.CDX ".
Please help, thanks.
Here is the newspaper of record.
-----------------------------------------------------------------------------------------------------------
NetCharts Log: netcharts_access_log.2015 - 11 - 23.txt
192.168.1.2 - AnonymousNCSUser [23/Nov / 2015:19:15:34 8000] "POST /projects/Siebel.cdx HTTP/1.1" 404 180
192.168.1.2 - AnonymousNCSUser [23/Nov / 2015:19:15:34 8000] "POST /projects/Siebel.cdx HTTP/1.1" 404 180
192.168.1.2 - AnonymousNCSUser [23/Nov / 2015:19:15:34 8000] "POST /projects/Siebel.cdx HTTP/1.1" 404 180
192.168.1.2 - AnonymousNCSUser [23/Nov / 2015:19:15:34 8000] "POST /projects/Siebel.cdx HTTP/1.1" 404 180
-----------------------------------------------------------------------------------------------------------
The Siebel server log: SSEObjMgr_enu_0009_9437194.log
Error ObjMgrBusServiceLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (bmsvc.cpp (4156)) SBL-CHT-00111: an error occurred when sending a request to the graphics server.
Error ObjMgrLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (hfrcht.cpp (1641)) SBL-CHT-00111: an error occurred when sending a request to the graphics server.
Error ObjMgrLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (hfrcht.cpp (1007)) SBL-CHT-00102: there is no data for the chart.
GenericLog GenericError 1 00000002565209c 8-0 2015-11-23 19:15:34 fonts-> Verdana
GenericLog GenericError 1 00000002565209c 8-0 2015-11-23 19:15:34 fonts-> Verdana
GenericLog GenericError 1 00000002565209c 8-0 2015-11-23 19:15:34-> postData ChartName = "graphic possibility Applet - analysis of current Pipeline." ChartWidth = 960; ChartHeight = 560; ChartType = BARCHART; Bar3DDepth = 0; BarWidth = 40; Background = (xffffff, NO, 1, null, white CENTER); Header = ("Sales stage", black, "Verdana", 15); HeaderBox = (xffffff); RightTitle = ("", black, 90); RightTitleBox = (xffffff); = LeftTitle ("Sales Stage", black, "Verdana", 15, 90); LeftTitleBox = (xffffff); Footer =("",Black,"Verdana",15,0); FooterBox = (xffffff); NoteSets =("",BOTTOM),("",LEFT),("",LEFT). NoteAxis = (BOTTOM, LEFT), (BOTTOM, LEFT), (BOTTOM, LEFT); NoteArrow = (NONE, black, NONE), (DOTTED, black, NONE), (DOTTED, black, NONE); NoteLabel is OFF, NoteSet2 =("",-1,1.5,0,1.5);. NoteSet3 =("",-1,7.5,0,7.5); BottomScale = (-1, 0,);
GenericLog GenericError 1 00000002565209c 8-0 2015-11-23 19:15:34
GRAPH SERVER returned the following error:
< html > < body bgcolor = white text = black >
< h2 > 404 not found < / h2 >
The < b > URL http://192.168.1.2:8001/projects/Siebel.CDX < /b > you have requested is not found
< body / > < / html >
Error ObjMgrBusServiceLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (bmsvc.cpp (4156)) SBL-CHT-00111: an error occurred when sending a request to the graphics server.
Error ObjMgrLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (hfrcht.cpp (1641)) SBL-CHT-00111: an error occurred when sending a request to the graphics server.
Error ObjMgrLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (hfrcht.cpp (1007)) SBL-CHT-00102: there is no data for the chart.
Error ObjMgrLog 1 00000002565209c 8-0 2015-11-23 19:15:34 (hfrcht.cpp (1007)) SBL-CHT-00102: there is no data for the chart.
Hello
The guides below can help you,
To overcome the error "SBL-CHT-00111: an error occurred when sending a request to the Graphics Server" when you try to run a chart of the Siebel UI, check the configurations steps.
For Web Client, check the following:
Graphic server settings:
1. in Windows Explorer, navigate to your for ChartWorks Server installation directory; for example:
C:\Program Files Mining\NetCharts Server 4.6 Siebel Edition\Server\root\projects
2. create a new subdirectory named Siebel.chart
3. in the new Siebel.chart subdirectory, create a new file using Windows Notepad, and then type the next three characters uppercase, but without a carriage return: CDL
4 save the file as Siebel.cdx
In the library of Siebel 8.0, Siebel Installation Guide for Microsoft Windows > installation graphics Siebel > paragraph: Configuring Siebel graphics. Step 1 States:
In Windows Explorer, navigate to your for ChartWorks Server installation directory; for example:
D:\Program Files Mining\NetCharts Server 4.6 Siebel Edition\Server\rootGuides:
Chartworks Server expired license: "SBL-CHT-00111: an error occurred when sending a request to the Graphics Server" (Doc ID 489996.1)
Graph of the SBL-CHT-00111 (Doc ID 541286.1) Server error
ChartWorks Server Troubleshooting Guide (Doc ID 477099.1) -
Printer cartridge does not return to its original position on the right side of the printer after the top cover is opened, with the resume light continues to Flash.
After restarting the printer, the cartridge moves to the right, but not all the way and remained there when the printer is off.
The printer will not print anything.
How can I get the cartridge is positioned correctly?
Solved the problem... it's a defective color print cartridge, which was the carrage Act strangely.
-
Wi - Fi does not at all for some reason any.
Hello
Wi - Fi does not at all for some reason any. Never had problems before. __When, I click to view available networks, it tells me that windows cannot configure. What can I do? Need help as soon as possible. Thank you. number - this is a public forum so never post private information such as numbers of mail or telephone!
Hello
Maybe this can help.
My wireless is not working - http://www.ezlan.net/wireless.html
Basic wireless configuration - http://www.ezlan.net/Wireless_Config.html
Wireless Security - http://www.ezlan.net/Wireless_Security.html
Jack-MVP Windows Networking. WWW.EZLAN.NET
-
Computer is very slow and IE does not work all the time.
I bought a computer from my old employeer. He is doing all sorts of things, or should I say not to do all sorts of things. It is very slow and IE does not work all the time. They have questions arise and ask if the administrator oks things and other things like that. It came with any disks. I would like to wipe, clean and load a new disc, but I don't know where to find the disc or if I can do it. Can someone please?
Hello
Proceed as follows to contribute to these two questions. You can probably buy the disks of Vista machine to system or get
the former employer to do it for you if necessary.Try these and it can also be a good idea to update your main drivers later. The General corruption can also play a
role in this issue. And even the TCP/IP stack might need to be refreshed.What antivirus/antispyware/security products do you have on the machine? Be one you ALREADY had on this
machine, including those you have uninstalled (they leave leftovers behind which can cause strange problems).If no joy there's something blocking perhaps.
Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?
IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK
IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK
Close and restart IE or IE with no addons
not better?
IE - tools - manage Addons (for sure disable SSV2 if it is there, it is no longer necessary but Java always install
"(and it causes problems - you never update Java to go back in and turn it off again)." Search for other possible problems.Windows Defender - tools - software explore - look for problems with programs that do not look right. Permit
are usually OK and "unauthorized" are not always bad. If in doubt about a program to ask about it here.Could be that a BHO - BHOremover - free - standalone program, needs no installation, download and run - not all
are bad, but some can cause your question (toolbars are BHO).
http://securityxploded.com/bhoremover.phpStartup programs
http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.htmlAlso get Malwarebytes - free - use as scanner only.
--------------------------------
Try these to erase corruption and missing/damaged file system repair or replacement.
Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN
sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html--------------------
Departure - in the search box, type-> order
at the top of the list to find COMMAND - CLICK RIGHT to it - RUN AS ADMIN
Type the following commands (or copy and paste one at a time), each followed by pressing on enter.
ipconfig/flushdns
nbtstat-r
nbtstat - RR
netsh int Reinitialis
netsh int ip reset
netsh winsock reset
RESET
That resets your TCP/IP stack
--------------------------------
Maybe need of these:
For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
This will refresh the driver stack.Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
own the software and drivers and all other main drivers that you have.Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
(Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
updates on the site of the manufacturer of the system here.)Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.
Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.
Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlIf you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
manually if you wish.How to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspxHope these helps.
Rob - bicycle - Mark Twain said it is good.
-
PC Windows 7 does not return the document or the printed page
I had a setting for this in XP control but can't find the page, that I got it.
This occurs in AN application, or a browser. I print from a workbook Excel specific, for example, when I have a number of them opens. The system does not return the workbook that I printed. It's maddening and causes all sorts of questions. Searching the Web for this instant product nothing and I know I can't be the only person who saw this.
It is a platform of Windows 7 in a commercial network environment. I use the snap Menu Addintools classic because I can't stand the Ribbon and never loved. In Windows 7, I run a couple of other supplements that restore the XP the taskbar properly use, so you can work efficiently.
None of the supplements are causing this problem because I was running the same classic Menu Add-in in the XP box and he had the same problem until I found workaround that I don't remember now.
Everyone knows about this problem?
Jeff Lynch
Hello Jeff,.
Please contact the Microsoft community.
As the Windows 7 computer is under the corporate network environment, the issue that you are facing is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public.
Please post your question in the TechNet Forum.
Hope the information above has been a useful answer, Mercia back to us if you respect them more.
-
Why "bgp bestpath missing-as-worst med" command does not produce the desired result?
Can dear all, someone tell me why "bgp bestpath missing-as-worst med" command does not produce the desired result?
And I use GNS3 to this practice, the IOS Version: 12.4 (3)
TKS...Back to the beginning:
192.168.23.0/24 192.168.12.0/24
RA(F0/0)-(f0/0) RB (s2/0) - RC (s2/0)
[AS1] [AS2] [AS3]Configuration:
* RA *:
A #do sh run (config - router). b r b
router bgp 1
no synchronization
The log-neighbor BGP-changes
1.1.1.0 netmask 255.255.255.0
192.168.12.2 neighbor remote-2
setmed map of nearby route 192.168.12.2 out
No Auto-resumeIP route 1.1.1.0 255.255.255.0 Null0
setmed allowed 10 route map
the metric value 20* RB *:
B (config - router) #do sh run | b r b
router bgp 2
no synchronization
BGP always-compare-med
The log-neighbor BGP-changes
BGP bestpath missing-as-worst med
neighbor 192.168.12.1 distance-1
neighbour 192.168.23.3 distance-3
No Auto-resume* RC *:
C (config - router) #do sh run | b r b
router bgp 3
no synchronization
The log-neighbor BGP-changes
1.1.1.0 netmask 255.255.255.0
neighbour 192.168.23.2 distance-2
No Auto-resumeIP route 1.1.1.0 255.255.255.0 Null0
But when I checked out table RB bgp, as below:
B (config - router) #do sh ip bgp
BGP table version is 2, local router ID is 192.168.23.2
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* > 1.1.1.0/24 192.168.23.3 0 0 3 I
* 192.168.12.1 20 0 1 iThe prefix is assigned a MED of 0, but also the best path value when I use "bgp bestpath missing-as-worst med" in how to configure bgp... :-(
Please take a look at the discussion on the configuration of drugs to an eBGP neighbor:
https://supportforums.Cisco.com/thread/343397?TSTART=0
Note that BGP MED is set to 0 even if the injected BGP route from a connected route.
The first time I came across this problem sending MED was there in a picture of 5-6 years service provider. Routes were injected into BGP with the command 'network', has been validated by OSPF routes or static to null0. Involuntary consignment of drugs was mess with load balancing between 2 links of our inbound traffic from the same upstream service provider.
Also note that if a route is learned via iBGP, border router removes MED before the road to advertising for an eBGP peers (i.e. the above comments apply a when a route is injected locally into the border and then router BGP sent to an eBGP peer).
I don't know what the cause of the problem that you said in your last post. It delivers last for a long time or that it does not change after a while?
p.s. Sorry, I edited post because I said "iBGP" instead of "eBGP" at some point.
-
Run query does not return a lines
Hello
I find that the Executequery code does not return everything.
{
pageContext.writeDiagnostics (this, "connection entry-front connection", 1);
Connection Conn = pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
pageContext.writeDiagnostics (this, "connection entered" & conn, 1);
pageContext.writeDiagnostics (this, "input connection [AJ]" & conn, 4);
Dim Query = "select CODE a.secondary_uom_code, (select b.unit_of_measure from MTL_UNITS_OF_MEASURE b where b.uom_code = a.secondary_uom_code) GLU, xxtmxc_primary_selling_suom (: 3, a.inventory_item_id) ' PSUOM from mtl_system_items_b where a.inventory_item_id =: 1 and a.organization_id =: 2 and a.secondary_uom_code is not null ';"
'UNION select 'OUR' CODE, UOM 'Number', 10 double PSUOM;
String query = "" select secondary_uom_code CODE of mtl_system_items_b where inventory_item_id =: 1 and organization_id =: 2 and secondary_uom_code is not null '; "
pageContext.writeDiagnostics (this, ' [AJ] after the query string", 4");
pageContext.writeDiagnostics (this, "message query" + Query, 1);
PreparedStatement stmt = conn.prepareStatement (Query);
pageContext.writeDiagnostics (this, "prepared statement Post" + stmt, 1);
stmt.setString(1,Item); ver1
stmt.setString(2,Org); ver1
stmt.setInt (3, Dis.intValue ());
stmt.setString(3,Dis);
stmt.setInt (3, Ext.intValue ());
stmt.setString (3, Ext); ver1
pageContext.writeDiagnostics (this, "Post Ext after SetString" + Ext, 1);
ResultSet resultset = stmt.executeQuery ();
pageContext.writeDiagnostics (this, "Resultset" + resultset, 1);
If (resultset.next ())
for (ResultSet resultset = stmt.executeQuery ();)
ResultSet.Next ();)
While (resultset.next ())
{
String code = resultset.getString ('CODE');
String uom = resultset.getString ("UOM");
String psuom = resultset.getString ("PSUOM");
row.setAttribute ("UomCode", code);
row.setAttribute ("UnitOfMeasure", GLU);
row.setAttribute ("LineAdjustedPercent", psuom);
pageContext.writeDiagnostics (this, "secondary UOM" + resultset.getString ('CODE') + resultset.getString ("UOM") + resultset.getString ("PSUOM"), 1);
pageContext.writeDiagnostics (this, "secondary UOM" + row.getAttribute ("UomCode") + row.getAttribute ("UnitOfMeasure"), 1);
pageContext.writeDiagnostics (this, "LineAdjustedPercent" + row.getAttribute ("LineAdjustedPercent") + "PSUOM" + resultset.getString ("PSUOM"), 1);
}
ResultSet.Close ();
stmt. Close();
}
catch (SQLException sqle)
{
throw new OAException ("error in query Preparation" + sqle, OAException.INFORMATION);
}
pageContext.writeDiagnostics (this, ' [AJ] after try-catch: ", 4");
}
}
}
}
Hi Bobo,
I tried the same requirement in my local instance and changed the code for you.
Please check process requires working Code of the form below:
' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
OAViewObject QuoteLinesLevel70VO1Obj1 = (OAViewObject) pageContext.getApplicationModule (webBean) .findViewObject ("QuoteLinesLevel70VO1Obj");
if(QuoteLinesLevel70VO1Obj1!=null)
{
If (QuoteLinesLevel70VO1Obj1.GetCurrentRow ()! = null)
pageContext.writeDiagnostics (this, "Current Row" + QuoteLinesLevel70VO1Obj1.getCurrentRow () .getAttribute ("UomCode"), 1);
}
pageContext.writeDiagnostics (, "concluded Save Button", OAFwkConstants.STATEMENT);
If ("Event.Go".equals (pageContext.getParameter (OAWebBeanConstants.EVENT_PARAM)))
{
OAViewObject QuoteLinesLevel70VO1Obj = (OAViewObject) pageContext.getApplicationModule (webBean) .findViewObject ("QuoteLinesLevel70VO1Obj");
if(QuoteLinesLevel70VO1Obj!=null)
{
pageContext.writeDiagnostics (thie, 'enter in Count' + QuoteLinesLevel70VO1Obj.getFetchedRowCount (), 1);
int count = QuoteLinesLevel70VO1Obj.getFetchedRowCount ();
RowSetIterator Iter = QuoteLinesLevel70VO1Obj.createRowSetIterator ("Iter");
{if(Count>0)}
Iter.setRangeStart (0);
Iter.setRangeSize (count);
for (int i = 0; i)<>
{
OAViewRowImpl row = (OAViewRowImpl) Iter.getRowAtRangeIndex (i);
If (row.getAttribute ("InventoryItemId")! = null & row.getAttribute ("OrganizationId")! = null)
{
String Item = row.getAttribute("InventoryItemId").toString ();
String Org = row.getAttribute("OrganizationId").toString ();
Number say = (Number) row.getAttribute ("LineAdjustedPercent"); LineAdjustedPercent
Dim Ext = (String) row.getAttribute ("Attribute1");
int item1 is Integer.valueOf (Item) .intValue ();. Converted entire string
int Org1 is Integer.valueOf (Org) .intValue ();. Converted entire string
Try
{
pageContext.writeDiagnostics (this, "connection entry-front connection", 1);
Connection Conn = pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
pageContext.writeDiagnostics (this, "connection entered" & conn, 1);
pageContext.writeDiagnostics (this, "input connection [AJ]" & conn, 4);
String query = "select xxtmxc_primary_selling_suom(:1,a.inventory_item_id) PSUOM from mtl_system_items_b where a.inventory_item_id =: 2 and a.organization_id =: 3"; Index link //Changed
pageContext.writeDiagnostics (this, ' [AJ] after the query string", 4");
pageContext.writeDiagnostics (this, "message query" + Query, 1);
PreparedStatement stmt = conn.prepareStatement (Query);
pageContext.writeDiagnostics (this, "prepared statement Post" + stmt, 1);
Item1 is Integer.valueOf (Item) .intValue ();. Converted entire string
ORG1 = Integer.valueOf (Org) .intValue (); Converted entire string
pageContext.writeDiagnostics (this, "Param1 all" + item1, 1);
pageContext.writeDiagnostics (this, "Param2 all" + Org1, 1);
pageContext.writeDiagnostics (this, "Param3 all" + Ext, 1);
stmt.setString(1,Ext);
stmt.setInt(2,item1); ver1
stmt.setInt(3,Org1); ver1
pageContext.writeDiagnostics (this, "Post Ext after SetString" + Ext, 1);
for (ResultSet resultset = stmt.executeQuery (); resultset.next ();) //Used for loop in Resultset
{
String psuom = resultset.getString ("PSUOM");
pageContext.writeDiagnostics (this, "[AJ] z:" + psuom, 4 "); //Here we got the value of the function
pageContext.writeDiagnostics (this, "m [AJ]:" + Ext, 4);
}
stmt. Close();
}
catch (SQLException sqle)
{
pageContext.writeDiagnostics (this, ' [AJ] with the Exception: "+ sqle.getMessage (), 4");
throw new OAException ("error in query Preparation" + sqle, OAException.INFORMATION);
}
pageContext.writeDiagnostics (this, ' [AJ] after try-catch: ", 4");
}
}
}
}
super.processFormRequest (pageContext, webBean);
}
}Thank you
Dilip
-
First module (bibliothek in German) does not work, no possible synchronization. Does anyone know this problem? All solutions? Elmar Greeez
Hi elmarb,
Could you please explain more about the subject. You are not able to sync from the Office of Lightroom for Lightroom Mobile.
Or
You not be able to synchronize the development set on several images.
Kind regards
~ Mohit
-
I have iphone5s and my contact id does not work, all the time he show faild Setup touch id please help?
Hi yjain51,
I understand you had some problems recently with getting Touch ID to work reliably on your iPhone 5s. I know that it is a feature of great security for your iPhone, so I'm happy to help you.
When you use Touch ID, make sure that your hands are free of any dirt or moisture so that fingerprints can be read clearly. This article explains further:
Use the ID Touch on iPhone and iPad - Apple Support
Thank you for using communities Support from Apple. See you soon!
-
When I return from the page of google search for a link then button does not return return
When I return from the page of google search for a link, then button does not return back. Instead, the same page refills. I need to go back click back button twice or even more. How to fix? I cheked it it another browser and there is no such behavior. It seems completele Firefox problem.
the problem was resolved after remooving extenshion «user agent overrider»
Maybe you are looking for
-
Downloaded Firefox 38.0.1 and now edit/search does not work.
The Question above about nearly everything. I downloaded Firefox 38.0.1 (I'll never learn) and now edit/search does not work. The search at the bottom of my screen bar disappeared and clicking on EDIT and SEARCH does nothing. Also, Ctl - F does nothi
-
Satellite M40-110: yellow strips on both sides of the screen
I noticed two bright, almost yellow bands on the left and right of the screen. Is something wrong with my LCD? Should I send my laptop (M40-110) at the technical service of Toshiba?
-
can not backup windows because: Backup has encountered a problem during backup of the C:\Users\marcel\Documents\Youcam file. Error: (the system cannot find the specified file. (0 x 80070002))Backup has encountered a problem during backup of the C:\Us
-
I have a Rebel xti. I thought best to upgrade the lenses before buying new camera body. L-series lenses work effectively with xti?
-
BlackBerry Smartphones BlackBerry Apps Wolrd Orange Switzerland?
Hello, sorry I don't speak English, I can't installed app world on my BlackBerry 8520 Curve despite the active Blackberry service. beaucoup try I chose, call my time in Orange (Switzerland) he knows nothing apart tell me that my service is active don