JNDI bindings not being replicated across servers in a cluster
According to the Weblogic Server documentation, JNDI bindings are
automatically replicated across the servers in a cluster.
http://www.weblogic.com/docs45/classdocs/weblogic.jndi.WLContext.html#REPLIC
ATE_BINDINGS
This is not proving to be true in my testing. Perhaps it's "just broken", or
perhaps my cluster isn't correctly configured...
Here is a reproducible case. Install the following on two or more servers in
a cluster. You'll need to change line 26 of test1 to reference one of the
servers explicitly.
Test 1 works fine, since both web servers connect to the same server for
JNDI usage. The test should return the last host to hit the page, along with
the current host name. Alternating between servers in the cluster will
alternate the results. However, the fact that I'm specifically naming a
server in the cluster breaks the whole point of clustering -- if that server
goes down, the application ceases to function properly.
Test 2, which is supposedly the right way to do it, does not work, an error
message is logged:
Tue Jan 04 08:17:15 CST 2000:<I> <ConflictHandler> ConflictStart
lastviewhost:java.lang.String (from
[email protected]:[80,80,7002,7002,-1])
And then both servers begin to report that they have been the only server to
hit the page. Alternating between servers will have no effect -- both
servers are looking solely at their own copies of the JNDI tree. No
replication is occurring.
What is up with this? Any ideas?
Tim
[test1.jsp]
[test2.jsp]
1. yes
<JMSConnectionFactory AllowCloseInOnMessage="false"
DefaultDeliveryMode="Persistent" DefaultPriority="4"
DefaultTimeToLive="0"
JNDIName="xlink.jms.factory.commerceFactory"
MessagesMaximum="10" Name="xlink.jms.factory.commerceFactory"
OverrunPolicy="KeepOld" Targets="bluej,biztalk-lab,devtestCluster"/>
2. No I am just using the jndi name of the queue.
This is an example of how I send a message:
Context ctx = new InitialContext();
QueueConnectionFactory qconFactory;
QueueConnection qcon;
QueueSession qsession;
QueueSender qsender;
Queue queue;
ObjectMessage msg;
qconFactory = (QueueConnectionFactory) ctx.lookup("xlink.jms.factory.commerceFactory");
qcon = qconFactory.createQueueConnection();
qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
queue = (Queue) ctx.lookup("xlink.jms.queue.biztalk-lab.OrdrspImport");
qsender = qsession.createSender(queue);
msg = qsession.createObjectMessage(reportExecutorContainer);
qcon.start();
qsender.send(msg);
qsender.close();
qsession.close();
qcon.close();
3. I don't know those setting (wl 6.1sp7)
Similar Messages
-
Security Permissions from Management Console Not Being Replicated on SQL Server Database
Hi Everyone,
We have been encountering issues with access to Reporting Services for most console users since we upgraded to SCCM 2012 R2. We have observed that since the R2 upgrade, security permissions
that are set in the console are not being replicated on the SQL database. Users/Groups that had access prior to the R2 upgrade are now only able to access Reports via the web interface. All new users/groups are not able to get access at all.
We are not sure what the problem could be and would appreciate any guidance.
We have tried the following without success:
Manually adding new users/groups to the database
Reinstalling the the Reporting Service point and Reporting Service, Removing all of the security groups from the console and from the database, and Adding the security groups back
to the console.
Our current environment:
SCCM 2012 R2
1 Site
Primary Site:
OS: Server 2008 R2
Roles: Site Server / Software Update Point / Management
Point
SQL Server
OS: Server 2008 R2
SQL Version: Microsoft SQL Server 2008 R2
Roles: Site Database Server / Reporting Services PointThanks for your feedback.
Permissions
We have two main types of users: Full Administrators and local departmental IT administrators. (Local IT Admins only have full control over their own departmental collections. They have Read/Add to All Systems.)
The only account that's currently able to run Reports from both the console and web is the admin account used to perform the R2 upgrade.
Full Administrator
Role: Full Administrator
Scope: All instances of the objects that are related to the assigned security roles.
Local Departmental Administrator
Role: Full Administrator & Read/Add
Scope: Main Departmental Collection (Full Admin) & All Systems, All Users, and All User Groups (Read/Add)
Report Service Execution
On the database, we have tried assigning the Report Service Execution Account to the built-in Network Service Account, Local Service Account, and to a separate AD role account.
Error Messages
Console: We are able to select reports from the Console however nothing appears when we click on Run.
Web: Generating Reports from the Web works for only the Full Administrators. Nothing appears for a Local Departmental Admin.
This is a partial output from srsrp.log:
Set configuration SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Check state SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Check server health. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Successfully created srsserver SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Reporting Services URL from Registry [http://132.205.120.154/ReportServer/ReportService2005.asmx] SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Reporting Services is running SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Retrieved datasource definition from the server. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
[SCM-SQL.concordia.ca] [CM_SCM] [ConfigMgr_SCM] [SCM-SQL.CONCORDIA.CA] SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
[MSSQLSERVER] [1] [] [CONCORDIA\SVC-SCM_REPORT] SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
[1] [0] SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Confirmed version [10.50.2811.0] for the Sql Srs Instance. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Retrieved datasource definition from the server. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ConfigMgr_SCM SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Loading localization resources from directory [E:\SMS_SRSRP\SrsResources.dll] SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Looking for 'English (United States)' resources SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Looking for 'English' resources SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Found resources for 'English' SMS_SRS_REPORTING_POINT 3/10/2015 2:28:05 PM 2588 (0x0A1C)
Confirmed the configuration of SRS role [ConfigMgr Report Users]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Confirmed the configuration of SRS role [ConfigMgr Report Administrators]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Confirmed the security policy for folder [/]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Confirmed the security policy for folder [/ConfigMgr_SCM]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Confirmed the security policy for folder [/ConfigMgr_SCM/Asset Intelligence]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.]. SMS_SRS_REPORTING_POINT 3/10/2015 2:28:06 PM 2588 (0x0A1C) -
Greeting:
Problem: I create a new index on the master instance and it not replicating to the consumer instance. Also previously existing indices are not being replicated. There are no error messages regarding replication
Direcotory Server 6.3
Actions:
** I created the consumer instance via DSCC
** I create blank suffixes on the new consumer instance
** I enable replication on consumer
** I create replication agreement on master
** I initialize replication from consumer
The indices existing on master are showing on the consumer and newly added index are also not showing up.
Please help and thanks
AhsanYour observation is correct. Index configuration is not replicated but is on a per-server basis. This is probably to allow various instances on the topology to serve different purposes while not being forced to maintain unnecessary indices.
-
JNDI name for a JMB is not replicatet to other servers in the cluster
Hi,
wl6.1sp7, two server cluster
When I look at the JNDI Tree for a server I can't find JNDI names of JMB's from the other server in the cluster.
I get an exception when trying to send to a destinaton on the other server. (Unable to resolve 'xlink.jms.service.report.biztalk-lab.Report' Resolved: 'xlink.jms.service.report' Unresolved:'biztalk-lab')
Setting are same as explained in this thread...
http://forums.bea.com/bea/thread.jspa?threadID=600003492&tstart=0
And JNDINameReplicated is set to true....
Why is the JNDI names not replicated?
<JMSQueue JNDIName="xlink.jms.service.report.biztalk-lab.Report"
JNDINameReplicated="true" Name="Report" StoreEnabled="default"/>
This is the DD of a JMB:
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>xlink.jms.service.report.biztalk-lab.Report</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>3</max-beans-in-free-pool>
<initial-beans-in-free-pool>1</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>xlink.jms.service.report.biztalk-lab.Report</destination-jndi-name>
<connection-factory-jndi-name>xlink.jms.factory.commerceFactory</connection-factory-jndi-name>
</message-driven-descriptor>
<jndi-name>xlink.jms.service.report.biztalk-lab.Report</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
~b1. yes
<JMSConnectionFactory AllowCloseInOnMessage="false"
DefaultDeliveryMode="Persistent" DefaultPriority="4"
DefaultTimeToLive="0"
JNDIName="xlink.jms.factory.commerceFactory"
MessagesMaximum="10" Name="xlink.jms.factory.commerceFactory"
OverrunPolicy="KeepOld" Targets="bluej,biztalk-lab,devtestCluster"/>
2. No I am just using the jndi name of the queue.
This is an example of how I send a message:
Context ctx = new InitialContext();
QueueConnectionFactory qconFactory;
QueueConnection qcon;
QueueSession qsession;
QueueSender qsender;
Queue queue;
ObjectMessage msg;
qconFactory = (QueueConnectionFactory) ctx.lookup("xlink.jms.factory.commerceFactory");
qcon = qconFactory.createQueueConnection();
qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
queue = (Queue) ctx.lookup("xlink.jms.queue.biztalk-lab.OrdrspImport");
qsender = qsession.createSender(queue);
msg = qsession.createObjectMessage(reportExecutorContainer);
qcon.start();
qsender.send(msg);
qsender.close();
qsession.close();
qcon.close();
3. I don't know those setting (wl 6.1sp7) -
JMS Server JNDI not being replicated? (clustered environment)
Hello,
First of all, my envinronment is Weblogic 6.1 sp2, JDK 1.3.1, Windows
My current production and test environments consist, each one of them, of
clusters with one admin server (ProdAdmin) and two managed servers (Prod1
and Prod2). One of the managed servers (Prod1) is the server to which the
JMS server is deployed and everything works fine.
Now I'm trying to add another managed server to the cluster. The idea is to
target the JMS Server (and nothing else) to this node. We don't want the JMS
server to be running in Prod1 and the new server, named ProdJMS, won't even
have any deployed beans or the startup class targeted to it. Just the JMS
server. Here our problems start.
I'm able to start this ProdJMS node with no problems. However, when I start
Prod1 it seems that the JMS server is not binded. This is the exception
we're getting when a message-driven bean is being deployed (I get the same
exception trying to create other):
------- snip -------------
<May 21, 2002 12:11:42 PM EDT> <Warning> <EJB> <The Message-Driven EJB:
CacheUpdateBean is unable to connect to the JMS
destination: securityChanges. The EJB container will automatically attempt
to re-establish the connection with the JMS s
erver. This warning may occur during WebLogic Cluster start-up if the JMS
destination is located on another WebLogic Ser
ver instance. When the JMS server connection is re-established, the
Message-Driven EJB will again receive JMS messages.
The Error was:
weblogic.jms.common.JMSException: Error creating session
Start server side stack trace:
weblogic.jms.common.JMSException: Error creating session
at weblogic.jms.backend.BEManager.sessionCreate(BEManager.java:121)
at weblogic.jms.backend.BEManager.invoke(BEManager.java:219)
at
weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchSyncFuture(DispatcherImpl.jav
a:300)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------- Linked Exception -----------
weblogic.jms.dispatcher.DispatcherException: Dispatcher not found in jndi:
Prod1, javax.naming.NameNotFoundException: Un
able to resolve weblogic.jms.S:Prod1. Resolved: 'weblogic.jms'
Unresolved:'S:Prod1' ; remaining name ''
at
weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager
.java:260)
at
weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(DispatcherM
anager.java:307)
at weblogic.jms.backend.BEManager.sessionCreate(BEManager.java:117)
at weblogic.jms.backend.BEManager.invoke(BEManager.java:219)
at
weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchSyncFuture(DispatcherImpl.jav
a:300)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
------- snip -------------
If I deploy the CacheUpdateBean bean to ProdJMS itself, I don't have this
exception. The weird thing is that when I check the JDNI tree of Prod1 I'm
actually able to see "weblogic.jms.S:Prod1", which is the name that seems
not to be binded. Again, if I deploy the JMS Server to Prod1, for example,
everything works fine. If I deploy the JMS server to a server with only the
JMS server I get the mentioned JNDI exception.
I would appreciate if you could give me help me solving this problem.
Thanks in a dvance for any help.
Andre MendoncaFirst of all, my envinronment is Weblogic 6.1 sp2, JDK 1.3.1, Windows
My current production and test environments consist, each one of them, of
clusters with one admin server (ProdAdmin) and two managed servers (Prod1
and Prod2). One of the managed servers (Prod1) is the server to which the
JMS server is deployed and everything works fine.
Now I'm trying to add another managed server to the cluster. The idea isto
target the JMS Server (and nothing else) to this node. We don't want theJMS
server to be running in Prod1 and the new server, named ProdJMS, won'teven
have any deployed beans or the startup class targeted to it. Just the JMS
server. Here our problems start.
I'm able to start this ProdJMS node with no problems. However, when Istart
Prod1 it seems that the JMS server is not binded. This is the exception
we're getting when a message-driven bean is being deployed (I get the same
exception trying to create other):1. Make sure that you are using a dif multicast address for each cluster
2. Remove the JMS from Prod1 -- double check this!
3. Stop Prod1 and Prod2
4. Start the ProdJMS
5. Restart Prod1 and Prod2
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Andre Mendonca" <[email protected]> wrote in message
news:[email protected]...
Hello,
------- snip -------------
<May 21, 2002 12:11:42 PM EDT> <Warning> <EJB> <The Message-Driven EJB:
CacheUpdateBean is unable to connect to the JMS
destination: securityChanges. The EJB container will automatically attempt
to re-establish the connection with the JMS s
erver. This warning may occur during WebLogic Cluster start-up if the JMS
destination is located on another WebLogic Ser
ver instance. When the JMS server connection is re-established, the
Message-Driven EJB will again receive JMS messages.
The Error was:
weblogic.jms.common.JMSException: Error creating session
Start server side stack trace:
weblogic.jms.common.JMSException: Error creating session
atweblogic.jms.backend.BEManager.sessionCreate(BEManager.java:121)
at weblogic.jms.backend.BEManager.invoke(BEManager.java:219)
at
weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchSyncFuture(DispatcherImpl.jav
a:300)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------- Linked Exception -----------
weblogic.jms.dispatcher.DispatcherException: Dispatcher not found in jndi:
Prod1, javax.naming.NameNotFoundException: Un
able to resolve weblogic.jms.S:Prod1. Resolved: 'weblogic.jms'
Unresolved:'S:Prod1' ; remaining name ''
at
weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager
.java:260)
at
weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(DispatcherM
anager.java:307)
atweblogic.jms.backend.BEManager.sessionCreate(BEManager.java:117)
at weblogic.jms.backend.BEManager.invoke(BEManager.java:219)
at
weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchSyncFuture(DispatcherImpl.jav
a:300)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
------- snip -------------
If I deploy the CacheUpdateBean bean to ProdJMS itself, I don't have this
exception. The weird thing is that when I check the JDNI tree of Prod1 I'm
actually able to see "weblogic.jms.S:Prod1", which is the name that seems
not to be binded. Again, if I deploy the JMS Server to Prod1, for example,
everything works fine. If I deploy the JMS server to a server with onlythe
JMS server I get the mentioned JNDI exception.
I would appreciate if you could give me help me solving this problem.
Thanks in a dvance for any help.
Andre Mendonca -
Custom Objects in JNDI Not Being Replicated in Cluster
I know this is going to end up being something really simple, but I can't find
any docs or other posts on it.
I have a simple two node weblogic 7.0 cluster. In a startup class that is deployed
to the cluster I check for and create a subcontext. This subcontext will just
hold custom objects when a node comes up. When a node does come up, one of the
web applications binds a non-RMI custom object to the subcontext created via the
startup class.
Once both nodes in the cluster are up I can see via the weblogic console's "View
JNDI tree" feature that the custom object bound on node 1 is only visible in the
JNDI tree of node 1. Similarly the object bound on node 2 is only visible in
the JNDI tree of node 2.
Is the JNDI tree that is visible via the console the JNDI specific to the node
and not the clusterwide JNDI tree? Do I have to do something special to get access
to the cluster wide JNDI tree (for instance when creating an InitialContext)?
Is there a way to view the cluster wide JNDI tree?
Thanks for any information.Hi Matt,
how did you compile t3 stubs,there are -clusterable or something like this
option shat should make replicatable-aware stubs.
"Matt" <[email protected]> wrote:
>
I know this is going to end up being something really simple, but I can't
find
any docs or other posts on it.
I have a simple two node weblogic 7.0 cluster. In a startup class that
is deployed
to the cluster I check for and create a subcontext. This subcontext
will just
hold custom objects when a node comes up. When a node does come up,
one of the
web applications binds a non-RMI custom object to the subcontext created
via the
startup class.
Once both nodes in the cluster are up I can see via the weblogic console's
"View
JNDI tree" feature that the custom object bound on node 1 is only visible
in the
JNDI tree of node 1. Similarly the object bound on node 2 is only visible
in
the JNDI tree of node 2.
Is the JNDI tree that is visible via the console the JNDI specific to
the node
and not the clusterwide JNDI tree? Do I have to do something special
to get access
to the cluster wide JNDI tree (for instance when creating an InitialContext)?
Is there a way to view the cluster wide JNDI tree?
Thanks for any information. -
RMI object bindings bot being replicated
I have a two node cluster setup for testing. I am creating an RMI
object on one server and binding it into the JNDI tree. I can see the
binding on the server where the object was bound but I never see
anything in the JNDI tree of the other server in the cluster.
I have tried adding WLContext.REPLICATE_BINDINGS=true to my
InitialContext. I've also tried compiling the RMI object with
weblogic.rmic as clusterable. Neither seems to have made any
difference.
Any assistance will be appreciated.
Thanks and regards,
Bob
Thanks for the reply. Please see my responses inline:
In article <[email protected]>, [email protected]
says...
> Bob,
>
> A couple of questions
> 1> Whether your multicast address is working properly? Perform the
> multicast test and verify this.
What is the multicast test? The console cluster monitor screen shows
both servers sending and receiving message fragments. Both servers show
zero for Lost Multicast Messages.
> 2> How are you deploying the RMI object (to the cluster or individual
> servers)?
I'm not sure what you mean by "deploying the RMI object". The RMI
object is created by a startup class and bound to the JNDI tree on one
server in the cluster. It appears in the tree it where it was bound but
not the tree on the other server.
> 3> What version of WLS and Service pack are you using?
WLS 6.1 SP1 Load3
> 4> Could you try our sample example in the \cluster\rmi folder?
This exhibits the same behavior I'm seeing in my app.
Thanks for your help.
Regards,
Bob
>
>
> Bob Withers wrote:
>
> > I have a two node cluster setup for testing. I am creating an RMI
> > object on one server and binding it into the JNDI tree. I can see the
> > binding on the server where the object was bound but I never see
> > anything in the JNDI tree of the other server in the cluster.
> >
> > I have tried adding WLContext.REPLICATE_BINDINGS=true to my
> > InitialContext. I've also tried compiling the RMI object with
> > weblogic.rmic as clusterable. Neither seems to have made any
> > difference.
> >
> > Any assistance will be appreciated.
> >
> > Thanks and regards,
> > Bob
>
>
-
Files not being shared across IoS devices
Why are my files on my iPad not shared with my iPhone?
Well, in the future, it may be possible using Apple's iCloud which allows documents to be shared between devices. Currently, that only works with a few Apple applications (e.g., Pages, Numbers and Keynote).
It would work for non-Apple applications if (1) Apple made iCloud-linking features available to non-Apple applications, and (2) if Adobe decided to implement such a feature. -
Deletions and changes not being replicated from handset to Exchange 2003 server for one user
Good afternoon,
We have an issue where-by one of our Q10 handsets isn't replicating deletions and moving of mail back to Exchange 2003. If the user marks mail as read or deletes in Outlook, the change appears straight away on his Q10. His previous Q10 worked correctly, as do all of our other v10 devices.
Regards,
SteveHi,
In addition to TP’s comment, you can go through beneath article for information.
Terminal Server and Printer Redirection
http://blogs.technet.com/b/askperf/archive/2007/08/24/terminal-server-and-printer-redirection.aspx
Hope it helps!
Thanks.
Dharmesh Solanki
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] -
Script is not being executed in another instance of cluster
Hi expert!
We have two instances running in a cluster environment.
We created a script in instance-1. The script is executed in instance-1 withoug any issue. But it is not executing in instance-2.
The instance-2 can see the script, though.
We even restarted the web server. The problem still exists.
What can be possible reason to cause it?
Could you give me any hints?
Thank you very much.Hi Jordan,
Are all the scripts not working in the 2nd instance or is the issue related to a specific script? It could be a caching related issue. I would try clearing the script key cache. If that doesnu2019t help, I would check the log file on the instance itu2019s not working. Logs should give you information on what might be going on.
Also, I assume you meant, you restarted the app server not the web server.
Regards,
Vikram -
Does anyone know what is this mean and how to fix this?
I checked the records and they are not being replicated, and the connection to the subscriber are not active for some reason; but I don't know how to fix it.
Thanks
Philly Database developerIt basically means that the replication agent has not logged a status message back to the replication subsystem.
Basically you can't stop it, and these messages let you know if the agent has hung.
However you can delay the time before the subsystem will report this message. Do this by the following query - this will delay this message to 10 minutes from the default of 5 minutes. I have set this to days when replicating over ISDN/Phone lines.
USE master
exec sp_changedistributor_property
@property = N'heartbeat_interval',
@value = 10;
GO
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
after changes below query...USE master
exec sp_changedistributor_property
@property = N'heartbeat_interval',
@value = 10;
GO still not working... -
HT204365 PDF not being synched devices
PDF not being synced across devices, sync collections is on on both devices
Unfortunately updating the Distiller settings did not help. PDFs are still printing to .tmp files periodically. It isn't just from Word either; I've also noticed that it happens with PDFs as well. For example, when viewing a 50+ page PDF document online I chose to print one of the pages from the middle as an Adobe PDF, and it notified me that my .tmp file was created.
By the way, I haven't been changing printer properties from within an application; I change them from the Devices and Printers menu.
I've been able to locate where the .tmp files are being sent:
C:\Users\username\AppData\Local\Temp
This is frustrating. It seems to be happening despite all settings to the contrary. I just can't figure it out. I'm reluctant to delete the printer and try to re-add it, because I don't have administrator priveleges on this computer (it's my work computer). I wish I could give you guys more information. -
DFSR - Deleted files not being deleted on remote servers
Hi All,
I have a central file server replicating its data to 2 remote files servers with read only shares.
When a file is deleted on the central server, the files are not being deleted on the remote servers. New files on the central server are replicating fine.
Why is this and how do I fix it?
Thanks ChristophHi Christoph,
Can you provide "delete" permission on remote share and see if it works?
Thanks,
Umesh.S.K -
Hello Everyone,
Suddnly stop merge replication. transaction cannot replicated from publiser to sunscriber.
I tried to set heartbeat_interval= 5 but still not working..
The replication agent has not logged a progress message in 5 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor
are still active.
What is the problem with merge replication and why this erroe comes..
any solution of this error or reconfigure merge replication?
please give me a solutionRun profiler on the subscriber to see what the merge agent is doing there. It is possible that there is some blocking that is causing the agent to hang. You might want to set the heartbeat to 10 or higher. The default is IIRC 5.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941 -
JNDI replication and rebinging from multiple servers
Here is what I need:
Server1 binds ObjX to it's JNDI tree (which replicates the object to the
other servers in the cluster)
Server2 does a lookup on ObjX, changes some values and rebinds it back to
it's JNDI tree (which should replicate the changes to the other servers
including Server1).
The above does not happen because, Server1 is known to be the owner of ObjX,
and thus instead of getting replicated data after Server2 rebinds, it gets
duplicate name errors.
Is there anyway to make the above work the way I want it to?It is bad to use JNDI to replicate application data/cache in the cluster.
If you are sure that you want to use multicast to replicate your data,
in 6.0 you can use JMS:
http://e-docs.bea.com/wls/docs60/jms/implement.html#1206428
Or you can use javagroups: http://sourceforge.net/projects/javagroups
John Boyd <[email protected]> wrote:
Yes, exactly.
"Dimitri Rakitine" <[email protected]> wrote in message
news:[email protected]..
Are you trying to use JNDI to replicate runtime data across the cluster?
John Boyd <[email protected]> wrote:
Here is what I need:
Server1 binds ObjX to it's JNDI tree (which replicates the object to the
other servers in the cluster)
Server2 does a lookup on ObjX, changes some values and rebinds it back
to
it's JNDI tree (which should replicate the changes to the other servers
including Server1).
The above does not happen because, Server1 is known to be the owner of
ObjX,
and thus instead of getting replicated data after Server2 rebinds, itgets
duplicate name errors.
Is there anyway to make the above work the way I want it to?--
Dimitri
Dimitri
Maybe you are looking for
-
Trouble opening Premiere Elements project in Premiere Pro
Hi All, Just bought Production Premium CS6. I've been working on a project in Premiere Elements 9, and I'd like to continue working on it in the new snazzy Premiere Pro CS6. But when I try to open the project file I get the following error: "The proj
-
Licensing Office Home and Business 2013
I know this has been talk about a bit... If I have 30 users to setup with Office 2013 H&B, do you recommend I setup a Public folder on my Exchange server, mail enable it, create a Microsoft account for the PC(email addr to match an SMTP alias of that
-
Removing credit card from account
how can i remove the card i have on file from my iphone 5??????
-
My apple ID is not an email address.
After updating my iphone it won't let me sign in without email address apple ID. When I enter my email address it says it is already in use with another apple ID...which is mine I assume, since that email is associated with my original apple ID. I
-
I had several problems downloading the software and plenty of errors. My most recent backup before the update was a day ago. Since downloading the new iOS 5 software I lost all my pictures, and I'm really upset about it. My phone has been synced with