Linking to a bundled framework
I got XCode to copy my Framework to "Application.app/Contents/Frameworks", but I can't get it to link because whenever I open this application on another partition without the Framework installed it will return an error (something about not working on this version of OSX) and in the system logs there will be something about said Framework not being found.
I have tried the following settings for Framework search paths but they result in nothing:
To recap:
Step 1: Copy Framework into bundle √
Step 2: Link application with bundled Framework and not the one in /Library/Frameworks (which the user probably hasn't installed)
Include the framework as a resource in your application. That way, it will get copied into the application bundle. Then, in a run script build phase, use install_name_tool to tell the application to link against the file in @executable.
Similar Messages
-
Dynamic linking of third party frameworks
Hi,
does flex also supports linking of third party frameworks as RSL in flex application . i think currently only flex framework is dynamically linked ?You can create a RSL from a Library project you can read more here:
http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_02.html#220675 -
Link my website (Zend Framework 1.12) with SQL database on Azure
Hello community!
Recently I uploaded my website on Azure portal. I built my website with Zend Framework 1.12.
My problem comes when i am trying to link my website with my SQL database.
I have already post a question to Stackoverflow stackoverflow.com/questions/20638706/link-zend-framework-1-12-on-azure-with-a-database-on-azure
Can anyone help me to running over with this problem?
Thanks in advance!I have already tried this, but i received error and my website doesn't load!
This is my whole cone in application.ini file
[production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 1
resources.view.encoding = "UTF-8"
resources.view.doctype = "XHTML1_STRICT"
resources.view.contentType = "text/html;charset=utf-8"
resources.view[] = ""
autoloaderNamespaces[] = "Skoch_"
resources.db.adapter="pdo_mysql"
resources.db.params.host="Server_Name.database.windows.net"
resources.db.params.port=1433
resources.db.params.username="login_name"
resources.db.params.password="password"
resources.db.params.dbname="Database_name"
resources.db.isDefaultTableAdapter=
true
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
[staging : production]
resources.frontController.params.displayExceptions = 1
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1 -
Logging event trunk-status vs link-status vs bundle-status
Hi
This is not really a query regarding the above interface level commands, but just looking for someone elses view on the differences regardless of however subtle they are.
No links please, like I said I know what they are and do.
Just your real life expereinces why you needed bundle-status for instance will do just fine.
thanks in advanceThree different use cases for status notifications.
I'll give you my experience with using these commands and where they are useful.
Logging event trunk-status--this command is particularly useful for tracking security vulnerabilities as well as trunk mismatches when you're relying on DTP for trunk negotiation.
Say you have a trunk uplink on a switch that links to a distribution switch. This trunk carries traffic for multiple VLANs (thus the very definition of a trunk).
Lets say the other side of the link on the distribution switch is for some reason changed from a trunking state (switchport mode trunk, or switchport mode dynamic desirable/auto) to a non-trunking state (switchport mode access). If the uplink on your access layer switch is not hard-coded for trunk-mode (switchport mode trunk and/or switchport nonegotiate), then your uplink interface can potentially be changed from a trunk port to an access port and only carry traffic for a single VLAN. This would leave other clients on the access switch VLANs stranded from the rest of the network. This logging mechanism would let you know that the switchport is no longer an operational trunk, even though the link status would still be up.
Of course, as a best practice, you should never rely on DTP to form trunk links, especially on uplinks.
The second use is for security--if you have an interface that you KNOW should never become a trunk interface (i.e. an access port where clients connect), and for whatever reason the interface becomes a trunk link (due to a compromised switch or an over-reliance on DTP), you could potentially expose VLANs that users should never have access to. This logging mechanism would let you know if that happens.
Logging event link-status--this one is simple--it logs whether the interface is up/down or changes. One thing I find this useful for is on particularly important interfaces--uplink interfaces, routing adjacency interfaces, server interfaces, etc. Use this on any port when you want to absolutely know if it goes down.
Logging event bundle-status--this one is fairly simple as well--it logs whether there is a change in the port-channel. This could be triggered by a member interface leaving or joining. One reason you would want to use this is for guaranteed bandwidth and configuration consistency.
Sometimes port-channel members leave a channel-group because the configuration is changed on one member and not on the other, likely by mistake. This could catch an error like that and cue you on where to look into the issue. As for bandwidth, obviously you don't want to believe you have 20Gbps or 2Gbps on your uplink, then find out that you actually have half (or whatever portion) of that bandwidth missing because a member has left the port-channel. Both situations can be avoided by monitoring the status of your bundle (or port-channel). -
How to link a document in Framework
In CWB Home Page there is ability to link to various URL.
I know how to link to a Portal. But I need to link to a Document (Word or PPT) which is located in Shared Servers.
If this is possible , How do I write the full Path which includes the document?Hi,
I am not sure whether I understood your requirement clearly.
If you just want to link a document to your service desk message, you can easily attach the document to the "attchmnt" tab of the "notif_create" transaction, if you are using "notif_create" to create your service desk message.
(ii) If you are using "crm_dno_monitor" transaction, then you can upload the document in the "documents" tab of this transaction.
(iii) But, if your requirement is that that you have to upload the document in the Solar01/Solar02 transaction and only have to link to your service desk message, then you can generate the URL of the uploaded document and attach it using the "My Network Places" button of the "Open File" dialog (that comes up by clicking the "export" button of the "attchmnt" tab of the "notif_create" transaction) and specifying the URL in the "File Name" field.
(iv) If the requirement is the same as in (iii), but if you use "crm_dno_monitor" transaction, the same procedure can be followed in the "documents" tab of this transaction or else we can also use the "create URL" button of the documents tab.
Hope you know the procedure for generating the URL of the uploaded document.
Dont forget to reward for useful answers.
Best regards,
Alagammai. -
How to link the resource bundle in JSF implemented in eclipse?
Kindly help me out
This is how I called the resource bundle in JSF
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>
<f:loadBundle basename="constantsUIProp" var="prop"/>
<h:form>
<h:inputText maxlength="#{prop.AREA_CODE_MAX}"></h:inputText>
</h:form>
</f:view>
</body>
</html>
when i tend to build, it shows an error like+ Resource bundle cannot be found on the classpath+
I have saved the resource bundle in WebContent/Web-Inf/classes/constantsUIProp -
How to compile and link a C program that uses the FSEvents framework
I've been trying to compile a program from the command line that uses the FSEvents framework. I can compile and link the code in Xcode and it runs correctly.
At the moment I have the following command line:
cc -Wall -g -o Watcher *.c -framework CoreFoundation -framework FSEvents
I'm running Snow Leopard and noticed that FSEvents is not in the Frameworks directory under /System/Library as it was in Leopard.
The link error is:
ld: framework not found FSEvents
collect2: ld returned 1 exit statusI'm not sure what the point is if it builds in Xcode, but the build log should show you every command it uses throughout the process--copy and paste.
-
Problems linking ApplicationServices framework
I cannot link to the ApplicationServices framework:
clang -framework ApplicationServices
returns the following error
ld: cannot link directly with /System/Library/Frameworks//ApplicationServices.framework/ApplicationServices. Link against the umbrella framework 'ApplicationServices.framework' instead. for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If i add -isysroot /Developer/SDKs/MacOSX10.7.sdk to the linker flags it works, but I don't understand why.if you got the final version of SDK it should work fine but if you don't have the final version try these steps:
This is the same fix you'll need for any other framework you add:
1) XCode Menu: ->Project -> Edit Active Target
2) Select Build Tab
3) Find "Framework Search Paths" under Search Paths section
4) Double Click to Edit
5) Delete all lines.
Rebuild and voila. -
Provisioning Framework for SAP IDM 7.2 -- Download link required
Hello Experts,
Could you please provide me the link to download Provisioning Framework for SAP IDM 7.2 .
Thanks in Advance,
Regards,
Devyou can get links to all doco [here|http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/4000d09f-a9b9-2d10-8b90-ba3a0f9fe0c8]. That link is accessible from IdM 7.2 homepage.
Yes, I meant using version 7.2 of provisioning framework with 7.1 components.
Cheers -
Link outage in Etherchannel causes interface down and failover Secondary Faild
Hi,
I have configured port-channel Firewall ASA5515-X and stacking switch WS-3750X. Also firewall configured as failover mode. Problem is that my active firewall connected switch port show green and working but standby firewall connected switch port shows orange color. When i inpute show failover command on firewall, secondary is faild. Please assist. Here is the below show command.
mdbl-int-fw-01# sho port-channel 10
Ports: 2 Maxports = 16
Port-channels: 1 Max Port-channels = 48
Protocol: LACP/ active
Minimum Links: 1
Maximum Bundle: 8
Load balance: src-dst-ip
mdbl-int-fw-01# sho interface port-channel 10
Interface Port-channel10 "inside", is up, line protocol is up
Hardware is EtherChannel/LACP, BW 2000 Mbps, DLY 10 usec
Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps)
Input flow control is unsupported, output flow control is off
Description: *** Connected to CORE-SW ***
MAC address 4c00.821d.511f, MTU 1500
IP address 10.98.8.97, subnet mask 255.255.255.248
Traffic Statistics for "inside":
56859 packets input, 3419130 bytes
148709 packets output, 16063580 bytes
56858 packets dropped
1 minute input rate 0 pkts/sec, 46 bytes/sec
1 minute output rate 2 pkts/sec, 216 bytes/sec
1 minute drop rate, 0 pkts/sec
5 minute input rate 0 pkts/sec, 46 bytes/sec
5 minute output rate 2 pkts/sec, 216 bytes/sec
5 minute drop rate, 0 pkts/sec
Members in this channel:
Active: Gi0/1 Gi0/2
mdbl-int-fw-01# sho port
mdbl-int-fw-01# sho port-channel sum
mdbl-int-fw-01# sho port-channel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
U - in use N - not in use, no aggregation/nameif
M - not in use, no aggregation due to minimum links not met
w - waiting to be aggregated
Number of channel-groups in use: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
10 Po10(U) LACP Gi0/1(P) Gi0/2(P)
mdbl-int-fw-01#
mdbl-int-fw-01# sho port-channel ?
<1-48> Channel group number
brief Brief information
detail Detail information
port Port information
protocol protocol enabled
summary One-line summary per channel-group
| Output modifiers
<cr>
mdbl-int-fw-01# sho port-channel bri
mdbl-int-fw-01# sho port-channel brief
Channel-group listing:
Group: 10
Ports: 2 Maxports = 16
Port-channels: 1 Max Port-channels = 48
Protocol: LACP/ active
Minimum Links: 1
Maximum Bundle: 8
Load balance: src-dst-ip
mdbl-int-fw-01# sho port-channel ?
<1-48> Channel group number
brief Brief information
detail Detail information
port Port information
protocol protocol enabled
summary One-line summary per channel-group
| Output modifiers
<cr>
mdbl-int-fw-01# sho port-channel pro
mdbl-int-fw-01# sho port-channel protocol
Channel-group listing:
Group: 10
Protocol: LACP
mdbl-int-fw-01# sho port-channel ?
<1-48> Channel group number
brief Brief information
detail Detail information
port Port information
protocol protocol enabled
summary One-line summary per channel-group
| Output modifiers
<cr>
mdbl-int-fw-01# sho port-channel det
mdbl-int-fw-01# sho port-channel detail
Channel-group listing:
Group: 10
Ports: 2 Maxports = 16
Port-channels: 1 Max Port-channels = 48
Protocol: LACP/ active
Minimum Links: 1
Maximum Bundle: 8
Load balance: src-dst-ip
Ports in the group:
Port: Gi0/1
Port state = bndl
Channel group = 10 Mode = LACP/ active
Port-channel = Po10
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi0/1 SA bndl 32768 0xa 0xa 0x2 0x3d
Partner's information:
Partner Partner LACP Partner Partner Partner Partner Partner
Port Flags State Port Priority Admin Key Oper Key Port Number Port State
Gi0/1 SA bndl 32768 0x0 0xa 0x118 0x3d
Port: Gi0/2
Port state = bndl
Channel group = 10 Mode = LACP/ active
Port-channel = Po10
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi0/2 SA bndl 32768 0xa 0xa 0x3 0x3d
Partner's information:
Partner Partner LACP Partner Partner Partner Partner Partner
Port Flags State Port Priority Admin Key Oper Key Port Number Port State
Gi0/2 SA bndl 32768 0x0 0xa 0x119 0x3d
mdbl-int-fw-01#
mdbl-int-fw-01#
mdbl-int-fw-01#
mdbl-int-fw-01#
mdbl-int-fw-01# sho port-channel ?
<1-48> Channel group number
brief Brief information
detail Detail information
port Port information
protocol protocol enabled
summary One-line summary per channel-group
| Output modifiers
<cr>
mdbl-int-fw-01# sho fail
mdbl-int-fw-01# sho failover st
mdbl-int-fw-01# sho failover state
State Last Failure Reason Date/Time
This host - Primary
Active None
Other host - Secondary
Failed Ifc Failure 22:03:03 UTC Jan 8 2014
outside: No Link
dmz: No Link
mgt: No Link
inside: No Link
====Configuration State===
Sync Done
====Communication State===
Mac set
mdbl-int-fw-01#
mdbl-int-fw-01#
mdbl-int-fw-01#
mdbl-int-fw-01# sho failover
Failover On
Failover unit Primary
Failover LAN Interface: failover GigabitEthernet0/3 (up)
Unit Poll frequency 200 milliseconds, holdtime 800 milliseconds
Interface Poll frequency 500 milliseconds, holdtime 5 seconds
Interface Policy 1
Monitored Interfaces 4 of 114 maximum
failover replication http
Version: Ours 8.6(1)2, Mate 8.6(1)2
Last Failover at: 02:16:48 UTC Jan 8 2014
This host: Primary - Active
Active time: 74479 (sec)
slot 0: ASA5515 hw/sw rev (1.0/8.6(1)2) status (Up Sys)
Interface outside (118.179.139.4): No Link (Waiting)
Interface dmz (10.98.56.3): No Link (Waiting)
Interface mgt (10.10.11.1): Unknown (Waiting)
Interface inside (10.98.8.97): Normal (Waiting)
slot 1: IPS5515 hw/sw rev (N/A/7.1(4)E4) status (Up/Up)
IPS, 7.1(4)E4, Up
Other host: Secondary - Failed
Active time: 0 (sec)
slot 0: ASA5515 hw/sw rev (1.0/8.6(1)2) status (Up Sys)
Interface outside (118.179.139.6): No Link (Waiting)
Interface dmz (10.98.56.2): No Link (Waiting)
Interface mgt (0.0.0.0): No Link (Waiting)
Interface inside (10.98.8.98): No Link (Waiting)
slot 1: IPS5515 hw/sw rev (N/A/7.1(4)E4) status (Up/Up)
IPS, 7.1(4)E4, Up
Stateful Failover Logical Update Statistics
Link : failover GigabitEthernet0/3 (up)
Stateful Obj xmit xerr rcv rerr
General 12665 0 9929 0
sys cmd 9929 0 9929 0
up time 0 0 0 0
RPC services 0 0 0 0
TCP conn 0 0 0 0
UDP conn 0 0 0 0
ARP tbl 2735 0 0 0
Xlate_Timeout 0 0 0 0
IPv6 ND tbl 0 0 0 0
VPN IKEv1 SA 0 0 0 0
VPN IKEv1 P2 0 0 0 0
VPN IKEv2 SA 0 0 0 0
VPN IKEv2 P2 0 0 0 0
VPN CTCP upd 0 0 0 0
VPN SDI upd 0 0 0 0
VPN DHCP upd 0 0 0 0
SIP Session 0 0 0 0
Route Session 0 0 0 0
User-Identity 1 0 0 0
Logical Update Queue Information
Cur Max Total
Recv Q: 0 7 9930
Xmit Q: 0 30 99581
mdbl-int-fw-01#
mdbl-int-fw-01#
mdbl-int-fw-01# sho failover state
State Last Failure Reason Date/Time
This host - Primary
Active None
Other host - Secondary
Failed Ifc Failure 22:03:03 UTC Jan 8 2014
outside: No Link
dmz: No Link
mgt: No Link
inside: No Link
====Configuration State===
Sync Done
====Communication State===
Mac set
mdbl-int-fw-01# sho failover ?
descriptor Show failover interface descriptors. Two numbers are shown for
each interface. When exchanging information regarding a
particular interface, this unit uses the first number in messages
it sends to its peer. And it expects the second number in
messages it receives from its peer. For trouble shooting, collect
the show output from both units and verify that the numbers
match.
exec Show failover command execution information
history Show failover switching history
interface Show failover command interface information
state Show failover internal state information
statistics Show failover command interface statistics information
| Output modifiers
<cr>
mdbl-int-fw-01# sho failover inter
mdbl-int-fw-01# sho failover interface
interface failover GigabitEthernet0/3
System IP Address: 10.98.8.89 255.255.255.248
My IP Address : 10.98.8.89
Other IP Address : 10.98.8.90
mdbl-int-fw-01# sho failover stati
mdbl-int-fw-01# sho failover statistics
tx:995725
rx:980617
mdbl-int-fw-01# sho failover hi
mdbl-int-fw-01# sho failover history
==========================================================================
From State To State Reason
==========================================================================
02:16:40 UTC Jan 8 2014
Not Detected Negotiation No Error
02:16:48 UTC Jan 8 2014
Negotiation Just Active No Active unit found
02:16:48 UTC Jan 8 2014
Just Active Active Drain No Active unit found
02:16:48 UTC Jan 8 2014
Active Drain Active Applying Config No Active unit found
02:16:48 UTC Jan 8 2014
Active Applying Config Active Config Applied No Active unit found
02:16:48 UTC Jan 8 2014
Active Config Applied Active No Active unit found
==========================================================================
mdbl-int-fw-01# sho failover
Failover On
Failover unit Primary
Failover LAN Interface: failover GigabitEthernet0/3 (up)
Unit Poll frequency 200 milliseconds, holdtime 800 milliseconds
Interface Poll frequency 500 milliseconds, holdtime 5 seconds
Interface Policy 1
Monitored Interfaces 4 of 114 maximum
failover replication http
Version: Ours 8.6(1)2, Mate 8.6(1)2
Last Failover at: 02:16:48 UTC Jan 8 2014
This host: Primary - Active
Active time: 74554 (sec)
slot 0: ASA5515 hw/sw rev (1.0/8.6(1)2) status (Up Sys)
Interface outside (118.179.139.4): No Link (Waiting)
Interface dmz (10.98.56.3): No Link (Waiting)
Interface mgt (10.10.11.1): Unknown (Waiting)
Interface inside (10.98.8.97): Normal (Waiting)
slot 1: IPS5515 hw/sw rev (N/A/7.1(4)E4) status (Up/Up)
IPS, 7.1(4)E4, Up
Other host: Secondary - Failed
Active time: 0 (sec)
slot 0: ASA5515 hw/sw rev (1.0/8.6(1)2) status (Up Sys)
Interface outside (118.179.139.6): No Link (Waiting)
Interface dmz (10.98.56.2): No Link (Waiting)
Interface mgt (0.0.0.0): No Link (Waiting)
Interface inside (10.98.8.98): No Link (Waiting)
slot 1: IPS5515 hw/sw rev (N/A/7.1(4)E4) status (Up/Up)
IPS, 7.1(4)E4, Up
Stateful Failover Logical Update Statistics
Link : failover GigabitEthernet0/3 (up)
Stateful Obj xmit xerr rcv rerr
General 12676 0 9938 0
sys cmd 9938 0 9938 0
up time 0 0 0 0
RPC services 0 0 0 0
TCP conn 0 0 0 0
UDP conn 0 0 0 0
ARP tbl 2737 0 0 0
Xlate_Timeout 0 0 0 0
IPv6 ND tbl 0 0 0 0
VPN IKEv1 SA 0 0 0 0
VPN IKEv1 P2 0 0 0 0
VPN IKEv2 SA 0 0 0 0
VPN IKEv2 P2 0 0 0 0
VPN CTCP upd 0 0 0 0
VPN SDI upd 0 0 0 0
VPN DHCP upd 0 0 0 0
SIP Session 0 0 0 0
Route Session 0 0 0 0
User-Identity 1 0 0 0
Logical Update Queue Information
Cur Max Total
Recv Q: 0 7 9940
Xmit Q: 0 30 99677Hi Ganesan,
I am proposing a design like this. You can have the STP in pvst mode and have a different priority set for the core switch to make it core a as root bridge. There is nothing wrong with your design you have made you core switch which will be physically down to your firewall... but in real it comes on the top of your firewall as well... But spanning tree conf should be done properly to achieve this... I have proposed my design which is pretty simple but easy for troubleshoot....
You can have your firewalls connected to core switch on the down and can directly connected to router on outside... always core a -->py fw--rtra will be the primary path... if anything goes wrong then secondary line will come in to picture....
make sure that your hsrp will have high priority to ur core a vlan conf for the access switches.....
Please do rate for the helpful posts.
By
Karthik -
Load balancing on sub-interfaces (3 links)
Hello.
I am trying to load balance between the three links of a bundle. Traffic comes and goes with the same bundle interface.
Launched 5 threads TCP\UDP with different SRC DST IP addresses and see the following balances:
IOS-XR Monitor Time: 00:00:30 SysUptime: 106:39:28
Last Clear: 00:00:22
Protocol:General
Interface In(pps) Out(pps) InPkts/Delta OutPkts/Delta
Te0/1/0/0 11381 628 102062/25512 256/64
Te0/1/0/1 33849 55965 303244/75700 505364/126230
Te0/1/0/2 11363 0 100800/25200 0/0
Quit='q', Clear='c', Freeze='f', Thaw='t',
Next set='n', Prev set='p', Bytes='y', Packets='k'
(General='g', IPv4 Uni='4u', IPv4 Multi='4m', IPv6 Uni='6u', IPv6 Multi='6m')
We have 10G switch connected to asr9010 three ports and the following configuration:
interface TenGigE0/1/0/0
bundle id 1 mode active
bundle port-priority 2
interface TenGigE0/1/0/1
bundle id 1 mode active
bundle port-priority 2
interface TenGigE0/1/0/2
bundle id 1 mode active
interface Bundle-Ether1.75
ipv4 address 25.0.0.1 255.255.255.252
encapsulation dot1q 75
interface Bundle-Ether1.76
ipv4 address 26.0.0.1 255.255.255.252
encapsulation dot1q 76
RP/0/RSP0/CPU0: ios # sh bundle load-balancing bundle-e1 detail location 0/1/CPU0
Tue Jun 4 07:03:07.605 UTC
Bundle-Ether1
Type: Ether (L3)
Members <current/max>: 3/3
Total Weighting: 3
Load balance: Default
Locality threshold: 65
Avoid rebalancing? False
Sub-interfaces: 3
Member Information:
Port: LON ULID BW
Te0/1/0/0 0 0 1
Te0/1/0/1 1 1 1
Te0/1/0/2 2 2 1
Sub-interface Information:
Sub-interface Type Load Balance Locality
Hash Threshold
Bundle-Ether1.76 L3 Default 65
Bundle-Ether1.75 L3 Default 65
Bundle-Ether1.100 L3 Default 65
Platform Information:
=====================
* Bundle Summary Information *
Interface: Bundle-Ether1 Ifhandle: 0x08000160
Lag ID: 1 Virtual Port: 255
Number of Members: 3 Local to LC: Yes
Hash Modulo Index: 3
Member Information:
LON Interface ifhandle SFP port slot remote / rack_id
Te0/1/0/0 0x02000140 0 12 0 1 0/0
Te0/1/0/1 0x02000180 1 13 0 1 0/0
Te0/1/0/2 0x020001c0 11 2 0 1 0/0
* Bundle Table Information *
[NP 0]:
Unicast (Global) LAG table
idx local LON VQI port
1 0 0 12 0
2 0 1 13 0
3 0 2 11 0
[NP 1]
Unicast (Global) LAG table
idx local LON VQI port
1 0 0 12 0
2 0 1 13 0
3 0 2 11 0
[NP 2]:
Unicast (Global) LAG table
idx local LON VQI port
1 0 0 12 0
2 0 1 13 0
3 0 2 11 0
[NP 3]
Unicast (Global) LAG table | Multicast (Local) LAG table
idx local LON VQI port | idx local LON VQI port
1 0 0 12 0 1 1 2 11 0
2 0 1 13 0 2 0 0 0 0
3 1 2 11 0 3 0 0 0 0
[NP 4]:
Unicast (Global) LAG table | Multicast (Local) LAG table
idx local LON VQI port | idx local LON VQI port
1 1 0 12 0 1 1 0 12 0
2 0 1 13 0 2 0 0 0 0
3 0 2 11 0 3 0 0 0 0
[NP 5]
Unicast (Global) LAG table | Multicast (Local) LAG table
idx local LON VQI port | idx local LON VQI port
1 0 0 12 0 1 1 1 13 0
2 1 1 13 0 2 0 0 0 0
3 0 2 11 0 3 0 0 0 0
[NP 6]
Unicast (Global) LAG table
idx local LON VQI port
1 0 0 12 0
2 0 1 13 0
3 0 2 11 0
[NP 7]
Unicast (Global) LAG table
idx local LON VQI port
1 0 0 12 0
2 0 1 13 0
3 0 2 11 0
================================================== =============================20 flows and a bit better result:
IOS-XR Monitor Time: 00:00:08 SysUptime: 133:33:44
Last Clear: 00:00:06
Protocol:General
Interface In(pps) Out(pps) InPkts/Delta OutPkts/Delta
Te0/1/0/0 11794 14977 0/44696 0/44484
Te0/1/0/1 10682 8786 0/37924 0/25456
Te0/1/0/2 18243 16958 0/44596 0/57579
Quit='q', Clear='c', Freeze='f', Thaw='t',
Next set='n', Prev set='p', Bytes='y', Packets='k'
(General='g', IPv4 Uni='4u', IPv4 Multi='4m', IPv6 Uni='6u', IPv6 Multi='6m')
Can the ASR9K more or less normal balance on uneven number of links? -
Axis Framework in SOAP Adapter in PI 7.1
Hi Experts,
I am working on PI 7.1 . I just need to know all that I can about Axis Framework in SOAP Adapter
All inputs are welcome.
Many thanks,
NehaHi !
have a look on these links
Using the Axis Framework in the SOAP Adapter
http://help.sap.com/saphelp_NW04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
Have a look at this Pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f
Thanks !
Abhishek -
Real time scenario for AXIS framework in SOAP adapter
Hello,
Can anybody please suggest some real time scenario where AXIS framework can be used
and what are the advanteges and disadvantages of using AXIS framework
regards,
LoveenaHi !
have a look on these links
Using the Axis Framework in the SOAP Adapter
http://help.sap.com/saphelp_NW04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
Have a look at this Pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f
Thanks !
Abhishek -
OSGi bundle JNI load/unload problem
Hi everybody!!
One more thread about the topic. I still didn't find a solution. Can anybody help me?
I have an OSGi bundle that access native methods from a JNI library (for a medical device). I could make my bundle work once, but the second time I tried to access the methods, the dll was still in use I couldn't get data from the methods.
This is the class I used (I even tried with a custom libloader):
public class Omron637ITjni {
/*Native functions from the JNI dll*/
public native int OmronInit();
public native int OmronClose();
public native int OmronFinish();
public native int OmronOpen(int disp);
public native int OmronRead(MeasurementData MData, int pos);
public native void OmronNumRead(DataCount DCount);
static{
//Using LibLoader
/*try {
LibLoader.loadCommLib("omron637IT");
catch ( Exception x ) {
// do what is necessary
System.out.println(x);
//Using System Commander
try{
System.out.println("Charging Library Omron");
System.loadLibrary("omron637IT");
}catch(UnsatisfiedLinkError unsatisfiedlinkerror)
System.out.println("Error loading library: " + unsatisfiedlinkerror);
As it seems not to work, I'm trying with Singleton pattern. This is my new class:
public class Omron637ITjni_Singleton {
* Native functions from the JNI dll
public native int OmronInit();
public native int OmronClose();
public native int OmronFinish();
public native int OmronOpen(int disp);
public native int OmronRead(MeasurementData MData, int pos);
public native void OmronNumRead(DataCount DCount);
private static Omron637ITjni_Singleton singleton;
* Instance accessor following singleton.
public static Omron637ITjni_Singleton getInstance() {
if (singleton == null){
System.out.println("Create Object");
singleton = new Omron637ITjni_Singleton();
else{
System.out.println("Object already created; use instance");
return singleton;
* Private constructor to ensure that a <tt>ResourceManager</tt>
* cannot be constructed from outside this class.
private Omron637ITjni_Singleton() {
static{
//Using LibLoader
/*try {
LibLoader.loadCommLib("omron637IT");
catch ( Exception x ) {
// do what is necessary
System.out.println(x);
try {
System.out.println("Charging Omron library from Singleton");
System.loadLibrary("omron637IT");
System.out.println("Library charged");
} catch (UnsatisfiedLinkError ule) {
System.out.println("Error loading library: " + ule);
At this very moment, when executing
Omron637ITjni_Singleton jni = Omron637ITjni_Singleton.getInstance();
from the Activator, I get from the Knopflerfish console:
[stdout] omron637ITBPM starting...
[stdout] Service registered: Omron 637IT Blood Pressure Monitor
[stdout] Charging Library Omron desde Singleton
[stdout] Library chatged
[stdout] Create object
Then, I call a services provided by the bundle:
framework call omron637IT.Omron637ITInterface getData
which calls the following function:
public void getData() {
// TODO Auto-generated method stub
//Omron637ITjni jni = new Omron637ITjni();
//Singleton
Omron637ITjni_Singleton jni = Omron637ITjni_Singleton.getInstance();
try {
int res = jni.OmronInit();
int ok_open = jni.OmronOpen(res);
System.out.println("The attempt of connecting the Omron637IT device ended with code: " + ok_open + " [(0) normal (1) still in process (2) error]");
if (ok_open == 0){ //OK
DataCount NumData = new DataCount();
jni.OmronNumRead(NumData);
System.out.println("DATA");
System.out.println("----");
for (int pos = 0;pos<NumData.nData1;pos++){
MeasurementData Data = new MeasurementData();
int ok_read = jni.OmronRead(Data,pos);
int annyo = Data.cYear + 2000;
int i = pos + 1;
if (ok_read == 0)
System.out.println("Num: " + i + "; Date-> " + Data.cDay + "/" + Data.cMonth + "/" + annyo + "; Time-> " + Data.cTime + ":" + Data.cMinute + ":" + Data.cSecond + "; Sys-> " + Data.nSys + "; Dia-> " + Data.cDia + "; Pls-> " + Data.cPls);
int stop = jni.OmronClose();
System.out.println("Close with code " + stop + " Right?");
int finish = jni.OmronFinish();
System.out.println("Finish with code " + finish + " Right?");
System.gc();
System.gc();
else
System.out.println("The process of opening the device ended with error");
}catch (UnsatisfiedLinkError ule) {
System.out.println("BRUTAL ERROR: " + ule);
[stdout] The objeto already exists
[stdout] BRUTAL ERROR: java.lang.UnsatisfiedLinkError: OmronInit
Result: null
which indicates that this time I'm using the same instance of the singleton class created in the activation process, but that I cannot access the method. ANY HINT??
I also provide you the JNI dll code (because I add the exporting of the JNI_OnLoad & OnUnload methods:
.h
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class omron637IT_Omron637ITjni */
#ifndef Includedomron637IT_Omron637ITjni
#define Includedomron637IT_Omron637ITjni
#ifdef __cplusplus
extern "C" {
#endif
* OnLoad & UnLoad
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM vm, void reserved);
JNIEXPORT void JNICALL JNI_OnUnload(JavaVM vm, void reserved);
* Class: omron637IT_Omron637ITjni
* Method: OmronInit
* Signature: ()I
JNIEXPORT jint JNICALL Java_omron637IT_Omron637ITjni_OmronInit
(JNIEnv *, jobject);
* Class: omron637IT_Omron637ITjni
* Method: OmronOpen
* Signature: (I)I
JNIEXPORT jint JNICALL Java_omron637IT_Omron637ITjni_OmronOpen
(JNIEnv *, jobject, jint);
* Class: omron637IT_Omron637ITjni
* Method: OmronRead
* Signature: (Lomron637IT/MeasurementData;I)I
JNIEXPORT jint JNICALL Java_omron637IT_Omron637ITjni_OmronRead
(JNIEnv *, jobject, jobject, jint);
* Class: omron637IT_Omron637ITjni
* Method: OmronNumRead
* Signature: (Lomron637IT/DataCount;)V
JNIEXPORT void JNICALL Java_omron637IT_Omron637ITjni_OmronNumRead
(JNIEnv *, jobject, jobject);
* Class: omron637IT_Omron637ITjni
* Method: OmronClose
* Signature: ()I
JNIEXPORT jint JNICALL Java_omron637IT_Omron637ITjni_OmronClose
(JNIEnv *, jobject);
* Class: omron637IT_Omron637ITjni
* Method: OmronFinish
* Signature: ()I
JNIEXPORT jint JNICALL Java_omron637IT_Omron637ITjni_OmronFinish
(JNIEnv *, jobject);
#ifdef __cplusplus
#endif
#endif
and part of the code (.cpp):
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM vm, void reserved)
return JNI_VERSION_1_4;
JNIEXPORT void JNICALL JNI_OnUnload(JavaVM vm, void reserved)
JNIEXPORT jint JNICALL Java_omron637IT_Omron637ITjni_OmronInit
(JNIEnv *env, jobject obj)
iNumberOflist = DEVLISTMAX;
iSpeed = USF_SPEED4800;
iStopBit = USF_STOP2;
iProduct = USF_BPM;
ret = USF_Search(hDlg, iSpeed, iStopBit, iProduct, DevList, &iNumberOflist);
return iNumberOflist;
Can anybody tell me what I'm doing wrong???. This really drives me crazy
BR & very thanks in advance for any input.This is a known bug. Check out http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4712793
-
What is in Lightroom Bundle?
I have LR4, legal full version.
I would like to buy the CD/DVD of LR5, the bundled version.
What is limited in the bundled version as compared to a "full version" of it?
Thanks
BLIdentical.
Do you have a link to the bundled version you're referring to?
Bundled does not mean limited unless they use the words Lite or Express or similar. Bundled just means the hardware manufacturer has a commercial arrangement with Adobe to include a copy of the full software with the hardware product for no extra cost to the end user.
Maybe you are looking for
-
2012 R2 Fax Server -- "The Message could not be sent. The wait operation timed out."
I receive the following error on a newly installed 2012 R2 fax server when sending from the Windows Fax and Scan console: "The Message could not be sent. The wait operation timed out." The test fax that fails only contains text that I type into the
-
Where is the deauthorize all button in itunes?
I am logged in, trying to authorize my computer and get a message that I have reached my limit of 5 and need to deauthorize other computers. I don't have any of those old computers and I cannot find the Deauthorize All button anywhere. It's not in th
-
Problem with CustomCellRender && CustomCellEditor....
Hi to every one, can any one help me to solve this problem. I have a Custom cell renderer and custom cell editor. so the requirement is i want a "Check Box" when the object is of type Boolean else I want "TextField". ->Like mixing of both "Check Box"
-
What type of cable??
My screen went out on my g3 and am trying to connect it to a computer monitor (VGA). Apple does not sell cables for the ibook g3 laptop any more. I ordered two cables (mini display port and mini-DVI) and they were either to small or too big for my co
-
i ask for a mac code 23rd this mouth from bt and the code was invaid what can i do wait untill 22nd next month for a new mac code?