VPC Type-2 inconsistency problem
Hi there.
Now I'm facing Type-2 inconsistency problem. I don't know what's the problem.
Here is the output.
what should i do to fix this ?
Thank you in advance : )
[7K_1]
switch# show vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 inconsistency reason : Consistency Check Not Performed
vPC role : secondary
Number of vPCs configured : 1
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
vPC Peer-link status
id Port Status Active vlans
1 Po1 up 1,101
vPC status
id Port Status Consistency Reason Active vlans
10 Po10 up success success 1
switch#
switch# show vpc consistency-parameters global
Legend:
Type 1 : vPC will be suspended in case of mismatch
Name Type Local Value Peer Value
STP Mode 1 Rapid-PVST Rapid-PVST
STP Disabled 1 None None
STP MST Region Name 1 "" ""
STP MST Region Revision 1 0 0
STP MST Region Instance to 1
VLAN Mapping
STP Loopguard 1 Disabled Disabled
STP Bridge Assurance 1 Enabled Enabled
STP Port Type, Edge 1 Normal, Disabled, Normal, Disabled,
BPDUFilter, Edge BPDUGuard Disabled Disabled
STP MST Simulate PVST 1 Enabled Enabled
Allowed VLANs - 1,101 1,101
Local suspended VLANs - - -
switch#
switch# show port-ch sum
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
M - Not in use. Min-links not met
Group Port- Type Protocol Member Ports
Channel
1 Po1(SU) Eth NONE Eth3/1(P) Eth3/2(P)
10 Po10(SU) Eth LACP Eth3/11(P)
switch#
switch# sh vlan
VLAN Name Status Ports
1 default active Po1, Po10, Eth3/1, Eth3/2
101 VLAN0101 active Po1, Eth3/1, Eth3/2
VLAN Type Vlan-mode
1 enet CE
101 enet CE
Remote SPAN VLANs
Primary Secondary Type Ports
switch#
[7K_2]
switch# sh vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 inconsistency reason : Consistency Check Not Performed
vPC role : primary
Number of vPCs configured : 1
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
vPC Peer-link status
id Port Status Active vlans
1 Po1 up 1,101
vPC status
id Port Status Consistency Reason Active vlans
10 Po10 up success success 1
switch# show vpc consistency-parameters global
Legend:
Type 1 : vPC will be suspended in case of mismatch
Name Type Local Value Peer Value
STP Mode 1 Rapid-PVST Rapid-PVST
STP Disabled 1 None None
STP MST Region Name 1 "" ""
STP MST Region Revision 1 0 0
STP MST Region Instance to 1
VLAN Mapping
STP Loopguard 1 Disabled Disabled
STP Bridge Assurance 1 Enabled Enabled
STP Port Type, Edge 1 Normal, Disabled, Normal, Disabled,
BPDUFilter, Edge BPDUGuard Disabled Disabled
STP MST Simulate PVST 1 Enabled Enabled
Allowed VLANs - 1,101 1,101
Local suspended VLANs - - -
switch#
switch# sh run vpc
!Command: show running-config vpc
!Time: Tue Nov 25 07:48:04 2014
version 6.1(2)
feature vpc
vpc domain 1
peer-keepalive destination 1.1.1.1
interface port-channel1
vpc peer-link
interface port-channel10
vpc 10
switch#
switch# show port-ch summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
M - Not in use. Min-links not met
Group Port- Type Protocol Member Ports
Channel
1 Po1(SU) Eth NONE Eth3/1(P) Eth3/2(P)
10 Po10(SU) Eth LACP Eth3/11(P)
switch#
5K
switch# sh vlan
VLAN Name Status Ports
1 default active Po1, Po10, Eth3/1, Eth3/2
101 VLAN0101 active Po1, Eth3/1, Eth3/2
VLAN Type Vlan-mode
1 enet CE
101 enet CE
Remote SPAN VLANs
Primary Secondary Type Ports
switch#
Hi, as you can see from the output of "show vpc" the Type-2 consistency check not performed. It is probably due to you have not configured any type-2 consistency check related features on your devices that would triggers the type-2 inconsistency check to perform.
You can read more about type-2 consistency parameters here:
www.cisco.com/c/dam/en/us/td/docs/switches/datacenter/sw/design/vpc_design/vpc_best_practices_design_guide.pdf
Regards,
Peter
Similar Messages
-
Data inconsistency problem TABLES: VBUK/VBUP vs VBAK/VBAP
Hi,
I have the fun task of trying to solve a data inconsistency problem caused by a faulty network connection between R/3 and our SQL server.
To add to the fun my knowledge of the outbound systems is pretty close to zero.
Apparently our warehouse was booking stock and after booking they process the STO NO in VL10B.
While posting the outbound in VL02n some of the lines did not generate.
So they deleted the outbound and tried again.
After they finished playing around and our connections acted funky, I now have data for the outbound in tables VBUP/VBUK (Outbound status tables), but seemingly nowhere else.
There is no data in ekpo, lips, vbak or vbap.
So the question is:
How on earth do I get rid of these entries safely, or otherwise try to generate the missing data?
Just changing the statuses to completed did not work as they end up having problems when trying to pick more stock on articles that had entries on the missing outbound.
Any other ideas?
What other tables do I need to check for entries?
Thanks
Charl
Message was edited(typos) by:
Charl HoltzhausenHi,
With the help of SAP we solved the problem.
Apart from VBUP/VBUK there was data in table VBBE (stock movement).
Deleting the entries in these cleared the problem.
It was important to check that further STOs were not adversely affected, which it seems it was not.
Regards -
Why do external forms that I open (usually attached in an email) have all type of color problems. I usually cannot even read the document
Hi,
What is the exact name of the desktop app you have? Is it "Acrobat Reader DC", "Acrobat Pro DC" or "Acrobat Standard DC"?
(Previously, your question was posted to the wrong forum - the Reader/Acrobat DC mobile forum.)
If you have the paid product ("Acrobat Pro DC" or "Acrobat Standard DC"), you can contact Adobe Customer Care.
Contact Customer Care
If you have the free product ("Acrobat Reader DC"), Adobe Customer Care will redirect you to the user forum like this one. You just need to wait for someone (who is an experienced user but not necessarily an Adobe employee) to answer your question in the right user forum.
You may also try looking for answers for the same or similar problems by Google search. -
Data format inconsistency problem on Discoverer 4i plus and Desktop 4.1
I encountered 'data format inconsistency' problem when using
Discoverer 4i plus web version vs Desktop version 4.1 to run the
same report :-
The result returned by Desktop version is as following:-
Employee Count Percent Employee Count
Mgt 202 18%
Occ 891 81%
Other 1 0%
Percent 1094 100%
The result returned by 4i web version is like the following:-
Employee Count Percent Employee Count
Mgt 202 18%
Occ 891 81%
Other 1 0%
Percent 109400% 100%
Pls note that the Employee count column is 1094 in Desktop
version whereas in web version it's 109400%
After I export the data to Ms Excel, I obtained below result :-
Employee Count Percent Employee Count
Mgt 202 0.184644
Occ 891 0.814442
Other 1 0.000914
Percent 1094 1
I would like to know if this is Oracle Discoverer bug or it's a
known issues ?
Pls advise.
Thanks in advance.Hi Discoverer Technical Team,
Could u pls response to that issue ?
Thanks and regards. -
SD Variant configurator ( VC ) - inconsistency problem
Hi everybody,
It appears me some troubles with VC when I try to set value for particular feature again.
I have inconsistency fault when I try to change the value by calling FM 'CUOV_SET_FUNCTION_ARGUMENT' from configuration profile but it was set manually by user first (in standard VC window).
Both values of feature are correct (old and new).
Error looks like :
E: Inconsistent values inferred for characteristic (here is number of characteristic)
and next in details:
The following values are incompatible with each other:
(here is old value)
(here is new value)
I will be greatful if anybody has an idea how to solve it.
BR
TomasKen, thanks for your answer.
Let me know you, that this inconsistency problem exits in case when I try to overwrite feature value by FM I mentioned, and this value was set manually first only ( VC window)
If I try to owerwrite the feature manually (using the same value) - there is OK.
I suppose, I should in "any way " clear values which was set manually first, or change "something" in SAP Variant Configurator what let me change priority and allows overwrite value by FM which was set first manually ( in VC window) . But I have no idea how to do it...
Thanks and Regards
Tomas -
Data slice inconsistency problem with hierarchy nodes
Hi Experts,
We want to lock planning tables from function. We create the appropriate data slices but there are problems with (material group) hierarchy nodes.
If I give the node as input variable to the function it causes inconsistency in the data slice. If I choose and add this node to the lock in modeler, the problem is the same.
We are using the following variables to create a data slice:
0VERSION
0VTYTYPE
0COMP_CODE
ZGRMAT (developed material group)
Z_YEARCR (developed yera created)
The problem also exist if I set an another type of node e.g. destination country (0RECIPCNTRY) instead of material group.
For me, the problem seems to be generic.
Do you have any idea?
Many thanks in advance
PeterThere is a note related to this proble:
Note 1070608 - Lowflag field is not valid
The implementation of this note resolves the problem.
Peter -
Nexus 5548UP VPC and/or VRRP problem
Hi, I have two 5548UP + L3 card with LAN_ENTERPRISE_SERVICES_PKG and FC license.
This two Nexus are the core of my network.
Eight stacks of 2960S are connected to both NX with an etherchannel formed by two SX-1G or two SR-10G.
I've checked the conf and maked a lot of test and everything works fine. BUT, two days after the people start working on the new building, about half of the PC don't even reach the default gateway. (Nexus VRRP)
I've turned off VRRP and it works for minutes.
The problem disappear if I shutdown one of the links to NX01 or NX02.
I followed the destination MAC of one PC with the problem and the ARP table looks OK but I guest the problem is related with a corruption in the ARP table anyway.
system image file is: bootflash:///n5000-uk9.5.2.1.N1.1a.bin
Thanks in advance!
Guido./
interface Vlanxx
no shutdown
ip address 10.xx.xx.1/24
ip ospf passive-interface
ip router ospf 1 area 0.0.0.0
ip dhcp relay address xxxxx
vrrp 80
address 10.xx.xx.1
! Actualy is in shutdown
interface port-channel55
switchport mode trunk
switchport trunk allowed vlan 1-300,303-4094
ip dhcp snooping trust
speed 10000
vpc 55
interface port-channel111
switchport mode trunk
switchport trunk allowed vlan 1-224
ip dhcp snooping trust
spanning-tree port type network
speed 10000
vpc peer-linkLooks like you have configured same IP on physical and for standby. is this typo or configured on device ?
!----------- NX01 ----------------------------------------------
interface Vlan80
no shutdown
ip address 10.xx.80.1/24
ip ospf passive-interface
ip router ospf 1 area 0.0.0.0
ip dhcp relay address xxxxx
vrrp 80
address 10.xx.80.1
! Actualy is in shutdown
!----------- NX02 ----------------------------------------------
!NX02
interface Vlan80
no shutdown
ip address 10.xx.80.2/24
ip ospf passive-interface
ip router ospf 1 area 0.0.0.0
ip dhcp relay address x
vrrp 80
address 10.x.80.1
Also -Peer Gateway : Disabled
Optional but can be turnon to make both in forwarding mode.
Thanks
Ajay -
I Cannot Print From Photoshop CC, Performance is SLOW and TYPE causes a problems.
Hi!
To start, I have noticed HUGE bugs with Photoshop CC on multiple levels on different computers with different setups.
Computer one
Print Issues: I am getting this error message "The saved printer information is not compatible with this version of photoshop, or the saved printer is no longer available. You will need to check your printer settings before printing" and "The saved print information is an incompatible version. It has been set to default values.". I have tried deleting the pref file, updating the printer driver, checking print logs and computer updates. All are up to date and running well. When I hit print, the dialog box comes up but will not allow me to change ANYTHING. So I can only print on an 8.5x11. However if i go into the actual printer preferences and change the default settings there, then go to photoshop and print it will allow me to the size I set the defaults at. I can print from any other program without an issue and I did not have any such problems with CS6. What other causes could be the cause of this and what are your suggestions to fix this? It seems to be a Photoshop bug, which is what I have been reading a lot of. I work off a Dell, windows 8.1 64bit. I would LOVE to downgrade to CS6 but cannot once I upgraded to CC. I did not have this problem when I first upgraded and for a few weeks after.
Performance and Font Issues: This seems(ed) to go hand and hand. But also performance happens more sporadically for some odd reason. The CPU usage and MEMORY went to 100% and photoshop was using 1,860.2 sometimes spiking to 4,000 MB of memory. I searched all the forums and found that my photoshop was not liking a specific font. I removed the font and things started moving faster. Then a few minutes later, it started to lag again with the same type of CPU and MEMORY spike. I then did more research and found that turning off the font preview has helped, so I turned off that. Photoshop started to work A LOT faster, no lag and seemed to function correctly. The 2 weeks ago, I started to experience the lag again (but without the CPU and MEMORY spike) and with only opening certain files to which none had any fonts that Adobe has said doesn't work with photoshop. I then researched again and found that again, the fonts preview when hoovering over the fonts and having the fonts change in the document was giving issues. Alass...there was my issue, again with the fonts. I then did all the research and did what the forums said such as, try using a brand new doc and create a file with out any of the fonts in the old doc to cause conflicts. NOPE. I was having issues in the new doc and getting this error "Could not complete your request because of program error" then photoshop would lock up because of CPU and MEMORY spike.
Computer two:
Same issue as computer one's Performance and Font Issues.
Now, I am no programmer nor do I understand that complexity of what goes in to create these programs, but EVERY ADOBE forum I have read will not admit it's a font issue or that there is a problem with the fonts, BUT my WEEKS of issues and research all keep coming back to FONTS when dealing with performance issues. So how can we get a fix on the fonts issue asap as my team nor I cannot work in the current photoshop because of performance issues?
A quick response would be much appreciated!
Thank you much!
UPDATE: I received a phone call from ADOBE and they said to me that they could send me a CS6 version that i wouldn't have to pay for and would also "Solve My Problem". I said, no thank you being that I have the CC and have access to ALL the programs, so that actually doesn't solve my problem or the overall problem of the CC program. So they escalated my problem and will have someone else respond to me as soon as possible.
Message was edited by: Boh Phillips at 2:38 pmQuite frankly that’s too much text for me to read in one post … (edit: So consider this more of a bump of the thread than an actual attempt at helping.)
What have you done for trouble-shooting so far?
Troubleshoot fonts | Photoshop CC 2014, CC, CS6, CS5
http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
Optimize performance | Photoshop CS4, CS5, CS6, CC -
PO Output Type / Processing Routine Problem
Hello everyone,
I cannot seem to find any reference to the problem described below.
I have encountered a problem by migrating from SAPFM06P to SAPLMEDRUCK during an ECC 5.0 upgrade, at a client where I am under contract as an ABAP Developer.
Here is some background to the situation. The client is currently migrating from version 4.6C to 5.0 and thought it was a good idea to upgrade their purchase order messaging programs from the outdated SAPFM06P, which was utilized in version 3.x, to the newer program SAPLMEDRUCK implemented for use in version 4.6.
Specifically, Message Output (ME9F) controls the output of purchase order messages in foreground, when the purchase order message is saved and the "further Data option" of the PO message contains "requested processing" equal to the value of "send with application own transaction". This way, the actual messaging can be controlled in foreground and "breakpoints" can be set to display tables and fields. Behind the scenes, the message status program RSNAST00 is executed by ME9F program RM06ENDR_ALV. During this execution, it locates the message (NAST) record from the purchase order and the (TNAPR) configuration, which links the output type to the ABAP print program and SAPscript layout set. The specific problem is: in RSNAST00, the external call perform "PERFORM (TNAPR-RONAM) in PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN IF FOUND" does not pass NAST information to the called program (TNAPR-PGNAM). I know no NAST table information is passed because I set a break-point on the perform and single step to the print program. Therefore, the purchase order is unknown by the print program (TNAPR-PGNAM) and results in an error and no purchase order print is provided. Needless to say, this was tested with a new "Z" version of SAPLMEDRUCK. So, I changed the program name (output type processing routine) in configuration to SAPLMEDRUCK, but there again the NAST information is not passed to the print program from RSNAST00. Ironically, I reverted back to the older "z" version of SAPFM06P and NAST and TNAPR information is passed to the print program thru the external call perform quoted above. I prefer to not modify the SAP original code for RSNAST00, which is used in many other applications.
One other note, I had previously performed this maneuver on one different occasion with very successful results.
Has anyone ever encountered this problem in a 5.0 environment (running Windows NT and MSSQL and SAP BASIS 6.4).
I know this is long winded, but I wanted to explain the background of the entire situation.
Any and all help would be appreciated. Thanks in advance,Dave,
Your entry points (like form ENTRY_NEU) should remain in your current version of SAPFM06P. Change that form to reflect the function calls in the new SAPLMEDRUCK form (ENTRY_NEU) (calls to ME_READ_PO_FOR_PRINTING and ME_PO_PRINT.
Look at the example below:
Here is the form in your old (Z) version of SAPFM06P:
FORM ENTRY_NEU USING ENT_RETCO ENT_SCREEN.
XSCREEN = ENT_SCREEN.
IF NAST-AENDE EQ SPACE.
XDRUVO = '1'.
ELSE.
XDRUVO = '2'.
ENDIF.
CLEAR: XFZ, XOFFEN, XLMAHN, XLPET.
*- Anstoß Verarbeitung -
CLEAR ENT_RETCO.
PERFORM LESEN USING NAST.
MOVE RETCO TO ENT_RETCO.
ENDFORM.
Here is form entry_neu in your new (Z) version of SAPFM06P:
INCLUDE FM06PE02 *
form entry_neu using ent_retco ent_screen.
data: l_druvo like t166k-druvo,
l_nast like nast,
l_from_memory,
l_doc type meein_purchase_doc_print.
clear ent_retco.
if nast-aende eq space.
l_druvo = '1'.
else.
l_druvo = '2'.
endif.
call function 'ME_READ_PO_FOR_PRINTING'
exporting
ix_nast = nast
ix_screen = ent_screen
importing
ex_retco = ent_retco
ex_nast = l_nast
doc = l_doc
changing
cx_druvo = l_druvo
cx_from_memory = l_from_memory.
check ent_retco eq 0.
call function 'ME_PRINT_PO'
exporting
ix_nast = l_nast
ix_druvo = l_druvo
doc = l_doc
ix_screen = ent_screen
ix_from_memory = l_from_memory
ix_toa_dara = toa_dara
ix_arc_params = arc_params
ix_fonam = tnapr-fonam "HW 214570
importing
ex_retco = ent_retco.
endform.
Remember, the form should be in the Z version of SAPFM06P - not the Z version of SAPLMEDRUCK. Make sure the configuration (TNAPR) has the SAPFM06P program name and entry point.
It should work. Let me know how it goes.
Rick -
Smartform Table Line types duplicate entries problem
Hi ,
I am getting one strange problem in Smartforms. i tried for information in SDN but i did not get any usefull ones.
I have created my main window with particular width. I created two different Line types. On particular condition i need use these line types.
First line item will have 6 columns in that one column is empty.
Second liitem will have 5 columns.
When i am generating the output, the last item data of the first line type is repeating twice, i.e with first line type and the second line type.
Can anyone give me the inputs to solve this.
Thanks,
Srinivas BhavanamDid you check SAP notes?
I don't understand what you get exactly:
For the last line of the internal table, you would like to get this:
A B C D E F
G H I J K
But you get that:
A B C D E F
A B C D E F
Did I understand correctly?
Did you use something special? (header, footer, conditions, ...) -
Hello, I'm working on a C#.net app.This is a machine interfacing software , where we use it to control the machine by interacting with it through hardware.The software works fine on all the machines that we have in our company, but fails to open on client's machine.We have Windows XP, Windows 7 (32-bit as well as 64-bit) and the s/w just works smoothly with all of them.Tried checking event log and found this:Log Name: Application
Source : Windows Error Reporting
Date: 30/10/2014 3:07:59 p.m.
Event ID : 1001
Task Category : None
Level : Information
Keywords: Classic
User: N / A
Computer: Pro01PC14101401
Description:
Container 123123135 error type 22
Event Name : Event clr20r3 by Name: clr20r3
Answer: Not available Answer : Not available
CAB ID : 0
Signature of the problem:
P1: vms.exe
P2: 1.2.0.2
P3: 5413cdea
P4: mscorlib
P5: 2.0.0.0
P6: 53a12268
P7: c44
P8: 59
P9 : System.FormatException
P10 :
Attachments:
C: \ Users \ PRO01 \ AppData \ Local \ Temp \ WERB9F0.tmp.WERInternalMetadata.xml
These files may be available here:
C:\Users\Pro01\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_vms.exe_94a436e347f991c21f9b4ed832169b677b88870_0e18144f
Analysis symbol :
New search solution : 0
Report ID : 18edc5d1-603e - 11e4-90e2-74d435f64282
Report Status : 0PLEASE NOTE: THE OS is WINDOWS 7 and IS IN FRENCH LANGUAGE AT CLIENT'S MACHINE WHEREAS WE ARE USING ENGLISH VERSION IN OUR COMPANY. Will it create any problems OR can it be something else?Please Help.@Niranjan_v ,
I forget to ask whether your client machine means only one machine have this error?
If you have the problem on a specific machine, then please use this tool
.NET
Framework Setup Verification Tool User's Guide - Aaron Stebner's WebLog - Site
Home - MSDN Blogs
Please run this tool and choose .NET Framework 3.5 from program list of the tool and give us the output of this tool. The last few lines will tell you whether the machine has installed .NET 3.5 successfully or not. If verification failed, try use sfc /scannow
to repair this system component.
If you have this problem on more than one client machine. Then you may need to check whether you missed some package on your client machine. Or there are some software prevent your application to install.
Regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
File type/quicktime/streaming problem
I use a stock trading app (thinkorswim) that links to a CNBC streaming video. Before I upgraded to Snow Leopard, when I'd click the link, VLC (a third party video app) would open and start streaming the video. Now when I click it, I get an error message saying "QuickTime Player must be installed to run this application."
I think this is a file type issue. If the video was a static file, I'd do a Get Info on it and tell it to open in VLC. But it's a streaming video triggered from another app, so I don't know how to make it work.
Any suggestions?I have the same problem. Was using Flip4MAC and have also tried Flip4MAC Beta which is supposed to work on Snow Leopard.... No Soap. If you have any responses from other places, I'd like to know.
-
ComboBox [type Function] XML problem
What I'm trying to accomplish is populating a ComboBox
component's labels and data using an Array that's created from an
XML data source. I know that I can populate the ComboBox in
ActionScript using this:
comboBox.labels = ["itemA",'itemB","itemC"];
-OR-
var cbArray:Array = ["itemA",'itemB","itemC"];
comboBox.labels = cbArray;
However, I'm running into problems when the Array is created
from my XML datasource, like this:
for (var g:Number = 0; g < aChildren.length; g++) {
var aItem:String = aChildren[g].firstChild.firstChild;
cbArray.push(aItem);
comboBox.labels = cbArray;
trace(cbArray);
I've left all of the XML details (load, onload, etc.) because
I don't think that the problem is there. In my example, when I test
the movie, the trace(); function displays the correct info, but the
comboBox component is populated only with an identical number of
instances:
[type Function],[type Function],[type Function],[type
Function],[type Function]...
I couldn't find a thread anywhere with my particular problem.
Any ideas?I'm answering my own question. Hopefully someone will still
benefit from it being here. Someone I work with is a JavaScript
guru type and he worked through this with me. For some reason, the
aItem variable isn't being perceived as a string. So, the solution
I found was to alter the code here:
var aItem:String =
aChildren[g].firstChild.firstChild.toString();
This fixed my problem. -
Inconsistency problem with Image preview using ImageServlet -JSP
I have a Servlet that reads Images ( JPG) from file system and sends bites to response,
Code works fine and I can see the Image, Problem is that it is very Inconsistent sometimes I can see image and sometimes I see the red X mark instead of image,
if I refresh the page wih shift key holding, the image shows up.
when the image was obsent I can right click the image and go to properties and see the image path and it was correct.
any one has similar experiences with Images before ?
Servlet code follows.
File f = new File(imgPath);
BufferedInputStream in = new BufferedInputStream(new FileInputStream(f));
// Set all the required header information
response.setContentType("image/gif");
response.setContentLength((int)f.length());
response.reset();
response.resetBuffer();
BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
byte[] buf = new byte[1024];
int nRead;
while( (nRead=in.read(buf)) != -1 ){
out.write(buf,0,nRead);
/ Close up all our resources
out.flush();
in.close();
response.flushBuffer();JSP code in pieces.
<% response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", -1);
response.setHeader("Pragma", "no-cache");
response.addHeader("Cache-control", "no-store");
response.addHeader("Cache-control", "max-age=0");
%>
<html:html>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</head>
<body>
<img src="<%=request.getContextPath()%>/imageServlet?imgType=badge&imgName=<bean:write name='badge' property='name'/>" width="136" height="136" alt="" border="0">
</body>
<head> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> </head>
</html:html>Thanks
NarendraHi Peter,
Thanks for your e-mail.And sorry for late.
I have changed my activex server in my labview programme.Current
server name is XVideoOCX.I have attached 1 example.Still I am facing
the same problem that I am not getting disply from more than 1 web
cam.So would you be able to advice me,what should I do regarding this
matter.
Actually,This is a part of my M.Sc project.I am under pressure.Peter,Please do me this fevour.
Thanks
Kabir
1 eample from help file:
Video Disply
1. Choose the input mode (Video, Single Image Files, Screen, etc.)
XSetInputMode(0) // This
chooses video as input
2. Choose the video device
XSetVideoInput(0) //
Choose the first available video input device
3. Initialize XVideoOCX
XInit() // Initialize
XVideoOCX
4. Start internal video capture
XStart()
now XVideoOCX should display the live video
5. Stop internal video capture
XStop()
6. Close XVideoOCX
XClose()
Kabir mamun
PhD Student,DCU
[email protected]
www.iward2010.blogspot.com
Attachments:
ax2.vi 23 KB -
Urgent – QuarKXpress 8 and Type 1 Font Problem Under 10.6
Hi,
I'm currently using Mac OS X 10.6 with QuarkXpress 8.1.6. on a Mac Pro.
When I open a document created in QuarkXpress 7.5 in QuarkXpress 8.1.6, some of the text is not flush with the top of its text box. It seems to have moved down by a millimetre or two. Also, when I copy text boxes that appear to be correct and paste them into a new page layout, the same problem occurs, where the text again appears to have moved down within its text box. Some older files created in QuarkXpress 6.5 seem to open okay.
*The QuarkXpress known issues page says the following: Mac OS 10.6 only – Due to a change in Apple's APIs, text that uses Type 1 fonts may display increased vertical spacing when you open a project in Snow Leopard.*
I've spoken to Quark's technical support team who have advised me to update my OS to version 10.6.3. to see if this corrects the problem.
Does anyone have the same issues and will updating to Mac OS X 10.6.3 correct the problem? If not, I'm in a bit of a predicament.
As usual, any advice would be great – thanks!Caveat to this post:
I don't use Quark, but I'd believe the author's own suggestions.
That said, before upgrading to 10.6.3, consider that you may not have full compatibility with 10.6.3 in other software. You may want to make a test bootable hard drive with just Quark on it, to see if it solves your problem and then check to see if all your other essential applications and drivers run as expected. Quark has its own forums here:
http://forums.quark.com/
Where I'd ask the questions to see what other users have been using to fix the issue.
Maybe you are looking for
-
Variables in RTF template?
Variables in RTF template? I am battling with variables in RTF template. (1) I need to declare and set a variable. (2) I like to print it out - check for value (3) then I need to make some conditional formatting IF-THEN-ELSE depending on variable val
-
CSCus46899 - Bridge Utilization page does not show data
Found out to be working with google chrome....
-
Image src dialog box does not appear
Hello, For some reason when I click the insert image button in dreamweaver cs3, the image src dialog box does not appear any more. It now just inserts <img src="" />. It used to allow me to choose an image, anyone know how to fix this? Thanks, Jasont
-
ALBPM - Fuego Time.timeZone variable
I am unable to find much documentation on the impact of using this field. Is this set globally for a process. For example, if I have a split to do some parallel processing that handles different time zones, can I just set the Time.timeZone in each of
-
How to create a transaparent logo for my website...?
Hi i want to create a transaparent logo for my website... vizindia.com..i have basic knowledge on photoshop..please help me to create a best logo for my website