Hashcode switch problem

Hello. Can anyone tell me why this isn't working? I'm trying to use a switch off of a String, so I take the hashcode of it and compare it to the possible input strings. It looks like it should work, it's just comparing intergers, but my compiler always gives me an error "constant expression required". Why is this happenning?
Here is my code:
final int string1 = "hello".hashCode() ;
final int string2 = "goodbye".hashCode() ;
String input ;
switch( input.hashCode() )
case string1 :
// stuff
case string2 :
// stuff
}The compiler always hits the error on the 'case string1:' line. How can it say "i need a constant value" when the value it's using is a final? Isn't that constant enough?

final int string1 = "hello".hashCode() ;
final int string2 = "goodbye".hashCode() ;is resolved at run-time.
switch( input.hashCode() )
case string1 :
case string2 :is resolved at compile-time.
so you have to use if..else..endif; however I don't see why you would need hashCode() to compare strings.
Maybe for performance ??? Then you should make sure that using hashCode() is really faster. otherwise you end up with VERY strange code.

Similar Messages

  • Device Switch problem from Z10 to Z30

    Device Switch problem from Z10 to Z30
    Hi Dears,
    I got my new Z30 and I tried to switch my old Z10 without luck, so I appreciate your help.
    Both devices are identical OS Release (10.2.1.2102) version (10.2.1.2141)
    I set up my Blackberry ID in the new Z30
    I used BB-Link via my PC and everything started fine and smooth, and I followed all instructions step by step.
    Until reaching to step (8 of 9 ) in the BB-Link, a popup windows appear in my Z30 saying “RESTORE IN PROGRESS”
    But after 5 seconds, BB-Link cancel the restore process !!!
    Also, I tried to connect my Z30 to my PC and restore previous Z10 backup directly through BB-Link, but same issue and message “the operation was cancelled”
    One more thing, I noticed that, the BBM is empty and showing message “restoring your BBM information” since yesterday.
    I wiped my device and try several time but no luck L,
    Please I need your help 

    Is the new Z30 upgraded with the latest BBM version 10.3?
    If not, upgrade that first through App World, then try the Switch Device or restore again.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • DVI to VGA via Belkin SOHO Switch Problems

    Hi, I've searched and emailed Belkin support and no luck.
    I am using DVI out through a DVI -> VGA adapter (tried Apple® branded and non) then through the company supplied Belkin SOHO VGA KVM switch.
    My MBP detects the external display fine, but no video is displayed.
    Other monitors/projectors without the Belkin switch are fine using the DVI->VGA adaptor. And I've used the DVI straight out for years without a problem.
    Belkin's tech support couldn't figure it out and just recommended that I buy a DVI KVM switch. Nice.
    Anyone?
    Thanks in advance!

    My MBP detects the external display fine, but no video is displayed.
    What kind of display is it?
    Other monitors/projectors without the Belkin switch are fine using the DVI->VGA adaptor.
    Other monitors? What about the one connected to the Belkin switch? Does it work fine when driven directly without the Belkin switch?

  • SG-300 28P switches problem with VLAN Data and Voice, working all the time as Voice VLAN

    Hi Everyone,
    Thank you very much for your help in advance. I’m pulling my hair to fix the problem.
    I  just got the new SG-300 28P switches. My Bios ordered for me. I did not  know how it runs until now... not an IOS based. I really do not know  how to configure it.
    I have 2 VLAN are Data and Voice.
    -          Data VLAN ID is 2 IP 192.168.2.X/255.255.255.0
    -          Voice VLAN ID is 200 IP 192.168.22.X/255.255.255.0
    -          I created two vlans, in switch, Data and Voice.
    -          On the port number 28, it is trunk by default, so I add Data vlan ID 2 tagged.
    -          On the port number 26, it is trunk by default, so I add Voice vlan ID 200 tagged.
    -          On the port number 27, I add Data vlan ID 2 tagged for Data vlan out.
    -          Port settings No.1
    I set it up as Trunk with Data vlan 2 untagged, and  200  Tagged (voice vlan). I plugged in a phone with a pc attached. But the  PC will get to the vlan 200 to get the DHCP address, but no from vlan 2.  The Phone works with correct vlan ip.
    -          Port settings No.2
    Trunk with vlan 1UP, 2T, and 200T. The phone is even worse. Would never pick up any IP from DHCP.
    -          Port settings No.3
    Access  with 200U...of course the phone will work... and the PC could not get  to its own vlan. Instead, the PC got an ip from the voice vlan. Not from  VLAN 2.
    I have Linksys phone I’m not sure if this help.
    For more information I setup in switch,
                - enable voice vlan
    - set the port on auto voice vlan
    - enable LLDP-MED globally
    - create a network policy to assign VLAN 200
    - assign this network policy to the port the phone is connected to.
    I  hope this information help to help me to setup Data and Voice vlans, to  plug the phone to work with vlan Voice 200 (IP rang 192.168.22.X), from  phone to Pc and pc work as Data vlan 2 (IP rang 192.168.2.X).

    I just got done setting up voice VLANs on an SF 300-24P and verified working.  This was working with Cisco 7900 series phones connected to a Cisco UC setup.
    Here's my sample config.
    Note that I edited this by hand before posting, so doing a flat out tftp restore probably won't work.  However, this should give you a clue.  Also, don't take this as 100% accurate or correct.  I've only been working with these things for about a week, though I've worked with the older Linksys SRW switches for a couple of years.  I'm a CCNP/CCDP.
    VLAN 199 is my management VLAN and is the native VLAN on 802.1q trunks.
    VLAN 149 is the data/computer VLAN here.
    VLAN 111 is the voice/phone VLAN here.
    VLAN 107 does nothing.
    interface range ethernet e(1-24)
    port storm-control broadcast enable
    exit
    interface ethernet e1
    port storm-control include-multicast
    exit
    interface ethernet e2
    port storm-control include-multicast
    exit
    interface ethernet e3
    port storm-control include-multicast
    exit
    interface ethernet e4
    port storm-control include-multicast
    exit
    interface ethernet e5
    port storm-control include-multicast
    exit
    interface ethernet e6
    port storm-control include-multicast
    exit
    interface ethernet e7
    port storm-control include-multicast
    exit
    interface ethernet e8
    port storm-control include-multicast
    exit
    interface ethernet e9
    port storm-control include-multicast
    exit
    interface ethernet e10
    port storm-control include-multicast
    exit
    interface ethernet e11
    port storm-control include-multicast
    exit
    interface ethernet e12
    port storm-control include-multicast
    exit
    interface ethernet e13
    port storm-control include-multicast
    exit
    interface ethernet e14
    port storm-control include-multicast
    exit
    interface ethernet e15
    port storm-control include-multicast
    exit
    interface ethernet e16
    port storm-control include-multicast
    exit
    interface ethernet e17
    port storm-control include-multicast
    exit
    interface ethernet e18
    port storm-control include-multicast
    exit
    interface ethernet e19
    port storm-control include-multicast
    exit
    interface ethernet e20
    port storm-control include-multicast
    exit
    interface ethernet e21
    port storm-control include-multicast
    exit
    interface ethernet e22
    port storm-control include-multicast
    exit
    interface ethernet e23
    port storm-control include-multicast
    exit
    interface ethernet e24
    port storm-control include-multicast
    exit
    interface range ethernet g(1-4)
    description "Uplink trunk"
    exit
    interface range ethernet g(1-4)
    switchport default-vlan tagged
    exit
    interface range ethernet e(21-24)
    switchport mode access
    exit
    vlan database
    vlan 107,111,149,199
    exit
    interface range ethernet g(1-4)
    switchport trunk allowed vlan add 107
    exit
    interface range ethernet e(21-24)
    switchport access vlan 111
    exit
    interface range ethernet g(1-4)
    switchport trunk allowed vlan add 111
    exit
    interface range ethernet e(1-20)
    switchport trunk native vlan 149
    exit
    interface range ethernet g(1-4)
    switchport trunk allowed vlan add 149
    exit
    interface range ethernet g(1-4)
    switchport trunk native vlan 199
    exit
    voice vlan aging-timeout 5
    voice vlan oui-table add 0001e3 Siemens_AG_phone________
    voice vlan oui-table add 00036b Cisco_phone_____________
    voice vlan oui-table add 00096e Avaya___________________
    voice vlan oui-table add 000fe2 H3C_Aolynk______________
    voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
    voice vlan oui-table add 00d01e Pingtel_phone___________
    voice vlan oui-table add 00e075 Polycom/Veritel_phone___
    voice vlan oui-table add 00e0bb 3Com_phone______________
    voice vlan oui-table add 108ccf MyCiscoIPPhones1
    voice vlan oui-table add 40f4ec MyCiscoIPPhones2
    voice vlan oui-table add 8cb64f MyCiscoIPPhones3
    voice vlan id 111
    voice vlan cos 6 remark
    interface ethernet e1
    voice vlan enable
    exit
    interface ethernet e1
    voice vlan cos mode all
    exit
    interface ethernet e2
    voice vlan enable
    exit
    interface ethernet e2
    voice vlan cos mode all
    exit
    interface ethernet e3
    voice vlan enable
    exit
    interface ethernet e3
    voice vlan cos mode all
    exit
    interface ethernet e4
    voice vlan enable
    exit
    interface ethernet e4
    voice vlan cos mode all
    exit
    interface ethernet e5
    voice vlan enable
    exit
    interface ethernet e5
    voice vlan cos mode all
    exit
    interface ethernet e6
    voice vlan enable
    exit
    interface ethernet e6
    voice vlan cos mode all
    exit
    interface ethernet e7
    voice vlan enable
    exit
    interface ethernet e7
    voice vlan cos mode all
    exit
    interface ethernet e8
    voice vlan enable
    exit
    interface ethernet e8
    voice vlan cos mode all
    exit
    interface ethernet e9
    voice vlan enable
    exit
    interface ethernet e9
    voice vlan cos mode all
    exit
    interface ethernet e10
    voice vlan enable
    exit
    interface ethernet e10
    voice vlan cos mode all
    exit
    interface ethernet e11
    voice vlan enable
    exit
    interface ethernet e11
    voice vlan cos mode all
    exit
    interface ethernet e12
    voice vlan enable
    exit
    interface ethernet e12
    voice vlan cos mode all
    exit
    interface ethernet e13
    voice vlan enable
    exit
    interface ethernet e13
    voice vlan cos mode all
    exit
    interface ethernet e14
    voice vlan enable
    exit
    interface ethernet e14
    voice vlan cos mode all
    exit
    interface ethernet e15
    voice vlan enable
    exit
    interface ethernet e15
    voice vlan cos mode all
    exit
    interface ethernet e16
    voice vlan enable
    exit
    interface ethernet e16
    voice vlan cos mode all
    exit
    interface ethernet e17
    voice vlan enable
    exit
    interface ethernet e17
    voice vlan cos mode all
    exit
    interface ethernet e18
    voice vlan enable
    exit
    interface ethernet e18
    voice vlan cos mode all
    exit
    interface ethernet e19
    voice vlan enable
    exit
    interface ethernet e19
    voice vlan cos mode all
    exit
    interface ethernet e20
    voice vlan enable
    exit
    interface ethernet e20
    voice vlan cos mode all
    exit
    interface ethernet e1
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e2
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e3
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e4
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e5
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e6
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e7
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e8
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e9
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e10
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e11
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e12
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e13
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e14
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e15
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e16
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e17
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e18
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e19
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e20
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e21
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e22
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e23
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e24
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet g1
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet g2
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet g3
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet g4
    lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy 802.3-lag 802.3-max-frame-size
    exit
    interface ethernet e1
    lldp med notifications topology-change enable
    exit
    interface ethernet e2
    lldp med notifications topology-change enable
    exit
    interface ethernet e3
    lldp med notifications topology-change enable
    exit
    interface ethernet e4
    lldp med notifications topology-change enable
    exit
    interface ethernet e5
    lldp med notifications topology-change enable
    exit
    interface ethernet e6
    lldp med notifications topology-change enable
    exit
    interface ethernet e7
    lldp med notifications topology-change enable
    exit
    interface ethernet e8
    lldp med notifications topology-change enable
    exit
    interface ethernet e9
    lldp med notifications topology-change enable
    exit
    interface ethernet e10
    lldp med notifications topology-change enable
    exit
    interface ethernet e11
    lldp med notifications topology-change enable
    exit
    interface ethernet e12
    lldp med notifications topology-change enable
    exit
    interface ethernet e13
    lldp med notifications topology-change enable
    exit
    interface ethernet e14
    lldp med notifications topology-change enable
    exit
    interface ethernet e15
    lldp med notifications topology-change enable
    exit
    interface ethernet e16
    lldp med notifications topology-change enable
    exit
    interface ethernet e17
    lldp med notifications topology-change enable
    exit
    interface ethernet e18
    lldp med notifications topology-change enable
    exit
    interface ethernet e19
    lldp med notifications topology-change enable
    exit
    interface ethernet e20
    lldp med notifications topology-change enable
    exit
    interface ethernet e21
    lldp med notifications topology-change enable
    exit
    interface ethernet e22
    lldp med notifications topology-change enable
    exit
    interface ethernet e1
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e2
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e3
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e4
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e5
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e6
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e7
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e8
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e9
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e10
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e11
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e12
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e13
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e14
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e15
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e16
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e17
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e18
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e19
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e20
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e21
    lldp med enable network-policy poe-pse
    exit
    interface ethernet e22
    lldp med enable network-policy poe-pse
    exit
    lldp med network-policy 1 voice vlan 111 vlan-type tagged
    interface range ethernet e(1-22)
    lldp med network-policy add 1
    exit
    interface vlan 199
    ip address 199.16.30.77 255.255.255.0
    exit
    ip default-gateway 199.16.30.3
    interface vlan 1
    no ip address dhcp
    exit
    no bonjour enable
    bonjour service enable csco-sb
    bonjour service enable http  
    bonjour service enable https 
    bonjour service enable ssh   
    bonjour service enable telnet
    hostname psw1
    line console
    exec-timeout 30
    exit
    line ssh
    exec-timeout 30
    exit
    line telnet
    exec-timeout 30
    exit
    management access-list Management1
    permit ip-source 10.22.5.5 mask 255.255.255.0
    exit
    logging 199.16.31.33 severity debugging description mysysloghost
    aaa authentication enable Console local
    aaa authentication enable SSH tacacs local
    aaa authentication enable Telnet local
    ip http authentication tacacs local
    ip https authentication tacacs local
    aaa authentication login Console local
    aaa authentication login SSH tacacs local
    aaa authentication login Telnet local
    line telnet
    login authentication Telnet
    enable authentication Telnet
    password admin
    exit
    line ssh
    login authentication SSH
    enable authentication SSH
    password admin
    exit
    line console
    login authentication Console
    enable authentication Console
    password admin
    exit
    username admin password admin level 15
    power inline usage-threshold 90
    power inline traps enable
    ip ssh server
    snmp-server location in-the-closet
    snmp-server contact [email protected]
    ip http exec-timeout 30
    ip https server
    ip https exec-timeout 30
    tacacs-server host 1.2.3.4 key spaceballz  timeout 3  priority 10
    clock timezone -7
    clock source sntp
    sntp unicast client enable
    sntp unicast client poll
    sntp server 199.16.30.1
    sntp server 199.16.30.2
    ip domain-name mydomain.com
    ip name-server  199.16.5.12 199.16.5.13
    ip telnet server

  • MSI has a serious KVM switch problem.

    On the K8N the iogear USB KVM switches DO NOT WORK. I have two computers.. one with an asus board and one with an MSI. Works fine on the asus board. I did a search and noticed another guy was having the same problems. So its a error that MSI needs to fix. Have they fixed it yet? If not it really needs to be looked into.

    Quote
    Originally posted by suaZman
    Quote
    Originally posted by Sharkbait
    I should mention that the Linkskey 2-Port Slim Desktop KVM Switch is a PS2 KVM, not USB.
    Sharkbait
    Well the PS/2 type Iogear works fine. It is just the USB version that does not with this board. That sux because I need the USB version so it will recognize my MX 500 mouse. If you place an adaptor on the PS/2 version it just sees it as a standard mouse thus not enabling the other buttons.
    The belkin USB 2 port KVM works fine but the damn thing has no hot key switching and it is slow.
    Could you not use a USB > PS2 adapter for your mouse and run your mouse off PS2 and use a PS2 KVM? I use a MX700 mouse on the PS2 port and with mouseware installed, all my extra (5) buttons work fine

  • 50L2400U and HDMI Switch Problem

    I just purchased a 50L2400U LED TV and am having a problem, First there is only two HDMI ports and I have three HDMI devices, I have a HDMI switch the same one I used on my other HD TV when I hook up the switch nothing happens the LED lights up on the switch but cant switch between the Roku and the DVD player. Anyone have any idea what the problem could be ???

    Gefen makes a product called the DVI Detective that is made just for such situations. You insert it between the mini and the receiver and it spoofs the mini into thinking the TV is always attached, even when the receiver is switched to something else.
    Of course the downside is you are adding more hardware and it isn't cheap, but I don't know of any other workaround that will succeed, and this definitely will.
    http://www.gefen.com/kvm/product.jsp?prod_id=1378

  • Onkyo SR705 HDMI-DVI switching problem..

    I just bought myself an Onkyo SR705 with built in HDMI switching. At first, I thought my monitor having problems with the switch or my mac pro not detecting it. Then i turned on my PS3 and it works. Mac detects the receiver. But no picture comes out if it. Previously, i had a TERK 2-in-1 switch and that works well.
    Gateway FPD2275W DVI-HDMI > Onkyo > mac pro HDMI-HDMI with HDMI to DVI adaptor.
    what do i need to do with the mac or the setup in general to fix this problem?
    my monitor supports 1080i, and supports HDCP.

    ill answer my own question.
    found out the switch does not support full HD resolutions. Supported Max at 1280x1024 and also 1024x768.. probably my video card doesn't support it either? eh.. for anybody who is wondering why it dont work.
    Message was edited by: KwaZyLiLoBoY

  • Subnets on single switch problem

    Hi i recently completed a CCENT and am now moving onto to CCNA. I came across a network recently shown in the attachment that had a problem and i have a few questions and am trying to debug it. Any suggestions would be appreicated.
    Device a sends info to device b every second over tcp/ip (few packets of info). If the link to Switch 1 is not connected the 192.168.1 network works fine and device a and device b function as normal.
    When the link from switch 3 is plugged into switch 1 after approx 2 hours device b stops working as it does not receive infomation from device a.
    This is repeatable plugging into switch 1 always causes an issue on device b.
    All the switches are unmanaged switches.
    The server needs to communicate with the 10.0.1.x and to the 192.168.1.x network but the other deices on the 10 network and 192 network do not have to communicate with each other. The server runs monitoring software and needs to "see" all devices. The server has one NIC with an alternate IP set up and can ping the devices on the 192,.168.1.x network and the 10.0.1.x network.
    I was wondering is there a potential issue with the two subnets on the switch or is there possibly an issue with broadcast traffic?
    The devices are not PC but industrial communication devices so im am unsure how to debug the issue.Also cannot view any logs on the switches as they are unmanaged.
    One though i had was to put a cisco 3550 switch i have for testing in there and connect device a,device b on the cisco switch, then create a SPAN port and connect wireshark/dumcap to the SPAN port to monitor the traffic being sent between the two.
    If anyone has any suggestions please let me know thanks

    One characteristic that is generally true of unmanaged switches is that they have no concept of VLANs and that all of their ports are all in the same VLAN (same broadcast domain). So although you may have some devices configured as part of 192.168.1 network and other devices configured as part of 10.0.1 network the reality is that all of the devices are part of one big flat network.
    If you put a Layer 3 switch into the network then you create the opportunity to actually separate these networks. You could configure vlan 10 and assign some ports on the layer 3 switch as access ports in vlan 10. If you connect switches 2 and 3 to ports that are access ports in vlan 10 then all the ports in switches 2 and 3 will be in vlan 10. You could configure vlan 20 on the layer 3 switch and make vlan 20 have subnet 10.0.1.
    You could connect switch 4 to an access port in whatever vlan you choose. You suggest that it might go into vlan 10 which is certainly possible. But you then suggest setting the IP of the server as part of 10.0. But in the preceding paragraph you suggested that 10.0 would be associated with vlan 20. You need to be clear and consistent about the relationship between vlan and subnet.
    If you associate 10.0 subnet with vlan 20 then any device in vlan 20 should have an IP address in 10.0. And all devices in the vlan and subnet would easily communicate with each other.
    I am somewhat unclear about the server. At some places you seem to indicate that it needs to communicate with devices in network 10.0 and in some places it seems that it should communicate with 192. If it really needs to communicate with both then you will need some layer 3 device that allows routing between the subnets.
    HTH
    Rick

  • Multiple NI-Switch problems with PXI-2566 including blue screen

    We've been having intermittent problems with our PXI-2566 for months now.
    It seems like at some point the device and/or driver gets in a state where the open of the device causes a "blue screen." It traps in niswdk.dll (addr: ae9db759, base: ae9b7000, datestamp: 488e1ebe). The NI_Switch version on this system is 3.8.0f1. We now have the system configured to do a full kernel dump (as suggested in another thread).
    We've seen some bad viStatus'es (that we've haven't been able to decode) returned from NI-Switch:
    niSwitch_InitWithTopology - 0xBFFA6767 
    niSwitch_Connect - 0xBFFA4B50 -- I think this is the error that starts the downward spiral...
    niSwitch_Disconnect & niSwitch_Connect  - 0xBFFA495D (after 0xBFFA4B50 error)
    We get a blue screen the next time we start our app -- best guess is on the niSwitch_InitWithTopology ("foo", NISWITCH_TOPOLOGY_2566_16_SPDT, VI_FALSE, VI_TRUE, ) call. 
    We'd seen these kind of problems several months back & switched out to a different PXI-2566 & they went away, but now they've come back. Not sure how much the relays have been stressed, but even if they were don't see why we'd get these types of failures. The card passes self-test (from Max), but I get errors running the soft front panel & can't get to the relay counts:
    The system is running XP. The application uses MSVC, VISA, etc. This doesn't have anything to do with powering on/off the PXI chassis (another reason for blue screens).
     Ideas for fixes or debugging ???

    OK, 1 easy answer: the device name was set to "PXI1-NI2566" MAX allows this & we have no trouble using this name from our application, but apparently the "-" is invalid from the soft front panel app. So at least I can get to the switch counts now (and they're all <2000).
    We did get another 0xBFFA6767 this morning, follow shortly by a blue screen & have a kernel dump. Does that help in tracking this down?
    We've been running this application for many months. It's use of the 2566 is pretty simple and has not changed. It fails intermittently & we haven't been able to correlate the failure with any other events. The system in general has been pretty stable in terms of hardware & software changes. 
    There are a lot of devices in this system -- this is the only one we're having problems with. We have a rack-mounted PC interfacing to separate PXI & VXI chassis. Here are summaries from MAX & Device Manager: 
    Is this enough detail? The MXI interface card (MXI-4?) is currently PCIe, but had this same problem with the PCI version of the card 
    Can you be more specific about resetting after a 0xBFFA6767 to get closer to the fault?
    The "other blue screen" events I was referring to were in a different thread on the NI forums. Those problems had to do power cycling the PXI (or powering it on after the PC) -- we know from experience not do that.

  • Plugin-container in Firefox 4; High CPU and Graphics Switching Problems and Workaround

    I recently upgraded to Firefox 4, and unfortunately, I've had many problems running Firefox under OSX on my Macbook Pro.
    The first problem I came across was that Firefox is now hardware accelerated. This should be a good thing, but due to the way Apple has implemented graphics switching, Firefox caused the discreet graphics card to be used (as seen with GFXcardstatus)
    To prevent this, I went into preferences, and disabled "Use hardware acceleration where available" under Advanced>General.
    But my problems didn't stop there. Now, it seems Firefox has decided to run plugins such as flash under a separate process called plugin-container in order to protect the browser from plugin crashes. This is a good idea (I believe Chrome and Safari do the same), but even with hardware acceleration disabled in Firefox and Flash, plugin-container still triggered the discreet graphics.
    This would actually be acceptable if plugin-container was terminated after I navigated away from the page with the flash content, but this is not what happens. Instead, plugin-container keeps using the high-powered GPU until Firefox is closed.
    At this point, I thought that I'd try to force the computer to only use integrated graphics (using gfxcardstatus), but then I discovered another problem:
    The plugin-container process was using large amounts of CPU time when flash content was visible in the Firefox window. Typically, viewing just a static flash ad would cause plugin-container to use about 60% (in addition to firefox using about 20%, that means 80% total). Obviously, this was a battery life problem.
    After all of this I think I found a temporary workaround, but there are clearly problems here that need to be resolved by the Firefox developers. There are many non tech-savvy users who are no doubt experiencing poor battery life from these problems.
    '''My Temporary Solution'''
    1. Disable hardware acceleration in Firefox in Advanced > General
    2. Disable hardware acceleration in Flash by right clicking a flash element, clicking settings, and then unchecking "enable hardware acceleration"
    2. In about:config, search for dom.ipc and set all boolean values that appear to false. This will disable Firefox's plugin-container process for all plugins.
    (At this point, if you restart Firefox, Flash will not work at all)
    3. Set Firefox to 32-bit mode by getting info on Firefox.app and then checking the "Open in 32-bit mode checkbox"
    4. Restart Firefox. Flash should be working with reasonable CPU usage (I had something like 20% with static flash ads as opposed to 80% before), plugin-container will be no more, and your Macbook will no longer switch to discreet graphics for Firefox or Flash.
    '''UPDATE:''' It seems that firefox still sometimes causes a switch to discreet graphics for certain flash elements (video players mostly). Also, I've still seen some cases where flash elements are using large amounts of the CPU, even when they are not in the current tab.
    I hope this was helpful to somebody, and if anyone has a suggestion for how to make this workaround obsolete or better, please respond.

    Ive downgraded from FF4 to 3.6 at this point. The CPU usage is out of control on OS X.

  • Switcher problem

    hi...
    my problem is that when i use a switcher it is dispaying an error ClassCastException because the item ID for the cases is getting its Id's from a transient attribute, and this attribute is changing at run time when adding a new row programitically in the advanced table.
    i have asked about this problem previously but with other problems in the same thread so i thought it is better to seperate it in another thread.
    any help would be appreciated :)

    this is the details:
    i have an advanced table with an add another row that i have coded programatically and i need the switcher to do: display a messgaeTextInput in the original columns but with the add another row i want to display a messageChoice. and i am using the addAtt for the viewAttribute of the switcher
    the code in process request:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    UserId = (String)((pageContext.getSessionValue("UserId") != null)?(pageContext.getSessionValue("UserId")):"1");
    Serializable personParamList[] = {UserId};
    am.invokeMethod("DisplayTasks",personParamList);
    public void DisplayTasks(String UserId)
    try{
    TasksVOImpl vo = getTasksVO1();
    String existingWhereClause = vo.getWhereClause() ;
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0, new Number("1"));
    vo.executeQuery();
    for(TasksVORowImpl Row = (TasksVORowImpl)vo.first();Row !=null;Row =(TasksVORowImpl)vo.next())
    Row.setAttribute("addAtt",Boolean.TRUE);
    catch(Exception exception1)
    throw OAException.wrapperException(exception1);
    and the code in the processFormRequest:
    System.out.println("1");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("TasksVO1");
    OAAdvancedTableBean tableBean = (OAAdvancedTableBean)webBean.findIndexedChildRecursive("TasksTable");
    OATableFooterBean tableFooterBean = (OATableFooterBean)tableBean.getFooter();
    OAAddTableRowBean addTableRowBean = (OAAddTableRowBean)tableFooterBean.findIndexedChild("addTableRow1");
    if (pageContext.getParameter("Add") != null)
    am.invokeMethod("ChangeAddAtt");
    public void ChangeAddAtt()
    TasksVOImpl vo = getTasksVO1();
    TasksVORowImpl NewRow = (TasksVORowImpl)vo.createRow();
    vo.insertRowAtRangeIndex(vo.getRangeSize(), NewRow);
    NewRow.setAttribute("addAtt",Boolean.FALSE);
    the error is:
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(OAPageBean.java:2537)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.apps.fnd.framework.webui.OASwitcherHelper.processFormDataNamedChildren(OASwitcherHelper.java:239)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1032)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.beans.OASwitcherBean.processFormData(OASwitcherBean.java:459)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.table.OAColumnBean.processFormData(OAColumnBean.java:358)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processFormDataIndexedChildren(OAWebBeanTableHelper.java:1686)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormDataChildren(OAAdvancedTableHelper.java:1407)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormData(OAAdvancedTableHelper.java:1228)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormData(OAAdvancedTableBean.java:739)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(OAStackLayoutBean.java:356)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormData(OAPageLayoutBean.java:1574)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormData(OAFormBean.java:390)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormData(OABodyBean.java:358)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(OAPageBean.java:2525)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassCastException
         at oracle.apps.fnd.framework.webui.OASwitcherHelper.processFormDataNamedChildren(OASwitcherHelper.java:239)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1032)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.beans.OASwitcherBean.processFormData(OASwitcherBean.java:459)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.table.OAColumnBean.processFormData(OAColumnBean.java:358)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processFormDataIndexedChildren(OAWebBeanTableHelper.java:1686)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormDataChildren(OAAdvancedTableHelper.java:1407)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormData(OAAdvancedTableHelper.java:1228)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormData(OAAdvancedTableBean.java:739)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(OAStackLayoutBean.java:356)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormData(OAPageLayoutBean.java:1574)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormData(OAFormBean.java:390)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1073)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1029)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1023)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:763)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormData(OABodyBean.java:358)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(OAPageBean.java:2525)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    please any help
    Message was edited by:
    user594305

  • LOV Switcher problem in form layout

    Hi I'm using JDEV11.1.1.2
    I have an attribute with two LOV associated. I'm using transient attribute for lov-switcher.
    I have rendered the attribute as <af:inputListOfValues>. I have a button that changes the lov-switcher value to the other LOV and refreshes the inputLOV component.
    The two LOVs contain different columns. When I open the first LOV popup - everything is ok. But then I press the button (the lov got changed) then when I open the LOV popup I got the same columns as before and only those are filled up data that are equal in names with the first LOV.
    So let say LOV "A" has two columns : "C1", "C2'
    LOV "B" has 4 columns: "C2", "C3", "C4", "C5".
    So when I switch from LOV A -> LOV B I got in the popup again only C1 and C2, and only C2 is filled with data because both LOV has it.
    When I use this lov switcher in table I got no problems.
    Is this a bug or am I missing something?
    Thanks A. Gruev

    Hello
    As I said , I'm using transient field in the ViewObject and this transient field is set to be the "List of Values switcher" in the LOV.
    So I change the value of the transient field with the name of the LOV i want to use and that's it.
    Here is the whole scenario made as simple as possible:
    ViewObject:
    <ViewAttribute
        Name="Kod"  LOVName="LOV_Kod"  LOVFinder="LovSwitcher"> <!-- LovSwitcher is the name of the transient attribute -->
        <Properties>
          <SchemaBasedProperties> <CONTROLTYPE  Value="input_text_lov"/></SchemaBasedProperties>
        </Properties>
      </ViewAttribute>jspx:
    <af:inputListOfValues id="kodId"
                          binding="#{mainMenuBean.lov}"
                          value="#{bindings.Kod.inputValue}"
                          partialTriggers="cb1"                        <--  I have partial trigger to the button.
                          model="#{bindings.Kod.listOfValuesModel}">
          <f:validator binding="#{bindings.Kod.validator}"/>
    </af:inputListOfValues>
    <af:commandButton text="Switch" actionListener="#{mainMenuBean.onTestBtn}" id="cb1"/>bean:
            ... get the current row in "row"....
            //Switch the name of the two LOVs associated with the attribute.
            String ls = row.getLovSwitcher();
            if ("LOV_Kod".equals(ls))
                row.setLovSwitcher("LOV_Kod1");
            else
                row.setLovSwitcher("LOV_Kod");The result is :
    First LOV - OK : [http://www.flickr.com/photos/13808139@N02/5183723733/in/photostream/]
    Then I press the button
    Second LOV - not OK - [http://www.flickr.com/photos/13808139@N02/5183723749/in/photostream/]
    As u can see there is a data in the second lov (I have rows) but it's not visible. If I rename the columns of the second lov to the one in the first I will see the results.
    Is this a bug?
    Thanks
    A. Gruev

  • Password Recovery SRW Switch problem - SRW224G4P

    Hi,
    i have a problem with an SRW224G4P.
    I have lost my admin password. And yes i have read the "Linksys SRW series Switch Password Recovery Procedure".
    My problem is that the message "Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom." don't appear.
    So what can i do?
    Thanks for your help.

    After many reboots, many hours and several terminal software, i get never a message like "Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom."
    Below an Log-File with all Bytes coming from the switch after reboot till then Logon-Screen appears.
    So what can i do????? Any idea ??
    Thanks for your help.
    Image Loader 1.0.1
    Loading Diagnostic Image File : SRW224G4P_SRW248G4P_boot.bix
    Diagnostic 1.0.1
    User Mode
    --- Performing Power-On Self Tests (POST) ---
    DUMMY Test 1 ................. PASS
    UART Loopback Test ........... PASS
    POE UART Loopback Test ....... PASS
    DRAM Test .................... PASS
    Timer Test ................... PASS
    Done All Pass.
    ------------------ DONE ---------------------
    Loading Runtime Image File : SRW224G4P_SRW248G4P_image.bix
    Runtime 1.0.2
    Pass
    root init done
    Set Transition mode ...
    [get stackingMac done ret_val] = 1
    Assigned Unit ID:[1]
    stacking DB: unit = 0, module type = 0
    Finish Set Transition mode ...
    Enter Transition mode ...
    Finish Transition mode ...
    Enter Master mode ...
    Load certificate files : Starting
    Load certificate files : Finished
    Finish Master mode ...
    Performing startup provision ...
    CLI enter main (PROVISION)
    Press [P] to print out the detail provision message
    !<stackingDB>00</stackingDB>
    !<stackingMac>01_00-1c-10-ee-ac-fc_00</stackingMac>
    phymap 00-1c-10-ee-ac-fc
    hostname SRW224G4P_01
    SNTP server 192.168.1.1 0.0.0.0 0.0.0.0
    SNTP client
    clock timezone UTC hours 1 minute 0 after-UTC
    ^
    Invalid input detected at '^' marker.
    SNMP-server location [cleaned]
    SNMP-server contact [cleaned]
    clock timezone-predefined GMT+0100-Amsterdam,Berlin,Bern,Rome,Stockholm,Vienna
    clock summer-time predefined EUROPE
    ^
    Invalid input detected at '^' marker.
    power mainpower maximum allocation 180 unit 1
    snmp-server community public ro
    snmp-server community private rw
    username admin access-level 15
    username admin password 7 1fe56bbd74eacf7[cleaned]
    enable password level 15 7 1b3231655cebb7[cleaned]
    VLAN database
    VLAN 1 name DefaultVlan media ethernet state active
    spanning-tree MST configuration
    interface ethernet 1/1
    switchport allowed vlan add 1 untagged
    switchport native vlan 1
    ![REDUCED] interface ethernet 1/24
    switchport allowed vlan add 1 untagged
    switchport native vlan 1
    interface ethernet 1/25
    switchport mode trunk
    switchport allowed vlan add 1 untagged
    switchport native vlan 1
    interface ethernet 1/26
    switchport mode trunk
    switchport allowed vlan add 1 untagged
    switchport native vlan 1
    interface ethernet 1/27
    switchport mode trunk
    switchport allowed vlan add 1 untagged
    switchport native vlan 1
    interface ethernet 1/28
    switchport mode trunk
    switchport allowed vlan add 1 untagged
    switchport native vlan 1
    interface VLAN 1
    IP address 192.168.1.111 255.255.255.0
    no ip name-server auto
    no IP HTTP server
    ip dhcp hostname SRW224G4P_01
    line console
    silent-time 0
    line VTY
    end
    Notify provision complete
    CLI provision has been completed
    Provision Complete ...
    Finish Provision Complete ...
    [get stackingMac done ret_val] = 1
    XFER: End of config sync.
    [0m[0m[24;0H
    Please press <Enter> to start Menu session!

  • Automatic Graphics Switching Problem

    When using slingplayer on my 2010 17" Core i7 Macbook Pro the graphics will switch to the 330M card (as indicated by system profiler and the wonderful gfxCardStatus program).
    The problem is that if I start the program while the intel card is in use the program will start and I will only have audio, no video.
    BUT if I start the program with the 330M already in use by another program (Skype, Parallels, etc...) the program will start with audio AND Video, like it should. (Note: I haven't tried turning off auto graphics switching as I assume it will work)
    I have no idea why and I am not expecting others to have an answer, but has anyone else had any issues like the one I mentioned?

    Hello,
    I had the same problem. This is what fixed what fixed the problem.
    Firstly Turn off automatic graphics switching after that restart your computer (with the cold color). When your computer is on again you will find that it would be fixed.
    Hope it helped

  • WRT350N/ ADSL/ SWITCH problems.

    Hi All,
    I'm running to a problem here.
    A Friend of mine asked me if I would set up his Network of 5 Machines on XP Pro(no big deal right?)
    He had a Old Dell PowerEdge server that he was getting rid of because it was hurting and he really had no use for it (besides storing documents)
    He mentioned to me that on the server and some of the machines the network would drop/connect/drop/connect then stabilize
    He liked the storage link idea of the WRT350N so he went with that router.
    However the WRT350N only has 4 Ethernet Ports on the back. No big deal I figured as he already had a Linksys 16 Port Switch.
    So I disconnected his server and took it out of the loop.
    I hooked up his new WRT350N to one of his machines, Set it up, Got the PPPoE up and running. The machine connected to the internet without a hitch and was running great.
    So at this point I disconnect the DSL Modem. I disconnect the machine that I had running directly to the router and plug it into the switch. At this time I also set up the other machine to the switch.
    Let me overview now,
    I have the DSL Modem connected to the Internet Port on the router, A Ethernet Cable running from Port 1 to Port 1 on the switch. I have the machines connected to other ports. I plugged
    I get the other machines fired up and they connect.... Then drop...Connect... Drop..... Stay dropped and are not being assigned the correct IP Address... Instead of 192.xxx Ip address they were being assigned a 169.xxx IP Address.
    After some thinking I decide to try another switch and repeat my process. Same problem occurred. I got frustrated and he needed his computers back up so I hooked the server back up and his old router the way it was...
    It connected..dropped.connected... then was able to stay connected.
    Any ideas what's going on with this thing?
    (Edited title to prevent page from stretching. Thanks!)Message Edited by JOHNDOE_06 on 04-08-2007 09:43 AM

    Well, I haven't gotten the chance yet to try out forcing an IP Address.
    But I did have the chance to test the same identical setup that I stated earlier at my home office, Only difference being Cable Internet.
    I had the whole thing WRT350N/SWITCH/Storage Link up and running in about 20 minutes. It assigned IP Addresses perfectly to multiple machines and was running fantastic.
    Is there a procedure I'm missing with DSL or anything I should know besides trying to force an IP Address?
    Thanks,
    Nick

Maybe you are looking for

  • Mixing Memory

    My z61m, type 9450-A36 has 2 512 cards. The number on them is 512 2Rx 16 PC2-5300S 555-12-A3. Can I put in a 2GB PC2-5300 667MHZ DDR2 Sdram card and one of the 512s in? Thanks Sue Solved! Go to Solution.

  • When i send a photo taken on ipad it appears upside down at addressees but fine on ipad email

    when i forward a photo taken on ipad it appears upside down to addressees but fine on my ipad email as a cc copy?

  • Connectivity to I-series/Z-series Main Frames by Java class

    I am trying to fire Quries to DB2 DB residing on Mainframe . To connect to Mainframe I should have have db2jcc.jar/db2java.zip . But i do not know from where can i get these files .and even after geting these files do i need any client to run on my F

  • Font problem sending from Mac Mail to PC users.

    I'm using Mac Mail - as I wanted to do away with Entourage to bring everything under the Mac umbrella. Problem is now that I have switched app. whenever I send a mail to a PC user the font changes to Times. I've tried changing my default font from Ar

  • Help! Converted music videos have no sound!

    After converting a couple of music videos (using Advanced > Convert selection for iPod), I synched to my nano. The video played well on the nano but without sound. Played on iTunes, the converted videos are also without sound. Can someone help me out