Web Dispacher, deactivate a particular node how to?
Hi,
Is there any property that can be set in the Web dispatcher profile or the message server, which can stop sending any request to a particular J2ee instance in the cluster?
The business requirement is that one server (node) in the cluster should not receive any HTTP(s) request from the client, so that this server can be dedicated to run some application intensive routines.
One way that I have figured out is that we can deactivate a particular node from the Web dispatcher ICM web console, but this is not persisted and the settings go away when the web dispatcher is re started. How can I make it persist?
Thanks.
Hi Sukanya,
Did you ever resolve this problem? We too want to deactivate a server from the Web dispatcher. We also need to connect directly to it as you require. When we used Gary's method of Config Tool --> Server_ID####### --> Debug --> Debuggable --> Restricted Load Balancing, we are also unable to connect to that node directly.
I have read through the Web dispatcher online Help. The mention creating groups but they all seem to pertain to ABAP groups using SMLG. Our Web dispatcher is used in a stictly J2EE environment.
There must must be a Profile setting or some config to restrict specified nodes... Let me know if you have found out?
Thank You,
Jon Sells
Similar Messages
-
In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?
The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.
-
How can i change the particular node color in Jtree?
I have constructed the tree.i dont know how to set the color for the particular node then how can i change the particular node icon depends on some conditions like if we will give the input whether it is available in jtree that node icon only changed.Anyone please help me as soon as possible.
hi,
i saw that tutorial.from that book i dont get the particular node cell renderer.i got a cell renderer for tree only.i attached my code in this mail.pls see and help me if u will do
mport pack.Prop;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Font;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTree;
import javax.swing.UIManager;
import javax.swing.text.Position;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.MutableTreeNode;
import javax.swing.tree.TreeCellRenderer;
import javax.swing.tree.TreePath;
public class ReadProperty3 extends JFrame{
String str,key;
static JTree tree;
static Vector v;
StringTokenizer st;
static DefaultMutableTreeNode root;
DefaultMutableTreeNode t;
public Object[] o;
public static void main(String[] args) throws IOException {
ReadProperty3 r = new ReadProperty3();
Prop p=new Prop();
JFrame f=new JFrame();
p.show();
Object[] o=v.toArray();
int startRow = 0;
String prefix =p.s;
TreePath path = tree.getNextMatch(prefix, startRow, Position.Bias.Forward);
//if(prefix.equals(root.getChildAt(0).toString()))
if(prefix.equals("2000"))
System.out.println("Node 2000 found");
else if(prefix.equals("3000"))
System.out.println("Node 3000 found");
else if(prefix.equals("4000"))
System.out.println("Node 4000 found");
else
System.out.println("Node not found");
for(int i=0;i<v.size();i++)
//((DefaultTreeModel)tree.getModel()).reload();
DefaultTreeCellRenderer ren=(DefaultTreeCellRenderer)tree.getCellRenderer();
Icon openIcon = new ImageIcon("C:/apache-tomcat-5.5.12/webapps/jsp-examples/images/execute.gif");
Icon closedIcon = new ImageIcon("C:/apache-tomcat-5.5.12/webapps/jsp-examples/images/execute.gif");
Icon leafIcon = new ImageIcon("C:/apache-tomcat-5.5.12/webapps/jsp-examples/images/read.gif");
if(o[0].equals(p.s))
ren.setBackgroundSelectionColor(Color.MAGENTA);
ren.setBackgroundNonSelectionColor(Color.YELLOW);
//ren.setTextSelectionColor(Color.YELLOW);
//ren.setTextNonSelectionColor(Color.BLUE);
ren.setClosedIcon(closedIcon);
ren.setFont(new Font("Impact",Font.ITALIC,14));
else if(o[1].equals(p.s))
ren.setLeafIcon(leafIcon);
ren.setFont(new Font("Impact",Font.ITALIC,10));
UIManager.put("Tree.leafIcon", leafIcon);
else if(o[2].equals(p.s))
ren.setOpenIcon(openIcon);
ren.setFont(new Font("Dialog",Font.BOLD,9));
public ReadProperty3(){
super("JTree With Properties");
try{
int c = 0;
while(c == 0){
c = 1;
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter file name which has properties extension :");
str = bf.readLine();
File f = new File(str + ".properties");
if(f.exists()){
Properties pro = new Properties();
FileInputStream in = new FileInputStream(f);
pro.load(in);
System.out.println("Key: " + pro.keySet());
System.out.print("Enter Key : ");
key = bf.readLine();
String p = pro.getProperty(key);
st = new StringTokenizer(p,"=,");
root=new DefaultMutableTreeNode(key);
v=new Vector();
while(st.hasMoreTokens())
String val=st.nextToken();
v.add(val);
o=v.toArray();
System.out.println(val);
t=new DefaultMutableTreeNode(val);
root.add(t);
tree=new JTree(root);
tree.setEditable(true);
JScrollPane jp=new JScrollPane(tree);
// tree.setCellRenderer(new CellRenderer());
Container content=getContentPane();
content.add(jp,BorderLayout.CENTER);
setSize(250,275);
setVisible(true);
addWindowListener(new ExitListener());
else{
c = 0;
System.out.println("File not found!");
catch(IOException e){
System.out.println(e.getMessage());
} -
How to search in particular node
hi
kindly tell how can we limit our search to a particular node instaed of the whole content
thanks in advanceSince it's all text, why not use a real quick Match Pattern (or Regular Expression, but you don't need that much power here), see attached.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ
Attachments:
Two-stage match demo.vi 8 KB -
How to use xpath function to select some particular nodes
Dear experts:
does abap supports xpath to sellect particular nodes according some node value or condition, i know other programe language supports the function selectNode(xpath expression) , does abap or have the api to support it?
and i know there is a class support the xpath but it's not work., the class this:cl_xslt_processor
to clarify my point. i take a ex.
the xml doc is follow:
<?xml version="1.0" encoding="utf-8" ?>
- <n0:MT_CRM_Req xmlns:n0="http://gome.com/CRM/CRM/Outbound" xmlns:prx="urn:sap.com:proxy:DC0:/1SAI/TAS05C79364B9D0DC5F6738:701:2010/02/19">
<company name="hp">
<dep name="gds">
<empolyeeid>123</empolyeeid>
</dep>
<dep name="its">
<empolyeeid>148</empolyeeid>
</dep>
</company>
<company name="foxconn">
<dep name="fih">
<empolyeeid>569</empolyeeid>
</dep>
</company>
</n0:MT_CRM_Req>
i want to select the employee 's company name who empolyee id is 123
i use the method ,and the code is :
l_xslt->set_expression(
expression = '/n0:MT_CRM_Req/n0:company[n0:dep/n0:empolyeeid=123]'
nsdeclarations = 'n0 http://gome.com/CRM/CRM/Outbound'
l_xslt->run('').
nodes = l_xslt->get_nodes( ).
LEN = nodes->GET_LENGTH( ) .
WRITE LEN.
but no nodes return.
is anybody knows what's wrong with it? or there is some other api to manipulate the xml dom.
best regrds!Hello Kevin ,
i think you can get those details , have a look at program BCCIIXMLT1, i think this program will give you some idea to handle * manage xml docs.
along with that program ...you need to put filter
*---creating filers.
filter = document->create_filter_name( name = 'Company' ).
iterator = document->create_iterator_filtered( filter ).
main_node = document.
*---processing document.
perform print_node using main_node p_flag.
let me know if you need anymore help.
regards
Prabhu -
How to rename a particular node in an xml
Hi All,
I have a table called xmltable and I have inserted the below row in to the table,
INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
<Node_1 empID="202" empName="Pro1" oper="Update">
<Node_2 empID="20" empName="Pro2" oper="Update">
<Node_3 empID="2" empName="Pro3" oper="Update">
<Node_4 empID="22" empName="Pro4" oper="Update">
<Node_5 empID="12" empName="Pro5" oper="Delete"/>
<Node_6 empID="223" empName="Pro6" oper="Insert"/>
<Node_7 empID="201" empName="Pro7" oper="All"/>
</Node_4>
</Node_3>
</Node_2>
</Node_1>');
I Have created a sequence seq_i
I want to replace a particular node with next sequence seq_i,
Ex: - Assume I want to replace only 'Node_2' with 'seq_i.nextval',
Can any one help me in acheiving this?
Thanks,Sorry for the inconvenience, Below Find detailed explanation of the issue,
INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
<Node_1 empID="202" empName="Pro1" oper="Update">
<Node_2 empID="20" empName="Pro2" oper="Update">
<Bode_3 empID="2" empName="Pro3" oper="Update">
<Bode_4 empID="22" empName="Pro4" oper="Update">
<Bode_5 empID="12" empName="Pro5" oper="Delete"/>
<Bode_6 empID="223" empName="Pro6" oper="Insert"/>
<Bode_7 empID="201" empName="Pro7" oper="All"/>
<Node_3 empID="21" empName="Pro71" oper="ll">
</Bode_4>
</Bode_3>
</Node_2>
</Node_1>');
I have a sequence seq_i
seq_i start with 1 increment by 1
am able to display output as below,
Node|EMPID|OPER|EMPNAME|MGRID
Node_1|202|Update|Pro1|Null
Node_2|20|Update|Pro2|Node_1
Bode_3|2|Update|Pro3|Node_2
Bode_4|22|Update|Pro4|Bode_3
Bode_5|12|Delete|Pro5|Bode_4
Bode_6|223|Insert|Pro6|Bode_4
Bode_7|201|All|Pro7|Bode_4
Node_3|21|ll|Pro71|Bode_4
Now I want below one as output
All nodes starting with Bode_, I need to replace that with sequence, seq_i
so for the seq_i (starting with i and incrementing by 1)
Node|EMPID|OPER|EMPNAME|MGRID
Node_1|202|Update|Pro1|Null
Node_2|20|Update|Pro2|Node_1
1|2|Update|Pro3|Node_2
2|22|Update|Pro4|1
3|12|Delete|Pro5|2
4|223|Insert|Pro6|2
5|201|All|Pro7|2
Node_3|21|ll|Pro71|2
Thanks, -
outlook closes and will not download a particular message.How can i get that message to stop coming to my inbox?
Hi,
May I ask your intention by doing this? Is the particular message harmful to your computer?
Which type of email account are you using? If you want to prevent a particular message from being downloaded to Outlook, we can login to the web interface of your email account and then remove the particular email from your Inbox.
If I've misunderstood something, please feel free to let me know.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Debug a particular node of SMARTFORM
Hai Fellas,
How to debug a particular node of Smartforms.
I dont want to debug it from the begining.
There is a restiction I can't add anything as the code is in Quality server.
i.e no break points can be hardcoded using program line.
Best Regards,
Suvendu.Hi,
Just for debugging you cant write break-point statement and u cant transport,the best practice is go to smartforms ,there will be a option find the function module.Go to Se37 give the function module name,go to display mode,search for ur field or internal table or a work area,keep the break-point ,and then run the smart form ,this is way that we can debug in quality and production systems
Thanks
Santhiya B -
Hierachical tree - Highlight particular node's in Tree
Is there any way to bold or change the colour of particular nodes in a tree?
We know and use the node icon to distinguish between them but ideally would want to bold some to highlight areas
I can not see how to do this looking at the documentation but may be wrong.
ThanksThanks thats what i thought but hoped i was wrong.
-
I have an hp photosmart c4180 printer and it will not print the web pages in firefox...how exactly do I set up FF so I can print web pages? I will need step by step instruction also on exactly where to go to set it up.
Open System Preferences (gear icon on the dock), then open Print & Scan
Click the + button at the bottom of the printer list
If your printer appears....not all printers are supported....click on the name to highlight it
Click the Add button to install the printer at the AirPort Express location
Try to print. You must choose the correct printer at the AirPort Express location since the printer is "installed" at other locations on your network.
If you open Print & Scan again, and select the printer at the AirPort Express, there is an option to make the printer the "default" location, so you do not have to choose which location to select when you want to print. -
Confining objects to a particular node in a distributed cluster
I have a partitioned cache for a cluster and there are n nodes(jvm instance) within that particular cluster. Both the data and backup data are randomly and evenly spread accross different nodes. Is there any way to put a constraint based on the cached object value (eg object with value >5) or the newly cached object should always reside in a particular node? Is partitioned near cache supports that facility? I want that object to be loaded in a particular user preffered node for the first time itself irrespective of where it is referred?
Hi,
there is support to a somewhat similar functionality, but it is impossible to exactly achieve what you want.
First of all, Coherence places and locates objects in the partitioned caches (distributed cache and near cache are partitioned caches) strictly based on the key. So it is impossible to achieve data placement based on any part of the value. Placement can depend only based on the key.
Second: when nodes come and go, data in a partitioned cache moves around with the granularity of these movements being the partition. There is a way to influence which partition a specific key ends up or rather to influence that certain keys end up in the same partition, but the placement of partitions on nodes is not static, it varies over time. However you can determine which node a certain partition resides at the time of asking. Of course it might change right afterwards :-).
So what you can do is you can ensure that groups of your keys end up on the same partition and hence they always reside on the same node.
To achieve this either your keys must implement KeyAssociation or you must define a KeyAssociator instance for your cache. When this is done, then you can optimize your queries and aggregations by using the KeyAssociatedFilter or PartitionFilter to execute only on certain nodes or partitions.
For more about this, look at the following Wiki page:
http://wiki.tangosol.com/display/COH34UG/Data+Affinity
Best regards,
Robert -
As a web designer I am interested in how many ipads have been sold in Australia? And what percentage of the population now have and use them?
Also same for the iphone - how many units sold and being used?Google Analytics, assuming it is available Down Under, can give stats on device and browser usage for a site. Set up take a little while and involves adding script code to your pages, but is well worth the effort.
-
Hello all,
I want to start the WebDispacher ( NW 7.0 EhP3, Java system)
The Error is:
3> startsap all X01
Trying to start SID database ...
Log file: /home/sidadm/startdb.log
Starting Startup Agent sapstartsrv
OK
Instance Service on host sid started
starting SAP Instance X01
Startup-Log is written to /home/sidadm/startsap_X01.log
/usr/sap/SID/SYS/exe/run/sapcontrol -prot NI_HTTP -nr 01 -function Start
startup of Instance failed
See /home/sidadm/startsap_X01.log for details
<sid>dm 74> ./sapcontrol -prot NI_HTTP -nr 01 -function Stop
08.04.2015 06:02:58
Stop
FAIL: HTTP error, HTTP/1.1 401 Unauthorized
/usr/sap/<SID>/SYS/exe/run/sapcontrol -prot NI_HTTP -nr 01 -function Start
08.04.2015 05:32:52
Start
FAIL: HTTP error, HTTP/1.1 401 Unauthorized
05:33:02
startup of Instance failed
What I tried and didnt work: stop sap instance, kill web dispacher process.
The webdispacher profile looks like this:
SAPSYSTEMNAME = sapsid
SAPSYSTEM = 01
# Message Server Description
rdisp/mshost=hostname
#ms_http_port=3900
ms/http_port = 3900
# SAP Web Dispatcher Parameters
wdisp/auto_refresh = 120
wdisp/max_servers = 100
# Directory variables
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
DIR_INSTANCE = /usr/sap/SID/SCS00/work
# Description of the Access Points
#icm/server_port_0 = PROT=HTTP , PORT=8$ (SAPSYSTEM) 00, TIMEOUT=60 , PROCTIMEOUT=600
icm/server_port_0 = PROT=HTTP,PORT=80
icm/server_port_1 = PROT=ROUTER,PORT=443
# Description of the Resources
icm/min_threads = 20
icm/max_threads = 40
icm/max_conn = 500
# Communication Buffer
mpi/total_size_MB = 100
mpi/buffer_size = 65536
# Parameters for the HTTPS Routing
wdisp/HTTPS/dest_logon_group = HTTPS
wdisp/HTTPS/max_client_ip_entries = 100000
wdisp/HTTPS/sticky_mask = 255.255.255.0
Can you pls advise me.
Thx
ChrisHello,
hostname:sidadm 55> startsap all X01
Trying to start SID database ...
Log file: /home/sidadm/startdb.log
Starting Startup Agent sapstartsrv
OK
Instance Service on host hostname started
starting SAP Instance X01
Startup-Log is written to /home/sidadm/startsap_X01.log
/usr/sap/SID/SYS/exe/run/sapcontrol -prot NI_HTTP -nr 01 -function Start
startup of Instance failed
See /home/sidadm/startsap_X01.log for details
hostname:sidadm 56>view /home/sidadm/startsap_X01.log
Trace of system startup/check of SAP System SID on Wed Apr 7 09:13:00 UTC 2015
Called command: /usr/sap/SID/SYS/exe/run/startsap start
09:13:01
Starting Startup Agent sapstartsrv
09:13:01
Instance Service on host started
09:13:01
starting SAP Instance X01
09:13:01
Startup-Log is written to /home/sidadm/startsap_X01.log
09:13:01
/usr/sap/SID/SYS/exe/run/sapcontrol -prot NI_HTTP -nr 01 -function Start
07.04.2015 09:13:01
Start
FAIL: HTTP error, HTTP/1.1 401 Unauthorized
09:13:11
startup of Instance failed
~
WebDispacher profile:
SAPSYSTEMNAME = SID
SAPSYSTEM = 01
# Message Server Description
rdisp/mshost=hostname
ms/http_port = 8101
# SAP Web Dispatcher Parameters
wdisp/auto_refresh = 120
wdisp/max_servers = 100
# Directory variables
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
DIR_INSTANCE = /usr/sap/SID/SCS00/work
# Description of the Access Points
#icm/server_port_0 = PROT=HTTP , PORT=8$ (SAPSYSTEM) 00, TIMEOUT=60 , PROCTIMEOUT=600
icm/server_port_0 = PROT=HTTP,PORT=80
icm/server_port_1 = PROT=ROUTER,PORT=443
# Description of the Resources
icm/min_threads = 20
icm/max_threads = 40
icm/max_conn = 500
# Communication Buffer
mpi/total_size_MB = 100
mpi/buffer_size = 65536
# Parameters for the HTTPS Routing
wdisp/HTTPS/dest_logon_group = HTTPS
wdisp/HTTPS/max_client_ip_entries = 100000
wdisp/HTTPS/sticky_mask = 255.255.255.0
~ -
Display a particular node of Hierarchy in the Report.
Hi , all
I have an urgent requirement that i have to display only a particular node(5) of Hierarchy in the Bw Report , I have tried different options available in the Hierarchy tab (That is Expand to level 5 , Position of lower node - Above , Value of posted node - Hide ) . But stil it is displaying 5 and then 4 node , but i don't want that 4 node .
Can anybody gine me some useful suggestion .
Thanks in advance..Hi Akash,
- To show only particular nodes of a hierarchy in the Excel sheet:
Step 1: include the base characteristic
Step 2: select the hierarchy (properties of the characteristic) - (display key only)
Step 3: user restrict (from context menu of the characteristic) on the nodes that you want to display.
Step 4: expand to level: 1 (properites of the characteristics)
This should serve the purpose. I know it is a little late, but it might be helpful in the future -
Just purchased the iphone6 and can hardly hear when I get a call, despite volume up, bluetooth off and nothing obstructing device. This issue is all over the Web, come to find out. How to fix?
Turns out there was a film on the glass side of the phone that I didn't even know was there! All is well now! Yay, cause I'm really liking this phone. Had a blackberry for ever. Thank you for your prompt response. Ann
Sent from AOL Mobile Mail
Get the new AOL app: mail.mobile.aol.com
Maybe you are looking for
-
No Mouse or Keyboard After Installation
Every time I install Arch Linux I have no mouse or keyboard in run level 5. I can ssh into the machine and configure it that way but I have no idea what the problem is... I have installed the proprietary nVidia Linux graphic drivers and rebooted the
-
OfficeJet Pro 8600 connects wireless, but no connection on other web services
I installed my new OfficeJet 8600 to work on wireless network and enabled and tested eprinting and all was well. Every time we lost power the printer would forget the network and I would have to re-setup the wireless connection. I then folled the d
-
Cannot record a script in Firefox 3.x, 6.x, 10
Hello, When recording a script in the Firefox browser, the following error in message box appears (only in Firefox): "Cannot get a connection from the browser helper after 15 seconds. Do you want to continue waiting for the browser to load?". The Ope
-
Flash won't activate on my MAC INTEL
Its been more than three weeks now and I have tried everything posted in the forum. I even performed the rain dance :'( and only managed to get myself socking wet with no video to view on http://bigbrotherafrica.dstv.com/video/play.aspx?vid=7544) Not
-
Problem in using BAPI_SALESORDER_CHANGE
Hi, We are using BAPI_SALESORDER_CHANGE for updating the delivery block information present in Shipping tab of sales order header. We are updating the below parameters and then calling the bapi. ls_header-DLV_BLOCK = 'Z1'. ls_head_update-update