Restarting multiple Weblogic Servers.
Hi All,
Is it possible to restart multiple WebLogic Servers from a single point(server).If yes,can someone please provide a shell script?
Thanks in advance.
Edited by: user10661185 on Nov 28, 2008 7:27 AM
This is the point where you really need to dive into the WLST documentation and start to understand how to build these things yourself. However, I'll give you some advice that isn't found in the manual.
The samples in the doc assume an interactive WLST session, which isn't practical for automated scripts. I prefer to build a Bash script that looks somewhat like this skeleton:
#! /bin/bash
$WEBLOGIC_HOME/common/bin/wlst.sh << HEREDOC
connect(...)
... operations ...
disconnect()
HEREDOC
For you, you would have multiple groups of connect()/disconnect() pairs, one for each domain, and "start()" and "shutdown()" calls in each. Read about these operations in the manual. It's handy to click on the DOC entry for "WLST Command Summary, Alphabetically By Command", which then gives you links for each command.
Similar Messages
-
NT startup parmaters for multiple weblogic servers started as a service
I have the need to start multiple weblogic servers, using NT services.
I have created a second folder with a properties file listening on another
port.
I am using the following startup parameter
-J-Dweblogic.system.name=Test
My question, this works when I type the startup parameter, is their anyway
to have this automatically entered
on server startup.
Is their a registry setting to make this permanent
ThanksThe answer is...
- Use a product to turn applications into an NT Service (e.g.
ServiceMill)
- Directly run the Weblogic Server Java class via that application
--> As many WLs on one machine as you like.
Send mail if you need specific details.
Best regards
Daniel Hoppe
-----Original Message-----
From: [email protected] (Ed) [mailto:[email protected]]
Posted At: Wednesday, August 30, 2000 2:34 AM
Posted To: install
Conversation: NT startup parmaters for multiple weblogic servers started
as a service
Subject: Re: NT startup parmaters for multiple weblogic servers started
as a service
I wish that was the case.
The problem is, while you enter the startup parameter once, it only
is good for that startup of the weblogic server,
The next time the server reboots and the services start, unless you
re-enter the startup parameter -J-Dweblogic.system.name=Foldername
The weblogic server starts using the wrong properties file.
Is their anyway using NT services to have the correct instance of WL
to start everytime.
I have checked this newsgroup and this question has been posted
before, but so far no one seems to have the answer.
I know in a production eniviorment someone must be running more that
one instance of a WL server as a service, Hopefully their is an
answer on how this is done.
Thank you
Kumar Allamraju <[email protected]> wrote:
Not that i know of.
but you are specifying this startup parameter only one time too!!!
Kumar
None of your bussines wrote:
I have the need to start multiple weblogic servers, using NT
services.
I have created a second folder with a properties file listening onanother
port.
I am using the following startup parameter
-J-Dweblogic.system.name=Test
My question, this works when I type the startup parameter, is theiranyway
to have this automatically entered
on server startup.
Is their a registry setting to make this permanent
Thanks -
IIS proxying to multiple WebLogic Servers by path
Hi all,
Is it possible to have 1 IIS proxying to 2 or more different
weblogic instances (no cluster) BY PATH (no virtual hosts, no proxying by extension)?.
Maybe 2 or more iisproxy.ini (or different sections in one) depending on iisforward
path :)
Just like with Apache or Netscape:
APACHE:
MatchExpression "/pathA/*" WebLogicHost=hostA|WebLogicPort=7001|CookieName=CookieA|ErrorPage=/LogoutA.htm
MatchExpression "/pathB/*" WebLogicHost=hostB|WebLogicPort=7003|CookieName=CookieB|ErrorPage=/LogoutB.htm
or
<LocationMatch "^/pathA/">
SetHandler weblogic-handler
WebLogicHost hostA
WebLogicPort 7001
CookieName CookieA
ErrorPage /LogoutA.htm
</LocationMatch>
<LocationMatch "^/pathB/">
SetHandler weblogic-handler
WebLogicHost hostB
WebLogicPort 7003
CookieName CookieB
ErrorPage /LogoutB.htm
</LocationMatch>
NETSCAPE:
<Object name="object1" ppath="*/pathA/*">
Service fn="wl-proxy" WebLogicHost="hostA" WebLogicPort="7001" CookieName="CookieA"
ErrorPage="/LogoutA.htm"
</Object>
<Object name="object2" ppath="*/pathB/*">
Service fn="wl-proxy" WebLogicHost="hostB" WebLogicPort="7003" CookieName="CookieB"
ErrorPage="/LogoutB.htm"
</Object>
TIA.Issue:
How can IIS 4 or IIS 5 be setup to proxy from one IIS server to
multiple WLS servers.
For example:
http://iisserver/myapp --> proxy http://wls1:7001/test
http://iisserver/myapp2 --> proxy http://wls2:7001/test
Resolution:
Proxying to different weblogic instances with one IIS Server can be
accomplished by using IIS Virtual Directories.
a) Create a Web site and two virtual directories for it.
b) Create two directories for the two virtual directories and copy
iisproxy.dll to each of the directories.
c) Create iisproxy.ini files in each directory created at step b. One
for proxying to WebLogic Server A and another for WebLogic Server B.
d) Register each iisproxy.dll to each of the virtual directories with
IIS by specifying the appropriate mime-type. If you want to proxy everything
for that virtual directory, then you will specify a mime-type of *.
Please note that specifying a mime-type of * will not work with IIS 4.
e) Make sure you set the Application Protection to HIGH for each
Virtual Directory.
Attachments:
No Attachments Available
"PacoG" <[email protected]> wrote in message
news:40c6eb20$1@mktnews1...
>
try {
NewsRefresh nrefresh=NewsRefreshFactory.getInstance("Please");
nrefresh.execute("HELP");
} catch (Exception allexceptions) {
throw new IKnowIKnowException("Linux+Apache"); -
Forwarding requests to multiple weblogic servers
Hi,
I have two applications running on two different Weblogic servers and wish to
use one Apache web server as a front end interface. I can forward the requests
from apache to one weblogic server using apache-weblogic bridge.
Is it possible to forward requests to either one of the weblogic servers based
on some conditions?
How do we put IF/ELSE IF type constructs in apache configuration file so that
it can get requests for both the weblogic servers and then forward the request
to one of the weblogic servers ? Conditions can be anything like some particular
path, some data in request header, some constant in apache conf file etc
Thanks in advance.
MandarIssue:
How can IIS 4 or IIS 5 be setup to proxy from one IIS server to
multiple WLS servers.
For example:
http://iisserver/myapp --> proxy http://wls1:7001/test
http://iisserver/myapp2 --> proxy http://wls2:7001/test
Resolution:
Proxying to different weblogic instances with one IIS Server can be
accomplished by using IIS Virtual Directories.
a) Create a Web site and two virtual directories for it.
b) Create two directories for the two virtual directories and copy
iisproxy.dll to each of the directories.
c) Create iisproxy.ini files in each directory created at step b. One
for proxying to WebLogic Server A and another for WebLogic Server B.
d) Register each iisproxy.dll to each of the virtual directories with
IIS by specifying the appropriate mime-type. If you want to proxy everything
for that virtual directory, then you will specify a mime-type of *.
Please note that specifying a mime-type of * will not work with IIS 4.
e) Make sure you set the Application Protection to HIGH for each
Virtual Directory.
Attachments:
No Attachments Available
"PacoG" <[email protected]> wrote in message
news:40c6eb20$1@mktnews1...
>
try {
NewsRefresh nrefresh=NewsRefreshFactory.getInstance("Please");
nrefresh.execute("HELP");
} catch (Exception allexceptions) {
throw new IKnowIKnowException("Linux+Apache"); -
Transactions with multiple weblogic servers
Hi
I've got two weblogic 5.1 sp9 servers running identical copies of my
application but pointing to different database instances (both Oracle
8.1.6). I have a transaction which requires creating entity beans on
both the servers (the first server calls the second in a "b2b"
transaction)
In a prior thread someone mentioned that in this scenario, the second
server will actually use the first server to do all its JDBC work. Could
someone please explain the rationale behind this to me? If my second
weblogic server belongs to a different entity, it has no business
writing to the database on my first machine.
Is there any way to get this not to happen - would manually suspending
and resuming the transaction before and after the call to the second
machine work?
Thanks!
regards,
Meherzad
"Meherzad Gotla" <[email protected]> wrote in message news:[email protected]...
> Hi
>
> I've got two weblogic 5.1 sp9 servers running identical copies of my
> application but pointing to different database instances (both Oracle
> 8.1.6). I have a transaction which requires creating entity beans on
> both the servers (the first server calls the second in a "b2b"
> transaction)
>
> In a prior thread someone mentioned that in this scenario, the second
> server will actually use the first server to do all its JDBC work. Could
> someone please explain the rationale behind this to me?
Hi Meherzad.
You're correct, this is the way WebLogic 5.1 works with distributed transactions.
Release 6.0 introduced a two-phase commit engine that can atomically commit across
two database instances, whether they're accessed from one or two servers.
This capability involved significant additions to the server that are too big for a
5.1 service pack.
> If my second
> weblogic server belongs to a different entity, it has no business
> writing to the database on my first machine.
>
> Is there any way to get this not to happen - would manually suspending
> and resuming the transaction before and after the call to the second
> machine work?
Suspending/resuming should "work," but two database updates would not be part of the
same atomic transaction.
So one option is to upgrade to WebLogic 6.0/6.1, another is to use a single database
instance with WebLogic 5.1, and another is to suspend/resume but not have an atomic
transaction. Sorry, no easy answer...
> Thanks!
Hope this helps.
Regards,
-- Ed Felt
BEA Product Engineering
[email protected]
+1 908-580-3142
-
Running multiple weblogic servers on the same JVM
Is there a way to make Weblogic 7.0 and Weblogic 5.1 run on the same JVM? If so
what are the pros and cons?I hope you also checked the IPCKEY (and all other identifiers of that kind)
in your ubbconfig file: they should all be different.
We have similar configurations running without any major difficulty.
One catch: very heavy IPC activity (due to errors in the application,
never because of heavy user load) in one environment sometimes overloads
the OS, resulting in hung applications in the other environments.
Regards
Frank
"Manoj SASIDHARAN" <[email protected]> wrote:
>
Hi Troy,
Here are a few tips:
1. Check the APPDIR values in both environments. They should point to
the appropriate
directories containing the Tuxedo server binaries for each environment.
Analyse
the values of APPDIR environment variable and also inside the UBBCONFIG
file.
2. Check the WSL address. Both environments should have different ports
for listening
to requests.
3. Check the WSNADDR environment variable at the client side. They should
point
to the appropriate WSL addresses.
HTH
regards
MS -
Multiple WebLogic server configurations
I am using WebLogic server in a non-clustured environment. Is there anyway
to:
a) start up the WebLogic server so it listens on multiple ports where each
port corresponds to a specific configuration; or,
b) start up multiple WebLogic servers each listening a unique port.
Essentially, I would like to have multiple configurations (myserver,
myserver2, myserver3, etc.). Is this possible and if so where is the best
place to look in the documentation to do this.
Thanks.
Steven R. BaturinSure, it's very easy. Just clone your Myserver directory and modify the
weblogic.properties file in each directory to have the port you want. So
you would end up with a /weblogic/myserver and a /weblogic/myserver2, each
one has a weblogic.properties file with two different ports configured.
Then you start Weblogic with the -D<name> command line option that tells it
what instance to load. Read the docs for details.
Steven R. Baturin wrote in message <3a82cbc9$[email protected]>...
I am using WebLogic server in a non-clustured environment. Is there anyway
to:
a) start up the WebLogic server so it listens on multiple ports where each
port corresponds to a specific configuration; or,
b) start up multiple WebLogic servers each listening a unique port.
Essentially, I would like to have multiple configurations (myserver,
myserver2, myserver3, etc.). Is this possible and if so where is the best
place to look in the documentation to do this.
Thanks.
Steven R. Baturin -
Multiple weblogic instances using IIS to proxy the requests
I have a need to run multiple weblogic instances using IIS as the web
server.
Does anyone know if this is possible. I am aware and have been able to run
multiple weblogic servers as an nt service,
but in those cases weblogic was being called and IIS was being bypassed.
Now the user base wishes to use IIS to proxy the requests.
I have been able to set IIS to forward using the .jhtml and .jsp file
extensions to the iisproxy.dll, but have not been able to forward these
requests to multiple weblogic instances. When the request is made it is
only looking in the first instance of weblogic for the request.
Is it possible to use weblogic and IIS with two or more weblogic instances,
without weblogic acting as a webserver.
I dont believe this is possible but I need to find out if this really is the
case.
Thanks for any help you can provide.
EdYou need run each IIS web server instance in its own memory space. This can
be set through the Management Console for IIS.
Keith
Mike Kendzierski <[email protected]> wrote in message
news:[email protected]..
We tried to do this & Weblogic doesn't support this config. We opened upa
support call with them regarding this, but there is a problem with the way
that IIS & NT proxies .JSP pages to the weblogic servers. It's very
unstable this way & I wouldn't recommend this config.
We switched to Apache with virtual hosts to do this & it works fine. It's
probably not the answer you want to hear, but it works very well.
If you have any questions, just ask away.
"Ed" <[email protected]> wrote in message
news:3a296c2d$[email protected]..
We are using IIS4 with weblogic 4.5.1 sp11,
I thought I read someplace, their was a problem between wls 4.5.1 sp7
and
wls 5.1 where it didnt look in the folder where the dll was.
I will give it a try on monday.
Peter Mergaerts wrote in message <[email protected]>...
We tried to do the same thing.
We copied iisproxy.dll and iisproxy.ini to server1 and let IIS use this.dll
instance for proxying .jsp etc.
We copied the iisproxy.dll and iisproxy.ini to server 2, renamed
iisproxy.dll to iisproxy2.dll (to make sure another instance was used)
and
let the second iis site use iisproxy2.dll, but that didn't worked. (It
doesn't read the iisproxy.ini file located in the same directory as the.dll
file, altough in the manual it says it checks this first.) Now, I thinkit's
possosible to use several iisproxy.dll's as long as you rename it so
each
get it's own instance, the only problem is that each .dll doesn't readthe
correct iisproxy.ini file. (BEA, is this for SP7?)
Regards,
Peter Mergaerts -
Can we create multiple admin servers in one one weblogic domain.
Hi All,
Can we create multiple admin servers in one one weblogic domain.
if yes, please let me know.
Thankshttp://download.oracle.com/docs/cd/E21764_01/web.1111/e13716/toc.htm
Not through the configuration wizard.
To handle admin server availability (the admin server is not clusterable). This means that if the admin server goes
down, you cannot administer your WebLogic Server domain until you bring it back up. In most cases, you may
not be too concerned if the admin server goes down because all you need to do is restart it. If you use the node
manager to start the admin server, the node manager can automatically restart a failed admin server just like it can any other server.
What happens if the machine where the admin server runs fails in such a way that you cannot restart the admin server?
The answer is simple if you prepare for this event. Proper operation of the admin server relies on several configuration files
and any application files it controls. Typically, the best thing to do is to store the admin server's directory tree on a shared disk.
As long as the configuration and application files are accessible, you can restart the admin server on another machine. It is up
to you to make sure that you don't have more than one admin server running at a time. If the new machine can assume the
original admin server's Listen Address (or if it was not set), you can simply start the admin server on the new machine without
any configuration changes.
Otherwise, you will need to change the admin server's Listen Address. Since the managed servers ping the admin server URL every
10 seconds until it comes back up, you need to devise a way for the admin server URL to allow the managed server to find the restarted
admin server on the new IP address. The easiest way to achieve that is using a DNS name that maps to both IP addresses, or better yet
that is dynamically updated to point to the correct location of the admin server. If this is a graceful shutdown and migration, use the
WebLogic Console to change the Listen Address just before shutting down the admin server. If not, you will need to edit the config.xml
file by hand to replace the old Listen Address with the new one. Typically, it is recommended to plan ahead so that everything you need is
already in place to make admin server failover as painless as possible. -
Update: verified in a 12.1.1.0 (JDK6) cluster - bug does not occur there.
Hi,
I have been migrating an 10.3.5.0 server to WebLogic 12.1.2.0 and have been unable to keep the subdeployment dropdown populated in the subdeployment tab of a uniform distributed queue when the subdeployment targets more than 1 JMS Server.
If I uncheck one of the servers - I work fine - however I would like to target all JMS Servers in the cluster - this used to work fine in 10.3.5.0
Following
http://docs.oracle.com/cd/E24329_01/apirefs.1211/e24401/taskhelp/jms_modules/distributed_queues/CreateUniformDistributedQueues.html
I am able to create a new queue no problem against the multiple-server subdeployment - but when I navigate to the subdeployment dropdown - the target is erased with "None".
If I save the subdeployment after setting it during the queue create - it is erased
<sub-deployment-name>MW-JMS-SubDeployment</sub-deployment-name>
Before:
<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-jms http://xmlns.oracle.com/weblogic/weblogic-jms/1.1/weblogic-jms.xsd">
<uniform-distributed-queue name="HousekeeperControlQueue">
<sub-deployment-name>MW-JMS-SubDeployment</sub-deployment-name>
<jndi-name>jms/HousekeeperControlQueue</jndi-name>
</uniform-distributed-queue>
</weblogic-jms>
After:
<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-jms http://xmlns.oracle.com/weblogic/weblogic-jms/1.1/weblogic-jms.xsd">
<uniform-distributed-queue name="HousekeeperControlQueue">
<jndi-name>jms/HousekeeperControlQueue</jndi-name>
</uniform-distributed-queue>
</weblogic-jms>
Workaround:
- upon server startup the config is valid - just dont re-save the jms module or the subdeployment target will be erases
- also when creating a new subdeployment you will be able to select it from a jms distributed queue in the advanced targeting section even if it contains expected multiple JMS servers
- you will not however be able to edit the JMS queue once created - if there is any change to targeting - recreating the queue is required
thank you
/michaelUpdate: verified in a 12.1.1.0 (JDK6) cluster - bug does not occur there.
Hi,
I have been migrating an 10.3.5.0 server to WebLogic 12.1.2.0 and have been unable to keep the subdeployment dropdown populated in the subdeployment tab of a uniform distributed queue when the subdeployment targets more than 1 JMS Server.
If I uncheck one of the servers - I work fine - however I would like to target all JMS Servers in the cluster - this used to work fine in 10.3.5.0
Following
http://docs.oracle.com/cd/E24329_01/apirefs.1211/e24401/taskhelp/jms_modules/distributed_queues/CreateUniformDistributedQueues.html
I am able to create a new queue no problem against the multiple-server subdeployment - but when I navigate to the subdeployment dropdown - the target is erased with "None".
If I save the subdeployment after setting it during the queue create - it is erased
<sub-deployment-name>MW-JMS-SubDeployment</sub-deployment-name>
Before:
<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-jms http://xmlns.oracle.com/weblogic/weblogic-jms/1.1/weblogic-jms.xsd">
<uniform-distributed-queue name="HousekeeperControlQueue">
<sub-deployment-name>MW-JMS-SubDeployment</sub-deployment-name>
<jndi-name>jms/HousekeeperControlQueue</jndi-name>
</uniform-distributed-queue>
</weblogic-jms>
After:
<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-jms http://xmlns.oracle.com/weblogic/weblogic-jms/1.1/weblogic-jms.xsd">
<uniform-distributed-queue name="HousekeeperControlQueue">
<jndi-name>jms/HousekeeperControlQueue</jndi-name>
</uniform-distributed-queue>
</weblogic-jms>
Workaround:
- upon server startup the config is valid - just dont re-save the jms module or the subdeployment target will be erases
- also when creating a new subdeployment you will be able to select it from a jms distributed queue in the advanced targeting section even if it contains expected multiple JMS servers
- you will not however be able to edit the JMS queue once created - if there is any change to targeting - recreating the queue is required
thank you
/michael -
How to connect one IIS server to multiple non clustered WebLogic servers
I have the following installed on Win2K Servers:
IIS 6
BEA Weblogic 6.1 running some webservices
BEA Weblogic 8.1 running an application
-Both Weblogic servers are running on the same machine (different ports obviously), IIS is on a different machine on the same network.
I have the website currently configured so that jsp files and several servlets are forwarded to the 8.1 server. So: http://mysite.com/hello.jsp or http://mysite.com/myServlet will properly forward to the 8.1 instance.
What I want to do (and have been unable to do so thus far) is to setup IIS such that http://mysite.com/myServices will forward to the 6.1 instance.
I’ve tried to setup the 6.1 iisforward and isapi dll files in a separate folder with their own ini file but I get an Overlapped I/O operation is in progress whenever the 6.1 iisforward.dll file is loaded. (Application Protection is set to High)
Any suggestions?
Thanks.I have the following installed on Win2K Servers:
IIS 6
BEA Weblogic 6.1 running some webservices
BEA Weblogic 8.1 running an application
-Both Weblogic servers are running on the same machine (different ports obviously), IIS is on a different machine on the same network.
I have the website currently configured so that jsp files and several servlets are forwarded to the 8.1 server. So: http://mysite.com/hello.jsp or http://mysite.com/myServlet will properly forward to the 8.1 instance.
What I want to do (and have been unable to do so thus far) is to setup IIS such that http://mysite.com/myServices will forward to the 6.1 instance.
I’ve tried to setup the 6.1 iisforward and isapi dll files in a separate folder with their own ini file but I get an Overlapped I/O operation is in progress whenever the 6.1 iisforward.dll file is loaded. (Application Protection is set to High)
Any suggestions?
Thanks. -
How to configure one TREX host with multiple index servers ?
Hi All,
Does anyone know how to configure TREX on the one host,
with multiple index servers ?
Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
our KM content for portal users.
I am using TREX 7 and have not been able to do this,
despite reading the Single and Distributed install
documentation.
Any help would be appreciated.
Regards,
AndresHi Andres,
To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
Proceed like this:
1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
2. In TREXdeamon.ini go to
[daemon]
references sections below
programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
Go to the last two columns and move the indexes (move master here/secondary mouse click)
If you don't distribute the indexes the new index server process will be regarded when an new index is created.
Hope this helps!
cheers
Bettina -
How can I list all the domains configured for Weblogic Servers?
How can I list all the domains configured for Weblogic Servers?
I saw a note, which says the following:
"WebLogic Server does not support multi-domain interaction using either the Administration Console, the weblogic.Admin utility, or WebLogic Ant tasks. This restriction does not, however, explicitly preclude a user written Java application from accessing multiple domains simultaneously."
In my case, I just want to list all the domains, is that possible by using any scripts?
Thanks
AJIf you use WLS Node Manager and the Config Wizard was used to create the domains, then the list of domains should be in a location like this:
<MIDDLEWARE_HOME>\wlserver_10.3\common\nodemanager\nodemanager.domains
Enterprise Manager Grid Control also has support for multi-domain management of WLS in a console. -
Multi Seat Mode - Multiple X Servers on 1 Machine
I need to configure a SunBlade 2000 configured with an XVR1000 graphics board to be used by 2 people simultaneously with the own keyb & mouse.
To summarize :
1 Sun Blade 2000
1 Xvr1000
First Port connected to one monitor /dev/fbs/gfb0a
Second Port Connected to a second monitor /dev/fbs/gfb0b
2 Keyb & 2 mouse connected to the 4 USB ports
The 2 monitors must be handled by to istances of X server (2 dtlogin prompt) so the 2 people can work
indipendently.
I tried the following procedure with NO success.
Does anybody can help me ?
Thanks in advance
Luigi Paganini
=============================================================================
In recent versions of Solaris, the Xsun keyboard & mouse DDX modules
have been extended to support multiple keyboards and mice on Solaris.
The Xorg server on Solaris x86 has similarly been extended to support
multiple mice, but not yet multiple keyboards.
Unfortunately, this is not a very well documented feature, though it is
supported - but you must pay close attention to the configuration
instructions and Limitations described below.
There are currently two choices for configuring X on a machine with
multiple input devices:
* One X server with the extra devices available via the X Input
extension (commonly used for accessibility helper programs, or for x86
laptop users)
* Multiple X servers, each with its own set of input & output
devices ("multi-seat" mode)
The two methods can be mixed on a single machine - when configuring you
simply need to determine which X server each device is going to be
associated with.
Requirements
* Solaris 9 FCS or later (SPARC or x86)
* USB-capable machine
* For Solaris 9, USB patch 115338-01 (sparc)/115339-01 (x86) or
newer. For Solaris 10, s10_17 or newer.
Limitations
Due to the nature of USB and Sun's implementation, USB devices may get
different numbers when initialized or hot-plugged in a different order.
A partial solution is to use the full path name under the /devices
hierarchy - this is tied to the physical port a device is plugged into,
so the order is no longer a problem, but devices must always be plugged
into the same port this way.
Xsun Configuration
The following sections may be added to either
/etc/openwin/server/etc/OWconfig or /usr/openwin/server/etc/OWconfig.
Xsun reads both when starting up and merges their contents.
* 1. Run ls -l /dev/usb/hid* to see what the existing device names are.
* 2. Attach the additional input devices to the machine
* 3. ls -l /dev/usb/hid* to see what the newly attached device names
are. Note at the end of each symlink line it will list whether it is a
keyboard or a mouse.
* 4. Add lines of the following form to OWconfig, one for each
device, and each with a unique name beginning with "IMOUSE" or "IKBD":
# sun Keyboard module
class="XINPUT" name="IKBD2"
dev="/dev/usb/hid2" strmod="usbkbm"
ddxHandler="ddxSUNWkbd.so.1"
ddxInitFunc="ddxSUNWkbdProc";
# sun Mouse module
class="XINPUT" name="IMOUSE2"
dev="/dev/usb/hid3" strmod="usbms"
ddxHandler="ddxSUNWmouse.so.1"
ddxInitFunc="ddxSUNWmouseProc";
* 5. To configure multiseat mode, add a section to OWconfig to
associate each keyboard, mouse, and frame buffer with a specific display
(in this case ":1"):
class="XDISPLAY" name="1"
coreKeyboard="IKBD2" corePointer="IMOUSE2"
dev0="/dev/fb1";
* 6. Test your configuration. For multiseat mode, run an Xserver on
the display you listed (xinit :1 or add a line for :1 to
/etc/dt/config/Xservers ). For use with the X input extension, restart X
and run xinputdev -l (source code here) to list the devices the server
sees. You can also run xinputdev -k & xinputdev -m to switch your core
keyboard and mouse to the specified devices.The report gets called via the rwservlet (hope that answers your question correctly)
The application is in OAS.
The separation i require is both in the database and the reports themselves.
For example let's say i have devapp and testapp - both the exact same app. But they both need to access reports under the same key, but the report needs to get its info from its respective dev and test databases. The key is hardcoded so can't change.
If i understand correctly (a big "if"), the cgicmd.dat file tells wich report to grab and which database to connect to based on the key. Is there a way to have separate key map files (cgicmd.dat) called by separate applications? So that devapp will get Report1 using devdatabase, where testapp wil get Report1 using testdatabase?
It may not be possible to do this kind of server consolidation, I just need to know one way or another for sure - and if it is possible, how to proceed. -
MOD_WL - Apache 2 frontend stuck when one of Weblogic Servers stuck
We are using an Apache 2 Web Server as a frontend of our Weblogic Server 10.3.2 installations,
using mod_wl configured as follow:
<Location "/csi">
WebLogicHost jerico.procergs.reders
WebLogicPort 8012
SetHandler weblogic-handler
ErrorPage http://www.consultasintegradas.rs.gov.br/FalhaConexao.html
</Location>
The Weblogic Server is using a default workmanager.
When Weblogic Server gets overload by "stuck threads", "out of memory", "connection pool out of
resources" or similar reasons, the Apache Web server always get stuck with many slots in WAIT
state. This stops acess to all Weblogic Servers installations, until restart the Weblogic server
which was stuck.
Is there another way to configure Apache as a Weblogic frontend without Apache stuck toguether
with any Weblogic under it ?
There are timeout parameter to be configured in mod_wl not to stuck Apache when Weblogic stuck ?
Thanks in advance
Mauro do ValleHi,
The best way to get rid of your issue is by try to do the following stuff:
- Use more WLS servers which are in cluster in different boxes. (i.e. This would help you to load-balancing and fail-over your request )
- Use "*WebLogicCluster*" instead of "WebLogicHost" as you have to give the host-names of the servers which are in the cluster
- By default "*Idempotent*" is ON and this is used for fail-over after *300* seconds as that's the default value for "*WLIOTimeoutSecs*" (i.e. if an response is not been sent by one WLS server for any-reason, then the response would be sent to the second server. ) This way if any one of the server has gone down for some reason and was not able to send the repose then second server would server the requests.
Following is the example:
<Location "/csi">
WebLogicCluster MS1HostName:7003,MS2HostName:7005
SetHandler weblogic-handler
ErrorPage http://www.consultasintegradas.rs.gov.br/FalhaConexao.html
</Location>For more information about the parameters have a look at the below link:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/plugin_params.html#wp1143049
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Come, Join Us and Experience The Magic…
Maybe you are looking for
-
Problem with transferring purchases...:(
when updating software for iPod Touch (4th gen), I get a message that I should first transfer all my purchased items from iPod to iTunes Library. But when i tried to authorize my account, an unknown name or rather email kept appearing instead of my o
-
Lightroom 2.1 Release Candidate is available in the Labs
http://labs.adobe.com/wiki/index.php/Lightroom_2.1 http://blogs.adobe.com/lightroomjournal
-
Performance Problem For Sun Solaris Kernel
Hello, I have DB version 10.2.0.2 On Sun Solaris 5.10, when a run top utility i see that 20-25 % of CPU takes Kernel. Then i Truss DB writer and in out file i see error likes this: kaio(AIOWAIT, 0xFFFFFFFFFFFFFFFF) Err#22 EINVAL On metalink
-
Am I missing something, String function...
OK... I have a method in my class that returns a string. Maybe I should be doing it with a StringBuffer, BUT... I cannot see why this does not work. When running in the main() method (for testing) it works fine. When called as an object, and the meth
-
Hello All, I am trying to clean the tapes on the library and i am using this command: ob> clean drive dell-tape1 force --use 4 but getting this error: Error: can't execute command - could not find a usable cleaning tape please help Regads Wessam