Setting up NLB cluster to resolve nodes from GEO location.
Hi,
Is it possible that I can configure NLB cluster to load balance my application servers located in different GEO location?
I do have site to site between these locations but nodes will have static IP address in different subnet?
can this limitation be taken care of using NLB on Win 2012R2 or using a hardware load balancer?
So I want to understand clearly about limitation for nodes to be in same subnet is for servers part of NLB cluster or is it for application hosts that NLB is serving to.
BR,
Hi,
Is it possible to use NLB through a router in two different datacenter?
Yes, we can use NLB through a router. However, please do not plug the nods of NLB to a router or a layer 3 switch directly. Besides, deploy NLB with single case mode may avoid
potential connectivity problems.
A single NLB cluster is not typically deployed across multiple sites (for a number of reasons the technology is best suited to a broadcast-capable LAN environment). Instead,
multiple, independent NLB clusters are typically deployed, one at each site. The sites are then “federated” into a single service to clients using features such as DNS round-robin to “load balance” client requests across the different sites. Internally, NLB
can be used to load balance requests sent to a given site amongst the nodes in that site.
The similar thread:
NLB Question
http://social.technet.microsoft.com/Forums/windowsserver/en-US/a402ed55-2f13-4523-848c-fc1d685029a5/nlb-question
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Similar Messages
-
Is it possible to sellect OS&keyboard layout different from geo. location?
I want to buy macpro in Korea. But I live in Turkey. Is it possible to buy the Macpro with Turkish keyboard and OS in Korea with the same tech. specs in Korea?
I'm not sure if you can order a custom Mac in Korea with a Turkish keyboard, after navigating the online Korean store at http://www.apple.com/kr/ so I think you are out of luck. You could purchase a Korean Mac and have the keyboard changed by an Apple dealer, but I think that would void your warranty.
-
How to set time on cluster nodes
We have setup of two cluster node. Both having the same time runing . Now i have to change this time to 15-20 mnts. backward on both nodes. I want to know whether online with date command can set the date on indivisual nodes or any precautions need to take ?
Thanks in advance
sanjayuse ntp: network time protocol. set up ntpd correctly to get time from external ntp server that is open to the public, or a ntp pool
-
Removing live nodes from cluster view.
Hi All,
We are experiencing some JMS problems connected with a cluster node being
hung for some time.
The following took place just before the problem arises:
1. First of all one of the nodes (the first) gets one thread
(weblogic.jms.backend.BEPushRequestSender@76512c) stuck.
2. After that it closes the TCP connection to another node and
3. Removes another node from its cluster view.(that is alive)
4. After that the second node removes the first from its cluster
view.
5. Seconds later they find each other again and add each other to the
cluster view.
6. After that, the JMS distributed members are connected to each other,
7. Something strange happens, because either the first node starts
missing many messages in its distributed topic member or the second
node doesn't propagate messages from distributed topic to the first
node.
Is it possible to set up weblogic cluster in a way, it won't remove
other members from cluster view by peer gone exception, only by
heartbeat timeout? Is heartbeat retry time parameter is configurable?
Any help with this matter will be greatly appreciated.
Dmitry Finkelstein
You must run the update node list for each ORACLE_HOME on that machine. If this is RAC, the runInstaller will take care to update all nodes, so again, you run it once per ORACLE_HOME installed.
Shared Home is a single copy of the Oracle software, rather than each node holding their own copy of the software. There's a paper that talks about these two topics and gives some examples of full commands on OTN:
http://www.oracle.com/technology/products/database/clustering/index.html
"Oracle Homes in an Oracle Real Application Clusters Environment(PDF) January 2008"
direct link: http://www.oracle.com/technology/products/database/clustering/pdf/oh_rac.pdf
Enjoy and hope this helps.
Saar. -
Help me in resolving "No authority for the node from characteristic"
Hello Friends
I am trying to implement hierarchy on ocostcenter.
i am able to create analsys authorization .but when i am trying to create hierarchy ,i am able to select the hierarchy name,
when selecting the node from the push button i get the error message
"<b>No authority for the node from characteristic
0PROFIT_CTR, hierarchy 1000hirarchy (00000000,)"</b>
Please help me in resolving this proble.
Thanks
RamRam,
Try running ST01, set an authorization trace and then run your specified transaction code.
After the failure return to ST01, turn off the trace and hit Analyze. Then check analyze authorization trace and give your User ID and any other relevant criteria.
Look for return codes on the left which are not 0, these should indicate possible issues with authorizations.
Regards
Ashley -
Access NLB cluster from outside
I crated nlb cluster using 3 servers, one is used to create cluster and other 2 for hosts. I assigned 192.168.1.2 for cluster ip. Every server has two nic and one of nic connected to public ip. My worry is how can I access cluster from out side? As mentioned
in
this question I asked my server provider enable NAT and this is their reply. "We dont offer any NAT solutions but you can easy set up one of your servers to perform this."
can anyone tell me how can I do this?
chapneoxHi chapneox,
Could you clarify your question, I am not quite understand your description “can I access cluster from out side”. You can use the “Internet” IP address as your NLB virtual
IP address. But if your cluster after NAT or firewall you must map the NLB port from the NAT or firewall device.
More information:
Establish Communication in NLB Clusters
http://technet.microsoft.com/en-us/library/bb687525.aspx
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
How to Delete the node from cluster when the machine crashed?
In an three nodes Rac of 11g r2,How to delete the node from cluster when the machine crashed?
There is now way to repair the machine and have to add a new one.
What is step to follow up?hi
IF YOU WANT TO DELETE RAC1 NODE
check $./olsnodes
1) delete the instance using dbca from any active nodes
crs_stat -t
srvctl stop asm -n rac1
2) delete listener
3) delete oracle_home from oracle user
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={RAC1}
4)delete asm home
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={RAC1}
5) update cluster node
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={active nodes like rac2,rac3}
6) update ASm home
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={active nodes like rac2,rac3}
cd $ORA_CRS_HOME
cd crs/opmn/conf
check for
$cat ons.config
remoteport=6200
cd crs_home/bin
$./racgons remove_config rac1:6200
$ go to crs home
and $ORA_CRS_HOME/crs/install/rootdelete.sh
$ORA_CRS_HOME/crs/install/rootdeletenode.sh
check for ./olsnodes -
How to remove a node from nlb at runtime?
hello,
i need to temporally exclude a node from an nlb.
May happen that a server is up and working but the web application i'm balancing is out of sinch with the same application in the others nodes.
Eg. some static variables are not the same of the same static variables of other nodes, because of a timeout, a write error and so on but the server is still working.
in this case i need to stop the server from nlb because the information in the web application is not in sinch with other nodes.
I need to prevent users from being serverd from this out to date server, untill it will became updated, but i need to do this programmatically
how can i do it?"DuoMi" <[email protected]> wrote in message
news:gnojbf$2sg$[email protected]..
> How to remove a node from XMLList
>
> I want remove the first node from XMLList
>
>
> and how to get the combobox all values string:
>
> <data>
> <value>2</value>
> </date>
> <data>
> <value>5</value>
> </date>
> <data>
> <value>8</value>
> </date>
>
> I need a string whit value "2,5,8"
>
> thkan you.~
I think something like
comboBox.dataProvider..value.toString()
will work. -
How to remove a node from 4 node sun cluster 3.1
Dear All,
We are having a four nodes in a cluster.
Could any one please guide me, how to remove a single node from a 4 node cluster.
what are the procedure and step's I have to follow.
Thanks in advance.
Veera.Google is pretty good at finding the right pages in our docs quickly. I tried >how to remove a node Solaris Cluster< and it came up with
http://docs.sun.com/app/docs/doc/819-2971/gcfso?a=view
Tim
--- -
BO4 - Moving from 2 node cluster to 1 node
Hi,
At moment we have a 2 node cluster in a virtual environment (2 virtual hosts but actually 1 physical host) so no added resilience.
We have been asked by the hardware team to look at consolidating all the bo4 services onto 1 node.
Plan would be
1) create the services which currently running on node 2 on node1 - they would be created in stopped and disabled state by default
2) Stop the sia on node 2 and activate the services on node 1 so that node 1 contains all services
Is there anything else we would need to do? e.g deleting the node 2 via the cmc?
ThanksHi Philip,
I will suggest you to not to create all the services in Node 1 as Node2.
analyze your system usage and create the services based on the usage and traffic especially on the processing side and APS.
First stop the SIA in node 2 and create few Processing services in node1.
Now remove the node:
In CCM:
To remove the node from a cluster you need to delete SIA from CCM.you need to have at least one running CMS in this cluster.
If it will not work, then we can try to delete from the CMS DB and CMC -
Removing nodes from cluster - question
Hi Guys,
I came across following while going thru oracle docs for removing a node from a cluster:
Step 2: Deleting Nodes from Oracle Real Application Clusters Databases
5.If you are using a non-shared Oracle home, from an existing node, run the following command where node_list is a comma-delimited list of nodes that remain in the cluster:
runInstaller -updateNodeList ORACLE_HOME=Oracle_home "CLUSTER_NODES={node_list}"
If you are using a shared Oracle home, from an existing node, run the following command where node_list is a comma-delimited list of nodes that remain in the cluster:
runInstaller -updateNodeList -noClusterEnabled ORACLE_HOME=Oracle_home
"CLUSTER_NODES={node_list}"
So here we are providing a list of existing(remaining) nodes to update oracle inventory.Now what if we have more then one oracle homes on each of these nodes - say ORACLE_HOME1,ORACLE_HOME2 etc. for multiple databases - Do we repeat this statement for all oracle homes or is their any other way around?
Also what does oracle mean by shared/non-shared oracle home?
Regards.You must run the update node list for each ORACLE_HOME on that machine. If this is RAC, the runInstaller will take care to update all nodes, so again, you run it once per ORACLE_HOME installed.
Shared Home is a single copy of the Oracle software, rather than each node holding their own copy of the software. There's a paper that talks about these two topics and gives some examples of full commands on OTN:
http://www.oracle.com/technology/products/database/clustering/index.html
"Oracle Homes in an Oracle Real Application Clusters Environment(PDF) January 2008"
direct link: http://www.oracle.com/technology/products/database/clustering/pdf/oh_rac.pdf
Enjoy and hope this helps.
Saar. -
Cluster VMs not accessible from other node hyper-v 2012 r2
I have implementing 3 node cluster using Windows server 2012 r2 hyper-v environment, Scenario as below....
3 HP server, every server 4 NIC`s, i made team using 4 NIC`s, and Cisco switch port configured as ether-channel and trunk port.
cluster up and running across all node, suddenly i have faced that i can`t access VM when its not on the same node from where i am accessing Cluster manager. but i can access that VM only if i log on that owned node via cluster manager.\
Please help.
Thanks
Shipon
Hi Shipon,
Your network configuration not meet the cluster network requirement,
Network adapters and cable (for network communication): The network hardware, like other components in the failover cluster solution, must be marked as "Certified for Windows
Server 2008 R2." If you use iSCSI, your network adapters should be dedicated to either network communication or iSCSI, not both.
In the network infrastructure that connects your cluster nodes, avoid having single points of failure. There are multiple ways of accomplishing this. You
can connect your cluster nodes by multiple, distinct networks. Alternatively, you can connect your cluster nodes with one network that is constructed with teamed network adapters, redundant switches, redundant routers, or similar hardware that removes single
points of failure.
The related KB:
Network Recommendations for a Hyper-V Cluster in Windows Server 2012
http://technet.microsoft.com/en-us/library/dn550728.aspx
Understanding Requirements for Failover Clusters
http://technet.microsoft.com/en-us/library/cc771404.aspx
I’m glad to be of help to you!
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to read the attribute in another context node from setter method
Hi,
As part of the requirement
i need to read the STRUCT.E_MAIL ( attribute ) present in INDEPENDANTEMAIL context node from the SET_S_SRUCT method of the context node HEADER.
I tried th following but it didnt work out....
Get the Custom Controller Path
*lr_cuco ?= controller->get_custom_controller( controller_id = 'BP_HEAD/IndComm').
*IF lr_cuco IS BOUND.
Get the Entity
*lr_entity ?= lr_cuco->typed_context->independantemail->collection_wrapper->get_current( ).
*ENDIF.
*CHECK lr_entity IS BOUND.
Get the Trade Event Type.
*lv_email = lr_entity->get_property_as_string( 'E_MAIL' ).
also i tried ...
data:
*lv_value type string,
*lr_property type ref to if_bol_bo_property_access.
*lr_property = collection_wrapper->get_current( ).
*lv_value = lr_property->GET_PROPERTY_AS_STRING( importing iv_attr_name = 'E_MAIL'
returining ev_result = lv_email ).
but it didnt workout ......
Any suggestions ...................
Regards,
Sijo...Hi,
Both Context node are available in view then refer this link.
Reading Attributes from different context nodes in the same view
Relationship name for context node INDEPENDENTMAIL is 'BuilIndependantEmailRel'
Regards
Gaurav -
Setting up a cluster for the first time: newbie questions
Any help appreciated with this situation:
I'm trying to set up a cluster for the first time and running into
issues (no big surprise). I'll outline my situation and pose questions
as they arise. If/when I get things to work I'll post a step-by-step
summary of what it took to get a simple cluster going.
Here's what I have:
machines:
1 Windows 2000 machines with WL 6.1
2 RedHat Linux machines with WL 6.1
All machines are on the same Home LAN, can see each other, etc.
IP addresses are:
Windows box: 192.168.1.100
Linux box 1: 192.168.1.102
Linux box 2: 192.168.1.103
servers:
I've set up the Windows machine as my admin server, and set up
a managed server on each Linux machine. I created a cluster that consists
of the 2 Linux machines and deployed the web app and EJB to the cluster.
The Windows machine is acting as a Proxy using ClusterServlet.
The web application has been set as the Default Web Application on the
two Linux machines. All 3 machines are listening on ports 80/443. I also
set up session memory replication through the console.
Application:
I have an application that I package as an EAR file. I'm using it as a
"reference" application designed to mimic a real world app as much as possible.
The EAR file contains a web application that uses Struts. It also consists
of a single Stateless Session Bean. The WAR file and EJB Jar are all
packaged up into the EAR file. I've been able to run this application just
fine on a single managed server on all 3 machines.
The web application works fine, and it can invoke the EJB. I can also
invoke the EJB from Java stand-alone clients. Struts works great. All is
well with the world. Now I'm trying to "cluster-ize" this app using
the environment described above and encountering issues.
I've read the docs and followed the instructions according to the
"Weblogic Bible" book. I can bring up all 3 servers and the Linux
managed servers connect to the cluster just fine. I can also
see the Struts messages in their logs which normally happens and tells me
the webapp is initialized properly. The console tells me that the managed
servers are running. I get no error messages starting up any of the serves.
Here are the problems I am encountering.
When I try to access the Web Application (through a browser on the
Windows machine using http://localhost) I get the following error message:
<Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
x,admin) found no context for "/". This request does not match the context path
for any installed web applications and there is no default web application confi
gured.>
Also, when I try to invoke the EJB through a stand-alone Java client,
I get a JNDI lookup error on the EJB's home interface.
Questions:
Question1: I noticed when setting up the machines that console lets you
define a "Machine" or a "Unix Machine". What's the difference? Should I
define the Linux machines as Unix machines or machines, and what are the
consequences of either choice?
Question2:
I'm not totally clear on how my web.xml should look to set up Struts,
the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
Here is what I had before I tried to cluster and which works fine:
<filter>
<filter-name>MainFilter</filter-name>
<filter-class>com.refapp.servlets.MainFilter</filter-class>
<init-param>
<param-name>myAttribute</param-name>
<param-value>Foo</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MainFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping
<!-- Struts ActionServlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>refappstruts</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>mapping</param-name>
<param-value>org.apache.struts.action.RequestActionMapping</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.do</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
(I have set up a "dummy" 0-length file called index.do that triggers
Struts to go into its ActionServlet when first accessing the web site).
Here is how I added ClusterServlet to web.xml:
servlet>
<servlet-name>ClusterServlet</servlet-name>
<servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
<load-on-startup>0</load-on-startup>
<init-param>
<param-name>defaultServers</param-name>
<param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
</init-param>
<init-param>
<param-name>DebugConfigInfo</param-name>
<param-value>ON</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>InitServlet</servlet-name>
<url-pattern>/servlet/InitServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ClusterServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ClusterServlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ClusterServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ClusterServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
Clearly there is a problem with the Default Web application not being
seen/mapped properly. Any chances my URL mappings for the filter servlet,
Struts, and ClusterServlet are stepping on each other?
With respect to the EJB, here is what my weblogic-ejb-jar looks like:
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>Hello</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
</pool>
<stateless-clustering>
<stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
<stateless-bean-load-algorithm>
round-robin
</stateless-bean-load-algorithm>
<stateless-bean-methods-are-idempotent>
true
</stateless-bean-methods-are-idempotent>
</stateless-clustering>
</stateless-session-descriptor>
<jndi-name>Hello.Home</jndi-name>
</weblogic-enterprise-bean>
I run this through ejbc and package everything up into the EAR file.
However, I get a JNDI lookup failure when I try to access the Bean from
a standalone Java client running on the Windows machine.
Here is the jndi.properties file that I am using:
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://localhost:80
Any ideas what I'm doing wrong here? I can post config.xml also if needed.
Thanks in advance!
Let me try to answer :)....
A1> No need to name diff machines by default weblogic
considers the servers are physically located in diff boxes.
The names are used to differtiate the mang servers which are in
multihomed
Some things to chk
1> Did u targeted the ear file Target as cluster.
2> Can u see on the Admin console that both the man servers
are participated in the cluster( u can see by clicking the monitoring
tab on the Cluster node).
3>Is the URL:PORT for the default web app correct?
the reason: is I dont see the port# on the link u mentioned
4> probably ur ejb might not been deployed on the target thats the
reason u cant access thru java client. If u correct the targets that
will probably fix it.
Hope this helps
Please post the result
Thanks
Sudhir
[email protected] (Chris) wrote in message news:<[email protected]>...
> Any help appreciated with this situation:
> I'm trying to set up a cluster for the first time and running into
> issues (no big surprise). I'll outline my situation and pose questions
> as they arise. If/when I get things to work I'll post a step-by-step
> summary of what it took to get a simple cluster going.
> Here's what I have:
>
> machines:
> 1 Windows 2000 machines with WL 6.1
> 2 RedHat Linux machines with WL 6.1
> All machines are on the same Home LAN, can see each other, etc.
> IP addresses are:
> Windows box: 192.168.1.100
> Linux box 1: 192.168.1.102
> Linux box 2: 192.168.1.103
>
> servers:
> I've set up the Windows machine as my admin server, and set up
> a managed server on each Linux machine. I created a cluster that consists
> of the 2 Linux machines and deployed the web app and EJB to the cluster.
> The Windows machine is acting as a Proxy using ClusterServlet.
> The web application has been set as the Default Web Application on the
> two Linux machines. All 3 machines are listening on ports 80/443. I also
> set up session memory replication through the console.
>
> Application:
> I have an application that I package as an EAR file. I'm using it as a
> "reference" application designed to mimic a real world app as much as possible.
> The EAR file contains a web application that uses Struts. It also consists
> of a single Stateless Session Bean. The WAR file and EJB Jar are all
> packaged up into the EAR file. I've been able to run this application just
> fine on a single managed server on all 3 machines.
> The web application works fine, and it can invoke the EJB. I can also
> invoke the EJB from Java stand-alone clients. Struts works great. All is
> well with the world. Now I'm trying to "cluster-ize" this app using
> the environment described above and encountering issues.
>
> I've read the docs and followed the instructions according to the
> "Weblogic Bible" book. I can bring up all 3 servers and the Linux
> managed servers connect to the cluster just fine. I can also
> see the Struts messages in their logs which normally happens and tells me
> the webapp is initialized properly. The console tells me that the managed
> servers are running. I get no error messages starting up any of the serves.
>
> Here are the problems I am encountering.
>
> When I try to access the Web Application (through a browser on the
> Windows machine using http://localhost) I get the following error message:
>
> <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
> x,admin) found no context for "/". This request does not match the context path
> for any installed web applications and there is no default web application confi
> gured.>
>
> Also, when I try to invoke the EJB through a stand-alone Java client,
> I get a JNDI lookup error on the EJB's home interface.
>
> Questions:
> Question1: I noticed when setting up the machines that console lets you
> define a "Machine" or a "Unix Machine". What's the difference? Should I
> define the Linux machines as Unix machines or machines, and what are the
> consequences of either choice?
>
> Question2:
> I'm not totally clear on how my web.xml should look to set up Struts,
> the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
> Here is what I had before I tried to cluster and which works fine:
>
> <filter>
> <filter-name>MainFilter</filter-name>
> <filter-class>com.refapp.servlets.MainFilter</filter-class>
> <init-param>
> <param-name>myAttribute</param-name>
> <param-value>Foo</param-value>
> </init-param>
> </filter>
>
> <filter-mapping>
> <filter-name>MainFilter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping
>
>
> <!-- Struts ActionServlet Configuration -->
> <servlet>
> <servlet-name>action</servlet-name>
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>
> <init-param>
> <param-name>application</param-name>
> <param-value>refappstruts</param-value>
> </init-param>
>
> <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/struts-config.xml</param-value>
> </init-param>
>
> <init-param>
> <param-name>debug</param-name>
> <param-value>2</param-value>
> </init-param>
>
> <init-param>
> <param-name>mapping</param-name>
> <param-value>org.apache.struts.action.RequestActionMapping</param-value>
> </init-param>
> <load-on-startup>2</load-on-startup>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>action</servlet-name>
> <url-pattern>*.do</url-pattern>
> </servlet-mapping>
>
> <welcome-file-list>
> <welcome-file>index.do</welcome-file>
> <welcome-file>index.jsp</welcome-file>
> <welcome-file>index.html</welcome-file>
> </welcome-file-list>
>
> (I have set up a "dummy" 0-length file called index.do that triggers
> Struts to go into its ActionServlet when first accessing the web site).
>
> Here is how I added ClusterServlet to web.xml:
>
> servlet>
> <servlet-name>ClusterServlet</servlet-name>
> <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
> <load-on-startup>0</load-on-startup>
> <init-param>
> <param-name>defaultServers</param-name>
> <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
> </init-param>
> <init-param>
> <param-name>DebugConfigInfo</param-name>
> <param-value>ON</param-value>
> </init-param>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>InitServlet</servlet-name>
> <url-pattern>/servlet/InitServlet</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>action</servlet-name>
> <url-pattern>*.do</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>ClusterServlet</servlet-name>
> <url-pattern>/</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>ClusterServlet</servlet-name>
> <url-pattern>*.html</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>ClusterServlet</servlet-name>
> <url-pattern>*.jsp</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>ClusterServlet</servlet-name>
> <url-pattern>*.do</url-pattern>
> </servlet-mapping>
>
>
> Clearly there is a problem with the Default Web application not being
> seen/mapped properly. Any chances my URL mappings for the filter servlet,
> Struts, and ClusterServlet are stepping on each other?
>
> With respect to the EJB, here is what my weblogic-ejb-jar looks like:
>
> <weblogic-ejb-jar>
> <weblogic-enterprise-bean>
> <ejb-name>Hello</ejb-name>
> <stateless-session-descriptor>
> <pool>
> <max-beans-in-free-pool>100</max-beans-in-free-pool>
> </pool>
> <stateless-clustering>
> <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
> <stateless-bean-load-algorithm>
> round-robin
> </stateless-bean-load-algorithm>
> <stateless-bean-methods-are-idempotent>
> true
> </stateless-bean-methods-are-idempotent>
> </stateless-clustering>
> </stateless-session-descriptor>
> <jndi-name>Hello.Home</jndi-name>
> </weblogic-enterprise-bean>
>
> I run this through ejbc and package everything up into the EAR file.
> However, I get a JNDI lookup failure when I try to access the Bean from
> a standalone Java client running on the Windows machine.
> Here is the jndi.properties file that I am using:
>
> java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
> java.naming.provider.url=t3://localhost:80
>
> Any ideas what I'm doing wrong here? I can post config.xml also if needed.
>
> Thanks in advance!
-
Set up multiple clusters with same nodes
Hello,
I'm trying to set up 2 clusters using qadministrator. One with nodes A,B,C,D and a second with nodes A,B,C. When I drag my nodes into my first cluster, they are gone from qmaster service browser in qadministrator. Does this mean that nodes can only be used for one cluster?
thanks
danHello,
I'm trying to set up 2 clusters using qadministrator. One with nodes A,B,C,D and a second with nodes A,B,C. When I drag my nodes into my first cluster, they are gone from qmaster service browser in qadministrator. Does this mean that nodes can only be used for one cluster?
thanks
dan
Maybe you are looking for
-
Hello, I am interested in taking the BIT460 XI mapping class. Has anyone taken this class? If so, what were your thoughts? I'm hopping to learn how mapping can help me handle acknowledgments and monitoring. Can mapping help me in these ways? What
-
Where is the "repeat" button for songs/albums/playlists?
Where is the "repeat" button for songs/albums/playlists? It used to be next to the random play button.
-
Bug? Why do I show as an Invitee when I open someone else's meeting?
I'm on a 4s running iOS 6.0. I use Google apps and have my calendar sync to my iPhone calendar. I have a couple of shared calendars that also sync to my iPhone calendar (my two supervisors). If I open up any meeting that is on one of their calendars,
-
Hi everyone: I migrate FR to target use way of LCM. But i just got empty Folder no any report .have one know why cause it? ... so i migrate FR use import/export,but i get another error that the report show empty with no data. I sure my database confi
-
Compare Merge Model problems with models from different connections
Hi all, I've experienced a problem while using the compare/merge model funcion under tools. Just to put in place: I've 4 model, one for each enviroment that I have: DEV, INT, TEST, PROD(*each model imported from different connections*). Because I hav