Class DomString in Tuxedo 9.1?
Hello, I see that the DomString class is listed as deprecated in Tuxedo 9.1. A member on my team is working on an enhancement to migrate 8.1 to 9.1 for us, and he's having problems deciding what to use. Any help would be appreciated. Thanks, and have a good one!
DOMString is a part of Xerces-C++ DOM interface which is deprecated by Xerces-C++. Please refer to http://e-docs.bea.com/tuxedo/tux91/xmlparser/html/program-deprecateddom.html for detail. Although it?s deprecated, it can still be used by customer. If you insist to upgrade, it?s recommended to migrate to the Apache DOM C++ binding which is another interface provided by Xerces-C++. Please refer to http://e-docs.bea.com/tuxedo/tux91/xmlparser/html/ApacheDOMC++Binding.html for detail. Xerces-C++ is a third party software shipped in Tuxedo. About how to use a class in Xerces-C++, all we can provide is no more than Xerces-C++ document.
Similar Messages
-
How to send msgs to tuxedo and read from tuxedousing jca adapter at jboss6
Hi i had only Tuxedo ip and port number.i have to send messsages to tuxedo server and read from tuxedo server i did below changes at ra.xml and dmconfig.xml
what are the services i have to use plz give me reply .Thanks in advance.
my ra.xml is
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<display-name>Tuxedo JCA Adapter</display-name>
<vendor-name>Oracle</vendor-name>
<eis-type>Tuxedo</eis-type>
<resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>
<license>
<description>Tuxedo SALT license</description>
<license-required>false</license-required>
</license>
<resourceadapter>
<resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoResourceAdapter</resourceadapter-class>
<config-property>
<config-property-name>traceLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>80000</config-property-value>
</config-property>
<config-property>
<config-property-name>xaAffinity</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>keyFileName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>dmconfig</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>D:\jboss-6.1.0.Final\server\mpayv4_dev\deploy\dmconfig.xml</config-property-value>
</config-property>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>
</connection-definition>
<transaction-support>NoTransaction</transaction-support>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
</resourceadapter>
</connector>
==========================
and dmconfig.xml is
<?xml version="1.0" encoding="UTF-8"?>
<TuxedoConnector>
<LocalAccessPoint name="local_1">
<AccessPointId>dev_scurtis</AccessPointId>
<NetworkAddress>//ip:port</NetworkAddress>
</LocalAccessPoint>
<RemoteAccessPoint name="e1tst_tdtux01">
<AccessPointId>e1tst_tdtux01</AccessPointId>
<NetworkAddress>//ip:port</NetworkAddress>
</RemoteAccessPoint>
<Import name="TOUPPER">
<RemoteName>TOUPPER</RemoteName>
<SessionName>session_1</SessionName>
<LoadBalancing>RoundRobin</LoadBalancing>
</Import>
<Import name="ECHO">
<RemoteName>ECHO</RemoteName>
<SessionName>session_1</SessionName>
<LoadBalancing>RoundRobin</LoadBalancing>
</Import>
</TuxedoConnector>Hi todd Thanks for your reply
iam using below java code in jsp ,iam not getting the response plz suggest me any changes
<%@ page import ="javax.naming.Context,
javax.naming.InitialContext,
javax.naming.NamingException,
javax.ejb.CreateException,
javax.resource.cci.ConnectionFactory,
javax.resource.cci.Connection,
javax.resource.cci.Interaction,
javax.resource.cci.InteractionSpec,
javax.resource.ResourceException,
weblogic.wtc.jatmi.TPException,
weblogic.wtc.jatmi.TPReplyException,
com.oracle.tuxedo.adapter.TuxedoReplyException,
com.oracle.tuxedo.adapter.cci.TuxedoStringRecord,
com.oracle.tuxedo.adapter.cci.TuxedoInteractionSpec" %>
<html>
<head>
</head>
<body>
<h1>Tuxedo Test</h1>
<%
System.out.println("Check Connection JNDI");
String result="";
result=Toupper("harikrishna");
%>
<%!
public String Toupper(String string_to_convert) throws TPException, TuxedoReplyException
Context ctx;
ConnectionFactory cf;
Connection c;
Interaction ix;
TuxedoStringRecord inRec;
TuxedoStringRecord outRec;
TuxedoInteractionSpec ixspec;
try {
ctx = new InitialContext();
cf = (ConnectionFactory)ctx.lookup("java:jca/tuxedo");
c = cf.getConnection();
ix = c.createInteraction();
ixspec = new TuxedoInteractionSpec();
ixspec.setFunctionName("TOUPPER");
ixspec.setInteractionVerb(InteractionSpec.SYNC_SEND_RECEIVE);
inRec = new TuxedoStringRecord();
outRec = new TuxedoStringRecord();
inRec.setRecordName("MyInputData");
outRec.setRecordName("MyOutputData");
outRec.setString(string_to_convert);
ix.execute(ixspec, inRec, outRec);
ix.close();
c.close();
String returned_data = outRec.getString();
return returned_data;
catch (NamingException ne) {
throw new TPException(TPException.TPESYSTEM,
"Could not get TuxedoConnectionFactory"+ne);
catch (ResourceException re) {
throw new TPException(TPException.TPESYSTEM,
"ResourceException occurred, reason: " + re);
%>
</body>
</html>
=======================================
In tuxedo.lod at my jboo6/bin iam getting this informatin
e property Security.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 60 to create default session profile property RetryInterval.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 9,223,372,036,854,775,807 to create default session profile property MaxRetries.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
4/30/12:2:59:09 AM:11:INFO[,]factory = null
4/30/12:2:59:09 AM:11:INFO[,]name = TOUPPER
4/30/12:2:59:09 AM:11:INFO[,]iname = TOUPPER
4/30/12:2:59:09 AM:11:INFO[,]rsvc == null, create new ArrayList with key= TOUPPER
4/30/12:2:59:09 AM:11:INFO[,]factory = null
4/30/12:2:59:09 AM:11:INFO[,]name = ECHO
4/30/12:2:59:09 AM:11:INFO[,]iname = ECHO
4/30/12:2:59:09 AM:11:INFO[,]rsvc == null, create new ArrayList with key= ECHO
4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint local_1 and RemoteAccessPoint e1tst_tdtux01. -
Remote tuxedo domain rejects connection from client only Tuxedo JCA Adapter
I am trying to use a client only configured Oracle Tuxedo JCA Adapter 11.1.1.2.1 to connect to a remote tuxedo 10.3 domain. The connector is deployed to a JDeveloper 10.1.3.4 embedded OC4J container. The connector is failing silently when attempting to establish a connection with the remote domain. Locally, the JCA Adapter ntrace logs the following:
1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]> (ypjspNQ5QIPKmOyk1DlAgw==)
1/20/11:9:41:49 PM:10:DBG[DMLocalAccessPoint,DMLocalAccessPoint]_useSSL = false
1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]< return(10)
1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createLocalAccessPoint]TJA_0233:Info: Default local access point for factory null created, access point id ypjspNQ5QIPKmOyk1DlAgw==.
1/20/11:9:41:49 PM:10:DBG[TuxedoAdapterSupervisor,createLocalAccessPoint]features = 159
1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]> ()
1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]< (20) return
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_0)
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux02
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1b75e54
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)
1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux02.
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_1)
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux01
1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1c0f654
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b
1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE
1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)
1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux01.
1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,registerClientSideResourceAdapter]create default import
1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]> (*)
1/20/11:9:41:49 PM:10:INFO[,]factory = null
1/20/11:9:41:49 PM:10:INFO[,]name = *
1/20/11:9:41:49 PM:10:INFO[,]iname = *
1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]register Default Import
1/20/11:9:41:49 PM:10:TRACE[Route,Route]> (*)
I can't determine if there are any problems from these log entries, but the remote tuxedo domain logs the following in the ULOG:
155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1073: ERROR: Unable to obtain remote domain id (ypjspNQ5QIPKmOyk1DlAgw==) information from shared memory
155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1509: ERROR: Error occurred during security negotiation - closing connection
My understanding is that the client only configuration should connect to a remote tuxedo domain as an anonymous client instead of a peer tuxedo domain, but the remote tuxedo gateway domain listener is acting like the client has to be configured in its dmconfig file before it will allow the connection request. Is there a different kind of listener the client only configuration should connect to instead of the tuxedo gateway domain listener? How can a remote tuxedo domain accept a connection from an anonymous client if the client must first be specified in the remote domain's dmconfig file? Is this a tuxedo 11g only feature? I'm trying to connect to a tuxedo 10.3 server.
The local ra.xml is reproduced here:
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<display-name>Tuxedo JCA Adapter</display-name>
<vendor-name>Oracle</vendor-name>
<eis-type>Tuxedo</eis-type>
<resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>
<license>
<description>Tuxedo SALT license</description>
<license-required>false</license-required>
</license>
<resourceadapter>
<resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoClientSideResourceAdapter</resourceadapter-class>
<config-property>
<config-property-name>debugConfig</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>traceLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>100000</config-property-value>
</config-property>
<config-property>
<config-property-name>xaAffinity</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>remoteAccessPointSpec</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>//tdtux01:9601/domainId=e1tst_tdtux01,//tdtux02:9601/domainId=e1tst_tdtux02</config-property-value>
</config-property>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>
</connection-definition>
<transaction-support>NoTransaction</transaction-support>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
</resourceadapter>
</connector>
Thanks for any help.
SteveLooks like this is an RTFM question. From:
[http://download.oracle.com/docs/cd/E18050_01/jca/docs11gr1/users/jca_usersguide.html]
Is the following:
Dynamic RemoteAccessPoint (RAP) Insertion
In order to make default LocalAccessPoint to work, Oracle Tuxedo GWTDOMAIN gateway configuration is required in order to make this simplified /Domain configuration to work.
GWTDOMAIN gateway must be modified to allow Dynamic RemoteAccessPoint (RAP) Registration. If DYNAMIC_RAP is set to YES, it will also update the in-memory database of the status of the connection from those dynamically registered RAP. If the connection from those dynamically registered RAP lost then the information about that RAP will be removed from the SHM database.
GWADM must be modified to process the DM MIB correctly to reflect the connection status of those dynamically registered RAP. When the connection from those dynamically registered RAP lost their entries in the SHM database will also be removed so that the DM MIB query can return the connection status correctly.
The dynamically registered RAP will be added to /DOMAIN configuration permanently. Their existence will only be known when the Session is established. Their existence will be lost when the connection is lost.
The DM_CONNECTION Oracle Tuxedo /Domain DMIB call returns all the connected dynamically registered RemoteAccessPoint. All other dynamically registered RemoteAccessPoint that are not connected will not be shown.
The OPENCONNECTION DMIB request will not be supported to connect to those dynamically registered RAP.
The CLOSECONNECTION Oracle Tuxedo /DMIB request closes the connection and remove the session from those dynamically registered RemoteAccessPoint, and returns its connection status as 'UNKNOWN.
The PERSISTENT_DISCONNECT type of CONNECTION_POLICY will be honored that means when PERSISTENT_DISCONNECT is in effect all connections request from any RAP, whether they are dynamically or non-dynamically registered, will be rejected.
I must have overlooked this section when reading it. Looks like I've got more configuration to do.
Thanks,
Steve -
C++ object in server service?
anyone can tell me ,weather tuxedo 7.1 or 8.1 support object oriented programming.
i just want to write all my bussiness logic encasulated with object and wrapper
its call in tuxedo service .
that's can i create and call object in tuxedo server service procedureYou can program tuxedo in C++ using any version of tuxedo. I have created a C++
class encapsulation of tuxedo that has objects encapsulating tuxedo buffers (FML32,
CARRAY, etc), tuxedo clients and servers and exceptions. I also created a framework
that will invoke a C++ method whenever a tuxedo service is called. The framework
provides a class called TuxedoServlet, and this class has a method called service
that is invoked by a service call. To use it, you inherit from TuxedoServlet
and implement your own service method. You then associated your TuxedoServlet
class with a tuxedo service name using the REGISTER_SERVLET macro, which accepts
two parameters; your class that inherits from TuxedoServlet and the service name
you want to associate with it. The best way is to look at the code. The object
encapsulation has some really useful ways to manipulate FML buffers if you use
them. Here's the link to the code which can be used freely under the GNU lesser
general public license agreement...
http://www.geocities.com/pantsvonfryer/tuxobjs/tuxoview.htm
"hugang" <[email protected]> wrote:
>
anyone can tell me ,weather tuxedo 7.1 or 8.1 support object oriented
programming.
i just want to write all my bussiness logic encasulated with object and
wrapper
its call in tuxedo service .
that's can i create and call object in tuxedo server service procedure -
Weblogic Tuxedo Connector on 10gR3 - Where are the Classes?
Hi everybody,
I need some help developing an application using WTC. I am trying to build an application using Weblogic Workshop, but I am not able to find the class TuxedoConnection or TuxedoConnectionFactory that was mentioned on the documentation.
I imported all jar files from \bea\wlserver_10.3\server\lib and still don't find this class. Do you have any idea where I find the correct jar or what is happening?
Thanks,
RafaelHi Todd,
thanks for your answer, but not all classes are there. TuxedoConnection and TuxedoConnectionFactory are examples of classes that are not inside weblogic.jar.
I found where these classes are:
<BEA_HOME>\module\com.bea.core.jatmi_1.2.0.3.jar
Regards,
Rafael -
Weblogic Tuxedo Connection on 10gR3 - Where are the Classes?
Hi everybody,
I need some help developing an application using WTC. I am trying to build an application using Weblogic Workshop, but I am not able to find the class TuxedoConnection that was mentioned on the documentation.
I imported all jar files from \bea\wlserver_10.3\server\lib and still don't find this class. Do you have any idea where I find the correct jar?
Thanks,
RafaelHi Todd,
thanks for your answer, but not all classes are there. TuxedoConnection and TuxedoConnectionFactory are examples of classes that are not inside weblogic.jar.
I found where these classes are:
<BEA_HOME>\module\com.bea.core.jatmi_1.2.0.3.jar
Regards,
Rafael -
Performance degradation using Jolt ASP Connectivity for TUXEDO
We have a customer that uses Jolt ASP Connectivity for TUXEDO and is suffering
from a severe performance degradation over time.
Initial response times are fine (1 s.), but they tend to increase to 3 minutes
after some time (well, eh, a day or so).
Data:
- TUXEDO 7.1
- Jolt 1.2.1
- Relatively recent rolling patch installed (so no there are probably no JSH performance
issues and memory leaks as fixed in earlier patches)
The ULOG shows that during the night the JSH instances notice a timeout on behalf
of the client connection and do a forced shutdown of the client:
040911.csu013.cs.kadaster.nl!JSH.234333.1.-2: JOLT_CAT:1185: "INFO: Userid:
[ZZ_Webpol], Clientid: [AP_WEBSRV3] timed out due to inactivity"
040911.csu013.cs.kadaster.nl!JSH.234333.1.-2: JOLT_CAT:1198: "WARN: Forced
shutdown of client; user name 'ZZ_Webpol'; client name 'AP_WEBSRV3'"
This happens every 10 minutes as per configuration of the JSL (-T flag).
The customer "solved" the problem for the time being by increasing the connection
pool size on the IIS web server.
However, they didn't find a "smoking gun" - no definite cause for the problem.
So, it is debatable whether their "solution" suffices.
It is my suspicion the problem might be located in the Jolt ASP classes running
on the IIS.
Maybe the connection pool somehow loses connections over time, causing subsequent
users having to queue before they get served (although an exception should be
raised if no connections are available).
However, there's no documentation on the functioning of the connection pool for
Jolt ASP.
My questions:
1) What's the algorithm used for managing connections with Jolt ASP for TUXEDO?
2) If connections are terminated by a JSH, will a new connection be established
from the web server automatically? (this is especially interesting, because the
connection policy can be configured in the JSL CLOPT, but there's no info on how
this should be handled/configured by Jolt ASP connectivity for TUXEDO)
Regards,
Winfried ScheuldermanHi,
For ASP connectivity I would suggest looking at the .Net client facility provided in Tuxedo 9.1 and later.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
Tuxedo 9.1 and Fedora core 5
Hi,
Is anybody succed installing tuxedo 9.1 under linux Fedora Core 5.
I succed install Tux 8.1 on FC5 following this instruction
http://forums.bea.com/bea/thread.jspa?forumID=2011&threadID=600016446&messageID=600040579#600040579
But when I lauch the same command I've got the following message:
[bea@linux_68 test]$ ./tuxedo91_32_SLES_9_x86.bin LAX_VM /usr/java/jre1.5.0_09/bin/java -i console
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer...
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/usr/java/jre1.5.0_09/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directoryI found a flag to see the debug infos:
[bea@linux_68 test]$ export LAX_DEBUG=1
[bea@linux_68 test]$ ./tuxedo91_32_SLES_9_x86.bin
Preparing to install...
Checking for POSIX df.
Found POSIX df.
Checking tail options...
Using tail -n 1.
True location of the self extractor: /home/bea/test/tuxedo91_32_SLES_9_x86.bin
Creating installer data directory: /tmp/install.dir.1236
Creating installer data directory: /tmp/install.dir.1236/InstallerData
Gathering free-space information...
Space needed to complete the self-extraction: 383652 blocks
Available space: 2966544 blocks
Available blocks: 2966544 Needed blocks: 383652 (block = 512 bytes)
Computed number of blocks to extract: 1025
Extracting the JRE from the installer archive...
Extracting JRE from ./tuxedo91_32_SLES_9_x86.bin to /tmp/install.dir.1236/Linux/resource/jre_padded ...
Extracting done, exit code = 0
Extracting JRE from /tmp/install.dir.1236/Linux/resource/jre_padded to /tmp/install.dir.1236/Linux/resource/vm.tar.Z ...
Extracting done, exit code = 0
Unpacking the JRE...
Unpacking the JRE...
gzip is /usr/bin/gzip
GZIP done.
TAR done.
Extracting the installation resources from the installer archive...
Extracting install.zip from ./tuxedo91_32_SLES_9_x86.bin to /tmp/install.dir.1236/InstallerData/installer.padded ...
Extracting to padded done, exit code = 0
Extracting from padded to zip done, exit code = 0
Creating disk1 data directory: /tmp/install.dir.1236/InstallerData/Disk1
Creating instdata data directory: /tmp/install.dir.1236/InstallerData/Disk1/InstData
Extracting resources from ./tuxedo91_32_SLES_9_x86.bin to /tmp/install.dir.1236/InstallerData/Disk1/InstData/Resource1.zip ...
Extracting done, exit code = 0
Configuring the installer for this system's environment...
========= Analyzing UNIX Environment =================================
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.
========= Analyzing LAX ==============================================
LAX found............................ OK.
LAX properties read.................. OK.
========= Finding VM =================================================
Valid VM types.......................... J2 J1 MSJ
Absolute LAX_VM path.................... /tmp/install.dir.1236/Linux/resource/jre/bin/java
Expanded Valid VM types................. JRE_J2 JDK_J2 JRE_J1 JDK_J1 MSJ
* Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.1236/Linux/resource/jre/bin/java
checking for NPTL + JVM vulernability...
NPTL detected! checking for vulnerable JVM....
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
major :
minor :
patch :
vendor:
Vulnerable JVM detected... implementing workaround
========= Virtual Machine Options ====================================
LAX properties incorporated............. OK.
classpath............................... "/tmp/install.dir.1236/InstallerData:/tmp/install.dir.1236/InstallerData/installer.zip"
main class.............................. "com.zerog.ia.installer.Main"
.lax file path.......................... "/tmp/install.dir.1236/temp.lax"
user directory.......................... "/tmp/install.dir.1236"
stdout to............................... "console"
sterr to................................ "console"
install directory....................... ""
JIT..................................... none
option (verify)......................... off
option (verbosity)...................... none
option (garbage collection extent)...... none
option (garbage collection thread)...... none
option (native stack max size).......... none
option (java stack max size)............ none
option (java heap max size)............. 50331648
option (java heap initial size)......... 16777216
option (lax.nl.java.option.additional).. none
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
========= Display settings ===========================================
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
X display............................... local
UI mode................................. gui
Launching installer...
CLASSPATH:/tmp/install.dir.1236/InstallerData:/tmp/install.dir.1236/InstallerData/installer.zip:/home/bea/test/tuxedo91_32_SLES_9_x86/install.dir.28633/InstallerData/installer.zip
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
========= Forking JAVA =============================================
/tmp/install.dir.1236/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory -
Error on Cataloging: Tuxedo Art Workbench
Hi.
I have a Cobol application in Mainframe and I want to migrate it to Tuxedo, using Tuxedeo Art Workbech
When I execute the catalog (refine r4z-catalog), i get this error:
Loading /migracion/art_wb12110/COBROS/source/sql-system-COBROS.pob at 09:52:22... done at 09:52:23
... Building or Loading SQL-System...done: #1<a SQL-SYSTEM>
At 09:52:23, Parsing Fuentes/PROG0001CO...
Parsed 4381 lines
Linking Fuentes/PROG0001CO...
Virtual function RLT::DECLARATION-NAME-DISPATCH-FN is not defined for class COBOL:DECLARED-IDENTIFIER
Backtrace:
Call to DBG::MAP-STACK-BACKTRACE
Call to MP:MAP-PROCESS-BACKTRACE
Call to RU::DEBUGGER-BACKTRACE
Call to RU::DEBUGGER-CALLED
Call to DBG::DEBUG1
Call to INVOKE-DEBUGGER
Call to CONDITIONS::CONDITIONS-ERROR
Call to ERROR
Call to ERROR
Call to RE::INSTALL-METHOD-DISPATCH-CACHE
Call to SQL::DECLARATION-NAME
Call to SQL::COLLECT-VARIABLE-FULL-NAME
Call to SQL::CHECK-FULL-NAME-HOST-VARIABLE
Call to SQL::FIND-OR-MAKE-HOST-VARIABLE
Call to SQL::LINK-HOST-VARIABLE
Call to SQL::LINK-HOST-VARIABLES-RULE
Call to RE::FASTLRCNODE
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::MAP-THROUGH-FPS-EXISTS
Call to RE::FASTLRCTREE
Call to RE::FAST-PREORDER-TRANSFORM
Call to COBOL::LINK-REFERENCES
Call to COBOL:LINK-PROGRAM
Call to COBOL:LINK-COBOL-FILE
Call to CATALOG::DEFAULT-LINK-COBOL-FILE
Call to CATALOG::PARSE-COBOL-FILE-1
Call to CATALOG::PARSE-COBOL-FILE
Call to RU:TIME-RUN
Call to CATALOG:DIRECTORY-PARSE-FILE
Call to CATALOG::ANALYZE-FILE-IF-NEEDED
Call to CATALOG::ANALYZE-SYSTEM-1-IBM
Call to CATALOG::CATALOG-SYS-2
Call to CATALOG::CATALOG-SYS
Call to RU::FUNCALL-EVAL-FORM
Call to DELIVERY::MAYBE-RYB-TOP-LEVEL
Call to (SUBFUNCTION MP::PROCESS-SG-FUNCTION MP::INITIALIZE-PROCESS-STACK)
Call to SYSTEM::%%FIRST-CALL-TO-STACK
Exit on debugger invocation!
I can't find de virtual function "RLT::DECLARATION-NAME-DISPATCH-FN" on any file, so i think it is a system function.
Does anyone know how fix this error?
Thanks in advanceWhich version are you using? 12cGA or ealier?
This is a bug inside workbench and had been fixed in 12c RP002, you can switch to 12cRP002 or later version, the newest is 12c RP004. -
Tuxedo 10gR3 installation issue on Windows XP
Hi,
Am trying to install tuxedo 10gR3(server) on Windows XP Professional. When I try to select C:\Oracle as ORACLE_HOME, it gives an error "Path should be absolute and have write Permissions!" and wont proceed further. I had to cancel the installation. I can confirm that C:\Oracle exist and is not read only. We have oracle database installed at C:\Oracle\<sub-folders>. The installation log was not of much help. These are contents of install log: -
======================
Thu May 28 02:22:14 PDT 2009
Free Memory: 6301 kB
Total Memory: 16320 kB
java.class.path:
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData\IAClasses.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jdglue.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData\Execute.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\InstallerData\Execute.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData\Resource1.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\InstallerData\Resource1.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\InstallerData
ZGUtil.CLASS_PATH:
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData\IAClasses.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jdglue.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData\Execute.zip
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\InstallerData
sun.boot.class.path:
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\rt.jar
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\i18n.jar
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\sunrsasign.jar
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\jsse.jar
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\jce.jar
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\charsets.jar
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\classes
java.ext.dirs:
C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre\lib\ext
java.version == 1.5.0_08 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.5.0_08-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 49.0
java.compiler == null
java.home == C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows\resource\jre
java.io.tmpdir == C:\DOCUME~1\pkarthic\LOCALS~1\Temp\
os.name == Windows XP
os.arch == x86
os.version == 5.1
path.separator == ;
file.separator == \
file.encoding == Cp1252
user.name == pkarthic
user.home == C:\Documents and Settings\pkarthic
user.dir == C:\Documents and Settings\pkarthic\Local Settings\Temp\I1243502280\Windows
user.language == en
user.region == null
Install Begin: Thu May 28 02:18:49 PDT 2009
Install End: Thu May 28 02:18:53 PDT 2009
Installed by InstallAnywhere 8.0 Enterprise Build 3063, by Macrovision
INSTALLATION WAS CANCELLED BY USER DURING PRE-INSTALLATION
User Interactions
Summary
Installation: Cancelledduring pre-install.
31 Successes
0 Warnings
0 NonFatalErrors
0 FatalErrors
Action Notes:
None
Install Log Detail:
Custom Action: com.bea.installer.InstallerInit
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Oracle
Value Name: BEAHOMELIST
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\Release 6.1
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\Release 6.2
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\6.3
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\6.4
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\6.5
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\7.1
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\8
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\8.1
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\9.0
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\TUXEDO\10.0
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\M3\2.1
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\M3\2.2
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\WebLogic Enterprise (C++)\4.2
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\WebLogic Enterprise\5.0
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\WebLogic Enterprise\5.0.1
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\BEA Systems\WebLogic Enterprise\5.1
Value Name: Company_Name
Status: SUCCESSFUL
Custom Action: com.bea.installer.CheckPrevVersions
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\TUXEDO\10.3.0.0_VS2005
Value Name: Company_Name
Status: SUCCESSFUL
Get Registry Entry: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\TUXEDO\10.3.0.0_VS2005\Environment
Value Name: TUXDIR
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Custom Action: com.bea.installer.CheckContinue
Status: SUCCESSFUL
Install Action: InstallAnywhere Variable
Status: SUCCESSFUL
Custom Action: com.bea.installer.CheckInstallMode
Status: SUCCESSFUL
INSTALLATION WAS CANCELLED BY USER DURING PRE-INSTALLATION
======================
Can you help me with debug switches(or command line options) that can be used with the installer.
Thanks,
PremPrem,
In addition to the C:\Oracle directory, the C:\Oracle\tuxedo10gR3_VS2005 directory also must either not exist or be a writable directory. If C:\Oracle\tuxedo10gR3_VS2005 previously exists as an ordinary file or as a read-only directory then you will get the "Path should be absolute and have write Permissions!" erorr.
If you type "C:\Oracle" manually into the installer you must be sure not to enter any leading spaces. (This will not be an issue if you use the "browse" functionality to select this directory.
You may also want to investigate if you get the same error if you try to install in Tuxedo in a directory that has not previously been used as an ORACLE_HOME and you should ensure that there is sufficent disk space on the C: drive. (These problems shouldn't cause the error your seeing, but it is worthwhile eliminating these as possible causes.)
If these suggestions don't resolve the problem, then you'll probably need to enter a support case to determine what is different between your environment and the environment of other customers whose intallations have been successful.
Regards,
Ed -
Can we query more than one class in a call to .tmib
Hi,
i am creating a utility to monitor the applications at run time using mib.any
body have an idea if we can query more than one class in one call to .tmib.
thanks
roopeshThat would be an interesting enhancement, perhaps using Embedded FML to
pack multiple MIB requests into one buffer.
Product Management makes all decisions about major enhancements, and it
is based on customer need, so that's where the requests should go.
Scott Orshan
roopesh wrote:
>
yes.
i am trying to devlop a utility which can monitor
applications at runtime.i wanted to make as less the
no of calls to tmib as possible but one class does
not give all the information so i need to query
more than one.
anyways thanks for the reply.
"MS" <[email protected]> wrote:
Hi,
Are you trying to write a Tuxedo app health-check monitor utility.
A tuxedo client can make different calls to .TMIB service for different
classes.
I don't think we can query more than one class in a single call.
Are you looking for something else??/
HTH
regards
MS -
Passing data from jsp/servlet to a Tuxedo Service thru VIEW
Hi..
We are using Tuxedo10g R3 on AIX 5.3..
We have a Tuxedo Service running which takes values from the VIEW and converts that to upper case.. From the jsp page v r passing values to the VIEW fields which will be accepted by the service..
For testing v checked the service with a tuxedo client and it is working fine..
We have defined a jolt repository file for this service and finished bulkloading and coded the servlet also.. After passing the datas from the jsp, the Tuxedo service is called and it is ended.. but in the service only blank values are passed or the datas are not passed to VIEW fields.. It is not showing any error..
The repository file for this service:
service=NSIMPSRV
export=true
inbuf=VIEW
inview=sample
outbuf=STRING
param=FIRSTSTR
type=string
access=in
param=SECONDSTR
type=string
access=in
param=THIRDSTR
type=string
access=in
param=S-FIRST
type=string
access=out
param=S-SECOND
type=string
access=out
param=S-THIRD
type=string
access=out
and the servlet code for this service:
Result result1;
ServletSessionPool servletsession = (ServletSessionPool) joltsession.getSessionPool("demojoltpool");
ServletDataSet joltdataset = new ServletDataSet();
joltdataset.setValue("FIRSTSTR","Testing");
joltdataset.setValue("SECONDSTR","Tuxedo");
joltdataset.setValue("THIRDSTR","Views");
result1 = servletsession.call("NSIMPSRV", joltdataset, null);
System.out.println("FIRSTSTR:"+result1.getValue("S-FIRST",""));
System.out.println("SECONDSTR:"+result1.getValue("S-SECOND",""));
System.out.println("THIRDSTR:"+result1.getValue("S-THIRD",""));
we are not sure why the datas have not been passed.. do anyone have any idea regarding this??
Thanks..Hi Wayne,
This is my view definition:
VIEW sample
# type cname fbna count flag size null
string firststr - 1 - 10 -
string secondstr - 1 - 10 -
string thirdstr - 1 - 10 -
ENDJolt repository file:
service=NSIMPSRV
export=true
inbuf=VIEW
inview=sample
outbuf=VIEW
outview=sample
param=FIRSTSTR
type=string
access=inout
param=SECONDSTR
type=string
access=inout
param=THIRDSTR
type=string
access=inoutThe Servlet code is:
package Servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import bea.jolt.pool.servlet.weblogic.PoolManagerStartUp;
import bea.jolt.pool.servlet.*;
import bea.jolt.pool.ApplicationException;
import bea.jolt.pool.SessionPoolException;
import bea.jolt.pool.ServiceException;
import bea.jolt.pool.SessionPoolManager;
import bea.jolt.pool.*;
* Servlet implementation class ZC00582Servlet
public class VIEWServlet extends HttpServlet {
private ServletSessionPoolManager joltsession = (ServletSessionPoolManager) SessionPoolManager.poolmgr;
public VIEWServlet() {
super();
// TODO Auto-generated constructor stub
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
response.setContentType("text/html");
ServletResult result;
Result result1;
String String1 = request.getParameter("FIRSTSTR");
String String2 = request.getParameter("SECONDSTR");
String String3 = request.getParameter("THIRDSTR");
System.out.println("THE VALUES BEFORE CONVERSION");
System.out.println("FIRSTSTR:"+String1);
System.out.println("SECONDSTR:"+String2);
System.out.println("THIRDSTR:"+String3);
System.out.println("1..");
//ServletResult message;
ServletSessionPool servletsession = (ServletSessionPool) joltsession.getSessionPool("demojoltpool");
System.out.println("2..");
ServletDataSet joltdataset = new ServletDataSet();
//joltdataset.importRequest(request);
System.out.println("3..");
//joltdataset.setValue("firststr","Hi");
joltdataset.setValue("firststr",String1);
System.out.println("4..");
//joltdataset.setValue("secondstr","hello");
joltdataset.setValue("secondstr",String2);
System.out.println("5..");
//joltdataset.setValue("thridstr","fine");
joltdataset.setValue("thirdstr",String3);
System.out.println("6..");
//result = (ServletResult) servletsession.call("NSIMPSRV", joltdataset, null);
result1 = servletsession.call("NSIMPSRV", joltdataset, null);
result = (ServletResult) result1;
System.out.println("THE VALUES AFTER CONVERSION");
System.out.println("FIRSTSTR:"+result.getStringValue("firststr",""));
System.out.println("SECONDSTR:"+result.getStringValue("secondstr",""));
System.out.println("THIRDSTR:"+result.getStringValue("thirdstr",""));
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
and my server program :
IDENTIFICATION DIVISION.
PROGRAM-ID. NSIMPSRV.
AUTHOR. TUXEDO DEVELOPMENT.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
DATA DIVISION.
WORKING-STORAGE SECTION.
* Tuxedo definitions
01 TPSVCRET-REC.
COPY TPSVCRET.
01 TPTYPE-REC.
COPY TPTYPE.
01 TPSTATUS-REC.
COPY TPSTATUS.
01 TPSVCDEF-REC.
COPY TPSVCDEF.
* Log message definitions
01 LOGMSG.
05 FILLER PIC X(10) VALUE
"NSIMPSRV :".
05 LOGMSG-TEXT PIC X(50).
01 LOGMSG-LEN PIC S9(9) COMP-5.
* User defined data records
01 STRING-DATA.
COPY SAMPLE.
LINKAGE SECTION.
PROCEDURE DIVISION.
START-FUNDUPSR.
MOVE LENGTH OF LOGMSG TO LOGMSG-LEN.
MOVE "Started" TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
* Get the data that was sent by the client
MOVE LENGTH OF STRING-DATA TO LEN.
CALL "TPSVCSTART" USING TPSVCDEF-REC
TPTYPE-REC
STRING-DATA
TPSTATUS-REC.
IF NOT TPOK
MOVE "TPSVCSTART Failed" TO LOGMSG-TEXT
PERFORM DO-USERLOG
PERFORM EXIT-PROGRAM
END-IF.
IF TPTRUNCATE
MOVE "Data was truncated" TO LOGMSG-TEXT
PERFORM DO-USERLOG
PERFORM EXIT-PROGRAM
END-IF.
MOVE FIRSTSTR TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
MOVE SECONDSTR TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
MOVE THIRDSTR TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
INSPECT FIRSTSTR CONVERTING
"abcdefghijklmnopqrstuvwxyz" TO
"ABCDEFGHIJKLMNOPQRSTUVWXYZ".
INSPECT SECONDSTR CONVERTING
"abcdefghijklmnopqrstuvwxyz" TO
"ABCDEFGHIJKLMNOPQRSTUVWXYZ".
INSPECT THIRDSTR CONVERTING
"abcdefghijklmnopqrstuvwxyz" TO
"ABCDEFGHIJKLMNOPQRSTUVWXYZ".
MOVE "Success" TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
MOVE STRING-DATA TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
SET TPSUCCESS TO TRUE.
COPY TPRETURN REPLACING
DATA-REC BY STRING-DATA.
* Write out a log err messages
DO-USERLOG.
CALL "USERLOG" USING LOGMSG
LOGMSG-LEN
TPSTATUS-REC.
* EXIT PROGRAM
EXIT-PROGRAM.
MOVE "Failed" TO LOGMSG-TEXT.
PERFORM DO-USERLOG.
SET TPFAIL TO TRUE.
COPY TPRETURN REPLACING
DATA-REC BY STRING-DATA.
Thanks & Regards,
Janani. -
Jolt 1.2/Tuxedo 6.5
I'm working on Tuxedo 6.5/Jolt 1.2 in a Websphere 3.02 environment.
1. Problem with Transaction and Session pools
Our application retreives information from an Informix database through servlets. We've built a SessionPool in order to access our Tuxedo services, but without any transactional state. In fact, as we do not update the database, we didn't use transactions.
Our question is when is the user connection free and available for an other user, since the Reference Documentation API says a connection is free when the transaction commit's or rollbacks. As we don't use any transaction, we don't know when (and how) a connection is available for reuse. Must we wait the Tuxedo timeout? ....
And is there an easy way to free a connection (force a connection to be once again available)?
2. Jolt 1.2 release
We're working with the Jolt 1.2 release, as I already said. The reference API documentation says a class named ServiceInfo in bea.jolt.pool will retreive information on Tuxedo services (parameters, ...). Unfortunately, our jar file (joltjse.jar, 33Kb) doesn't have it. I'd like to use it to built my DataSets' automatically from an Array or a Vector.
Is it because our Jolt version is too old and because the 1.2 does not provide this class? Is it part of the 1.2.x release?
In this case, how can I get the right jar without having to install (and/or upgrade to) a new version of Jolt?
Thank you for your answers
TR.Dear,
Could you please send Jolt 1.2<For AIX4.3> to me ?
Or tell me where I can find it.
Thanks anywhere.
Fogg wg -
Tuxedo Response Transformation from XML to FML
Request flow :Tuxedo -> OSB Proxy Service > OSB Business Serivice >Target Web Service.
Response flow : Target Web Service send response to -> Business Service ->OSB Proxy serivice (Transforma the Complex XML to FML) ->send to Tuxedo Client.
i have following response form webserive call
<StudentList>
<Student universitytype="AU " accurrence = 'undbounded'>
<stdname>
<stdyear>
<stdscore>
<Student/>
<Student universitytype="AU " accurrence = 'undbounded'>
<stdname>
<stdyear>
<stdscore>
<Student/>
<Student universitytype="MIT" accurrence = 'undbounded'>
<stdname>
<stdyear>
<stdscore>
<Student/>
<Student universitytype="AO " accurrence = 'undbounded'>
<stdname>
<stdyear>
<stdscore>
<Student/>
<StudentList/>
can i transform above complexity form of XML to FML using XmlFmlCnv Class and send it to Tuxedo
Since FML is flat strucured, i am not sure how the Complex tyHello,
It depends on the release of WebLogic and the field table definitions used by WTC (and Tuxedo).
I believe embedded/nested FML32 fields were added to XmlFmlCnv in WLS 9.0 (but the doc needs to be updated).
Have you tried this yet?
Regards,
Bob Finan -
Access data sources supporting Tuxedo
WLS 5.1 states that it does not support two-phase commit.
In fact, if I try to establish two connections to different Oracle
databases within the same entity bean or session bean within a
transactional context then an exception is thrown.
I need to perform updates to two different resources, the first is an
Oracle database and the second is a Clarify CRM database.
The problem is getting the updates to both resources done atomically.
The Oracle database has a layer of EJB's and will run inside WebLogic.
The Clarify system only comes with a Java Bean interface (not an EJB
interface).
Obviously, at some point a connection needs to be established to the
underlying Oracle Clarify database and I suspect that the Java Bean
interface that Clarify provides will perform any transactional stuff per
method call. Although we may be able to detect Clarify problems through
exceptions thrown from the Java Bean methods, presumably for each
successful Java Bean method call the underlying data source changes
associated with it will be committed. Any subsequent Java Bean method
call that fails can too be detected but we have no way to roll back the
changes made in the previous method calls. This is obviously a typically
transaction based problem.
So, Clarify supports BEA Tuxedo, presumably for this purpose. Perhaps
someone can confirm, but I think that BEA Jolt provides a Java API to
BEA Tuxedo. Is this the currently recommended way to communicate with
Tuxedo? And does Jolt simply provide the equivalent XA methods such as
transaction start, prepare, commit methods etc?
I mentioned at the start that an exception will be thrown if an attempt
is made to open more than one database connection. Presumably, the
container will not be able to detect this if the connection is retrieved
in an independent Java class that is not part of the EJB? this is
important as BEA Jolt or the underlying Java Bean classes must at some
point establish a connection.
If Jolt provides this type of interface then presumable I could have a
stateless session bean that updates the first Oracle data source through
the EJB's and then simply starts a transaction using Jolt, then applies
the clarify changes using the Java Beans and then can use the two-phase
commit capabilities of Tuxedo to 'prepare' the Clarify changes. If the
prepare fails then a system exception will be thrown to rollback the
changes to the first data source, otherwise Jolt will be used to tell
Tuxedo to commit the changes and then the first data source will be
committed when the session bean method completes.
One drawback that I can see is that the transactional calls to Jolt will
be hardcoded in the beans and not controlled by transactional
demaraction in the deployment descriptors so we would need to be careful
when the transactional boundaries changes in the deployment descriptor.
I can't see how Weblogic 6.0 can assist us here as we don't have an EJB
intterface to Clarify.
How does the J2EE Connector stuff fit into this?
Anyone interfaced with Clarify through Jolt/Tuxedo - is the perfromance
adequate?
Many thanks in advanceHi,
You can also have a look at Metalink Note:150766.1 :- Subject: How to Access a JDBC Data Source From OC4J Using a JNDI Lookup
Regards,
Sandeep
Maybe you are looking for
-
Credit re-block after confirmed qty in Sales order
I have a problem with credit checking in sales order. Credit goes on hold again after I comfirmed qty in sales order. My steps are as follow. (I don't have stock in warehouse but I need to create sales order). 1. Create a sales order 120 L 2. Credit
-
Unexpected transaction data in fact table
Hi, I have created customized table having field SWISSEMPID SWEMPNAME SWADDRESS SWDESIGNATION SWHIREDATE SUPERVISOR SWISSCOMP ETHNICITY LANGUAGE CURRENCY On the basis of table , I have created generic data source for text ( e
-
I get a message that my new computer is not "authorized" to play certain files - music, videos,- in iTunes, but when I go to the screen to authorize it, I'm told it's already authorized.
-
I accidentally deleted an effect in Photoshop elements
Can someone help? I accidentally deleted an effect (simple emboss) in Photoshop Elements 6.0. How can I replace it? Thank you.
-
Attach multimedia content when creating pdf from webpage
Hi, I'm trying to createa pdf of a webpage which has several links to other pdf files. At the moment I can create the pdf and either embed those linked files, ignore them or create the pdf and just link to those files from it. I'd like to be able to