Nexus1000V- Problems with CSCtl70759 workaround
Hello,
like some other people we hit also the bug CSCtl70759:
Addition of new NIC to port-channel fails if profile has queueing policy
Symptom: Addition of NIC(s) to port-channel fails if the VEM is added first time to VSM or NIC(s) are added first time to VSM one at a time. Error similar to the following can be seen: %ETHPORT-5-IF_DOWN_PORT_PROFILE_INHERIT_ERR: Interface Ethernet1/2 is down (port-profile inherit error)
Conditions: Failure is seen only when the NIC which was previously not added to VSM by any other port-profile and is added to port-channel port-profile for the first time or multiple NICs are added the first time to VSM one at a time.
There are two workaround available:
1. Remove the queuing policy from the port-profile and add the NIC to the port-channel. Once port joins the bundle, put back queuing policy. Subsequent NIC removal/addition to profile will work fine.
2. Or, bring the NIC up using any other port-profile and then move it to intended port-profile having queuing policy.
We prefer to use option-2, because we want to avoid to make changes at the primary uplink-port-profile what is used by all hosts. When something would go wrong during the change of this profile, our complete vmware environment would be down.
But option-2 doesn't work in our environment. We did the steps described in the workaround:
1. created a new profile without any queing:
port-profile type ethernet Uplink-Test
vmware port-group
switchport mode access
switchport access vlan 100
no shutdown
state enabled
2. Then we moved the failed vmnic11 to this new profile. And we see this error:
2012 Jan 16 12:52:35 BYNX04 %VIM-5-IF_DETACHED: Interface Ethernet5/12 is detached
2012 Jan 16 12:52:35 BYNX04 %VIM-5-IF_ATTACHED: Interface Ethernet5/12 is attached to vmnic11 on module 5
2012 Jan 16 12:52:36 BYNX04 %IPQOSMGR-SLOT5-3-QOSMGR_DPA_MSG: DPA returned error message - QoS Agent: Only one queuing policy instance (per VEM) is sup ported
2012 Jan 16 12:52:36 BYNX04 %PORT-PROFILE-2-INTERFACE_QUARANTINED: Interface Ethernet5/12 has been quarantined due to Cmd Failure 2012 Jan 16 12:52:37 BYNX04 %ETHPORT-5-IF_DOWN_INACTIVE: Interface Ethernet5/12 is down (Inactive)
Whyever, it seems the vsm thinks that more than one queing policy instance is configured at this VEM.
Our used software version: VSM: 4.2(1)SV1(4a)
ESXi: VMware ESXi 5.0.0 Releasebuild-504890
Regards Hendrik
Hendrik,
- How many total pnic uplinks does VEM 5 have connected and do they all connected to the same uplinks PP?
- Can you verify there's no sub interface config "show run int eth5/1-x" where x is the highest pnic #.
- If you have other uplink port profiles for VEM 5, are any of them configured with a QoS policy?
Regards,
Robert
Similar Messages
-
Problem with NetStream.seek()?
Hi.
I''m having problem with playing a flv file while using seek to play it from three diferent positions. It works perfectly offline, but if I upload it to the web the seek comand doesn't work anymore. Every time i seek to a position it just plays randomly from the first part between the start and the second seek.
Any clues on this?I thought about that too. But i don't think that's the case. Because after repetedly clicking those buttons it randomly played the right segments and again just the first segment.
I can't figure out what could be the problem and i don't find any of my code interfering with the seek() function.
I have the movie playing first the whole length and just after that i can press the buttons for the segments of the movie. So it just be fully loaded and have all the frames available. Still the same problem occurs randomly and only online. Tried it on different browsers but the same result.
Also have a skip button that stops the movie with ns.close (note: not pause) and when i press the segment buttons most of the times starts from where the movie stopped when i pressed skip.
It's kind of weird, like the frames shift.
I sliced the file into 3 parts thus solving the problem with a workaround but it's not the true solution.
Anyway i posted this hoping that other people stumbled upon this problem before and might give me a clue. But as i see no one did so might be something related to that file, could be damaged or other external issues, or my code faulty.
Regardles, thanks a lot for the input. -
Iwl3945 module loading problem (with workaround)
I've been experiencing problems with my intel wireless card (iwl3945) not loading at boot time. The problem arose after a fresh install from a Chakra (kdemod) live CD after I got a new harddrive for my notebook. It worked fine from the live CD and immediately post-install but when I upgraded the system with "pacman -Syu" (the kernel was upgraded as part of this) the card no longer loaded during boot (i.e. wlan0 would not show up under "ifconfig -a").
I checked some threads on the iwl3945 (e.g. http://bbs.archlinux.org/viewtopic.php? … 18#p638618 and http://bbs.archlinux.org/viewtopic.php?id=73876) but couldn't find quite the same behaviour so decided to start a new thread.
It's also similar to this thread (http://bbs.archlinux.org/viewtopic.php?id=82357), but this is not for the iwl3945.
The following is a log of the problem:
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:15:C5:46:C6:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1240 (1.2 Kb) TX bytes:1240 (1.2 Kb)
$ ifconfig wlan0 up
wlan0: unknown interface: No such device
$ lsmod | grep iwl
iwl3945 89020 0
iwlcore 107100 1 iwl3945
mac80211 155532 2 iwl3945,iwlcore
led_class 4000 3 sdhci,iwl3945,iwlcore
cfg80211 90428 3 iwl3945,iwlcore,mac80211
$ dmesg | grep iwl
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks
iwl3945: Copyright(c) 2003-2009 Intel Corporation
iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwl3945 0000:0c:00.0: setting latency timer to 64
iwl3945 0000:0c:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG
iwl3945 0000:0c:00.0: irq 28 for MSI/MSI-X
iwl3945 0000:0c:00.0: Failed to register hw (error -2)
iwl3945 0000:0c:00.0: PCI INT A disabled
iwl3945: probe of 0000:0c:00.0 failed with error -2
Here is my rc.conf
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
LOCALE="en_GB.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Dublin"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(b44 mii !ipw3945 iwlcore pcspkr snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-codec snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# NETWORKING
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="alex-xps"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
eth0="dhcp"
# Wireless: See network profiles below
wlan0="dhcp"
#Static IP example
#eth0="eth0 134.226.144.162 netmask 255.255.0.0 broadcast 134.226.255.255"
INTERFACES=(!eth0 !eth1 !wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network.d
# This now requires the netcfg package
#NETWORKS=(main)
# DAEMONS
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng hal !network wicd !networkmanager avahi-daemon avahi-dnsconfd alsa cdemud kdm)
I read somewhere that there was an issue with kill switches and that rfkill may help so I installed it from AUR. However, there didn't seem to be any block:
$ rfkill list
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
I also tried creating a modprobe.conf file as suggested in some quarters (/etc/modprobe.d/iwl3945.conf):
alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1
Sadly still no luck on a reboot.
After much pulling of hair the following workaround finally did it for me. Basically even though the module doesn't load during boot I can remove it and then modprobe it manually and it then works so that I can bring up the interface:
# rmmod iwl3945
# modprobe iw3945
# ifconfig wlan0 up
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:15:C5:46:C6:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1240 (1.2 Kb) TX bytes:1240 (1.2 Kb)
wlan0 Link encap:Ethernet HWaddr 00:18:DE:1E:7B:46
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wmaster0 Link encap:UNSPEC HWaddr 00-18-DE-1E-7B-46-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I can then use wicd to connect to my router at home (networkmanager doesn't seem to work for me with the same settings).
Hopefully this may be of some use to someone with the same issue and to any kernel gurus that may be scanning this section of the forum.I tinkered with the rfkill module as suggested.
First checked what the default behaviour was
$ lsmod | grep rfkill
rfkill 19728 3 bluetooth,dell_laptop,cfg80211
Then blacklisted rfkill in rc.conf using "!rfkill" in the modules line
$ lsmod | grep rfkill
rfkill 19728 1 cfg80211
Unfortunately I still had to manually remove and reload iwl3945 as before.
I tried inserting the options in modprobe.conf suggested by you in your other post
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
options bluetooth rfkill=0
options dell_laptop rfkill=0
After a reboot still no wireless activity and checking rfkill module gives same as for blacklisting in rc.conf, i.e. ...
$ lsmod | grep rfkill
rfkill 19728 1 cfg80211
So still manually un/reloading as before. At least the workaround is not too labour intensive. -
Duplex printing problem with hp 9500 (right side always just half printed)
Since OS X 10.6 was released there is a problem with the print out of duplex printed pages (specially via Indesign CS4 broschure printing function). Using Mac OS X 10.5.8 with old and new driver everything is fine - but under 10.6, 10.6.1 or 10.6.2 neither old nor one of the new driver releases 2.1, 2.2 or 2.3 will work.
When I´m trying to print a duplex printing page the print of the right page will be cutted off at the half of the page - like the page would not print A3 horizontally but vertically (so the rest is cut off). The new print features within the printing menu (manual duplex print and print broschure will have same effect but with a strange miniaturization to A5 - although it should be A4). All in all the is no way to print out a duplex printing with OS X 10.6 and hp 9500. Will there be any solution in sight? Are there other with the same effect?I have an identical issue to neuegestaltung, but with an HP 5500. I can print single-sided to A3/tabloid successfully but when I try printing duplex the right quarter of the page is cut off on both sides - almost as if it thinks it's printing portrait.
Applications affected include Adobe Acrobat 8 and 9, Adobe CS3 and CS4 applications including InDesign.
Preview works fine, but of course the colour balance makes the output unusable.
OS 10.6.2, print driver HP Color LaserJet 5500 v 3010.107.
Using the Gutenprint driver I can't either do A3 or colour so there is no solution there.
Worked fully and correctly with the same apps under 10.5.x.
At the moment I am running Windows XP under VMWare to print from Acrobat, which is plainly silly.
Any useful* observations, suggestions or workarounds welcome.
*Needless to say, "It's Adobe's problem" or similar are not acceptable responses. It may well be an interaction between the Adobe's applications and Apple's printing system and/or driver of course; in that case the companies need to collaborate to solve the issue. -
We are getting the following error "there is a problem with adobe acrobat/reader. if it is running please exit and try again. (523.523)" and a gray screen appears (Image not viewable) with multiple users. We are using Adobe Reader XI (11.0.05) and (11.0.06). The current workaround is to log off the website and log back in. Once the user logs back in, the pdf will appear. However it occurs anywhere from 2-8 times in a day. Anyone else having this issue or know of another workaround? Any suggestion with how to fix? Please help!!
Hi Valerie,
Please let me know the version of Adobe Acrobat/Reader & operating system installed on your computer?
Also, try this:-
Launch Adobe Reader/Acrobat.
From the menu, choose Edit -> preferences -> General
Uncheck the option for "Enable Protected Mode at startup"
Restart the Adobe Reader and web browser.
Regards,
Aadesh -
Problems with syncing Adobe Ideas with Adobe Creative Cloud
Dear Sir/Madam,
Since yesterday (22.04.2014) I have problems with syncing Adobe Ideas (in my iPad) with Adobe Creative Cloud.
Could you please help me with this issue?
Thanks in advanceHello,
I do not understand why there is no professional communication about the problem. I get the impression that Adobe doesn't know that many people use their App as advertised: As a quick professional sketching tool that syncs with Creative Cloud. Not to fix the problem means more people not trusting the cloud idea. I am actually a big fan of the CC, mostly because of regular updates. But the mobile apps seem to fall out of the normal update scheme. Are they not as important as the 'main software'?
When will the bug be fixed? Just to make clear: As there - up to now - is no other way to get the original idea files on the computer the adobe idea app is useless unless you fix the problem and/ or include the possibility to sync files via USB.
Meanwhile my Workaround:
You need Phoneview or another software that shows the files on your mobile device.
Open it - choose "Apps" - click on "Show all Apps" - click on "Adobe Ideas"
Than go to:
Library/Private Documents/documents/data/files/
there you find folders with cryptic names
Download one of the folders
Open the Folder
select all files in the folder and zip them
Change the extension from .zip to .idea
and voila
you can open it with Adobe Illustrator!
A long way, but for now the only solution to get the editable vector file on your computer.
Best regards
Jo Jacobs -
Problem with generating xml and nested cursor (ora-600)
I have a problem with generating xml (with dbms_xmlquery or xmlgen) and nested cursors.
When I execute the following command, I get a ORA-600 error:
select dbms_xmlquery.getxml('select mst_id
, mst_source
, cursor(select per.*
, cursor(select ftm_fdf_number
, ftm_value
from t_feature_master
where ftm_mstr_id = pers_master_id ) as features
from t_person per
where pers_master_id = mst_id ) as persons
from f_master
where mst_id = 3059435')
from dual;
<?xml version = '1.0'?>
<ERROR>oracle.xml.sql.OracleXMLSQLException: ORA-00600: internal error code, arguments: [kokbnp2], [1731], [], [], [], [], [], []
</ERROR>
The problem is the second cursor (t_feature_master).
I want to generate this:
<master>
<..>
<persons>
<..>
<features>
<..>
</features>
</persons>
<persons>
<..>
<features>
<..>
</features>
</persons>
</master>
If i execute the select-statement in sql-plus, then I get the next result.
MST_ID MST_SOURCE PERSONS
3059435 GG CURSOR STATEMENT : 3
CURSOR STATEMENT : 3
PERS_MASTER_ID PERS_TITLE PERS_INITI PERS_FIRSTNAME PERS_MIDDL PERS_LASTNAME
3059435 W. Name
CURSOR STATEMENT : 15
FTM_FDF_NUMBER FTM_VALUE
1 [email protected]
10 ....
I use Oracle 8.1.7.4 with Oracle XDK v9.2.0.5.0.
Is this a bug and do somebody know a workaround?Very simple...Drop all type objects and nested tables and create them again. You will get no error. I'll explain the reason later.
-
LR 3 freeze when trying to import (with a workaround)
Hi,
Windows XP SP3
Core i7 with 4 GB RAM (3 in use)
I had mentioned this in the previous IMPORT FREEZE thread, but that thread go pretty long and convoluted so I thought I would isolate the particular problem that I (and many others) are having.
Problem is that when hitting the IMPORT button (or doing a drag and drop, or using the menu to select IMPORT), the screen freezes. Most of the time the cursor arrow is frozen on the Import button. LR thinks that it is in Import mode but there is no UI. To get out of this frozen mode you just have to hit the escape key, and LR dismisses the (non-existent) Import screen and continue to function normally.
Sometimes the Import screen is partially drawn. I think this happens if the Import mode had worked previously in this session (like it does right after a complete re-boot).
The problem is that once this problem shows up, while you can get out of the frozen program (by hitting the esc key) there is no way to import files into LR without re-booting.
Workaround:
This morning I realized that since the problem seems to be with drawing the Import screen, that maybe Auto-Import would work, and at least I would have the import function back. So I tried it and it works perfectly. I just download to the HD using another method to get the files from the memory card to the HD, and then move the files to the watch folder (after you enable Auto-Import). Set the preview to minimal so the "import" can go as fast as it can.
Hope this helps, and if Adobe or anyone else with this specific import problem has additional info, please post it hear. I know other people are having problems with the actual import, but let's keep those in a seperate thread (at least that is my suggestion).
Thanks in advance.
Michael TapesFirst let me say I appreciate your 2cts worth. I am learning more about this issue with every post. That's the great thing about forums. It brings the smart people with the passion for making life easier for others together, learning a bit more at the same time.
Before I downloaded the trial version I checked the system requirements. Lightroom is built for systems several years old. Here are my PC specs:
- Dell Studio 1737
- Windows Vista Home Premium w/SP1
- Intel Core 2 Duo CPU T6500 @ 2.10GHz
- 6 GB RAM
- ATI Mobility Radeon HD 3650
- 64-bit Operating System
This should be more than enough to run the most demanding Lightroom tasks. Your thoughts? -
Problems with itunes 8 and ipod shuffle gen 2.
Problems with itunes 8 and ipod shuffle gen 2.
I recently upgraded from itunes 7 to itunes 8 on my windows XP PC. That's when i had issues syncing my 2nd gen shuffle.
When i try to drag songs directly on it, itunes says i can't
I made a playlist and use auto fill. But when I remove it from the dock, it's either not updated, or the new songs are at the bottom of the playlist when they are supposed to be up higher. I end up having to hit auto fill twice to make it sync correctly.
Computer Specs
Windows XP SP3
384MB of Ram (works really good)
USB 1.1 connection
Pentium 4 clocked at 1.285 GHZ
IPOD Shuffle Specs
2nd Generation
1GB (964MB)
Version 1.0.4
unchecked options: open itunes when ipod is attached, Sync only checked songs, convert higher bit rate songs to 128kbps AAC, Enable sound check, Limit MAX volume, enable disk use
All those are NOT checked. Sometimes i enable disk use for seeing the IPOD_Control folder, but either way it still messes up.
Itunes Specs:
Version 8.1.1.10This is a well-known issue. Apple changed the internal file names used with iTunes 8, which makes the ordering on 2nd generation Shuffles behave differently. There is no good workaround, apart from moving the files with a hand-crafted AppleScript program.
Apple has been silent on the issue, so nobody knows if we'll ever have a fix for it or not. -
[3/3/2010 Update]
There's a issue of using 4Gb sticks on T410 currently that results in video output artifacts and aero interface problems when using Lenovo supplied drivers v8.16.11.8825. I think I can call it confirmed (Three people including me face this issue).
Possible workaround is to install modified EliteBook 8440p video driver (read along this thread) comes with a BIG drawback of not being able to change brightness level within Windows 7. To sweeten it a little bit - you can set luminance level at POST screen, when computer boots up.
[Original Message]
Encountered strange behavoir of my T410.
I have a T410 with 256Mb of Video Memory and 1440x900 display, a T61 with 128Mb of Video Memory and 1400x1050 dsplay and external monitor HP w2338h with 1920x1080 resolution.
If I connect external monitor to my T410 and launch Visual Studio 2010 Beta 2 - image blinks and comes back with Aero disabled. Looking through event logs reveals the lack of memory. Entry information can be found further.
Now If I do the same with my old Thinkpad T61, connect the same monitor using the same cable - I can open as many Visual Studio 2010 Beta 2 instances I like (tried 5) and nothing blinks and Aero stays enabled.
Actually I find ridiculous, a notebook with more VRAM cannot archive the same performance as notebooks with less.
Does anyone know what path should I pursue to solve this issue?
UPDATE: Simply running multiple instances of Visual Studio 2010 Beta 2 without external monitor causes Aero disabled as well.
Log Name: Application
Source: Desktop Window Manager
Date: 2/4/2010 7:32:21 PM
Event ID: 9020
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
The Desktop Window Manager has encountered a fatal error (0x8007000e)
Error 2/4/2010 7:32:21 PM Desktop Window Manager 9020 None
Solved!
Go to Solution.mat3y wrote:
I have the same problem with T410 and aero disabled. I am not using VS and I get this error anyway.
The Desktop Window Manager has encountered a fatal error (0x8007000e).
This must be buggy drivers, on Lenovo download site is just the one and the only initial driver for T410 graphics card.
What software were you actively using when this error occured?
Thinkpad T500-2081 CTO | T9400 2.53GHz | 8 GB RAM | ATI HD3650 + Intel GM45 | 15.4" LED WXGA+ | Windows 8 | ATI Catalyst 13.1 (non-switchable)
Thinkpad 390x | PII 333 | 256mb ram | NeoMagic 256AV | SVGA LCD | OS/2 v4.52 -
Viewing Excel Files using Tomcat - Problem with caching
Hi all,
A small part of an application I'm writing has links to Excel files for users to view/download. I'm currently using Tomcat v5 as the web/app server and have some very simple code (an example is shown below) which calls the excel file.
<%@ page contentType = "application/vnd.ms-excel" %>
<%
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
response.sendRedirect("file1.xls");
%>
This all works except but I'm having one big problem.
The xls file (file1.xls) is updated via a share on the server so each month, the xls file is overwritten with the same name but with different contents. I'm finding that when an update is made to the xls file and the user then attempts to view the new file in the browser they recieve only the old xls file. It's caching the xls file and I don't want it to. How can I fix this so that it automatically gives the user the new updated file.
The only way I've managed to get Tomcat to do this is to delete the work directory and delete the file from my IE temp folder and then restart Tomcat - this is a bit much!
Any help would be greatly appreciated.
Thanks.I'd a problem with caching a few years back, for a servlet request which returned an SVG file.
As a workaround, I ended up putting appending "#" and a timestamp / random number after it. The browser assuming each request was new, and didn't use the cache.
Eg.
http://myserver/returnSVG.do#1234567
where 1234567 is a timestamp / random.
Not sure whether you can do this on a file based URL... but maybe worth a shot...
regards,
Owen -
Filter problem with operating system in french
Hello,
There is a problem with the "Operating System - Windows" filter in the french version of ZCC.
If you create a bundle and go into "Requirements" and add a filter with Operating system and you set it to "Version 6.1 - Windows 7 / Windows Server 2008 R2" you get this error
"Vos modifications ne peuvent pas tre appliques pour les raisons suivantes :
ErreurLa version doit tre sous la forme "x" "x.x.x.x". "
"You changes cannot be applied for the following reason : formatting must be x to x.x.x.x"
The format should be "6.1 - Windows 7 /Windows Server 2008 R2 Versions".
The filter does work as intended with the english versions of ZCC. I have no problem with that but some of our admin does.
PS : I am currently unable to open an SR because our licence has not been renewed yet. So i am reporting this here.
Thank you!Originally Posted by GuillaumeBDEB
Hi poplante, this bug is haunting Novell since version 11.0! Believe me on that. I'm the one who reported it. Here's the workaround.
1.Go to Server machine.
On Windows:
Go to
%ZENWORKS_HOME%\resources\properties\com\novell\ze nworks\core\web\internal\resources\CoreInternal_fr .proeprties
On Linux:
Go to
/opt/novell/zenworks/resources/properties\com/novell/zenworks/core/web/internal/resources/CoreInternal_fr.proeprties
2.change the property value of windows.versions.6.1 from "Versions 6.1 Windows 7 / Windows Server 2008 R2" to "6.1 Versions Windows 7 / Windows Server 2008R2"
3.Then Restart the server. The issue will be gone.
By the way you will see this bug reappear with every new update of ZENworks including new service packs and monthly updates. So keep this workaround at hand just in case.
Hope it helps!
GuillaumeBDEB
In 11.3 the value seems to be:
windows.versions.6.1=Versions 6.1 - Windows 7 / Windows Server 2008 R2
But should probably be set to:
windows.versions.6.1=6.1 - Versions Windows 7 / Windows Server 2008 R2
And the correct Linux path would be: /opt/novell/zenworks/resources/properties/com/novell/zenworks/core/web/internal/resources/CoreInternal_fr.properties.
This bug would probably take them a minute or two to fix, sad to hear that it's been there since 11.
Thomas -
Problem with TextInput and RadioButton
Hi,
I've encountered a problem with TextInput and RadioButtons.
I've created some text fields and radio buttons for a
feedback form under a movie _root.feedback.
But for some reason, I can't seem to enter text into the text
field (no blinking cursor), and I can't see the "label" next to my
radio buttons.
Just as a workaround, I tried moving these fields to _root,
and now I can enter text and see the radio button labels.
But to keep my hierarchy clean, I want to use a the
_root.feedback movie for my feedback fields. Any ideas what could
be going wrong? I checked Window -> Component Inspector, and
these textInput fields are enabled.
Stuck.
Thanks.Is the text the same color as the background or do you need
embedded fonts? -
Problem with navigation and masthead by changing languages with Anonymous
Hi All,
i have a problem with navigation and masthead by changin the language when accessing as anonymous user.
Ive created two additional users anon_de (with language german )and anon_en (for english).
I've created also two links in the in masthead:
/irj/portal/anonymous?guest_user=anon_en and /irj/portal/anonymous?guest_user=anon_de
When i choose "de" for the first time it works fine, but when i choose "en" again the language in the content are is changing to english again, but not in navigation and masthead. When i click again on link for "en" the languge is set to english. Strange thing is that when i click on "de" instead the portal content change to german but masthead and navigation are in english now, as it should be before....
It seems that masthead and navigation have always prevoius language selected.
Do you know, what could be the reason of that strange behavior?
Thanks for help
KarolHi Detlev,
you are right. the user is not "updated" fast enough... the strange thing is, that it works by the first time i change the language...
well.. i can implement that workaround as you suposed, but it would be a really workaround as the same page will be requestes second time, causing requests number to be double..
Thanks for help
ps. i forgot to mark this message as question to give points.. if you tell me how i can change that ill reward your answer.. -
Hi all,
I have a Flash Media Streaming Server 4.0 running for more than a year now.
I protect the access to my server through the "allowedHTMLdomains.txt and allowedSWFdomains.txt feature" (amongst other things...).
We noticed that with Firefox 10.0.2 (last version) and Flash Player 11.1.102.62 (last version) our customers can't connect anymore.
In the admin console we can read things like :
Authentication failed for pageurl: http://my.domain.com, rejecting connection from XXX.XXXXXX.XXX
If i try from the same computer with another browser, i get
Accepted a connection from IP:XXX.XXX.XXX.XXX, referrer: http://my.domain.com/myPlayer.swf, pageurl: http://my.domain.com/myWebPage.php
In the logs i have lines like that :
--> connection error :
connect
session
2012-03-01
12:51:17
CET
XXX.XXX.XXX.XXX
XXX.XXX.XXX.XXX
6629
2
19
_defaultRoot_
_defaultVHost_
vod
_definst_
0
401
XXX.XXX.XXX.XXX
rtmpte(HTTP-1.1)
2
rtmpte://my.streamer.com/vod
rtmpte://my.streamer.com/vod
http://my.domain.com/myPlayer.swf
WIN 11,1,102,62
4702112566065840495
3073
3106
normal
http://my.domain.com/myWebPage.php
--> connection successful:
connect
session
2012-03-01
14:31:20
CET
XXX.XXX.XXX.XXX
XXX.XXX.XXX.XXX
6629
2
19
_defaultRoot_
_defaultVHost_
vod
_definst_
0
200
XXX.XXX.XXX.XXX
rtmpte(HTTP-1.1)
2
rtmpte://my.streamer.com/vod
rtmpte://my.streamer.com/vod
http://my.domain.com/myPlayer.swf
WIN 11,1,102,62
4702113665527136624
3073
3073
normal
http://my.domain.com/myWebPage.php
I can't find any significant difference...
I didn't change anything in my configuration since the beginning, and the application was working without probleme with every version of Browser/FlashPlayer untill now.
I suppose this is a bug, from Firefox or FlashPLayer or FlashMediaServer.
Is there anyone from Adobe that could help me to solve this or "workaround" this, knowing that i must use the security features.
Thank you very much for your help!
SamOk for the timeline.
For your workaround : it was already the case : i had only domains in my allowedDomains.
I'll have to turn off this feature, and after the update of the flash player, hope that not too many people will stuck to the old flash player version...
Thx for your help anyway!
Maybe you are looking for
-
MEssages Stuck in SMQ2 - Automation of moving error msgs
Hi , We face a lot of issues with messages getting stuck in SMQ2 and blocking all other messages. Right now we Save the LUW and move it to SMQ3 but is there an automated way/ configuration to move the errore messages to a seperate queue. Thank you.
-
I have a table with about 500 million records in it stored within both Oracle and MySQL (MyISAM). I have a column (say phone_number) with a standard b-tree index on it in both places. Without data or indexes cached (not enough memory to fully cache t
-
Hi, Is there any new datasource added in ECC 6.0 or BI 7.0? Thanks & Regards, venu
-
Hello, I am setting up a nas. I have configured a partition scheme that seems suitable for me. I have a problem though, I can not seem to mount a partiton to a custom mount point. The system is up to date, I just installed it last night. Here is my f
-
Hi, how to create exception tables?