Setup SALT on exist Tuxedo Server
Hi, I'm a newbie in Tuxedo.
I have a server running Tuxedo, IBM AIX 6.1, programming with pro*C
Now I try to setup oracle SALT for web service server, calling some inbound Tuxedo services.
I read a lot of oracle documents, but I do not understand how to config Tuxedo Metadata Repository Server.
Can anybody explain step by step?
Hi,
There are several steps involved in using SALT and the Tuxedo Service Metadata Repository. One question I would have for you is what version of Tuxedo and SALT are you using? SALT 12c offers a web based very easy to use set up tool. In any case, the general steps are:
1) Add the Tuxedo Service Metadata Repository Server to your Tuxedo configuration
2) Create a MIF (Metadata Input File) that describes the Tuxedo service you are trying to access
3) Load the service definition into the service metadata repository with the tmloadrepos command
4) Create the SALT gateway configuration file and load it with the wsloadcf command
5) Add the GWWS servers to your Tuxedo configuration
6) Boot your Tuxedo domain
There are examples of the MIF format in the Tuxedo documentation, but basically you identify the name of the service, the input buffer type and fields, the output buffer type and fields, and the error return buffer type and fields. With that information loaded into the Tuxedo Service Metadata Repository, the SALT gateway GWWS can create WSDL to describe the service you are trying to call via SOAP/HTTP.
I hope that makes sense. If you have more questions, please feel free to ask!
Regards,
Todd Little
Oracle Tuxedo Chief Architect
Similar Messages
-
We have been running a Tuxedo server with pretty much the same logic in the sample code below in our systems for years on AIX (OS level 6100) with Tuxedo 10-32 bit. We are upgrading to Tuxedo 12.1.3 (12cr2) now. The code is compiled fine with Tuxedo 12, however, it just hangs at tmboot. We have tried on multiple servers (all AIX), but it hung on all the servers with tmboot. Is there anyone in the forum ran into the same problem?
The source code ForkSrv.c:
#include <unistd.h>
#include <signal.h>
#include <atmi.h>
void doChildProcess();
void launchChildProcess();
static pid_t m_iChildPid = -1;
/** FUNCTION: tpsvrinit */
int tpsvrinit( int argc, char **argv ) {
launchChildProcess();
userlog("Service initilized: (pid=%d)\n", getpid());
/* FUNCTION: killChild
* DESCRIPTION: send SIGTERM to the child process and wait for it terminates. */
void killChild() {
int iChildStatus;
if (m_iChildPid>0)
kill(m_iChildPid, SIGTERM);
userlog("Service (pid=%d) kill child process %d\n",
getpid(), m_iChildPid);
wait(&iChildStatus);
userlog("Service (pid=%d) killed child process %d\n",
getpid(), m_iChildPid);
/** FUNCTION: tpsvrdone
* DESCRIPTION: terminate the child process and do other clean ups */
void tpsvrdone(void) {
killChild();
userlog("Service done: (pid=%d)\n", getpid());
/* FUNCTION: ForkSvc
* DESCRIPTION: service function */
void ForkSvc(TPSVCINFO *tpinfo)
userlog("Service call: (pid=%d)\n", getpid());
tpreturn(TPSUCCESS, 0, tpinfo->data, 0, 0);
/* FUNCTION: launchChildProcess
* DESCRIPTION: launch the child process. If the child process exists terminate it first. */
void launchChildProcess()
m_iChildPid = fork();
switch (m_iChildPid) {
case -1:/* error */
userlog("launchChildProcess: Service failed to fork: (pid=%d)\n", getpid());
break;
case 0:/* child */
doChildProcess();
exit(0);
break;
default:/* parent */
userlog("launchChildProcess: Child created with pid=%d\n", m_iChildPid);
break;
/* FUNCTION: doChildProcess
* DESCRIPTION: child process routing */
void doChildProcess()
sleep(100000);
userlog("doChildProcess: Service child exited: (pid=%d)\n", getpid());
exit(0);
The Makefile fork.mak:
CC=cc
SERVERS=ForkSrv
server: $(SERVERS)
all:ForkSrv
ForkSrv: ForkSrv.o
buildserver -t -o ForkSrv -s ForkSvc -f ForkSrv.o
ForkSrv.o:ForkSrv.c
$(CC) -c -I${TUXDIR}/include -o ForkSrv.o ForkSrv.cWe have a tuxedo service which needs to communicate with a POS device by socket. The parent process provides the tuxedo service. The child process provides the connection management for the device. Unnamed pipe is used for communication between the parent and the child. In the child process, there is no code related to tuxedo. The benefit of that design is the tuxedo server does not need to wait for connection from the device when boots up, and the tuxedo service does not need to wait for connection from the device when the service is called.
The tuxedo server was developed 10 years ago, and worked fine till we upgraded tuxedo from 10 to 12 recently. That means it worked for 10 years, and it worked in tuxedo 6.5, tuxedo 10. But in tuxedo 12, tmboot does not return for this tuxedo server. We have to press CTRL-C and yes to cancel. After cancel, the tuxedo service seems working fine. -
Getting error while installing reporting servcies on existing sql server 2012.
Hi Expaerts,
sql 2012 sp1:
getting error while installing Reporting services on existing sql server. at final step
Error on scren: install_rsharepoint_cpu64_action : roll back , rolling back action.
error on popup windows: ' one or more files required to restore your computer to its previous state colud not be found. restoration will not be found.
Thanks in advance.Hello,
Please help to collect the useful log information while install SQL Server Reporting Services. Here is the article for your reference, please see:
Navigating the Setup Logs when you install SQL Server 2012 Reporting Services:
http://blogs.msdn.com/b/jtarquino/archive/2012/03/14/navigating-the-setup-logs-when-you-install-sql-server-2012-reporting-services.aspx
Regards,
Elvis Long
TechNet Community Support -
Adding Availability Group to Existing SQL Server 2012 Enterprise installation
Looking at an existing SQL Server 2012 Enteprise vm. We'd like to add availability group functionality. It seems that we should be able to create a second VM and install SQL on it in an identical configuration. Then create a windows cluster with
the two nodes. From there we should be able to configure avaialbility groups.
I've set up avaialbility groups before but have not retrofitted one before. It seems possible though since the instances are standalone. Anyone see a problem with doing this?
thanks
PeterHello,
What you have is pretty much it. Since AGs require clustering but do not require a clustered install (stand alone install is used) there shouldn't be any changes with the actual install. You will have to enable the HADR option in the configuration manager
once the clustering is setup.
Sean Gallardy | Blog |
Twitter -
The existing Application Server Installation is corrupted
Well I downloaded the Java Studio Creator and wanted to test it on a Debian GNU/Linux box. See what happened while installing it:
http://people.freenet.de/jtocancipa/jsc2_install_bug_debian.jpg
http://people.freenet.de/jtocancipa/install.log.gz
Not nice, unfortunately I don't have the time now to debug the shell script inside the creator-2-linux-en.bin file, so if anyone knows how to fix this... thanks in advance.Hi,
I am having the same problem on a Gentoo installation. At the end of installation I get the error
- The existing application server installation is corrupted I have installed both as root and a normal user.
The ~/sun/Creator2_1/SunAppServer8 directory is empty and I can't use _unist/unistall.bin as it complains about being unable to stop the server.
The install log gives these errors:
(18-May-2006 04:07:32), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, Installing Application Server...
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Extracting installation files...
Launching Java(TM) 2 Runtime Environment...
Deleting temporary files...
exitcode = 64
(18-May-2006 04:07:55), Setup.product.install, com.sun.installer.InstallApplicationServerAction, err,
Error occurred while installing [64] -> /home/stanwayg/sun/Creator2_1/_uninst/install.sh /home/stanwayg/sun/Creator2_1/_uninst statefile ../install.log /home/stanwayg
(18-May-2006 04:07:55), Setup.product.install, com.sun.installer.InstallApplicationServerAction, err,
Error occurred while Installing Application Server....
(18-May-2006 04:07:55), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, Finished
(18-May-2006 04:07:55), Setup.product.install, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, installing Post Install Core Action (PostInstallCoreAction)
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to modify file: stopserver.ksh
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to modify file: startserver.ksh
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to modify file: ij.ksh
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to modify file: sysinfo.ksh
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to modify file: sysinfo.ksh
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to copy DataDirect drivers
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to copy driveradapter.jar
(18-May-2006 04:08:05), Setup.product.install, com.sun.installer.PostInstallCoreAction, err, Unable to copy appserv-env.jarI re-downloaded the installation file and still get the problem. Is there a solution to this?
Regards
GWS
I've been trying further to get this to install and I have found that it is actually the SJSAS installation that is the problem.
If I try to install SJSAS using any route (bundled with Netbeans, bundled with Creator or on its own) the installation fails.
If I try ot install using the freestanding SJSAS installler I get errors about their being insufficient disk space even though there is plenty of room (250Gig).
But still not much closer to getting it working. -
Setup distiller on a leopard server
What is the right way to go - when i drop my fonts into admin font folder, the destiller stops responding from time to time
Hi,
There are several steps involved in using SALT and the Tuxedo Service Metadata Repository. One question I would have for you is what version of Tuxedo and SALT are you using? SALT 12c offers a web based very easy to use set up tool. In any case, the general steps are:
1) Add the Tuxedo Service Metadata Repository Server to your Tuxedo configuration
2) Create a MIF (Metadata Input File) that describes the Tuxedo service you are trying to access
3) Load the service definition into the service metadata repository with the tmloadrepos command
4) Create the SALT gateway configuration file and load it with the wsloadcf command
5) Add the GWWS servers to your Tuxedo configuration
6) Boot your Tuxedo domain
There are examples of the MIF format in the Tuxedo documentation, but basically you identify the name of the service, the input buffer type and fields, the output buffer type and fields, and the error return buffer type and fields. With that information loaded into the Tuxedo Service Metadata Repository, the SALT gateway GWWS can create WSDL to describe the service you are trying to call via SOAP/HTTP.
I hope that makes sense. If you have more questions, please feel free to ask!
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
DFS ABE on Existing File Server
I have a couple questions about DFS.
We currently have a file server that we need to setup Access Based Enumeration on to hide folders the user does not have access to. The server is 2008 R2 in a Windows 2003 Forest & Domain.
I've read contradicting articles saying it will work on 2003 forest/domain level and another stating that it can work on a 2003 forest as long as the domain level is 2008.
My other concern is that i am taking an existing file server and adding DFS to it. I have backups in place but will adding a DFS Namespace and eventually ABE affect my current shares or permissions?Hi,
Sorry for the delay.
If you choose Stand-Alone Namespace and enable access-based enumeration in DFS namespace, Windows Server 2008 namespace server is required. If you choose a domain-based namespace, you must choose whether to use the Windows 2000 Server mode or the Windows
Server 2008 mode. But only the Windows Server 2008 mode support for access-based enumeration.
To use the Windows Server 2008 mode, the domain and namespace must meet the following minimum requirements:
•The forest uses the Windows Server 2003 or higher forest functional level.
•The domain uses the Windows Server 2008 or higher domain functional level.
•All namespace servers are running Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, or Windows Server 2008.
For more detailed information, please refer to the articles below:
Enable Access-Based Enumeration on a Namespace
http://technet.microsoft.com/en-us/library/dd759150.aspx
Choose a Namespace Type
http://technet.microsoft.com/en-us/library/cc770287.aspx
For your second question, ABE only hides files and folders that users do not have permission to access, it doesn’t affect current shares or NTFS permissions.
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Using tuxedo client 8.1 with tuxedo server 6.4
Hi,
I am using Weblogic server 7 sp2 with Tuxedo 8.1 on my Windows XP machine, I have configured weblogic (config.xml) to use WTC to connect to tuxedo 6.4 on windows 2000 machine which in turn connects to tuxedo 6.4 server. When I try to do a tpcall I get an error on weblogic server log 'TPENOENT(6):0:0:TPED_MINVAL(0):QMNONE(0):0:Could not find service'.
My question is I haven't made any configuration changes on the tuxedo server end like ubb.config or dm.config files. We are currently in the process of upgrading to weblogic 7 or 8. At the moment we are using JOLT to connect to the existing tux services on the dynix box.
I want to know if I can configur WTC on weblogic 7 using tuxedo 8.1 API to connect to tuxedo 6.4. What all changes do I need to make on both WLS and Tuxedo end.
I have read some documentation which state ways where old tuxedo client versions 7.1 and earlier can access tuxedo server 8 by configuring WSH (CLOPT -t) option in ubb.config file.
Can someone please help.
Thanks,
SmitaHello Smita,
I don't think WTC is supported with Tuxedo 6.4. I think (for a number of reasons) that you really should consider an upgrade to 6.5 or newer version of Tuxedo.
Regards,
/Per
Per Lindström - R2Meton AB, SWEDEN -
How to use company users on existing ldap server as EP6.0 sp2 Users?
Hi everybody
Our company user data is on a LDAP server we want to connect our EP6 UME to this existing LDAP server so that existing company users can access the Portal with their company id and password. What configuration we should do on the portal ?
thanks and regards
RajendraHi!
Look at Admin Guide:
Administration Guide->Portal Platform->System Administration->User Management Configuration->Configuration of Data Sources Used for User Management->Defining an LDAP Directory as a Data Source
WBR, Lnk -
Facing error while booting tuxedo server
Hi All,
When i try to boot the tuxedo server, it is being booted properly, But in the ulog, i found an error:
Failure to post event: Error 6, TPENOENT - no entry found, {osserr=0}
So, that particular tuxedo server is not responding fine.
Kindly, help in solving this issue.
Any help would be appreciated.
Thankyou in advance
KeerthikaHi Keerthika,
You'll need to provide a little more information in order to determine what is happening. The error message I suspect is being caused by a subscription to the event broker that is to deliver the event to a specific service. At the time the event was posted via tppost(), the service that was subscribed was not available. Can you provide a snippet of your ULOG, what service your event broker subscription uses, and the output of the tmadmin command psc. Any additional information you can provide would be helpful.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
Can not add new VMS into existing clustered server pool
For some reason, we reinstall VMM (3.1.1-416) with existing UUID and rediscover all VMSs. The process went smooth and the whole system looks clean without dead objects any more. The guest VMs are all working fine. However, the new added VMS in unassigned servers are not displayed in the "Available Servers" when we want to add into existing clustered server pool, but it is shown when we add into unclustered server pool. Anyone has clue or possible way to debug what's wrong.
Thanks,
Shun-Jee LiuThe issue is resolved. The access group in shared iSCSI is not properly configured.
-
How to setup not start cf9 local server on PC startup of VISTA OS
how to setup not start cf9 local server on PC startup of VISTA OS...? How to startup it manualy later if I wanted to?
The same way you would for any other Windows service: use the Services app in your Control Panel.
Adam -
Weblogic and Tuxedo server : Security Audit Logs
In our application we are using the weblogic server 7.0 and Tuxedo server 7.1 (to improve performance). When the user logged in to the application, the security logs are captured from tuxedo.
Can anyone tell us, how the auditing can be enabled in security logs of tuxedo server?> Has anyone done this before and can show me some snippets of code?
The example code and FM's you are looking for are in report RSAU_READ_AUDITLOG_EXTERNAL.
Cheers,
Julius -
Integrating existing file server with EP6SP9
hello everyone
we are implementing EP6 SP9 portal for our SBU and we need to integrate our existing file server with portal in which we can upload documents and download existing documents.
do we need to use content management to access this file server using the file system repository manager or it can be done in some other way
If theres an alternate way to do this, kindly explain what needs to be done.
Kindly help
Thanking you
AnuragAnurag,
yes, CM is the software to use for this. you could, in principle, go without CM and code the neccessary stuff on your own. But: The more funcionality you desire (think of: additional properties, search functionality, versioning ...), the more sense using CM makes. Plus you get all required user interfaces (like a repository browser) for free.
Regards,
Dominik -
How to parallel boot tuxedo server in the same time ?
Beacause I have more than 1000 tuxedo server, and it's take a long when startup
server process.
Can I booted more than one server in ther same time in Tuxedo8.0 ?
If yes, please advise to me how to do ?
Thanks you for advises.try booting first admin servers with -A option then take multiple windows of
of master box and do tmboot -l <lmid> and see if it works.
"Sutep" <[email protected]> wrote:
>
Thanks you for your advise Revital.
But when I try to boot with -w option, I found error and it's do not
booted success.
Do you have the other ideas about faster boot Tuxedo processes?
"Revital" <[email protected]> wrote:
Hi,
This will do the job (tmboot -y -w") if you don't care about the order
which the
servers are booted. There are some Administative servers (like the DOMAIN,
etc)
that you need to boot first, last or in a spacific order.
Other then that it should help you (it helped me).
Bye,
Revital Bloom
"Nong mod" <[email protected]> wrote:
I think "tmboot -y -w" will boot them all in parallel for you.
"Sutep" <[email protected]> wrote:
Beacause I have more than 1000 tuxedo server, and it's take a long
when
startup
server process.
Can I booted more than one server in ther same time in Tuxedo8.0 ?
If yes, please advise to me how to do ?
Thanks you for advises.
Maybe you are looking for
-
Using free reader, how to activate a hyperlink embedded in a pdf documnet?
Using Windows 7. Control/click does not work. embedded link not a webaddress that can be copied, but is a descriptive phrase. Thanks.
-
JTabbedPane and removeTabAt() method
Hello, I use in my application a JTabbedPane and i want allow the user to remove a tab of this JTabbedPane. When the JTabbedPane change i need to perform some traitement. So i use a ChangeListener to be informed of all changes of my JTabbedPane. But,
-
Can anyone explain why this site is so slow to load?
Strangely, it pops up fine in Safari but is excruciatingly slow to load in Firefox and IE (with graphics and some of the audio player icons not showing for literally multiple minutes, etc.): http://ddjackson.net/D.D.JacksonDemos.html Any help would b
-
i want to encode using base64 class.bt in java1.5 base64 is deprecate d. so wht is hte supported package in jdk1.5
-
TS3276 iPhoto email problem???
Question: I am trying to send some photos by email from iPhoto. I get an error message: The email server didn't recognize your username/password combination. There is no option tom re-enter an email password - it is supposed to be going from my stand