This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes how to configurate foreign server to reach a cluster, thanks a lot. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "how to configurate foreign server to reach a cluster, thanks a lot. " Watch "how to configurate foreign server to reach a cluster, thanks a lot. " New topic
Author

how to configurate foreign server to reach a cluster, thanks a lot.

tong he
Greenhorn

Joined: May 01, 2011
Posts: 1
hi, everyone, let me first thank you for reading my post.
I have a thorny problem about the configuration of a foreign server.

Let me make clear the architecture of the two applications. I have problems with JMS cluster configuration, therefore, i only mention the JMS part of these two applications.

Application 1,
For application 1, there is a cluster of two server instances, as follows:
Name Cluster Machine State Health Listen Port
AdminServer(admin) RUNNING OK 7001
clusterMember1 clusterTest 64.181.172.126 RUNNING OK 9001
clusterMember2 clusterTest 64.181.162.11 RUNNING OK 9002
proxyserver 64.181.172.132 UNKNOWN 7020

Name Cluster Address Cluster Messaging Mode Migration Basis Default Load Algorithm Replication Type Cluster Broadcast Channel Servers
clusterTest Unicast Database Round Robin (None) 64.181.162.11,64.181.172.126 clusterMember1, clusterMember2
JMS configuration:
JMS servers:
Name Persistent Store Target Current Server
EventJMSServer1 EventFileStore1 clusterMember1 (migratable) clusterMember1
EventJMSServer2 EventFileStore2 clusterMember2 (migratable) clusterMember2

JMS modules:
Name Type
ebillingForeignModule System
Factories System

the ebillingForeignModule :
Name Type JNDI Name Subdeployment Targets
ForeignServer-0 Foreign Server N/A Default Targetting clusterTest

the Factories module:
Name Type JNDI Name Subdeployment Targets
DistributedQueue Distributed Queue edx.queue.outbound N/A N/A
EventConnectionFactory Connection Factory edx.qcf Default Targetting clusterTest
EventQueue1 Queue EventQueue1 EventQueue1 EventJMSServer1
EventQueue2 Queue EventQueue2 EventQueue2 EventJMSServer2


In the Application 1, I could successfully use the JMS cluster to send a JMS message to the DistributedQueue.


For application 2: There is only one server instance.
I mainly mention the foreign server configuration which I have problems with.
JMS modules
Name Type
CC_JMSFactories System
SystemModule-0 System


the SystemModule-0 module,
Name Type JNDI Name Subdeployment Targets
ForeignServer-0 Foreign Server N/A Default Targetting AdminServer



settings for ForeignServer-0:
name: ForeignServer-0
JNDI Initial Context Factory: weblogic.jndi.WLInitialContextFactory
JNDI Connection URL: t3://64.181.162.11:9002 (the ip address of one of the cluster members, this is not correct. the question is how to reference the cluster. This is a really big problem!!! I also use the ip address of the proxy server, which I think is not correct also.)

Destinations:
Name Local JNDI Name Remote JNDI Name
ccForeignDestination edx.foreign.queue.outbound edx.queue.outbound

Foreign Connections:
Name Local JNDI Name Remote JNDI Name
ccForeignConnectionFactory edx.foreign.qcf edx.qcf



The problem is this part:

settings for ForeignServer-0:
name: ForeignServer-0
JNDI Initial Context Factory: weblogic.jndi.WLInitialContextFactory
JNDI Connection URL: t3://64.181.162.11:9002 (the ip address of one of the cluster members, this is not correct. the question is how to reference the cluster. This is a really big problem!!! I also use the ip address of the proxy server, which I think is not correct also.)

The big problem which bothers me for a long time is how to configure the JNDI connection URL to reach the cluster in the application 1. I could not fill in the ip address of either of the cluster members or the proxy server.
I don't know how to fill in the JNDI connection URL. Please help me. Thanks a lot.












 
jQuery in Action, 2nd edition
 
subject: how to configurate foreign server to reach a cluster, thanks a lot.
 
Similar Threads
weblogic 10 + JMS
Weblogic 10.3 JMS Configuration Issue
please answer this 128 questions for WLS. Urgently!
Durable Subscriber and Migratable Target Issue
Issue with MDB and weblogic 9.2