Weblogic leaves in-doubt transaction on Oracle when it fails

Hi,
I'm looking at resilience with our Weblogic (6.1sp2) and Oracle
(8.1.7) environment, and have been doing a few tests. We're using the
Oracle OCI (thick) driver, in "XA" mode (i.e. using the "Driver"
oracle.jdbc.xa.client.OracleXADataSource). We need to do this because
our application uses JMS/Message driven beans to intiate a lot of the
work, and any database activity that fails needs to be rolled back
together with the message and any other work. We don't "enable
two-phase commit" as shown on the TxDatasource config, so get real XA
behaviour, with JMS and the JDBC connection as the XA resources.
The problem is when/if Weblogic dies. As WLS is the transation
manager, if a transaction is in-flight at the time WLS fails the XA
resources need to take action. If the TM fails after the transaction
starts but before the prepare() calls, it seems as though things
generally work out; Oracle rolls back its transactions, and when WLS
is restarted, the JMS messages are recovered and re-delivered (after
the initial delay period of five minutes). The problem seems to be
when WLS dies between the prepare and the commit. In this case, Oracle
holds the various locks it needs to commit the transaction, and when
WLS is restarted it doesn't seem to inform the XA resources that the
transaction should be rolled back/abandoned. Until a DBA sorts out the
problem, any attempts to use the locked areas (e.g. anything that does
a table scan or uses specific rows) result in errors of the form:
ORA-01591: lock held by in-doubt distributed transaction 18.65.2221
This is sensible as far as Oracle's concerned - it doesn't know if any
other XA resources committed or rolled back their transactions.
However, I'd have expected WLS, as the TM, to have sent the necessary
instructions to Oracle once the transaction has been recovered.
Nothing in WL's logs implies it's trying to do anything with recovered
transactions.
I've managed to make this repeatable. I have a class which I can send
a JMS message to kill the server. This MDB calls
Runtime.getRuntime.halt(1) (to simulate a serious crash) either during
the transaction (in onMessage()) or registers its own "XA killer"
resource which calls halt(1) in the prepare(). In the latter case I
always get an in-doubt transaction.
Anyone else had this behaviour, and more importantly, know how to
resolve it?
James

Lou,
any information about the results of testing of the patch from oracle for 'in-doubt
transaction' problem?
Thanks
Sanjay
"Fei Luo" <[email protected]> wrote:
>
James,
Our support engineer is still testing the patch from Oracle. I
will keep you updated on this.
[email protected] (James Elson) wrote:
"Fei Luo" <[email protected]> wrote in message news:<3cee9c1c$[email protected]>...
Are you using Oracle817? Yes, we are.
There is a known Oracle817 bug that may be related to
your problem. You may try Oracle901.Ah. Such an upgrade would have major implications on our architecture.
Do you have any more information on this bug (a bug number etc)?
Would we have to upgrade the server, or just the clients?
James

Similar Messages

  • Weblogic 5.1, Distributed Transaction and Oracle Database Link

    We are planning to add a new functionality to run in Weblogic server and it
    needs to update tables in two different Oracle databases. Since we are using
    Weblogic 5.1 and it is unrealistic to upgrade to 6.1 in short term, we have
    to deal with the fact that distributed transaction is not supported by JTS
    on 5.1.
    One workaround we can think of is to utilize Oracle database link. Instead
    of having two connection pools, the application talks to only one database
    and access the tables on the other ones through Oracle database link.
    Therefore, when a session bean tries to update two tables on database 1 in
    one transaction, one of the tables is just a link to the other database. We
    hope that even though distributed transaction is not supported by JTS in
    Weblogic 5.1, but since it is supported by Orable, it would work.
    Do you think the above workaround would work? Does anyone have experience on
    something like that?
    Thanks in advance,
    David Chen
    [email protected]

    Hi. You should be able to use any JDBC driver with WebLogic 5.1.
    It may be the JVM that complains, if you use too old a JVM...
    Joe Weinstein at BEA Systems

  • Unable to rollback in-doubt transactions

    We are using Oracle 10g R2 on Linux platform. When I execute the below rollback statement, it executes successfully but the state of the transaction remains same i.e. prepared. Due to this, when we try to update some row in the table, "ORA-01591 lock held by in-doubt distributed transaction..." is thrown by sqlplus.
    ROLLBACK FORCE '10.10.36244821';
    Followings are the contents of DBA_2PC_PENDING
    LOCAL_TRAN_ID
    GLOBAL_TRAN_ID
    STATE
    MIXED
    FAIL_TIME
    RETRY_TIME
    OS_USER
    OS_TERMINAL
    HOST
    COMMIT#
    10.10.36244821
    1463898948.00000143D0D116E10000000C00003B1F001F318F7CB4CAB62B82A96CF3CE98C592462030
    prepared
    no
    01/27/2014 00:12:28
    01/28/2014 12:01:48
    was
    unknown
    rzyz.lj.et
    11201668706058
    Followings are the contents of DBA_2PC_NEIGHBORS
    LOCAL_TRAN_ID
    IN_OUT
    DATABASE
    DBUSER_OWNER
    INTERFACE
    DBID
    SESS#
    BRANCH
    10.10.36244821
    in
    jdbc_699
    xyz
    N
    jdbc_ttc_impl
    4.0000
    00000143D0D116E10000000C00003B1F001F318F7CB4CAB62B82A96CF3CE98C592462030000000010000000000000000000000000005
    10.10.36244821
    in
    jdbc_713
    xyz
    N
    jdbc_ttc_impl
    3.0000
    00000143D0D116E10000000C00003B1F001F318F7CB4CAB62B82A96CF3CE98C592462030000000010000000000000000000000000004
    10.10.36244821
    in
    jdbc_700
    xyz
    N
    jdbc_ttc_impl
    2.0000
    00000143D0D116E10000000C00003B1F001F318F7CB4CAB62B82A96CF3CE98C592462030000000010000000000000000000000000003
    10.10.36244821
    in
    jdbc_702
    xyz
    N
    jdbc_ttc_impl
    1.0000
    00000143D0D116E10000000C00003B1F001F318F7CB4CAB62B82A96CF3CE98C592462030000000010000000000000000000000000002
    We are using a JEE appliction (EJB) on IBM WebSphere that is generating ORA-01591 error in the log file when it runs the update statement against a table.

    See http://support.oracle.com:
    note 126069.1 "Manually Resolving In-Doubt Transactions"
    note 100664.1 - Master Note for Oracle managed distributed transactions

  • ORA-01591 Lock held by in doubt transaction

    We have this error
    ORA-01591 Lock held by in doubt transaction
    this error appear randomly when
    in the same transaction we use inser,delete or update sentence and a call to MS-MSMQ ( asynchronous transaction)
    (Oracle 9i 9.2.0.5, HP Itanium Unix)
    (Web application with .NET ODP Provider)
    thanks for your help

    Hi Vivek,
    This error is encountered by many DBA's and cause problem by locking the distributed transaction process, and not letting the query go through, because the Two - Phase Commit Mechanism got an error somewhere.
    he DBA should query the pending_trans$ and related tables, and attempt to repair network connection(s) to coordinator and commit point.
    Here are some codes to help you through the process:
    This one brings in-doubt transactions:
    select * from DBA_2PC_PENDING where state='prepared'
    This one prepares the rollback script for the transactions:
    select 'rollback force '''||local_tran_id||''';' from DBA_2PC_PENDING where state='prepared'
    All this is well described in below link
    ORA-01591: lock held by in-doubt distributed transaction
    ORA-01591: lock held by in-doubt distributed transaction string tips
    On BizTalk Side you need to make ambient transaction to false as Oracle does not go ahead with DTC Transaction with  Biz Talk
    Thanks
    Abhishek

  • ADF 11g application on Weblogic 10.3 + JDBC connection to Oracle XE

    Hello! i'm using Jdev 11g (not tp4) and i have Adf applicarion which uses BC4J, thereofre in jdev exists connection to DB.
    When i start my application in Jdev, it starts Weblogic and deploys my application. And all works fine!
    When i want to execute my Weblogic as standalone server, using Weblogic domain Administration console, i deploy my application as WAR archive
    before deploy, i've been created JDBC DataSource in Weblogic server, using Weblogic webinterface (connection test was OK)
    and now, when i start my application, entering application Url in internet explorer, i see that exception has ariced, her is the stack trace
    {color:#0000ff}&lt;17-Oct-2008 18:30:49 o'clock EEST&gt; &lt;Error&gt; &lt;HTTP&gt; &lt;xc002600109&gt; &lt;AdminServer&gt; &lt;ACTIVE ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;1224257449182&gt; &lt;BEA-101017&gt; &lt;[weblogic.servlet.internal.WebAppServletContext@1410e0d - appName: 'nano', name: 'nano.war', context-path: '/nano', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@8f5e03[
    GET /nano/faces/untitled3.jsp?_adf.ctrl-state=1797442774_7 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: oracle.uix=0^^GMT+3:00; JSESSIONID=wShvL4vT9h40V7TSNH9D84p3v4h48S992vJyWK6p0hnWflfZVpc2!652912999; ADMINCONSOLESESSION=r440L4XpGDJhhX3G1slmFdSzV3xSH51xGzhy912nTnpP2Zv1yVrQ!652912999
    Pragma: no-cache
    Cache-Control: no-cache
    ]] Root cause of ServletException.
    java.lang.NullPointerException
    at oracle.adf.model.bc4j.DCJboDataControl.findVariable(DCJboDataControl.java:2934)
    at oracle.adf.model.binding.DCVariableImpl.resolveSourceVariable(DCVariableImpl.java:69)
    at oracle.adf.model.binding.DCVariableImpl.getVariableKind(DCVariableImpl.java:162)
    at oracle.jbo.common.VariableManagerImpl.doGetVariables(VariableManagerImpl.java:125)
    at oracle.jbo.common.VariableManagerImpl.getVariablesOfKind(VariableManagerImpl.java:259)
    at oracle.jbo.common.VariableManagerImpl.getVariables(VariableManagerImpl.java:253)
    at oracle.jbo.common.VariableValueManagerImpl.doPassivateVariables(VariableValueManagerImpl.java:499)
    at oracle.jbo.common.VariableValueManagerImpl.getPassivatableVariables(VariableValueManagerImpl.java:439)
    at oracle.adf.model.binding.DCBindingContainer.buildFormToken(DCBindingContainer.java:4523)
    at oracle.adf.model.binding.DCBindingContainerState.buildStringBuffer(DCBindingContainerState.java:56)
    at oracle.adf.model.binding.DCBindingContainerState.toString(DCBindingContainerState.java:590)
    at oracle.adf.model.binding.DCBindingContainer.getStateToken(DCBindingContainer.java:4293)
    at oracle.adfinternal.controller.application.model.SaveStateTokenListener.afterPhase(SaveStateTokenListener.java:54)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:122)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:68)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    {color:#000000}i have learned about deployment descriptors and i have made additional files and changed web.xml file:
    {color:#ff0000}web.xml:
    {color:#000000}....{color}
    {color} &lt;resource-ref&gt;
    &lt;description&gt;Nano Datasource&lt;/description&gt;
    &lt;res-ref-name&gt;Nano_DB_connection&lt;/res-ref-name&gt;
    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
    &lt;res-auth&gt;Container&lt;/res-auth&gt;
    &lt;/resource-ref&gt;
    {color:#ff0000}weblogic.xml:{color}
    &lt;?xml version = '1.0' encoding = 'windows-1252'?&gt;
    &lt;weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"&gt;
    &lt;resource-description&gt;
    &lt;res-ref-name&gt;Nano_DB_connection&lt;/res-ref-name&gt;
    &lt;jndi-name&gt;Nano_DB_connection&lt;/jndi-name&gt;
    &lt;/resource-description&gt;
    &lt;/weblogic-web-app&gt;
    {color:#ff0000}weblogic-jdbc.xml:{color}
    &lt;?xml version = '1.0' encoding = 'windows-1252'?&gt;
    &lt;jdbc-data-source xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jdbc.xsd" xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source"&gt;
    &lt;name&gt;Nano_DB_connection&lt;/name&gt;
    &lt;jdbc-driver-params&gt;
    &lt;url&gt;10.5.25.169&lt;/url&gt;
    &lt;driver-name&gt;oracle.jdbc.OracleDriver&lt;/driver-name&gt;
    &lt;properties&gt;
    &lt;property&gt;
    &lt;name&gt;user&lt;/name&gt;
    &lt;value&gt;chaosdb&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
    &lt;name&gt;servername&lt;/name&gt;
    &lt;value&gt;10.5.25.169&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
    &lt;name&gt;portnumber&lt;/name&gt;
    &lt;value&gt;1521&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
    &lt;name&gt;sid&lt;/name&gt;
    &lt;value&gt;XE&lt;/value&gt;
    &lt;/property&gt;
    &lt;/properties&gt;
    &lt;/jdbc-driver-params&gt;
    &lt;jdbc-data-source-params&gt;
    &lt;jndi-name&gt;Nano_DB_connection&lt;/jndi-name&gt;
    &lt;scope&gt;Application&lt;/scope&gt;
    &lt;/jdbc-data-source-params&gt;
    &lt;/jdbc-data-source&gt;
    in BC4J project Model.jpx tells that bc4j uses connection named Nano_DB_connection.
    in Weblogic datasource name is the same
    Question: how to bind my application in weblogic to existed connection/datasource in weblogic?
    how Jdev deploys and configures Weblogic server, that it works fine, but when i start THE SAME server manually, deploy application using JDEV the application execution failed (see above exception)
    maybe i should use EAR profile instead of WAR, to deploy all connections and other stuff to weblogic?
    {color:#ff0000}please help!!!{color}
    {color}{color}

    Hi,
    Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
    Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
    Hope this helps
    Blaise

  • Question on Lock in In-Doubt Transaction

    Dear All,
    Could you kindly explain me why distributed transaction imposes a lock on read also with write? During Read, Select statement also uses rollback segment.
    But in the document “Oracle9i - Database Administrator’s Guide Release 2 (9.2) - March 2002 Part No. A96521-01” at page 31-16, it has been written that
    “the data is locked for both reads and writes. Oracle blocks reads because it cannot determine which version of the data to display for a query.”
    So could we come to a conclusion that distributed transaction does not use rollback segment.
    But at page 31-18, under manual resolution of In-Doubt Transaction, the first point is that the in-doubt transaction has locks on critical data or rollback segment.
    Therefore, rollback segment is using during distributed transaction. So why does Oracle impose a lock on READ the data?
    Regards,
    Student

    Redo logs are effectively write-only under normal circumstances. The database NEVER goes back to read the redo log unless it is in crash recovery mode.
    Therefore, even though the information has been recorded in the online redo log, that information can not be used to roll back a failed in-doubt transaction. The rollback information MUST come from the rollback segment or from some other online location.
    (I am not taking this as an argument - it's helping me as well.)

  • How to create an in-doubt transaction?

    I need to create/force an MSDTC in-doubt distributed transaction to verify that they are resolved automatically. The code successfully participates in the transaction via OraMTSSvcGet and OraMTSSvcEnlist and works as expected. I have tried creating in-doubt transactions via constraint violations, table locking, killing the application, killing the Oracle session, etc. but can't force an error between the first and second phase of the commit( which I think is the trick). Any ideas?
    Message was edited by:
    jgbell

    If your site is dynamically populated with content from server-side databases, it's not hard.
    If your site is static, a 3rd party search function might be a better choice until you're ready to build a dynamic site.
    Zoom search engine
    http://www.wrensoft.com/zoom/
    Freefind
    http://www.freefind.com/
    Setting up a PHP environment in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    Building your first dynamic website – Part 1: Setting up your site and database connection
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • In Doubt transactions

    In Oracle, how do you find out if there are any in doubt transactions
    In DB2, its
    DB2>LIST INDOUBT TRANSACTIONS
    How would you do this in Oracle ?

    desc dba_2pc_pending
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/ds_txnman003.htm
    SELECT local_tran_id, global_tran_id, state, mixed, advice, tran_comment FROM dba_2pc_pending;

  • RECO何时清理in-doubt transaction

    关于in-doubt transaction清理,管理员手册说到:
    The RECO background process of an Oracle Database instance automatically resolves failures involving distributed transactions. At exponentially growing time intervals, the RECO background process of a node attempts to recover the local portion of an in-doubt distributed transaction.
    那么这个exponentially growing time intervals如何算法,RECO到底等多久才会出来“大扫除”呢?
    如果,没有发生1591之类的报错,是不是可以不必理会,死等RECO出来干活儿呢?
    昨天遭遇了in-doubt transaction事件,由于某个DB达到最大会话数引起,在恢复正常后,至少两个小时内,pending事物还没有被自动清理,后来手工rollback force处理的。
    并且观察到,在手工干预之后又过了几十分钟,dba_2pc_pending中的rollback force记录确实被自动清理掉了,
    故有此问

    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> set linesize 200
    SQL> set pagesize 1400
    SQL> SELECT x.ksppinm NAME,y.ksppstvl VALUE, x.ksppdesc describ
      2   FROM SYS.x$ksppi x, SYS.x$ksppcv y
      3   WHERE x.inst_id = USERENV ('Instance')
      4   AND y.inst_id = USERENV ('Instance')
      5   AND x.indx = y.indx
      6  AND x.ksppinm like '%distributed%';
    NAME                           VALUE      DESCRIB
    distributed_lock_timeout       60         number of seconds a distributed transaction waits for a lock
    _distributed_recovery_connection_hold_time 200        number of seconds RECO holds outbound connections open
    distributedrecovery_connection_hold_time 隐藏参数默认为200s, 控制了Oracle会允许一个失败的事务连接持续打开, 该参数最大可以设置为4,294,967,295s, 但是RECO进程仍会每30分钟会唤醒一次并处理失败的分布式事务。 默认值200一般是建议的, 不需要额外修改。
    注意分布式事务 会让数据库不稳定, 分布式事务是方便的 ,但是分布式事务是罪恶的(evils)
    *<font color="red" size="2" face="courier">如果觉得本回复有意义,请点击本条回复右手边的Correct按钮,谢谢!</font>*
    如何在OTN中文技术论坛提一个问题?
    论坛礼仪需知及学习oracle的方法论
    Maclean Liu
    Oracle Database Administrator
    Oracle Certified 10g/11g Master     
    www.askmaclean.com

  • How to use java source in Oracle when select by sqlplus.

    How to use java source in Oracle when select by sqlplus.
    I can create java source in Oracle
    import java.util.*;
    import java.sql.*;
    import java.util.Date;
    public class TimeDate
         public static void main(String[] args)
    public String setDate(int i){
    GregorianCalendar calendar = new GregorianCalendar();
    calendar.setTime(new Date((long)i*1000));
    System.out.println("Dateline: "
    + calendar.get(Calendar.HOUR_OF_DAY) + ":"
    + calendar.get(Calendar.MINUTE) + ":"
    + calendar.get(Calendar.SECOND) + "-"
    + calendar.get(Calendar.YEAR) + "/"
    + (calendar.get(Calendar.MONTH) + 1) + "/"
    + calendar.get(Calendar.DATE));
    String n = calendar.get(Calendar.YEAR) + "/" + (calendar.get(Calendar.MONTH) + 1) + "/" + calendar.get(Calendar.DATE);
         System.out.print(n);
         return n;
    I have table name TEST
    ID DATE_IN
    1 942685200
    2 952448400
    When I write jsp I use method setDate in class TimeDate
    The result is
    ID DATE_IN
    1 1999/11/16
    2 2003/7/25
    Thanks you very much.

    It is unclear where you are having a problem.  Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
    Also be aware that you will need to sign your jar and include some new manifest entries.  Refer to the Java 7u51 documentation and blogs that discuss the changes.
    https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html

  • ORA-00164 Autonomous and Distributed Transactions in Oracle 8i - Forms6i

    Hi, in Forms6i I'm using Autonomous transactions (insert and update), and I want to use also a database link to make a query in a remote database (Distributed transaction). Even when this request are done in different PL/SQL within Forms6i, I get the error message ORA-00164 Distributed transactions disallowed within autonomous transactions. Is there a way to avoid this error message?
    Thanx

    Hello,
    I had a similar Problem, when I tried to log errormessages while selecting by db-link.
    I use pipes now to send the errormessages. The pipe is read at regular intervals and then I can Insert without using autonomous transactions.
    I hope, this will help you
    Marcus

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Leave CD/DVD in Xserve drive when case is locked

    Hi,
    is there a way to leave a CD in the Xserve G5 DP 2,3 when the enclosure is locked. I can unlock it und then put a CD in the drive. When the CD is mounted i can lock the Xserve - the Disc is still accessible and stays in the drive. Good so far.
    But when i restart the Xserve the CD will be ejected. I think the OpenFirmware is doing this security job. I have to lock down the server. I am looking for a setting like
    LEAVE CD/DVD IN XSERVE DRIVE WHEN ENCLOSURE IS LOCKED.
    Maybe there´s a hidden switch in a preference or xml file for this purpose.
    Otherwise this is a feature request for apple.
    For Keyboard and mouse usuage when case is locked there´s a checkbox in system preference under the security menu.
    Kind regards,
    Bjoern

    Hi Apple4Ever556: The CD/DVD needs to be pushed gently, approx 75% - 80% into the slot before the mechanism will engage and pull it into the drive.
    Stedman

  • In dialog programming i want to leave the current transaction

    Hi,
    In dialog programming i want to leave the current transaction and come out to the standard   sap initial screen.
    Please advise me how can i apply.
    Thanks.

    Basic question, please search before posting.
    Thread locked.
    Thomas

  • Oracle WebLogic Portal 10.3.6 Vs. Oracle Portal 11g

    I have a basic question on the latest release. We have BEA (now Oracle) WebLogic Portal 9.2 and need to upgrade. Should we upgrade to Oracle WebLogic Portal 10.3.6 OR  Oracle Portal 11g? Am I comparing the two correctly?
    Thanks,
    Channu

    WebLogic Portal 10.3.6 is the last version of WLP, you can upgrade your application from 9.2 to 10.3.6 with tools provided by Oracle.
    Oracle Portal 11g is a complete different product.

Maybe you are looking for

  • HELP in Generating XML(PLz help its urgent)

    Hi,I need to generate XML FIle.Since i m new to XML. I had toregister the valid schema in my DB now i want to generate the XML file and with the refernce to this schema that xml file should be validated one against that schema. things i hav done till

  • Character encoding in SAXParser

    I'm doing some XML work and have a bunch of documents which are all UTF-8 encoded (stating so in their declarations). I'm writing a servlet which indexes the documents and produces a single XML document as a result. ATM, all the character references

  • Address Book ulContacts don't appear in iTunes

    I just went to sync my original iPhone via iTunes and just discovered that my address book contacts don't appear in iTunes. My address book is fine and all of my groups appear. Anyone have any helpful hints to get them to reappear?

  • How to use the WDA Shuttle?

    A new element in 7.1 is the shuttle which allows one to move items between two lists. We have no documentation for this element and no idea how it may be used. Can anyone explain how to populate the lists?

  • ICloud threaten delete stored MacBook documents

    I would like to "shut down". iCloud is in the middle of my screen. When I touch "Sign Out" it gives me a message "If you turn off iCloud Drive, all documents stored in the iCloud will be deleted from this Mac." Any ideas?