OWSM Gateway on a separate server?

Hi,
I am trying to get the OWSM working in an architecture where the Gateway resides on one server and the rest of the SOA Suite on another. The only documentation I could find was
in the Deployment Guide under Configuring Oracle WSM in a Clustered Environment:
http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10298/depovrvw.htm#BABEHJDI
We are not using a cluster though. We just want the gateway in the DMZ and the rest on the LAN. I keep getting the below error when accessing the WSDL after finising the setup.
Failed to read WSDL from http://wmsi001370.corp.wmdata.net:8888/gateway/services/SID0003007?wsdl: HTTP connection error code is 500Anybody got any ideas?
<b>Here is our setup</b>
- soaSuite server. Full SOA Suite + database
- gateway server. Full SOA Suite + OLITE
Step 1:
I have installed the full SOA Suite 10.1.3.1.0 on both the soaSuite and the gateway server and patched them to 10.1.3.3.0 with patchset 6148874.
Step 2:
On the soaSuite server I have undeployed the Gateway with wsmadmin undeploy gateway
Step 3:
On the gateway server I have undeployed the policymanager, monitor and control via
wsmadmin undeploy policymanager
wsmadmin undeploy monitor
wsmadmin undeploy control
Step 4:
On the soaSuite server I have registered a Gateway using a Component URL that points to the gateway server and made a not of the component id.
Step 5:
On the gateway server I have edited ORACLE_HOME/owsm/config/gateway/gateway-config-installer.properties. I filled in the component id and changed the policymanagerURL to point back to the soaSuite server
The I redeployed the gateway with wsmadmin deploy gateway
Step 6:
On the soaSuite server I register the Web Service to the Gateway and commits the changes.
Step 7:
Now everything should be ready and working but it is not :-(
Regards Pete

Hi,
How did you resolve this issue?
Kris

Similar Messages

  • Multiple OWSM Gateway's running against 1 Policy Server

    Is it a supported configuration to have multiple OWSM Gateways running against one policy server?
    Thanks,
    Michael

    It won't trash the applications (see http://java.sun.com/j2se/1.4.2/compatibility.html to get 100% proof). If you install a new version, this will be used by default (if you just use "java"). Of course you can still use other JREs / SDKs when you explicitely use the version ("c:\Programme\j2sdk1.4.2_04\bin\java").

  • Error When Sending Service Request Through OWSM Gateway

    We are trying to test using OWSM Gateways and Server Agents to sign and then verify messages being passed to a web service on a server. We have been able to get this to work with a simple HelloWorld type service without any problems. We then followed the exact same steps to do this with an actual service and it is not working.
    We run the test from the "Test Page" inside the ccore GUI. We first test the connection directly to the service and receive a message about it missing the WS Security header. This is somewhat expected. Then, we send through the gateway which is set up to sign the message and pass along the header and receive the same error message:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns="http://schemas.oblix.com/ws/2003/08/Faults"><faultcode xmlns="">:GenericFault</faultcode><faultstring xmlns="">WS-Security process failure:FAULT CODE: InvalidSecurity FAULT MESSAGE: Missing WS Security header in the SOAP message</faultstring><faultactor xmlns=""></faultactor></env:Fault></env:Body></env:Envelope>
    We have checked the OWSM logs and can see that both times the server agent receives the request. The gateway logs, however, do not show any requests or responses even though the message should have gone through it. We do see these messages in the logs when testing our HelloWorld service with the same sign/verify settings. A review of the gateway.log file shows the following message displayed each time we submit a test to the malfunctioning service:
    2007-10-18 10:30:22,263 INFO [AJPRequestHandler-HTTPThreadGroup-54] gateway.WSDLRegistry - Exception occured in updateWSDL
    We have until tomorrow to get this issue resolved before development presses to move forward without OWSM security and we cannot have that. Your immediate assistance is required. Thank you.

    Some additional research has been done here and it seems that web services created with SOAP 1.1 (such as the HelloWorld service) work just fine. The problem is with services created with SOAP 1.2. Are there separate configurations or changes that need to be made for SOAP 1.2 services?

  • OWSM GATEWAY PROBLEM .xsd error

    Hi,
    I am working on OWSM gateways.I deployed a mail web service and tried to virtualise it using OWSM gateways. I have registered the service . When i use the link for service wsdl generated by OWSM in internet explorer i can see the wsdl file but when do the same using test page in OWSM i get the following error.
    java.io.IOException: The document 'http://localhost:8888/gateway/services/alshirawiMail.xsd' contains HTML tags.
    Also i have only tried with web services but when i try to virtualise THE WHOLE BPEL PROCESS i get error like
    java.io.IOException: The document 'http://localhost:8888/gateway/services/rule_doesnot_work.xsd' contains HTML tags.
    Please reply.
    Thanks and regards.
    Vishnu
    Message was edited by:
    user607746

    Hi
    The problem with xsd resolved but now when i invoke the service from test page i am getting this error.
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">null
    <env:Body>
    <env:Fault
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>ORABPEL-08021 Cannot find partner wsdl. parnterLink "OWSM_SYNC_BPEL_PROCESS" is not found in process "OWSM_SYNC_BPEL_PROCESS" (revision "1.0") Please check the deployment descriptor of the process to find the correct partnerLink name. </faultstring>
    null</env:Fault>
    </env:Body>
    </env:Envelope>

  • Deploying SAPUI5 applications on SAP Gateway as the application server

    Hi,
    We are just trying to ramp up on Fiori architecture and utilizing SAP netweaver gateway in combination with SAPUI5 to build new generation user interfaces.
    Most of the demos and tutorials I see involve utilizing the SAP netweaver gateway as the oData services provider with the UI components hosted on a separate web server like Apache. Looking at Fiori apps, it looks like they utilize the SAP gateway as the web server itself, without having the need of a separate web server.
    Are there some instructions and guidelines for porting a SAPUI5  UI application (UI components) on to the SAP Netweaver gateway, similar to how Fiori does?
    thanks,
    Nitin

    Hi Neeta,
    You would need to consider additional factors to make that decision. Primary of which is what is the landscape being used by your customer. You have to consider things like how the users will access the app? What would be the security and authentication mechanism? Would you need reverse proxies or load balancing? Does the customer already have an existing infrastructure for web based applications which you should plug into?
    First off, I will assume you have a NW Gateway system in place for the services that are being used by the SAPUI5 app. If that is the case, then you can certainly deploy the UI app on the same server. The process described in the blog above would end up creating a BSP application, which can then be captured in a transport and moved to QA/Production.
    On the other hand, if your customer has already has an existing infrastructure for hosting and serving up Web based applications, you may want to leverage that existing infrastructure instead.
    You can get in touch with me if you would like to discuss further.
    thanks,
    Nitin

  • Unable to acess BPEL WSDL from OWSM Gateway

    Hello all,
    I'm trying to register a BPEL Process as a service on a OWSM gateway.
    The BPEL WSLD is as follows:
    <definitions name="WR01" targetNamespace="http://xmlns.oracle.com/WR01">

         <types>

         <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/WR01">

         <element name="WR01ProcessRequest">

         <complexType>

         <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>

         <element name="WR01ProcessResponse">

         <complexType>

         <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>

         <xsd:schema>
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/WR01" schemaLocation="WR01.xsd"/>
    </xsd:schema>
    </types>

         <message name="WR01RequestMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <message name="WR01ResponseMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <portType name="WR01">

         <operation name="process">
    <input message="tns:WR01RequestMessage"/>
    <output message="tns:WR01ResponseMessage"/>
    </operation>
    </portType>

         <binding name="WR01Binding" type="tns:WR01">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

         <operation name="process">
    <soap:operation style="document" soapAction="process"/>

         <input>
    <soap:body use="literal"/>
    </input>

         <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>

         <service name="WR01">

         <port name="WR01Port" binding="tns:WR01Binding">
    <soap:address location="http://dcmsinusapp02.dc.local:7780/orabpel/default/WR01/1.0"/>
    </port>
    </service>

         <plnk:partnerLinkType name="WR01">

         <plnk:role name="WR01Provider">
    <plnk:portType name="tns:WR01"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    The WSDL generated from the service registation on the gateway is as follows:
    <definitions name="WR01" targetNamespace="http://xmlns.oracle.com/WR01">

         <types>

         <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/WR01">

         <element name="WR01ProcessRequest">

         <complexType>

         <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>

         <element name="WR01ProcessResponse">

         <complexType>

         <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>

         <xsd:schema>
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/WR01" schemaLocation="WR01.xsd"/>
    </xsd:schema>
    </types>

         <message name="WR01RequestMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <message name="WR01ResponseMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <portType name="WR01">

         <operation name="process">
    <input message="tns:WR01RequestMessage"/>
    <output message="tns:WR01ResponseMessage"/>
    </operation>
    </portType>

         <binding name="WR01Binding" type="tns:WR01">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

         <operation name="process">
    <soap:operation style="document" soapAction="process"/>

         <input>
    <soap:body use="literal"/>
    </input>

         <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>

         <service name="WR01">

         <port name="WR01Port" binding="tns:WR01Binding">
    <soap:address location="http://dcmsinusapp02.dc.local:7780/gateway/services/SID0003002"/>
    </port>
    </service>

         <plnk:partnerLinkType name="WR01">

         <plnk:role name="WR01Provider">
    <plnk:portType name="tns:WR01"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    When i test the acess using OWSM console or try and consume it on JDeveloper I get the following error:
    java.io.IOException: The document 'http://dcmsinusapp02.dc.local:7780/gateway/services/WR01.xsd' contains HTML tags.
    Reason is:
    404 Not Found
    OracleJSP: java.io.FileNotFoundException:
    Set the init-param debug_mode to "true" to see the complete exception message
    This file not found exception is related to /gateway/services/WR01.xsd of course.
    I've mostly followed the OWSM documentation in order to register the service.
    Am I doing anything wrong referencing xsd's or something similar?
    Thanks in advance

    Answer to my own question:
    BPEL processes exposed via OWSM can't be used from JDEV ws proxy generator
    But the real question is: how do I prevent relative paths to xsd's on bpel wsdl?
    Any pointers?
    Thanks

  • Use Service URL from OWSM Gateway in Service Registry

    Hi,
    Is there a scenario in which the Service URL from the OWSM gateway is used in the UDDI registry?
    Eg:
    WebService <--------> OWSM Gateway <----------> OSR (UDDI)
    Any information on this is much appreciated
    Regards

    Hi Vikas,
    Well..you don't registrate a gateway in uddi.
    When you registrate a service in owsm, it will generate a new wsdl for you. This wsdl you just need to registrate in uddi just like any other service with wsdl-interface.
    So the authentication fields aren't in uddi configered either...those are just a policy step in owsm. Overthere you can decide how to propegate the values of username/password etc

  • Which database driver is required for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server

    Hi,
    i am trying to configure JDBC with weblogic. Can any one tell me which deriver needs to be selected for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server.
    if i use BEA oracle Driver (Type 4) version 9.0.1, 9.2.0,10,11,  i find error (see snap:2)
    Connection test failed.
    [BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: hdyhtc137540d<br/>weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)<br/>weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.connect(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseDriver.connect(Unknown Source)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)<br/>c om.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConn ectionConfiguration(CreateJDBCDataSource.java:369)<br/>sun.reflect.GeneratedMethodAccessor 826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...
    and
    when i use oracle's driver (thin) version 9.0.1, 9.2.0,10,11, i find error
    Connection test failed.
    Io exception: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:10 1)<br/>oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)<br/>oracle .jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)<br/>oracle.jdbc.drive r.DatabaseError.throwSqlException(DatabaseError.java:229)<br/>oracle.jdbc.driver.DatabaseE rror.throwSqlException(DatabaseError.java:458)<br/>oracle.jdbc.driver.T4CConnection.logon( T4CConnection.java:411)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnectio n.java:490)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)<br/>oracle .jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)<br/>oracle.jdbc. driver.OracleDriver.connect(OracleDriver.java:474)<br/>com.bea.console.utils.jdbc.JDBCUtil s.testConnection(JDBCUtils.java:505)<br/>com.bea.console.actions.jdbc.datasources.createjd bcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:36 9)<br/>sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...

    i am finding this error when i click on Test Configuration button to test the connection wth oracle DB

  • Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error

    Dear All,
    I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server).  When I try to test the dblink connection, I get the following error.
    I issued select * from dual@xyz;
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
    ORA-02063: preceding 2 lines from xyz
    28546. 0000 -  "connection initialization failed, probable Net8 admin error"
    My setup is the following.
    1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
    2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
    3. I use the same listener.ora file for both the db and the gateway.
    4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          #(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
    mssql =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=db.abc.com.tw)
          (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME=orcl)
    SID_LIST_mssql =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME=dg4msql)
          (ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
          (PROGRAM_NAME=/u01/gateway/bin/dg4msql)
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.abc.com.tw)
    dg4msql  =
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
        (CONNECT_DATA=(SID=dg4msql))
        (HS=OK)
    /u01/gateway/dg4msql/admin/initdg4msql.ora
    HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=255
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    dblink was created using statement below.
    CREATE DATABASE LINK "xyz.abc.COM.TW"
    CONNECT TO SA IDENTIFIED BY
    USING 'dg4msql';
    Couple more things, that I have done to check the work above.
    [oracle@db admin]$ ping 192.168.0.1
    PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
    64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
    64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
    ^C
    --- 192.168.0.1 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1818ms
    rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
    [oracle@db admin]$ tnsping dg4msql
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
    OK (0 msec)
    [oracle@db admin]$ lsnrctl status mssql
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     mssql
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                11-SEP-2013 10:09:46
    Uptime                    0 days 0 hr. 44 min. 37 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
      Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
    1. When installing the gateway, it asks to run the root.sh script.  the root.sh script as for the following.
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    is the above answer correct?
    Thanks for reading.

    Dear Klaus,
    I did start a new SQL*PLUS session
    The output of  /u01/gateway/bin/dg4msql is
    [oracle@db log]$ /u01/gateway/bin/dg4msql
    Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
    Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production  Built with
       Oracle Database Gateway for MSSQL
    The output of env is
    HOSTNAME=db.abc.com.tw
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    ORACLE_UNQNAME=orcl
    TMPDIR=/tmp
    QTDIR=/usr/lib64/qt-3.3
    QTINC=/usr/lib64/qt-3.3/include
    USER=oracle
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
    ORACLE_SID=orcl
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOSTNAME=db.abc.com.tw
    MAIL=/var/spool/mail/oracle
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
    PWD=/home/oracle
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    HISTCONTROL=ignoredups
    SHLVL=1
    HOME=/home/oracle
    TMP=/tmp
    LOGNAME=oracle
    QTLIB=/usr/lib64/qt-3.3/lib
    CVS_RSH=ssh
    CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    _=/bin/env

  • RollbackException using UserTransaction when calling EJB in separate server

    I'm using WL 6.1 on Solaris and am calling a stateless session EJB that
              is running in a separate server. I'm looking up the remote EJB using
              JNDI and calling through it's home interface. This works fine but if
              the client code begins a UserTransaction, then calls the EJB that's in
              the separate server, and then calls commit on the transaction, I get the
              following:
              weblogic.transaction.RollbackException: Aborting prepare because some
              resources could not be assigned - with nested exception:
              [javax.transaction.SystemException: Aborting prepare because some
              resources could not be assigned]
              The code that works looks like:
              rgData =
              HomeHolder.ROUTING_GUIDE_MGR_HOME.create().getResourceOptions(qd);
              whereas the code that fails is:
              UserTransaction transaction = new UserTransaction();
              transaction.begin();
              rgData =
              HomeHolder.ROUTING_GUIDE_MGR_HOME.create().getResourceOptions(qd);
              transaction.commit();
              If I put the EJB in the same server as the client, I don't get the
              exception so it seems to be related to running it in the separate server
              and using the UserTransaction. The deployment descriptor of the EJB
              states that it "Supports" transactions.
              Any ideas?
              Thanks,
              John
              

    Yes, actually we are using:
              AppServerTransaction transaction = new AppServerTransaction();
              which is a wrapper which does what you say:
              Context ctx = new InitialContext(...); // connect to another WLS
              UserTransaction tx = (UserTransaction)ctx.lookup("java:comp/UserTransaction");
              and our HomeHolder does what you say as well:
              Homexxx home = ctx.lookup(...);
              Any ideas why surrounding the EJB call by a UserTransaction causes a problem when
              committing?
              Thanks,
              John
              Dimitri Rakitine wrote:
              > John Hanna <[email protected]> wrote:
              > > I'm using WL 6.1 on Solaris and am calling a stateless session EJB that
              > > is running in a separate server. I'm looking up the remote EJB using
              > > JNDI and calling through it's home interface. This works fine but if
              > > the client code begins a UserTransaction, then calls the EJB that's in
              > > the separate server, and then calls commit on the transaction, I get the
              > > following:
              >
              > > weblogic.transaction.RollbackException: Aborting prepare because some
              > > resources could not be assigned - with nested exception:
              > > [javax.transaction.SystemException: Aborting prepare because some
              > > resources could not be assigned]
              >
              > > The code that works looks like:
              >
              > > rgData =
              > > HomeHolder.ROUTING_GUIDE_MGR_HOME.create().getResourceOptions(qd);
              >
              > > whereas the code that fails is:
              >
              > > UserTransaction transaction = new UserTransaction();
              >
              > It's an interface, how did this work? Assuming that you do not want
              > distributed tx, does this work:
              >
              > Context ctx = new InitialContext(...); // connect to another WLS
              > UserTransaction tx = (UserTransaction)ctx.lookup("java:comp/UserTransaction");
              > Homexxx home = ctx.lookup(...);
              > tx.begin();
              > home.create().getResourceOptions(qd);
              > tx.commit();
              >
              > ?
              >
              > > transaction.begin();
              > > rgData =
              > > HomeHolder.ROUTING_GUIDE_MGR_HOME.create().getResourceOptions(qd);
              > > transaction.commit();
              >
              > > If I put the EJB in the same server as the client, I don't get the
              > > exception so it seems to be related to running it in the separate server
              > > and using the UserTransaction. The deployment descriptor of the EJB
              > > states that it "Supports" transactions.
              >
              > > Any ideas?
              >
              > > Thanks,
              >
              > > John
              >
              > --
              > Dimitri
              

  • Oracle Gateway for MS SQL Server

    I have a oracle 10g database installed on Linux platform. I have installed oracle 11g gateways in the same system in a different location other than that of ORACLE_HOME.
    I have configured the initdg4msql.ora and configured the listener in the ORACLE_HOMEs listener.ora
    When I try to query the SQL Server table with the db link then I am getting the following error
    Error starting at line 1 in command:
    select * from dbo.jobs@testlink
    Error at Command Line:1 Column:23
    Error report:
    SQL Error: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
    ORA-02063: preceding 2 lines from TESTLINK
    the following is my initdg4msql.ora configuration:
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=sqlserv:1433//pubs
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    can anyone tell me where am I going wrong?

    the patch is not applied to 10g db. Here is the last few lines of the dg4msql trace file
    Entered hgocont at 2007/11/13-12:38:05
    HS_FDS_CONNECT_INFO = "sqlserv:1433//pubs"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2007/11/13-12:38:05
    dsn:sqlserv:1433//pubs, name:sa
    optn:
    Entered shgogohn at 2007/11/13-12:38:05
    Exiting shgogohn, rc=28500 at 2007/11/13-12:38:05
    Entered hgocont_OracleCsidToIANA at 2007/11/13-12:38:05
    Returning 3
    Exiting hgocont_OracleCsidToIANA at 2007/11/13-12:38:05
    ##>Connect Parameters (len=200)<##
    ## DRIVER=Oracle 11g dg4msql;
    ## Address=sqlserv,1433;
    ## Database=pubs;
    #! UID=sa;
    #! PWD=*
    ## AnsiNPW=Yes;
    ## QuotedId=Yes;
    ## IANAAppCodePage=3;
    ## ArraySize=100;
    ## PadVarbinary=0;
    ## SupportNumericPrecisionGreaterThan38=1;
    Exiting hgogenconstr, rc=0 at 2007/11/13-12:38:05
    Entered hgopoer at 2007/11/13-12:41:14
    hgopoer, line 159: got native error 0 and sqlstate HYT00; message follows...
    [Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
    Exiting hgopoer, rc=0 at 2007/11/13-12:41:14
    hgocont, line 1890: calling SqlDriverConnect got sqlstate HYT00
    Exiting hgocont, rc=28500 at 2007/11/13-12:41:14 with error ptr FILE:hgocont.c LINE:1910 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2007/11/13-12:41:14 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
    Entered hgoexit at 2007/11/13-12:41:14
    Exiting hgoexit, rc=0 at 2007/11/13-12:41:14

  • Oracle gateway for MS sql server 2005

    Is Oracle 9i Gateway for MS SQL Server compatible with SQL 2005? If not what are the other options?

    Check the support matrix at metalink.
    But be advised that Oracle 9i is in desupport mode.

  • Help Configuring Transparent Gateway for Ms Sql Server

    I have Installed Oracle 9.2.0.1.0 with Transparent Gateway for Ms Sql Server.
    Followed the configuration furnished therein the Documents for Tnsnames.ora & Listener.ora.
    Connection to Sql Server 2000 is NOT SUCCESSFUL. Trace File contents from Tg4sql is furnished below :
    Oracle Corporation --- WEDNESDAY DEC 18 2002 22:32:50.625
    Heterogeneous Agent Release
    9.2.0.1.0
    HS Agent diagnosed error on initial communication,
    probable cause is an error in network administration
    Network error 2: NCR-00002: NCR: Invalid usage
    Note :- Sql Server & Oracle Server are on the same Machine running of Windows 2000 Server.
    Am i missing something !!!
    TIA

    Please guide me, would appreciate your suggestions to solve this heck....
    TIA

  • Oracle Database Gateway for MS SQL server

    Hi,
    we have Oracle Database Appliance.
    OS: Oracle Linux 5 x64
    DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version)
    Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless HW load, energy waste.
    Enterprise manager console:
    http://81.89.49.222/em.JPG
    OS top:
    http://81.89.49.222/top.JPG
    Please can you help me how to solve this issue? How can I restart these procesess? Any ideas?
    Thank you
    Michal

    Hi,
    we are using connection to multiple MS SQL servers:
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initaqpdb01.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.18.250.141]://master
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initcosima.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.20.250.99]//COSIMA
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    # custom init parameters
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepos.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.18.250.41]:1433//epos
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    [oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepospasohlavky.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[172.31.250.41]/SQL2012/epos
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
    HS_NLS_LENGTH_SEMANTICS=CHAR
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
    dg4msl process, look at posted attachment (print screen of enterprise manager and top from OS).
    Thank you
    Michal

  • Oracle Transparent Gateway for MS SQL Server

    Hello,
    I successfully installed the Oracle transparent Gateway for MS SQL Server for Oracle 8i. Now I am doing the same for Oracle 9i.
    Does anyone know how to 'create a new gateway service' on 9i???
    This is how you would do that on 8i on the Windows box...
    1) At the MS-DOS prompt, enter:
    > set GTW_EXE=TG4MSQL.EXE
    2) To create a new gateway service name, enter:
    > GTWSRV73 sid -CREATE | MORE
    -where sid is the gateway sid.
    Does anyone know how to do those steps for 9i Oracle Transparent Gateway?
    Thank you.

    Hi
    I need oracle Tranparent Gateway for Microsoft Sqlserver (tg4msql) for oracle 10g on linux x86-64 bit. I have searched for it on otn.oracle.com and on edelivery.oracle.com. But couldn't find it.
    Can any one help me in this regard.
    Regards
    Nadir.

Maybe you are looking for

  • Can't Get Photostream To Work

    Just bought my second Apple TV to add in my house. I've got one already running and my photostream is working perfectly but for the life of me I can't get this new one to work with my photostream. I HAVE TRIED EVERYTHING! 1. RESET APPLE TV 2. POWER O

  • Tables for customer rebate

    Hi Gurus,                Could any1 tell me the Tables for customer rebate. I am using the T-Code VBO3. Regards, Ashok...

  • Display list of all phone Running the same application using wifi in c#

    someone help me  please  I want list all the devices connected in my application usin wifi

  • Unable to Import metadata into RPD

    Hi, I have installed OBIEE 111.1.1.6 on the sever and OBIEe client tools on my local desktop. now when i am trying to import metadata into my rpd by connecting to database it shows me the error "Unable to connect" can you please let me know if i am m

  • I want to make the switch from 5 iphone5 to pay the difference and how much?

    I want to make the switch from 5 iphone5 to pay the difference and how much??he's locked icloud already bought it so now I'm not using as too expensive and thought this possibility .... you guys can help me ... thank you for it helped