Problem executing  J2ME project (Netbeans 5.0)

After being away from Netbeans for a couple of months I returned back only to find that it now is impossible to execute J2ME projects :-(
I get error message "Execution failed with error code 1" shen the IDE tries to start the emulator.
I tried to remove and reinstall Netbeans 5.0 and NetbEans Mobility Pack to no avail.
This is true on two of my computers. But on a third host with newly installed Windows XP and Netbeans etc it works flawlessly.
Can someone out there give me a hint?
/j

Problem solved. I got a hint from http://www.netbeans.org/kb/articles/fix-toolkit-installation.html which directed me towards emulator.bat. Search found it in .ntebeans directory under my user in Documents and Settings. By removing the whole .netbeans directory, I got a clean fresh IDE where everything works as it should.
/j

Similar Messages

  • Problem executing RMI Methods Netbeans

    Hi everyone!
    I�m using a system Servlet+applet that communicate by RMI with Netbeans.
    The remote object, the stub and the binding are correctly created at the servlet. At the applet the reference to the remote object is ok too.
    The problem appears when I invoke a method in the remote object from the applet.
    The message the Java console throws:
    RemoteException  en soloEscribe()
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.100:1079 connect,resolve)
    soloEscribe() is the method in the remote object.
    I�m running everything locally, and I have granted allPermissions at the java.policy.
    Hope someone can help!
    Edited by: SnowyC on May 18, 2008 11:31 AM

    and one more thing I added following lines
    Context rootContext=(Context)initialNamingContext.lookup("");
    System.out.println("The Look up suceeded");
    to see whether it is able to look up the root context or not.
    I saw that it is suceeded in finding the root context and print the message also , but again failed to rebind the object .thrwing following exception
    java -classpath . -Djava.naming.factory.ini
    tial=com.sun.jndi.cosnaming.CNCtxFactory -Djava.naming.provider.url=iiop://local
    host:1050 Registry
    Inside Constructor
    The Look up suceeded
    java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can b
    e bound
    at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(Unknown Source)
    at com.sun.jndi.cosnaming.CNCtx.rebind(Unknown Source)
    at com.sun.jndi.cosnaming.CNCtx.rebind(Unknown Source)
    at javax.naming.InitialContext.rebind(Unknown Source)
    at Registry.main(Registry.java:30

  • Hi Help me in executing My Project

    Hi all,
    I'm a BTECH student. I'm currently doing my project and had some problem during execution...
    My SYStem Configuration:
    OS: Windows 2000 server..
    For Project Purpose I Installed in my System:
    JDK 1.5
    Tomcat 5.0 and
    Oracle 9i..
    I can't run the project.I would like know from u all whether I can run my Project (JAVA PROJECT) on a single system with all jdk, tomacat , and Oracle 9i installed on a single system.....
    Here are the problems I faced during my project execution:
    1: I'm receving severe errors in the tomcat open console saying that the port 8080 is already in use...Then I changed the port no 8081.. After I chnged my port everthing is ok... But while executing the project i recieved the following error...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.Validate_jsp._jspService(Validate_jsp.java:149)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note The full stack trace of the root cause is available in the Tomcat logs
    2.. Here is my JSP which allows databse connectivity
    <%@ page import="java.sql.*" %>
    <%!
                        Connection Con=null;
                        Statement St=null ;
    %>
    <%
    String driver="oracle.jdbc.driver.OracleDriver";
    String url="jdbc:oracle:thin:@nit15:1521:project";
    String user="trading";
    String pwd="trading";
    try
    Class.forName(driver);
    Con=DriverManager.getConnection(url,user,pwd);
         St=Con.createStatement();
              System.out.println("Connection is established");
    catch(Exception e)
              System.out.println(e);
              out.println("Connection is not Established ... ");
    %>
    I think i had problem with the following line...
    String url="jdbc:oracle:thin:@nit15:1521:project";
    since i'm running the whole project on a single system
    I replaced nit15 with localhost---- is this right... I thhink i shuld write here my system name how can find my system name or machine name
    I left 1521 as it is...
    then finally i replaced project with ora which is DSN name i created...
    Can any one help me out from this...Please give me ur mail id's so that i can have a chat with with u friends... plzzz help me.. plzz share ur knowledge with me.. plzzz.. my id is [email protected]..

    Well for one thing you seem to have multiple Tomcat instances running. This may or may not be contributing to your problems and confusion.
    Also I don't see where your code could be throwing a null pointer exception.
    To be honest I think you should first investigate how many Tomcat instances you have running and clean that up first. Because you could well be deploying to the wrong instance for all we know.

  • How to create j2me project using jump developer desktop

    Hi,
    iam not understanding how to launch sun emulator when i execute
    my j2me project in jump developer desktop,
    and it asks for the main() function to execute,
    and i write main() the control stops in main() and
    the control doesn`t go to startApp().........
    can any one plz help me to come out of this????
    Thanks
    Mraj

    Sanjay,
    You might get more help on the XML forum: General XML
    Jim P.

  • Problems with JDK and NetBeans

    Hi, I've just started to learn java and I'm having some problems to compile projects. I installed JDK 1.5.0 (with NetBeans 4.0 beta 2), but when I try to compile any program (including the sample ones) I get the following error message:
    C:\Documents and Settings\F�bio\JavaApplication2\nbproject\build-impl.xml:34: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
    Anyone knows what might be happening?
    By the way, I've already tried to reinstall the whole package (removing everything first), but it didn't help. Also, before installing this version I was using JDK 1.4.2 just fine, but now none will work .
    Thanks in advance

    I'll try that!
    By the way, I tried commenting out that line in the xml file and it worked! Still I have to do this to every new project I create, but it's a work-around =D
    Thanks for your help

  • How execute java project in DOS6.22 ?

    How execute java project in Dos6.22 ?
    if it possible
    thanks,
    Betzalel

    You might have problems with file name like *.java and *.class.
    As if I had heard about some JVM for 16-bit Windows (the next best thing to DOS ;-) written by IBM.

  • HOW TO EMBED J2ME INTO NETBEAN?

    I CANT USE J2ME WHEN IM IN NETBEANS .HOW DO I INSTALL J2ME INSIDE NETBEANS?

    U can set up netbeans mobility pack at this link
    http://www.netbeans.org/products/mobility/
    then U can found when U create new project at netbeans
    Mobile application
    yours
    Mohammed Thabet
    4th year-FCI-Helwan Univ -Cairo-Egypt

  • Load j2me project in eclipse

    Can anyone show me how to load a j2me project in eclipse, for example load a demo project in WLK folder? It seems to me that I am just able to load projects created by eclipse.
    Thanks in advance!

    I suggest that you use netbeans. Can you create a new J2ME project in eclipse?
    To run J2ME, you may need J2ME Toolkits too.

  • The timesheet creation failed, because of problems with the project I server or with data validation

    Hi,
    One of my user is facing issue in creating new time sheet,
    "The time sheet creation failed, because of problems with the project server or with data validations".
    This issue is coming to only few members out of 10000 members.
    Note: For the same user, can able to do in other machines. only the problem in his machine. Have ran the office diagnostics, but still the problem persists.
    Is any add-on's/any settings need to update in IE. Could any one please help me on how to fix this issue?
    Many thanks in advance.

    I would check the compatibility settings in IE etc, or try another browser (chrome, safari etc.)
    Ben Howard [MVP] | web |
    blog | book

  • Problem executing function

    Hi All,
    I have a problem executing a function in oracle 10g.
    I am getting an error while executing ....
    Here is a function along with the error i am getting:
    create or replace FUNCTION UnpackArray
    Source IN VARCHAR2 DEFAULT NULL,
    Delimiter IN CHAR DEFAULT ','
    RETURN reSourceArray0 PIPELINED
    IS
    SourceArray00 SourceArray0:=SourceArray0(NULL);
    TYPE REFCURSOR IS REF CURSOR;
    CURSOR0 REFCURSOR;
    DelLen int;
    Pos int;
    Cnt int;
    str int;
    LEN int;
    Holder VARCHAR2(220);
    BEGIN
    --Check for NULL
    IF Source is null or Delimiter is null THEN
    Return;
    END IF;
    --Check for at leat one entry
    IF RTRIM(LTRIM(Source)) = '' THEN
    Return;
    END IF;
    /*Get the length of the delimeter*/
    SELECT LENGTH(RTRIM(Delimiter)) INTO DelLen FROM DUAL;
    SELECT INSTR(UPPER(Source), UPPER(Delimiter)) INTO Pos FROM DUAL;
    --Only one entry was found
    IF Pos = 0 THEN
    BEGIN
    INSERT INTO UnpackArray_TBL
    ( Data )
    VALUES ( Source );
    return;
    OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
    END;
    END IF;
    /*More than one entry was found - loop to get all of them*/
    SELECT 1 INTO str FROM DUAL;
    << LABEL4 >>
    WHILE Pos > 0
    LOOP
    BEGIN
    /*Set current entry*/
    SELECT Pos - str INTO len FROM DUAL;
    SELECT SUBSTR(Source, str, len) INTO Holder FROM DUAL;
    /* Update array and counter*/
    /* Update array and counter*/
    INSERT INTO UnpackArray_TBL
    VALUES ( Holder );
    /*Set the new strting position*/
    SELECT Pos + DelLen INTO str FROM DUAL;
    SELECT INSTR(UPPER(Source), UPPER(Delimiter), str) INTO Pos FROM DUAL;
    OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
    END;
    END LOOP;
    /*Set last entry*/
    SELECT SUBSTR(Source, str, length(RTRIM(Source))) INTO Holder FROM DUAL;
    -- Update array and counter if necessary
    IF length(RTRIM(Holder)) > 0 THEN
    INSERT INTO UnpackArray_TBL
    VALUES ( Holder );
    OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
    END IF;
    --Return the number of entries found
    Return; LOOP
    FETCH CURSOR0 INTO
    SourceArray00.Data;
    EXIT WHEN CURSOR0%NOTFOUND;
    PIPE ROW(SourceArray00);
    END LOOP;
    CLOSE CURSOR0;
    RETURN;
    END;
    Error is : Compilation failed,line 6 (12:13:25)
    PLS-00201: identifier 'RESOURCEARRAY0' must be declared
    Compilation failed,line 0 (12:13:25)
    PL/SQL: Compilation unit analysis terminated
    Regards,
    Smiley

    Hi,
    I have a problem executing this function. Pls help me solve this issue.
    ---------------------------------Function---------------------------------
    BEGIN
    EXECUTE IMMEDIATE 'DROP TYPE reSourceArray0';
    EXECUTE IMMEDIATE 'DROP TYPE SourceArray0';
    EXCEPTION WHEN OTHERS THEN NULL;
    END;
    CREATE OR REPLACE TYPE SourceArray0 AS OBJECT(Data VARCHAR2(255));
    CREATE OR REPLACE TYPE reSourceArray0 AS TABLE OF SourceArray0;
    BEGIN
    EXECUTE IMMEDIATE 'DROP TABLE UnpackArray_TBL CASCADE CONSTRAINTS';
    EXCEPTION WHEN OTHERS THEN NULL;
    END;
    CREATE GLOBAL TEMPORARY TABLE UnpackArray_TBL(Data VARCHAR2(255)) ON COMMIT PRESERVE ROWS
    CREATE OR REPLACE FUNCTION UnpackArray
    Source IN VARCHAR2 DEFAULT NULL,
    Delimiter IN CHAR DEFAULT ','
    RETURN reSourceArray0 PIPELINED
    IS
    SourceArray00 SourceArray0:=SourceArray0(NULL);
    TYPE REFCURSOR IS REF CURSOR;
    CURSOR0 REFCURSOR;
    DelLen int;
    Pos int;
    COUNT_ADV int;
    START_ADV int;
    LENGTH_ADV int;
    Holder VARCHAR2(255);
    BEGIN
    --Check for NULL
    IF Source is null or Delimiter is null THEN
    Return;
    END IF;
    --Check for at leat one entry
    IF RTRIM(LTRIM(Source)) = '' THEN
    Return;
    END IF;
    /*Get the length of the delimeter*/
    SELECT LENGTH(RTRIM(Delimiter)) INTO DelLen FROM DUAL;
    SELECT INSTR(UPPER(Source), UPPER(Delimiter)) INTO Pos FROM DUAL;
    --Only one entry was found
    IF Pos = 0 THEN
    BEGIN
    INSERT INTO UnpackArray_TBL
    ( Data )
    VALUES ( Source );
    return;
    OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
    END;
    END IF;
    /*More than one entry was found - loop to get all of them*/
    SELECT 1 INTO START_ADV FROM DUAL;
    << LABEL4 >>
    WHILE Pos > 0
    LOOP
    BEGIN
    /*Set current entry*/
    SELECT Pos - START_ADV INTO LENGTH_ADV FROM DUAL;
    SELECT SUBSTR(Source, start_, length) INTO Holder FROM DUAL;
    /* Update array and counter*/
    /* Update array and counter*/
    INSERT INTO UnpackArray_TBL
    VALUES ( Holder );
    /*Set the new starting position*/
    SELECT Pos + DelLen INTO START_ADV FROM DUAL;
    SELECT INSTR(UPPER(Source), UPPER(Delimiter), START_ADV) INTO Pos FROM DUAL;
    OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
    END;
    END LOOP;
    /*Set last entry*/
    SELECT SUBSTR(Source, start_, LENGTH(RTRIM(Source))) INTO Holder FROM DUAL;
    -- Update array and counter if necessary
    IF LENGTH(RTRIM(Holder)) > 0 THEN
    INSERT INTO UnpackArray_TBL
    VALUES ( Holder );
    OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
    END IF;
    --Return the number of entries found
    Return; LOOP
    FETCH CURSOR0 INTO
    SourceArray00.Data;
    EXIT WHEN CURSOR0%NOTFOUND;
    PIPE ROW(SourceArray00);
    END LOOP;
    CLOSE CURSOR0;
    RETURN;
    END;
    --------------------------------Error i am getting--------------------------
    "Parameter 'RETURN_VALUE': No size set for variable length data type: String."
    Thanks and Regards,
    Smiley

  • I have problem in my project, please Help me, urgent

    have problem in my project.
    When i start using project, i recive a errore in flash player
    if it possible troubleshooted for me
    Problem file

    The problem is that you have left paper on the floor near the
    wastebasket.
    Please you have to do a little of the work yourself.
    First, post a topic that has a title regarding your problem.
    That way people who know about that problem will be more likely to
    take a look.
    Second, don't just say you have a problem and receive and
    error. Shay what kind of problem and tell us what the error says.
    Third. Most people won't download a file from any random
    stranger off the net. So don't expect that is going to explain it.
    Fourth, even if the file does explain it, why should a
    stranger have to do all the steps that you should have done?
    Fifth, do a little work yourself, what have you tried to fix
    it?
    Sixth. Just because it is urgent to you doesn't mean it is
    urgent to everybody else.
    So try some of these things and post back.

  • Problem when Creating Project (Composite Application Services) in NWDS

    I've seen a few posts regarding this but I don't feel as if any real solution was given.
    I just installed Netweaver Developer Studio (7.0.15) with the current JDK/JRE (1.6.0_07).  When trying to create a new Composite Application Services project within the Studio, using the new project wizard, I get an error: Problem when Creating Project.
    I get the EJB Module and Dictionary to create within my navigator with no problems, however, during the creation of the metadata, the error occurs.  I do have the metadata folder appear within the navigator, but nothing in it.  None of the other three items are created.
    I have tried the attempt at deleting the metadata folder within my workspace directory and trying again but the same exact result occurs.
    Is there any other solution out there for this problem besides attempting to find older versions of NWDS, etc. that are more "stable"?
    Thank you!

    Durga,
    Very simple but effective solution.
    I had tried uninstalling / re-installing NWDS with no effect but uninstalling / re-installing NWDS AND all java related products on my machine did work.
    Note: For anyone else with this issue in the future.  I installed the Java SDK / JRE 1.4.2_18 with NWDS 7.0.15 in case this is also a possible issue with versions.
    Thanks, Durga!

  • Last problem in my project!!

    i've intend to open this 'Receipt.class' by clicking button from other class file called 'Main.class'
    Normally we used this statement "Receipt open = new Receipt();" to open,
    but what if the class file is like that??
    Please help me even giving me the clues!! please.. this is my last problem in my project!!!
    import java.awt.geom.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.print.PrinterJob;
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.print.*;
    public class Receipt extends JPanel implements Printable, ActionListener {
    final static JButton button = new JButton("Print");
    public Receipt() {
         setBackground(Color.white);
    button.addActionListener(this);
    init();
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() instanceof JButton) {  
    PrinterJob printJob = PrinterJob.getPrinterJob();
    printJob.setPrintable(this);
    if (printJob.printDialog()) {
    try {
    printJob.print();
    catch (Exception ex) {
    ex.printStackTrace();
    public void paintComponent(Graphics g) {
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D) g;
         drawShapes(g2);
    public void drawShapes(Graphics2D g2){
    g2.drawString("Hello world",50,50);
    public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
    if (pi >= 1) {
    return Printable.NO_SUCH_PAGE;
         drawShapes((Graphics2D) g);
    return Printable.PAGE_EXISTS;
    public void init{
         JFrame f = new JFrame();
         JPanel panel = new JPanel();
         panel.add(button);
         f.getContentPane().add(BorderLayout.SOUTH, panel);
         f.getContentPane().add(BorderLayout.CENTER, new Receipt());
         f.setSize(580, 500);
         f.show();

    I don't quite get your question. What did you mean by open? Did you mean to display it. Receipt is a JPanel, to show it you need to have it inside a Frame or an Applet or some sort of container.
    try this
    import javax.swing.*;
    Receipt receipt = new Receipt();
    JFrame aFrame = new JFrame("Display Receipt Panel"); //create a JFrame
    aFrame.getContentPane().setLayout(new BorderLayout()); //set Layout Manager for the frame
    aFrame.getContentPane().add(receipt, BorderLayout.CENTER); //add panel to the frame
    aFrame.show(); //show the frameThe above block of codes create a JFrame and add the Receipt panel to the Frame. Then call the Frame to show. You can put this code in a method, if you need to use this Frame and panel again, make them instance variables rather than local variables.

  • Problem executing a sql query in 10g environment

    Hi,
    I am having problem executing the following sql query in 10g environment. It works fine in 8i environment.
    I tried to_number(to_char) and it did not work.
    **A.APPL_ACTION_DT >= TO_CHAR("&v_strBeginStatusDate&", 'DD-MON-YYYY') AND A.APPL_ACTION_DT <= TO_CHAR("&v_strEndStatusDate&", 'DD-MON-YYYY')))**
    Any suggestions..
    --Pavan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I would be surprised if that worked in 8i as posted, although I no longer have 8i to test. You do not tell us the error message you are getting, but there are several things wrong with what you posted.
    First, the substitution variable requires only the & at the beginning, you have one on each end of your string, the one at the end will remain in the string that is passed to the database.
    Second, you cannot TO_CHAR a string with a date format as you are trying to do. The TO_CHAR function is overloaded and has two basic forms TO_CHAR(date, format_model) and TO_CHAR(number, format_model). Note that neither takes a string. It would appear that at least current versions of Oracle choose the second signature unless specifically passed a date datatype.
    SQL> select to_char('&h', 'dd-mon-yyyy') from dual;
    Enter value for h: 12
    old   1: select to_char('&h', 'dd-mon-yyyy') from dual
    new   1: select to_char('12', 'dd-mon-yyyy') from dual
    select to_char('12', 'dd-mon-yyyy') from dual
    ERROR at line 1:
    ORA-01481: invalid number format modelalthough I suspect that the error you are getting with your posted code is more likely to be ORA-01722: invalid number.
    Depending on the data type of appl_action_date, you are probably lokoing for TO_DATE instead of TO_CHAR.
    John

  • Oracle 11gR2 to SQL Server 2008 R2 - Problem executing SP on SQL server

    Hi,
    I have this problem: Executing a sp in SQL server from oracle
    --------------------ORACLE SP--------------------
    create or replace
    PROCEDURE DRIVER_SP
    AP IN OUT appl_param%ROWTYPE
    as
    v_sp_name varchar2(50);
    v_control_id number;
    val VARCHAR2(100);
    cur INTEGER;
    nr INTEGER;
    BEGIN
    v_sp_name := ap.MESSAGE_MISC_TEXT;
    v_control_id := ap.control_id;
    cur := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@dblink_sqlserver;
    DBMS_HS_PASSTHROUGH.PARSE@dblink_sqlserver(cur, 'execute ' || v_sp_name || ' ' || to_char(v_control_id));
    LOOP
    nr := DBMS_HS_PASSTHROUGH.FETCH_ROW@dblink_sqlserver(cur);
    EXIT WHEN nr = 0;
    DBMS_HS_PASSTHROUGH.GET_VALUE@dblink_sqlserver(cur, 1, val);
    END LOOP;
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@dblink_sqlserver(cur);
    driver_ap01_log_msg('Procedure returned: ' || val);
    commit;
    exception
    when others then
    driver_ap01_log_msg(sqlerrm);
    END DRIVER_SP;
    --------------------SQL Server SP-----------------------
    ALTER PROCEDURE [dbo].[PA01_SP]
    @control_id integer
    AS
    begin
    --update PA01
    --set infile_control_id = @control_id
    --insert into dbo.PA01LOG(msg) values('test')
    select 0
    end
    THE PROBLEM: Oracle SP calls SQL Server SP and any time I try to INSERT/UPDATE/DELETE (DML) within SQLServer SP it throws an exception on Oracle's end. Once I comment all DML code the proc runs fine.
    +"ORA-28511: lost RPC connection to heterogeneous remote agent using SID=ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1511))(CONNECT_DATA=(SID=dg4msql)))+
    +ORA-02063: preceding line from DBLINK_SQLSERVER"+
    Please help.
    Thanks

    Thanks for your response, it got me closer to my goal. I'm still facing one problem:
    Let me explain what I need to achieve
    Purpose
    Execute an Oracle stored procedure which in turn executes a stored procedure on remote SQLServer which updates local tables on that SQLServer.
    Observations
    The execution of both procedures completes successfully. However, an explicit COMMIT statement must be issued on the Oracle session which initiated the transaction before any data could be read from the SQLServer updated table.
    The following is test exercise for proof of concept.
    PL/SQL code
    declare
    out_arg integer;
    ret_val integer;
    begin
    out_arg := 0;
    ret_val := "dbo"."ZZZ_SP"@DBLINK_SQLSERVER(10, out_arg);
    dbms_output.put_line(to_char(out_arg));
    end;
    SQLServer code
    ALTER procedure [dbo].[ZZZ_SP] (@arg1 integer, @arg2 integer output)
    AS
    begin tran tran1
    insert into dbo.PA01LOG(msg) values('ddd')
    commit tran tran1
    set @arg2 = @arg1 * 100
    select -1
    GO
    I have put the Oracle gateway in Single_Site mode to avoid two phase commit. I want SQLServer to be able to run its own transaction management. I don't want Oracle to be responsible for completing the transactions which take place within SQLServer.
    I fear there might be a gap in my knowledge.
    Any ideas why I need to issue a COMMIT in Oracle session to release the lock from SQLServer table?
    Thanks

Maybe you are looking for

  • Stock transfer of QM stock thereby creating a new batch number

    Dear Experts, I have searched for this content but didn't get content which match my requirement. My client has placed a requirement.When they receive a material against a purchase order through movement type 101 they receive it to quality inspection

  • IChat microphone refuses to work! Quite frustrating.

    Hi, when video/voice chatting with iChat, no one can hear me.. I'm running OSX SL 10.6.6 with iChat 5.0.3 build 745 on my Macbook Pro 2010 unibody I have two microphones, the internal Macbook one and another built in to my Logitec USB headset. Both m

  • Workflow for self registration

    Hi Folks, I need to know the exact workflow used for user self registration, i.e., the workflow where in the mail to the registration approver to approve the new user request is triggered. Can you please let me know. Regards Rajeev

  • Business Plan Software for Mac??

    Hello, Since migrating to Mac, I havent had the need to create a business plan but today I found out my software Palo Alto's (Business Plan Pro) no longer supports Mac. Does anyone know of or use a Business Plan application on their PB? Thanks All!

  • Server Loses Ability to Ping to the Internet

    Hello, I have a new physical HP server running Server 2008 R2 with Whats Up Gold. Recently, the server started developing an issue roughly every 48 hours where it cannot ping or use ICMP to the internet. The ability to ping to the internet returns ro