Tuxedo 8.1 single context multithreaded workstation client
We just moved to Tuxedo 8.1 from Tuxedo 7.1. One of our appications has started to fail. This particular application is a single context multithreaded workstation client. All Tuxedo operations are performed from the same child thread. The BEA documentation is a little confusing on this topic. Are we required to use the multi context flag?
It should not be necessary to use the TPMULTICONTEXTS flag for a
single-context client, even if it is multithreaded. What is the nature of
the failure that you are seeing?
<Jacque Cole> wrote in message news:[email protected]..
We just moved to Tuxedo 8.1 from Tuxedo 7.1. One of our appications has
started to fail. This particular application is a single context
multithreaded workstation client. All Tuxedo operations are performed
from the same child thread. The BEA documentation is a little confusing
on this topic. Are we required to use the multi context flag?
Similar Messages
-
Call of tuxedo workstation client to tuxedo service
In ubb file:
"WSL" SRVGRP="GRP" SRVID=44
CLOPT="-A -- -p 10002 -n //172.17.1.10:10001 -P 10003 -T 180"
My question is:
1. In workstation client, WSNADDR is //172.17.1.10:10001. If I use "172.17.1.10:10001", it prompts "TPESYSTEM - internal system error", while "//172.17.1.10:10001" is right?
2. 10001 is the port of WSL, 10002-10003 is the port of WSH. But in ubb file, I cannot find WSH configuration, is that right?
3. If "telnet 172.17.1.10 10002(/10003)" doesn't work in workstation client, does it impact the call of tuxedo service from this workstation client?
Thanks a lot.Bill,
1. Tuxedo syntax for specifying TCP/IP addresses requires that the address start with "//", so it is expected behavior for "172.17.1.10:10001" to result in an error and for "//172.17.1.10:10001" to be correctly parsed.
2. You're correct that the UBBCONFIG file does not include entries for WSH processes. WSH processes are started by the WSL as appropriate.
3. The Tuxedo WSH communicates with workstation clients and with the WSL using a proprietary Tuxedo workstation protocol. The WSH does not understand telnet protocol, so any attempt to telnet to the WSH port will not succeed.
Regards,
Ed -
How can a workstation client get all tuxedo application service names?
Which API ATMI C call returns all tuxedo advertised application service names to the client? Is there any way to browse also all running applications?
The Jolt product that allows Java applications to make use of Tuxedo offers
a metadata repository that allows an application to store and retrieve
information about Tuxedo parameters. This is described at
http://e-docs.bea.com/tuxedo/tux81/jdg/dvrepos.htm
The release of Tuxedo currently under development, Tuxedo 9.0, will offer
similar functionality in the Tuxedo product itself.
The TM_MIB T_SERVICE class does not offer the ability to obtain detailed
service parameter information, since this information is not stored as part
of the bulletin board. The T_SERVICE class does offer the ability to obtain
the buffer type(s) that a service accepts by looking at the value of the
TA_BUFTYPE parameter. It is not mandatory to specify a BUFTYPE when
configuring a service in the UBBCONFIG file. If this parameter is omitted,
its value will default to ALL, and Tuxedo will allow any buffer type to be
sent to the application service. However, the application logic is likely
to be expecting a specific buffer type or types and is likely to report an
error if the service is sent a buffer of an unexpected type.
<Nageeb Khoury> wrote in message news:[email protected]..
Thanks Ed for the quick reply!
Does the TM_MIB(5) / T_SERIVCE return also the parameter format of eachservice e.g Service1 (type1 param1, type2 param2, ...)? If yes in which
format? e.g CopyBook format or other?
>
Thanks
Nageeb -
WSNAT_CAT:1023 Error while connecting to Workstation Clients
Hi All,
I am trying to run around 12000 Workstation Clients, and want to connect them all to a single node. But I am getting the Following errors over and over again:
1.) WSNAT_CAT:1023: WARN: No client context space available in handler
2.) WSNAT_CAT:1175: WARN: Disconnecting listener connection to workstation, request timed out
3.) TDM_CAT:3000: INFO: Client connection request timed out
Following are the snippets of my ubbconfig file :
MAXACCESSERS 21000
MAXSERVERS 5000
MAXWSCLIENTS=15000
I have set "TCPKEEPALIVE=Y" in dmconfig environment, in place of using "-K" option in CLOPT. Is this correct?
Following is the CLOPT for my WSL Server (I have 70 such WSL processes running) :
CLOPT=" -- -n //xx.xx.xx.xx:23040 -m 10 -M 10 -x 20 -p 40000 -P 40199"
I would like to explain this. I have MAXACCESSERS = 21000, MAXWSCLIENTS=15000 and MAXSERVERS=5000. So this cannot be an issue. To support my 12000 workstation clients, I have given:
-m=10 (Minimum 10 WSH processes)
-M=10 (Maximum 10 WSH processes)
-x=20 (Multiplexing factor=20, i.e. one WSH will connect(multiplex) with 20 Workstation Clients (WSC)).
According to this configuration, I should be able to support : 70 (WSL) * 10 (WSH) * 20 (WSC) = 14000 Workstation Clients. I am not able to understand then why only to start 12000 Workstation clients, Tuxedo is giving the above errors??
Do I need to change any configuration settings? Urgent help will bw of utmost value.
-Thanks and Regards
-Tuxedo DeveloperHi Steven,
Yes, you are correct to observe that one WSL will serve upto 200 Workstation Clients. I shall jot the information pointwise :
1.) 70 Such WSL's are booted, with each capable of serving upto 200 WS clients (10*20).
2.) You are right. All the 12000 Workstation clients are started using a script. But I had known the concern of all requesting the data at the same time, so each of the clients were started with a delay over the previous client.
3.) The clients are built in such a way, that they request a service every 2 minutes, and are all alive all the time.
4.) As per the load balancing is concerned for the WSL's, I have put a script which changes the environment variables (WSNADDR) in such a way, that after every second, a new WSL's address is issued for the client to connect to. As I have 70 WSL processes up, the script sets the WNSADDR of each WSL for one second only. So all the WSL's are naturally load balanced.
So with this configuration, I should be able to successfully run upto 14000 clients, but I am having problem with even starting 12000 at a time.
Also I am amazed at the error WSNAT_CAT:1023, which in manual describes a rare condition. It suggests that there is no more context space in the handler. I am not sure how this is possible.
I also forgot to mention that, I also had to force shutdown some of the clients, who emitted the WSNAT_CAT:1287 Warning in the ULOG, but I think that should not be an issue. Do you think that killing clients abruptly may cause weird behaviour? Or can they for instance corrupt any WSH, or make the sockets go crazy?
-Thanks in Advance
-Tuxedo Developer -
A noob asks: Configuring Simpapp to handle workstation clients.
Dear accomplished Tuxedians,
I'm trying to educate myself on Tuxedo 8.1 on Windows XP SP2, and so far
so good. However, I've struck a question that the docs cannot answer.
I've been able to run the simpapp application, and wondered how I could
setup the example to run with a workstation client instead of a native one.
So far I have built the workstation client with "buildclient -w", and
understand that I need to set the WSNADDR environment variable ... and
around here I run out of understanding.
My humble questions to you all are ...
1) What changes need I make to my 'server side' UBBSIMPLE configuration?
2) After changes are made, and I 'tmboot -y' again will that start the
WSL and WSHs that I need?
3) ... or do I need to run 'tlisten' seperately, and if so is tlisten
the WSH or WSL?
4) When establishing the workstation side, what should the TUXCONFIG
look like there?
All clues welcomed,
M.Thanks for replying Roopesh, predictably I have some further questioning
for you ...
roopesh dubey wrote:
1) What changes need I make to my 'server side' UBBSIMPLE configuration?
--include WSL in ubbsimple .I took a good stab at this, and it's not worked for me, as my
simpapp.exe won't tmboot any more...
Booting admin processes ...
exec DBBL -A :
on simple -> process id=2636 ... Started.
exec BBL -A :
on simple -> process id=3644 ... Started.
Booting server processes ...
exec simpserv -A :
on simple -> Failed.
exec WSL -A //ludwig:45000 -M 5 -x 10 :
on simple -> Failed.
2 processes started.My ubbsimple is attached.
2) After changes are made, and I 'tmboot -y' again will that start the WSL and WSHs that I need?
--yes
3) ... or do I need to run 'tlisten' seperately, and if so is tlisten the WSH or WSL?
--you dont need tlisten .Splendid. Is that because of the existing tlisten/slisten, listening on
port 3050 that gets setup at install-time?
4) When establishing the workstation side, what should the TUXCONFIG look like there?
--tuxconfig not needed at workstation side.Many thanks,
M.
# (c) 2003 BEA Systems, Inc. All Rights Reserved.
#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.
*RESOURCES
IPCKEY 123456
#Example:
#IPCKEY 123456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 11
MAXSERVERS 5
MAXSERVICES 10
MODEL MP
LDBAL N
*MACHINES
DEFAULT:
APPDIR="C:\bea\tuxedo8.1\samples\atmi\simpapp"
TUXCONFIG="C:\bea\tuxedo8.1\samples\atmi\simpapp\tuxconfig"
TUXDIR="C:\bea\tuxedo8.1"
MAXWSCLIENTS=10
LUDWIG LMID=simple
#Example:
#beatux LMID=simple
*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE
WSGROUP
GRPNO=2 LMID=simple
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
WSL SRVGRP=WSGROUP SRVID=1 CLOPT="-A - -n //ludwig:45000 -m 1 -M 5 -x 10"
*SERVICES
TOUPPER -
Difference between native client and workstation client.
hi,
I am confused with the difference between native client and workstation client.In
some docs,it is said that native client is one which run on the same system as
the server,in other it is said running on other machine in the same domain.So
what about workstation client?So can anyone please helpme out in knowing this
difference?subhash wrote:
hi,
I am confused with the difference between native client and workstation client.In
some docs,it is said that native client is one which run on the same system as
the server,in other it is said running on other machine in the same domain.So
what about workstation client?So can anyone please helpme out in knowing this
difference?The simple answer is that /WS clients are compiled with the -w option.
The complicated answer has to do with how the client connects to Tuxedo during the
tpinit(), and all subsequent traffic. A Tuxedo Domain (instance) has a Bulletin
Board, which is a chunk of shared memory with all kinds of information about Servers
and Clients. A Native Client, since it is running on the same machine that the
Bulletin Board exists on, can directly access the shared memory. However, /WS client
(also called a remote client) cannot access this shared memory. Instead, we have the
WSL server to make connections with, and then WSH processes that access the Bulletin
Board on behalf of the remote client.
So Native Clients run on the same machine as the Servers and where the Bulletin Board
is located, and have direct access to shared memory and other IPCs. Workstation
Clients/WS Client/Remote Clients (all the same thing) cannot access IPCs and have the
WSH do it on their behalf.
In NT, the Tuxedo IPC Service mimics Unix IPCs, and so all the above is still true.
Brian Douglass
Transaction Processing Solutions, Inc.
8555 W. Sahara
Suite 112
Las Vegas, NV 89117
Voice: 702-254-5485
Fax: 702-254-9449
e-mail: [email protected]
[briand.vcf] -
Multiple Fiscal Calendar in a single context
Hi,
I know that for each context we can only have one PAS database, as a result, only a single Fiscal Calendar definition for a each context.
My question is: there is any way of creating a workaround for this? I need to have in a single context KPI's that use different fiscal calendar's
Thanks in advance for the tips
Regards
PedroHi Bob,
so, if I understand correctly there is only two options:
1 - Have a single PAS database with a single fiscal calendar and use that in a single Context. The user's will have the option to then create specific reports for the metrics that should be displayed using a different Fiscal (using for that the different options in time that already exist in the reports component).
2 - Create an individual PAS database for each Fiscal and have a different context for each of those databases.
Is like this?
If you think strategically, that shouldn't change the usefullness of Strategy Management, since the status of objectives and KPIs will still be driven off your current numbers, whatever the fiscal calendar.
Yes, but for instance if we have KPI's that use Fiscal form Jan to Dec and other from Jul to Jun, when we select yearly data for 2009 for example, the information displayed for both is not the "same". For KPI1 is from Jul 2009 to Jun 2010 when it should be Jan 2009 to Dec 2009 (this for a database with Fiscal Calendar starting at "Jul"). Is not like this?
PS: It's strange than no one have this problem in the past. Is not normal to have a customer that want to see in the same Scorecard/Context, KPI's that use different Fiscal calendar?
Thanks in advance
Pedro
Edited by: Pedro S. Costa on Sep 23, 2009 5:11 PM -
Workstation Clients through a Firewall
Does anyone out there know if there are any issues with workstation clients going
through a firewall?
Thanks!
mervinWe have done it successfully from NT to a Unix server over afirewall. Its a case
of getting the WSNADDR set up correctly.
use the -H option in the WSL entry in ubb config shows to set it up.
eg
CLOPT="-A -- -d /dev/tcp -n 0x0002nnnnxxxxxxxx -H 0x0002MMMMyyyyyyyy"
Where nnnn is a port number
xxxxxxxx is the true hex IP address of the server
yyyyyyyy is the firewall hex address of the server
MMMM is fixed.
WSNADDR on the PC is set to port number and firewall address.
I know the hex notation is a bit out of date these date but it works fine for
us.
Hope it helps
Sue
"Mervin Calverley" <[email protected]> wrote:
>
Does anyone out there know if there are any issues with workstation clients
going
through a firewall?
Thanks!
mervin -
Cisco ASA5520 multiple context revert back to single context
Hi all,
We have a redudant set of Cisco ASA5520's. This firewalls runs in multiple context mode.
No we want to make both "virtual" firewalls physical.
We already migrated on of the two firewalls to another physical set.
Now we would like to revert back the multiple context into single context mode, with keeping on of the two firewalls as the new running config.
We would like to do this with a minimum downtime.
Is this possible, can someone advise?
Kind regards,
Danny van der AaThe config will be saved as config.old when you change the mode of the firewall (this goes both ways I believe). As Luis has mentioned it is a major change but if you have ASA's in a failover pair then doing this with little or no down time should be possible.
I would first go about this by taking the current Standby ASA and take a backup of the running configuration on it, and make any required changes to the configuration to suite your needs. Most likely you will not have much need of what is in the system context, but take a backup of it anyway just be on the safe side. Then change it to single mode with the command "mode single". Now copy the configuration into the ASA.
Now, assuming that both ASAs have the same IP addresses assigned to its interfaces, remove the currently active ASA and then connect the ASA that is now in single mode back into the network. You may have to clear the MAC address table on some servers depending on how old they are and how touchy they are.
Do the same for the second ASA and connect it back to the network. Now, if you have kept the failover configuration, the ASAs will setup an Active/Standby failover in single mode and replicate the configuration.
Your down time should only be dependent on how fast you can remove the second ASA and add the first ASA back to the network.
Please remember to rate and select a correct answer -
Can ASA (8.03) Single Context Mode support limit-resource?
I have dual ASA with v8.03 and I want to limit resource for SSH, telnet and ASDM sessions.
By checking Cisoco document, I can manage to test to limit resource with below commands. But it can only perform after enabling multiple context mode.
class default
limit-resource All 0
limit-resource SSH 2
limit-resource ASDM 2
limit-resource Telnet 2
Can anyone help to reply whether we can use "limit-resource" in single context (without enabling multi context mode)? Or any other way to limit resource?Hi.
In single mode, the limit is 5 maximum sessions. it's not possible to change it.
Regards,
Fadi.
Does this answer your question? if yes please mark it answered. -
Can I use my New Imac as a server and a workstation/client at the same time ?
I havea brand new (2 months Old) Imac - 4 Gig, fully loaded and want to use it as a server using lion server app. I want to use it for ical server, Addressbook and fileshareing with a bit more security. I dont want to buy a new computer, just use the existing one to do these services. At the same time, I want to still use this computer for my regular work.
There will be a few users with low traffic. At the beggining, there will be only 1 other user for the calander, addressbook and file server. Later it might grow to 4.
Any thoughts would be appreciated !!!
PS - Any advice on how to set this up or tricks would be appreciated
Thanks AgainArik From Tel Aviv wrote:
great Idea !! Lets assume I dont want to go virtual - what is your thought on that ?
Lion Server is a "layer" on top of client. The services run in the background and do consume resources like the RAM, CPU, and HD, while you're using the computer as a client. That said, when running a VM with say VMWare Fusion you dedicate Cores and RAM to VM, even if the VM doesn't need all the CPU horsepower or RAM for your server tasks. So it may be that running a full blown Lion Server as VM along side client is more resource intensive on your computer than just running Lion Server while also using it as a workstation. -
Single user mode or client install?
Finally got my mini server ordered again (long story maybe later) I will be using it as my main computer and am wondering what is the easiest set up, boot up in single user mode or install SL client?
JJOk So maybe word it a bit different, what is the easiest way to transfer all my stuff from my MBP to have the mini set up exactly as my MBP?
JJ -
Send a Single Message to a Client
What is the best way to send a single message from the server to a client using flex/blazeds? The one caveat is that the message could take several minutes before it is sent. Think of a long calculation that is done on the server that the client waits for. I've thought of the following options:
1) Just use a RemoteObject and call a method. Would there be any problems with the response taking several minutes to come back? I would also ideally like to have a single thread which sends all the responses to the clients in a batch, rather than the standard route of each client's remote method call spawning a thread which returns the result; anyone know where to get started here?
2) Create a new destination and consume that destination on each client. The destination and consumer could be closed on each client after the first message is received.
Which is the best option?
Thanks,
GordonIt looks like you need a mechanism where the client registers with the server, then server does some long calculation, and then when the result is available, server sends the result back to the client. Messaging (option #2) sounds like a good fit for this.
Some thing to note:
- You can use subtopics so each client is subscribed to the same destination but has its own subtopic to receive updates from.
- You need to use a realtime channel (polling, long-polling, or streaming) so that the consumer can receive updates. I suggest long-polling with a really long wait time. -
Hi,
I have started using the client object model so that i do not have to go to sharepoint admins to perform some basic operations on remote server. While assigning list item level permission i am getting following error, could you please help. thanks.
The remote server returned an error: (401) Unauthorized.
at
System.Net.HttpWebRequest.GetResponse()
at
Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
at
Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
at
Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at
SetDowntimeItemPermission.SetPermission.Main(String[] args) init seems your request was unauthenticated i'm not sure are you using a web application with FBA or desktop application my suggestion would be try to impersonate your request by passing network credentials (COM works on network credentials )
NetworkCredential credentials = new NetworkCredential("username", "pwd", "domain");
ClientContext context = new ClientContext("http://site-url");
context.Credentials = credentials;
Best Regards, Ashutosh | SharePoint World -
How to map single context value attribute to multiple value attributes?
Hello,
is there any way to map a single value attribute
from view's context into several value attributes
in controller's context?
The business context of what I want to achieve
is the following: I have a view which can be called
in two modes: read only (RO) and read-write (RW).
The input parameters to the view are the same for
both modes, however when in RO mode, the view calls
a different set of web services than when called
in RW mode. Before calling each of the web services
I need to populate their context value attributes
with appropriate input values.
I know I can do it in Java code, but is it possible
to do it without any programming (doing it in the
source code is prone to errors)?
Any help highly appreciated.
Greetings,
Tomek.Hi Kishore,
than you very much for your kind help.
I have already created a value attribute of type
boolean and mapped it into the read-only property
of the UI elements. This however does not solve all
of the problems... I will describe it with an
example:
Let's say the form I want to implement will be
used to: create (read-write mode), update (read-
write mode) or show (read-only mode) customer's
data. The customer's data is complex (lots of
data, including tree structures).
The problem is that:
- when the form is called in read-only mode,
it should populate its fields with values
provided by the getCustomerData web service,
- when the form is called to create a new
customer (in read-write) mode, it should
not use the getCustomerData web service.
Instead it should map the input values
entered by the user into input parameters
of the createNewCustomer web service,
- when the form is called to update customer's
data, it should first display values returned
by the getCustomerData web service, and then
it should map the modified values entered by
the user into input parameters of the
updateCustomer web service,
In all the above cases I must map my view's
context data to different controller's context
elements. Doing it directly in the source code
is not a nice solution. Is there any other
way to achieve this?
Calling a form in different modes in not an
unusual thing, so I was hoping that maybe
there are any built-in mechanisms that would
solve the obove problem...
Greetings,
Tomek.
Maybe you are looking for
-
Assigning values to the charecterstics in a purchase order
Hello, I have to create the configuration object and assign the values to it in a purchase order. I am able to generate the temporary CUOBJ using FM CUXM_SET_CONFIGURATION but not able to save it to the database. I am using FM CUCB_CONFIGURATION_TO_D
-
How to avoid starting a page with line breaks?
Hello. I've just started to refine my Master's thesis and some of the topics moved up and down as I edited their contents. The problem is that in some cases the topic breaks right after the title, and the rest of the contents just move away to anothe
-
Can't save VPN configuration file
I am trying to setup the VPN services on Lion Server. I setup the shared secret, entered in a IP range and defined my VPN client host which is DYNDNS (e.g., domainname.dyndns.org). I get an error message when trying to save my configuration file that
-
SAP Organizational Plan for SAP Business Workflow
Hi, This is question is specific to SAP Business Workflow within ECC, relating to SAP Organizational Management: We have more than one instance of SAP, where one instance is used to run all of our business, except SAP HR (let's call this SAP Instance
-
How to make "shutdown immediate" command display information
Hi All, i just shut down my database using "shutdown immeidate". it does not display any information and just stop there. i wait serveral minutes and it display nothing. i do not know that it is doing. so i just use "shutdown abort" to shutdown. does