Clustered Servers
I just installed a cluster setup and I'm now trying to test out a web app
that works fine
on a single appserver.
When attempting to access my a servlet within my webapp I get the following
error:
***weblogic.management.NoAccessRuntimeException: user myclient does not have
***access permission on weblogic.admin.mbean.BeaServer1
My webapp is deployed to a 2 server cluster. When I run it on a
non-clustered server, it works fine.
What am I missing??
Hi,
how did you create the cluster nodes ?
Are the SerializedSystemIni.dat file and the initial fileRealm.properties file
identical ?
Regards,
Christian Buchegger
Developer Relations Engineer
BEA Support
Kenneth Chin schrieb:
I have the user 'myclient' defined on all 3 servers.
I just created a new ACL, but when trying to add a Permission, I get the
error
User "system" does not have Permission "modify" based on ACL
"weblogic.admin.acl".
"Christian Buchegger" <[email protected]> wrote in message
news:[email protected]..
Hi,
what I am wondering first when reading the error message is: is the user
myclient defined on any
machine in the cluster ? Does this user have the correct permissions onany
system ?
If the user is defined, you might try to give him the correct permissionstru an
acl like:
acl=weblogic.admin.mbean.(servername) permission=access group=everyone
Regards,
Christian Buchegger
Developer Relations Engineer
BEA Support
Kenneth Chin schrieb:
I just installed a cluster setup and I'm now trying to test out a web
app
that works fine
on a single appserver.
When attempting to access my a servlet within my webapp I get thefollowing
error:
***weblogic.management.NoAccessRuntimeException: user myclient does nothave
***access permission on weblogic.admin.mbean.BeaServer1
My webapp is deployed to a 2 server cluster. When I run it on a
non-clustered server, it works fine.
What am I missing??
Similar Messages
-
Can I use Admin Console to Start Clustered Servers ?
I have just started to look at clustering and am in the process of running through
the cluster example tutorial. I have used the domain config wizard to create
a manged server with a cluster and another server to act as the http proxy. As
I prefer to use the admin console for all tasks I wondered if there is any way
to start the managed servers from the console. The reason I ask is that I cannot
find a way to start another server from the console apart from the admin server.
On a seperate note can anyone tell me whether the multicast IP address is something
that I should be concerned with as a developer. The reason I ask is that I know
it is used for clustered servers to communicate, but how can it do that if the
IP address is a physical box that does not have BEA installed.
Thanks
Justin
Yes, you can start all managed servers from the console ... Look under the
cluser that you create and click on the control tab ... you should be able
to start all the managed servers that will be apart of the cluster there.
Weblogic uses a service on the local machine called node manager which will
start and stop the services on each managed server.
Its good for developers to know something about multicasting as far as what
it does, how it works but most system administrators all well versed with
the inner workings of it. You have to have weblogic installed in order for
that particular box to become apart of the cluster, and you can run multiple
managed servers on one physical box but be careful with resource intensive
apps.
"Justin Flanagan" <[email protected]> wrote in message
news:[email protected]...
>
> I have just started to look at clustering and am in the process of running
through
> the cluster example tutorial. I have used the domain config wizard to
create
> a manged server with a cluster and another server to act as the http
proxy. As
> I prefer to use the admin console for all tasks I wondered if there is any
way
> to start the managed servers from the console. The reason I ask is that I
cannot
> find a way to start another server from the console apart from the admin
server.
>
> On a seperate note can anyone tell me whether the multicast IP address is
something
> that I should be concerned with as a developer. The reason I ask is that
I know
> it is used for clustered servers to communicate, but how can it do that if
the
> IP address is a physical box that does not have BEA installed.
>
> Thanks
>
> Justin
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.638 / Virus Database: 409 - Release Date: 3/21/2004
-
Running BizTalk on multiple non-clustered servers. Potential serious issue
Hi,
I have just discovered what has potential to be a fairly large issue in our current BizTalk Architecture. We are running BizTalk Server 2006 R2 on 2 different servers, running Windows Server 2003 R2. These servers are NOT clustered. Instead, BizTalk is installed
to both, configured on 1 and then on the 2nd, they have joined the existing BizTalk environment. We have 1 host with 2 host-instances for say an Orchestration Host. (So 1 Orchestration Host and then 1 Orchestration Host Instance on each server), we also have
a host instance for Receive and Send on each server.
This is a problem that I have identified on an application currently in UAT:
We have a routine called 'Recovery Mode'. It doesn't matter what Recovery Mode is but what does matter is that only a single instance can go into recovery mode at the same time.
Consider this:
bool inRecovery;
while (isBroken) {
if (!inRecovery){
inRecovery = true;
// Recover
inRecovery = false;
else {
// Wait, recheck until not in recovery, or fixed.
Imagine an instance on server 1 needs to go into recovery, it first checks the inRecovery flag, gets returned false so goes into recovery, let's say this takes 5 minutes to complete. During this time, an instance on server 2 needs to go into recovery, checks
the flag, but the flag on server 2 has not been set to true.... Now I have 2 instances in Recovery...
My questions are:
1. Can I cluster 2 non-clustered servers? I'd need to upgrade from Windows Server 2003 R2 Standard to Enterprise is that possible? If so, Can I simply upgrade and cluster the servers or would I need to format the disks?
2. If no to number 1, where would you store the 'inRecovery' flag'? I can't store in a DB as there will be slight cross over where instance 2 might return false in my example just as instance 1 is writing unless I can lock it on write or something.
Some advice would be greatly appreciated.
Thanks
RodTo answer your specific question:
1. Yes, but you would need to upgrade to at least Enterprise. Windows Server 2003 R2 Standard does not support clustering. IIRC, the upgrade from Standard to Enterprise is pretty easy, perhaps just a SKU change.
2. If you absolutely cannot upgrade Windows Server, then you'd have to store the state externally, such as SQL Server. There shouldn't be any concurrency issues if you do the check in the right sequence. Basically, begin a transaction, attempt
to UPDATE, return weather the UPDATE was successful, meaning that call grabbed the lock. If you check then update, yes, there is a miniscule chance both will return the same value but only one near-sumultaneous UPDATE will succeed. -
Tlisten resolve incorrect IP add on Clustered Servers
Hi All,
I am having a problem in deploying Tuxedo v6.5, as a stand alone application, on
a pair of MS NT 4 clustered servers. The problem is when starting tlisten process
using standard command "tlisten -l //HOSTNAME:12345", tlisten picks up a different
IP addresses every time I start another tlisten process.
i.e. starting three tlisten processes may result in three tlisten processes listening
on three different IP addresses that belongs to the cluster pairs.
My two constrains are:
(1) I need 6 tlistens processes to be started on the same physical machines
(2) my client insist to use Hostname unless it is proven that it is a defacts in
BEA's tlisten
I have investigate with the Network support ppl, and according to them, their DNS
settings seems to be fine (i.e. they suggest that they have only map HOSTNAME to
a single IP address).
Any help would be appreciated.
Regards
NathanI added the program under the allowed apps but it still didn't work.
I disabled the firewall but it didn't work either.
Added IP addresses under DNS somewhere, but didn't work.
This would only handle the built-in software firewall that is part of the OS X operating system on your Mac.
I was told I may need to configure access to port numbers and/or server addresses. Certain ports should be open and certain server addresses "added", and it is preferable to configure a firewall by server address instead of IP address. If an IP range exception can be entered, I will need to enter a range of about 100.
By default, all incoming traffic from the Internet is blocked by your router. On the other hand, all solicitated outbound traffic is NOT blocked. Note, however, that the Apple routers do NOT support UPnP. If your application is coded to do so this may be the issue you are seeing. Using a non-Apple router would be one solution.
Opening ports on the Apple router is done via the AirPort Utility. Please check out the following AirPort User Tip for details. -
Verity Issue - Clustered Servers
To summarize:
We have an interesting issue that I am attempting to create a
work around for. Our website exists in a clustered enviorment (3
servers), a development server, and a file server (mostly PDF's
Word docs, PPT's etc...). Each server re-indexes the Verity
collections nightly via scheduled task and the file server does as
well. Since we host our servers in a sercure external enviorment
there is no direct network connection between the clustered servers
and the file server. Our work around for this was, since our
development server can see both, we would:
1) Re-index nightly on the file server
2) Set a scheduled task on the dev server to copy the files
from the collection on the file server to the test enviorment
3) Use our source control to submit these copies to the
clustered servers via scheduled task.
Everything was working great until we upgraded the file
server to MX 7. The collection file structure has changed for
vertity in MX 7 and we cannot output the results on the search
pages. We do plan to upgrade all of our servers to MX 7 but it is
going to take a few months.
We are trying to come up with some ideas as how we can
integrate the results from the file server. (i.e CFHTTP) as we dump
the results from 3 collections into an array and then sort the
relevance.
Any thoughts?
Thanks,
JonI'll restate this in simpler fashion.
Can you retrieve MX 7 verity search results on a MX 6.1
server?
Can this be done via CFHTTP or any other similar method?
Thanks -
Hi All,
I am wondering what I need to do or even if TED can, set a package path to a clustered volume path instead of setting the package path of a distributed application to a single file server name?
TED itself is not cluster aware but can it be tricked/manipulated?
eg.
Currently apps come down and the package path changes from:
\\EnterpriseDistributorServer1\APPS1\TheApplicatio nName
To:
\\LocalFileServer1\APPS1\TheApplicationName
As it should and always has with single server sites, however our clustered SAN connected environment is also doing this. Which doesn't take advantage of the clustered servers resilience capabilities at all and renders applications unavailable if LocalFileServer1 goes down.
Instead I want it to go from:
\\EnterpriseDistributorServer1\APPS1\TheApplicatio nName
To:
\\Cluster1\APPS1\TheApplicationName
I want to do this without setting Cluster1 as the package path at the Enterprise level and configuring the distribution to keep the same source path, so our other servers maintain their own versions locally when distributed.
I also don't want to have to create secondary NAL and distribution objects just for the cluster, as I also receive enterprise distributions that I do not control apart from subscribing to.
Any help/ideas would be much appreciated.
Cheers,
Bradbrad,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://www.novell.com/support and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Forums Team
http://forums.novell.com -
Set logging severity level for clustered servers
How can I set the logging severity level for clustered servers just once at the cluster level rather than one at a time at the server level?
I know the logging is server by server, but surely there is a way to configure the multiple servers with one change rather than one by one. We have 40 some servers in the cluster.
-
Can a single JNDI tree be shared by multiple, non-clustered servers?
We have a situation involving multiple, but non-clustered, WebLogic servers,
say Server 1 and Server 2. A client needs to access an EJB which happens to
be located only on Server 2. We would prefer that the client not need to
know the exact location of the EJB, but use the naming service hosted by a
designated server (Server 1) to locate the EJB.
At a minimum, this would require that both servers bind their respective
EJB's into a common, shared JNDI naming tree hosted by Server 1.
Is this possible?
John Armstrong
WebLink Wireless, Inc.
[email protected]hi,
I have not tried this, althoug with the webogic rmi and weblogic jndi
implementation I would guess this is straightforward.
Binding remote objects in WL JNDI binds the stubs only, not the object
itself. The worst case scenario here would be for you to implement proxies
and bind them in JNDI, although I would guess that binding the home object
should give you the required functionality.
Just try it, rebind the home object on a different server than the one the
bean is deployed on and test. My guess is that it will work.
(I repeat : I have not tested this my self, this is just a suggestion)
Regards,
Anders M.
John N. Armstrong <[email protected]> skrev i
meldingsnyheter:3a93faba$[email protected]..
We have a situation involving multiple, but non-clustered, WebLogicservers,
say Server 1 and Server 2. A client needs to access an EJB which happensto
be located only on Server 2. We would prefer that the client not need to
know the exact location of the EJB, but use the naming service hosted by a
designated server (Server 1) to locate the EJB.
At a minimum, this would require that both servers bind their respective
EJB's into a common, shared JNDI naming tree hosted by Server 1.
Is this possible?
John Armstrong
WebLink Wireless, Inc.
[email protected] -
ITS Login screen behavior different on 2 clustered servers(BBP)-config same
We have a production server(s) for Standalone ITS 6.2 (BBP) with 2 hosts and this is load-balanced and clustered.
The templates for (BBP) bbpstart and bbpglobal for the affected instance are identical on both physical servers.
The services on both the servers are also identical. But yet, Login behaviour on the 2 servers are different.
The servers are :-
Prd: (Instance) WEP on server it03 and it04 port 82
URL: http://it03:82/scripts/wgate/bbpstart/!
or URL:
http://it04:82/scripts/wgate/bbpstart/!
Production cluster URL - http://clusterits20:82/scripts/wgate/bbpstart/!
The problem is as follows :-
'The basic issue is that the users have to click on the 'enter' button on the BBP login screen (for server it04) main BBP screen, (hitting/pressing 'Enter' button doesnt work).
But on server IT03 users can just press enter on the login screen on their keyboards for IT03 (server it03) to login ! ..... so depending on which server they connected to within the cluster address they would have to press or click buttons etc to get past the BBP login screen.'
The templates for bbpstart and bbpglobal for the are identical on both physical servers.
The services on both the servers are also identical.
Please advice on how to solve this issue.
Thanks and regards
Avinash
Edited by: Avinash Rajan on Aug 11, 2008 5:33 PMHello Avinash,
Did you check the template bbpglobal/99/login.html? That is the actual file being used for the bbpstart service logon screen. The login.html should contain a function for login using the enter (function loginOnEnter(theEvent)). Maybe this is missing from your it04 server?
I would recommend publishing the bbpglobal Internet Service to your it04 server again.
Edgar -
Clustered Servers and Applet (Very URGENT Please)
Hi,
I'm using win2k/CF application server 4.5/IPlanet web server/NN4.79/JRE1.4.1/.
I have an applet in one of my web page which downloads a file from the web server(stored in http://www.abc.net/doc/zip directory on the server).
Now when I run this code on the development server, everything works fine.
But in production environment, we have 3 clustered web servers controlled by a controller (Local Cisco Director) machine. The applet code looks like this:-
strURL = "http://www.abc.net/doc/Zip/"; //the URL from which the zip is to be downloaded. Basically it hits the Controller first
strZipFileName=getParameter("zipFileName");
strURL = strURL+strZipFileName;
//Get Connection to Server and Download the file
try{
objUrl = new URL(strURL);
httpCon = (HttpURLConnection) objUrl.openConnection();
//DownLoad the File
InputStream fileInputStrm = httpCon.getInputStream();
// create a file object which will contain the directory structure to copy in the local machine
localZipFile = new File(strLocalFilePath+strZipFileName);
FileOutputStream fileOutStrm = new FileOutputStream(localZipFile);
int ch;
while ((ch = fileInputStrm.read()) != -1) {
fileOutStrm.write(ch);
// Close the InputStream, HTTP connection , File stream
fileInputStrm.close();
httpCon.disconnect();
fileOutStrm.close();
Now when the home page of the site is loaded it makes the connection and controller redirects this request to one of the web servers (say 1) which is least loaded.
Now when the applet is loaded, the new connection is established to the controller and it may redirect the request to any one of the 3 web servers (not necessarily to 1 which is required). Now sometimes it hits the right web server on which the required zip file is stored, and sometimes it doesn't hit the correct server.
Any clue what we can do in this scenario so that the applet downloads the correct file from the right server?
Please help it is very urgent....
ThanksDid you ever get a response to this or figure out how to run in a clustered environment? I am now running into the same issue and would be interested in whatever you learned.
-
Flash Media Server on Clustered Servers
Hello to all,
i am new to the Flash world and am trying to figure out if
Flash Media Server Pro can be installed in a clustered server
environment (active/passive). specifically:
1 - can it be set up so that when the primary server fails,
the secondary server will take over any incoming requests?
2 - can this be done at the "Pro" license level?
3 - are two seperate licenses required for this, or is this
usage (since it is any active/passive cluster) covered under a
single license?
the items i found on the site are very specific to setting up
Edge/Origin servers - but we are not looking at getting dedicated
servers for this. we want to use our clustered web site servers.
with thanks for any help provided
ricaSince we're talking about a multiuser app (the chat),
failover becomes a litte more complicated. In this case, we need to
make sure that, as clients connect to the app, the are routed to
the appropraite server. Think about this scenario:
Users A and B enter a chat. During the chat, the primary
server goes down, so clients A and B are moved to the backup
server. A few minutes later, the primary server comes back on line.
After that, client C connects to the chat. Since the primary server
is up, client C connects to that one, but clients A and B are still
on the backup server.
So, we need a means of making sure there is only one instance
of any given chat "room" at any time, and we need to somehow make
sure inbound clients are routed to the appropraite server.
What I like to do in situations like this is buid two
applications. The first application is a "gatekeeper", which
monitors all of the FMS servers in the cluster, and mantiains a
list of active rooms (and their locations). When a client connects,
they first connect to the gatekeeper, which informs the client of
which server their chat room is running on. The client then
disconnects from the gatekeeper, and connects to the chat room.
Along with handling faliover, using an approach like this can
also facilitate load balancing. By monitoring license capacity, the
gatekeeper app can programatically assign chat rooms to servers
based on the number of active connections on each FMS. -
How to talk to clustered servers
Hi, All,
we have serveral app servers are clustered, running wls5.1. our
other part applications needs to talk to these servers by calling the stateless
session beans on app servers. all the ejbs are deployed on each server are same.
How can we distribute the calls to all the servers, sort of load balancing?
Thanks
Same name with multiple IPs assigned to it. Depending on your DNS server, it
is set up in a variety of ways.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Jen" <[email protected]> wrote in message
news:[email protected]...
>
> Thanks. I am not sure how the DNS round robin works. Can explain more? Do
i have
> to lookup the ejbs using multicast name?
>
> Jen
>
>
>
> "Cameron Purdy" <[email protected]> wrote:
> >It should do load balancing and failover automatically, although you
> >may
> >need to round-robin DNS the server name that you use for lookup to force
> >the
> >load balancing (I can't remember).
> >
> >--
> >Cameron Purdy
> >Tangosol Inc.
> ><< Tangosol Server: How Weblogic applications are customized >>
> ><< Download now from http://www.tangosol.com/download.jsp >>
> >
> >
> >"Jen" <[email protected]> wrote in message
> >news:[email protected]...
> >>
> >> Hi, All,
> >>
> >> we have serveral app servers are clustered, running wls5.1. our
> >> other part applications needs to talk to these servers by calling the
> >stateless
> >> session beans on app servers. all the ejbs are deployed on each server
> >are
> >same.
> >> How can we distribute the calls to all the servers, sort of load
> >balancing?
> >> Thanks
> >
> >
>
-
I’ve installed server 2012 R2 with the Failover Cluster Role and have configured two network interfaces. On the heartbeat NICs for each server I see a “Microsoft Failover Cluster Virtual
Adapter Performance Filter” which is not enabled for the NIC. Should I enable this for the heartbeat NICs for the servers in my cluster?
any and all thoughts would be greatly appreciated.
Leonard HoffmanQuestions about VMware requirements should be directed to VMware. VMware handles things differently from how Microsoft does, so you should ask them about their recommendations.
The issue is with guest cluster traffic potentially getting sent to the host cluster using the same NIC. This is a Hyper-V interaction. So from a Microsoft technology standpoint, if you are not using Hyper-V, it's a good idea to enable it, as
stated earlier. Again, check with VMware.
. : | : . : | : . tim -
Hi,
Having gone over the documetation for WL7 logging, I understood that in a
managed environment besides having a local log, the managed servers also
send the messages to the administration server via JMX to a single domain
log.
My question is, what happens if the admin server goes down? will those log
messages be missed, or are they stored somewhere and when the server is up
again they are logged? can someone please shed some light on the workings
of this mechanism.
Thanks
Trevor
I just ran a simple test with 6.1 sp3. I set the same values you have except for:
Min size: 1k
Time: equal to 5 minutes after I started the server.
It rotated the file correctly. Maybe you need to set the time to something shortly
after you start the server, and decrease the min size to 1k. This will at least
run a test that should rotate the file quickly.
Regards,
Glenn
Developer Relations Engineer
BEA Technical Support
dc wrote:
My domain log file is not being rotated. I am trying to have the file rotated
at least once per day. The following are my domain log file settings:
File Name: config/mydomain/logs/wl-domain.log
Rotation Type: by Time
File Min Size: 500k
Rotation Time: 00:00
File Time Span: 24 hours
<checked> Number Of Files Limited
File Count: 30
I am running Weblogic Server 6.1 SP3 on Solaris 8.
Any ideas? -
Multi-homing and Primary/Secondary clustered servers
I have two hosts, each of which has two IP addresses and network
interfaces. I am proposing to run 2 nodes of a cluster on each
box (ie. 1 node bound to each IP address). What's to stop the
primary and secondary being on the same box (as clearly the ideal
would be the primary and secondary on distinct boxes) ?
I'm using WLS 5.1sp8. Is the situation any better under 6.0 ?
WebLogic 5.1 does not guarantee that the primary and secondary are on two
different physical boxes.
With WebLogic 6.0, you can define replication groups and therefore avoid
having primary and secondary on the same physical server.
Regards,
Eric
"Rick Parker" <[email protected]> wrote in message
news:3ac06d18$[email protected]..
>
> I have two hosts, each of which has two IP addresses and network
> interfaces. I am proposing to run 2 nodes of a cluster on each
> box (ie. 1 node bound to each IP address). What's to stop the
> primary and secondary being on the same box (as clearly the ideal
> would be the primary and secondary on distinct boxes) ?
>
> I'm using WLS 5.1sp8. Is the situation any better under 6.0 ?
Maybe you are looking for
-
Movie streaming from one server to many Apple TV
Hi guys, I want to buy an Apple TV for each TV in a very big house. Is it possible to stream a movie (the same or different) from a pc or server (with iTunes) to more than five Apple TV?
-
I live in NZ and just downloaded firefox which was successful because this other program i need to download requires firefox3 so when i clicked on this program to download now that i have firefox its not downloading so why is that.
-
Hi All! OIM 11g: 1. I have installed DBUM 9.1.0.4 2. I have configured IT Resurce, and RO for granting user MS SQL User and database role (for example in HRData db) 3. I have created Role named: "HRData DB User" and Access Policy named: "HR Data DB U
-
Transaction code MC46 for slow moving
Dear Experts I need to take the list of slow moving material with last transaction date.I was tried with MC46 transaction and it gave me the list. But i'm not able to under stand the logic , for example one part number shows Days since consumption is
-
Using QuickTime Pro to convert a series of JPEG images into a QT movie?
Can I use QuickTime Pro to convert a series of JPEG images into a QT (uncompressed) movie? Thanks... Windows XP