Debug failure in JDeveloper 10.1.2

I have 2 ADF JClient applications that have been working fine for weeks. A couple of days ago, I could set breakpoints and debug both applications. Yesterday, I noticed some libraries that were added to one of the projects that didn't appear to be necessary (JSP Runtime), so I removed it and some others. The project compiled and executed fine. Today I attempted to debug the same project and I get the following error:
"FATAL ERROR in native method: No transports initialized
Transport dt_socket failed to initialize, rc = 509.
Process exited with exit code 1."
I added the libraries back to the project, but it still gets the error. The other application that I didn't remove libraries for, debugs perfectly fine still. I noticed that the command line for the 2 projects are different when I launch the debugger, but I can't find any properties that would cause this. The project that doesn't debug, has the following following command-line argument that the good one does not:
"-Xrunjdwp:transport=dt_socket,server=y,address=4586"
Does anyone know how I can correct my project so that I can debug again?
Thanks!

Ok. I found the problem...
I apparently changed my JVM to client instead of OJVM for the project that doesn't work. I seem to recall that JDeveloper requires the OJVM in order to support debugging. I wouldn't think that this would still be a requirement since other IDE's can debug against another VM, but I'm sure Oracle has their reasons.

Similar Messages

  • Plsql debugging problem with jdeveloper

    hi
    i have an oracle server name tiger and a client machine the packages and stored procedure exists on the server machine. but when i try to debug i get the following error
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '0.0.0.0', '1421' )
    ORA-30683: failure establishing connection to debugger
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    amir

    I don't think JDev is able to debug with other application server. I can't see any server settings except embedded oc4j. you can only debug your application with embedded oc4j which JDev has. but you can create deployment profile for other server such as weblogic, jboss, and tomcat with JDev.
    -correct me if i'm wrong, thanks-

  • How to debug JSP in JDeveloper

    I want to debug a JSP page in JDeveloper. I have put break point in jsp page, but when called from browser, control does not stop at break point in JSP. Please suggest, how to debug a JSP page in JDeveloper

    You might use logging, log4j or standard jdk , <c:out> or even good old scriptlets <% ..%>and out.println(); to display the values of the variables that interest you.
    Consult for instance chapter 14 of Beginning JSP, by Wrox, or any other equivalent.
    NA
    [http://nickaiva.blogspot.com/]

  • Debug problem in JDeveloper 3.0

    Has anybody come across a problem when debugging an application that causes JDeveloper to go into an infinite loop (until my machine runs out of memory) when a breakpoint is hit.
    This only seems to happen on certain files
    I've removed JDeveloper 2.0. I've reinstalled JDeveloper 3.0. I've recreated my workspace and project from scratch but I still get the problem.
    My project has ~1200 files.
    I've also noticed that sometimes the breakpoint is hit and the application being debugged will be paused but JDeveloper does not gain control (i.e. the 'step', 'step into' etc. buttons are still disabled). This is possibly related to the above problem.

    Has anybody come across a problem when >debugging an application that causes >JDeveloper to go into an infinite loop >>(until my machine runs out of memory) when a >breakpoint is hit.This is not a known issue but if anyone has a reproducable test case then we'll be happy to follow it up.
    Thanks,
    Arun

  • Running applications in debug mode in JDeveloper

    Hi All,
    I have created a simple spring portlet and have consumed it on a webcenter application. The portlet throws an exception. Now I want to run my portlet in debug mode.
    Both webcenter application and portlet producer are running on the jdeveloper integrated server.
    Can any one help me out mentioning steps to run the portlet and the portal app in debug mode.

    Some info can be found in this thread in JDev forum: JDeveloper remote debugging OC4J
    However, it is based on 10g and OC4J. Still, I believe, the overall concept can be used.

  • How to turn off DEBUG message in Jdeveloper 9.0.3

    Folks,
    When I upgraded my Jdeveloper from 9.0.3 Preview version to formal release, it takes 5 minutes to load the first jsp page which used to take less than 1 minute. One reason I can think of is that all the DEBUG messages are showing up now and printing out those messages could take minutes. I can not find the way to turn off those DEBUG message. Please help.
    Thanks,
    Yibing

    There should be no diagnostic messages from BC4J by default.
    Adding the Java VM parameter -Djbo.debugoutput=console sets the jbo.debugoutput system property to the value console and makes the messages appear.
    Double-check that you don't have this set in your "Runner" panel.

  • How to set debug mode in jdeveloper for SOA Suite

    Hello,
    Is possible to use jdeveloper, soa suite and debug mode? I can debug my web application with oc4j embendded server. But when i want to deploy on oracle application server and debug, doesnt work.
    How can i fix that?
    I saw that tutorials for jdeveloper and weblogic server, but not for oracle server.

    see :
    http://weblogs.asp.net/gsusx/archive/2006/06/01/WS_2D00_Addressing-interoperability-between-Oracle-BPEL-Process-Manager-and-Microsoft-Windows-Communication-Foundation.aspx
    http://dlimiter.wordpress.com/2009/11/16/manipulating-ws-addressing-headers-in-oracle-bpel/
    on how to populate the ws-addressing elements yourself
    basically you need to add the ws-addressing xsd, create a new variable of it, populate the elements and add it to your partnerlink

  • Problem debugging jboss with Jdeveloper

    I have server side project builed by jboss , I use JDEveloper. I wont to debug this project or run jboss through jdeveloper, I can't do it.
    How can I do it?

    I don't think JDev is able to debug with other application server. I can't see any server settings except embedded oc4j. you can only debug your application with embedded oc4j which JDev has. but you can create deployment profile for other server such as weblogic, jboss, and tomcat with JDev.
    -correct me if i'm wrong, thanks-

  • Speeding the Debug Run of JDeveloper !!

    All
    I am in the process of debugging an OAF issue that I am facing with Apps (PA Pages to be precise).
    I am running (in debug mode) the OAF Objects locally on my PC, so that I can step through the code and hopefully identify the issue.
    I have downloaded, installed and have configured the correct version of JDeveloper as outlined in Metalink Note 416708.1.
    I have also FTP’ed the whole of $JAVA_TOP into my PC and have placed in the following directory:
    <JDEV_USER_HOME>\jdevhome\jdev\myclasses\…….
    I have created a OA Project and have set the properties to :
    ·     Use Repository for Design Time is checked and connection uses an active and valid database connection.
    ·     DBC File Name is pointing to a valid and proper DBC files which was copied from the Apps Server’s $FND_TOP/secure
    ·     Username and Password are valid and active FND_USER names
    ·     The Responsibility Key and Application short name are valid and assigned to the above user.
    ·     The Optional URL parameter is copied from the browser’s URL when I visited the page by logging into the Apps. It is from the OAF page just before the page I am trying to debug. The String is : &_ri=275&addBreadCrumb=RS&paProjectId=4642&retainAM=Y&_ti=133166532&oapc=6
    ·     Under the Tools à Preferences , I have set up the Embedded OC4J to be the default Local IP Address.
    I then placed a breakpoint on the beginning of the processRequest of the controller class of the Page where I am trying to debug.
    Lastly I just run (in the debug mode) the Page (whose URL parameters I have put in the project settings).
    Now everything works and then the page (and this is my main frustration ) then eventually after 40 to 50 minutes renders on the browser.
    Is there a way of speeding this up at all? This is not the first run, every time I run it I have to wait a long time before the page appears.
    This is very very frustrating and prolongs the debug and development process.
    Any help and advice is much appreciated.
    Thanks
    Patrice

    Patrice,
    Use only paProjectId=4642 and retainAM=Y in the optional url params. Remove the break point and run the page in debug mode. Notice the time it takes now to render.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                   

  • How to remote debugging EJB in JDeveloper?

    Here is the procedure I follow
    1. configure weblogic startWebLogic.cmd file according to the instruction and start it
    2. create a EJB project contains HelloWorld.java, HelloWorldBean.java, HelloWorldHome.java and Client.java, Bean has one method hello(), just return a String
    3. in JDeveloper, configure project properties, set RUN/DEBUG to Remote Debugging as the instruction provided by Oracle
    4. Then how should I do next?
    select Client.java --> Debug --> attach it to the target weblogic
    select HelloWorldxxx.java --> Debug --> attach it to the target weblogic
    I tried the above and it attached to weblogic, after that, the program suspend there, nothing happen, no debug message, no outcome...
    I have a question, the project have no EJB Descripter, How Client.java test program find EJB interface through JNDI?
    Thanks
    -- CHENLW --
    Client.java
    ==// Copyright (c) 2000 qingniao
    ==package com.chemuser.ejb.HelloWorld;
    ==import javax.ejb.*;
    ==import javax.naming.*;
    ==import java.rmi.*;
    ==import java.util.Properties;
    ==
    ==/**
    == * A Class class.
    == * <P>
    == * @author chenlw
    == */
    ==public class Client {
    ==
    == public static void main(String[] args) {
    == try {
    == Properties props = System.getProperties();
    ==
    == Context ctx = new InitialContext(props);
    == HelloWorldEJBHome home = (HelloWorldEJBHome)ctx.lookup("HelloHome");
    == HelloWorldEJB hello = home.create();
    ==
    == System.out.println(hello.hello());
    ==
    == hello.remove();
    == } catch (Exception ex)
    == {
    == ex.printStackTrace();
    == }
    ==
    == }
    ==}
    ==
    ==
    null

    Programming EJB with JDeveloper is not as easily as JBuilder4.0.
    I am regret that I must give up JDevelopper which I like most.
    Hope JDev Team will enhance these functions in the future.
    Thanks
    CHENLW

  • Debugging servlets in JDeveloper

    Folks !
    I just noticed that at least JDeveloper 3.2.3 doesn't let you debug a servlet that is not directly derived from HttpServlet. That is if I have a servlet class A derived from a Class B which then derives from HttpServlet, I only get to debug Class B and not Class A. This is a very stupid restriction (confirms my perception of these IDEs being toys). I am hoping JDeveloper 9i can handle debugging servlet derived from another class which in turn is derived from HttpServlet. can 9i users pl. confirm that ?
    Also, given current restriction of JDeveloper 3.2.3 what option do I have other than upgrading to 9i (which I hope doen't have this problem) ? Remore debugging using JDPA ?
    thanks for your help.
    regards,
    -Sanjay Kumar

    Folks !
    I just noticed that at least JDeveloper 3.2.3 doesn't let you debug a servlet that is not directly derived from HttpServlet. That is if I have a servlet class A derived from a Class B which then derives from HttpServlet, I only get to debug Class B and not Class A. This is a very stupid restriction (confirms my perception of these IDEs being toys). I am hoping JDeveloper 9i can handle debugging servlet derived from another class which in turn is derived from HttpServlet. can 9i users pl. confirm that ?
    Also, given current restriction of JDeveloper 3.2.3 what option do I have other than upgrading to 9i (which I hope doen't have this problem) ? Remore debugging using JDPA ?
    thanks for your help.
    regards,
    -Sanjay Kumar

  • Catching of SMTP Failure in JDeveloper 11g in Email Service

    Hi,
    I am having a requirement to send Email using Jdeveloper.
    I have configured the email service but for a test case i made a change of port in my SMTP server but the email service did not returned any error in JDeveloper and i was not able to catch it.
    It neither send the email but in weblogic server logs error was there regarding SMTP Server but how can i catch the same in my Jdeveloper 11g in case SMTP is down.
    Kindly help me in this ASAP.
    Regards
    Prateek

    This is overly complicated. you post the code of you command link?
    should work without any java code by setting a property listener which the from value set to the value of the link and the to property to the of the input text.
    Timo

  • NoClassDefFoundError: in JDeveloper debug mode

    Hi all.
    I have a strange problem. Only one JSP in my entire application fails to appear when I debug with local (embeded) OC4J. These are the first lines of the exception message:
    Exception:
    java.lang.NoClassDefFoundError: _addFile
         java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              native code
    The class _addFile is generated from addFile.jsp and is available in the output directory. Production application doesn't display the same behavior, this only happens in DEBUG mode in JDeveloper.
    OS: win2000
    JDK: 1.3.1
    JDevaloper is 9.0.2.. something.
    Thanks people.

    A few quick questions:
    1. Can you run (not debug) the application?
    2. Have you tried specifically compiling the file addfile.jsp in JDeveloper? - This will usually show the error before attempting to
    run it.
    To do this, select the file in the navigator and do a right-click Rebuild or Make..

  • OracleJSP exception in JDeveloper debug mode

    Hi all.
    I have a strange problem. Only one JSP in my entire application fails to appear when I debug with local (embeded) OC4J. These are the first lines of the exception message:
    Exception:
    java.lang.NoClassDefFoundError: _addFile
         java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              native code
    The class _addFile is generated from addFile.jsp and is available in the output directory. Production application doesn't display the same behavior, this only happens in DEBUG mode in JDeveloper.
    OS: win2000
    JDK: 1.3.1
    JDevaloper is 9.0.2.. something.
    Struts
    Thanks people.

    A few quick questions:
    1. Can you run (not debug) the application?
    2. Have you tried specifically compiling the file addfile.jsp in JDeveloper? - This will usually show the error before attempting to
    run it.
    To do this, select the file in the navigator and do a right-click Rebuild or Make..

  • Debugging with JDeveloper 2 with JDK 2

    Oracle Jdev team,
    I am running jdeveloper 2 (JDK 1.2), build 343. Whenever I
    attempt to debug an app i get this error dialog:
    Cannot debug project with Target JDK 'java
    version "JDK1.2_JDEVELOPER'", can only debug with Target
    JDK 'java version "1.2"'.
    My Project Properties Target JDK Version is pointing to the java
    1.2 java.exe that came with Jbuilder.
    Path of java.exe
    D:\Tools\JDeveloper20\java1.2\jre\bin\java.exe
    Classpath
    D:\Tools\JDeveloper20\java1.2\jre\lib\rt.jar
    Sourcepath
    [D:\Tools\JDeveloper20\java1.2\src.jar]\src\
    I've attempted to use various 1.2 jdks to get the debugger to
    work, but always with the same version.
    The project began as a JDK 1.2 project (did not attempt to
    switch from a jdk 1.1.x project).
    I;m sure you've seen this before, what am I doing wrong???
    THanks in advance, Peter
    null

    I have the same problem but even wierder.
    When I try to debug my project JDeveloper says
    Cannot debug project with Target JDK 'java version
    "JDK1.1.7_JDeveloper'", can only debug with Target JDK 'java
    version "1.1.8'".
    I do indeed have such a Target JDK defined, but I have not
    compiled anything in the current project with that. In fact I
    haven't switched JDKs at all in this project, nor in this
    workspace.
    What gives?
    Markus Burle (guest) wrote:
    : JDeveloper Team (guest) wrote:
    : : Hi
    : : JDeveloper allows to use different JDK's but the debugger
    only
    : : works with JDK's that come with JDeveloper. If you are
    pointing
    : : to a JDK outside it will still work but the debugger will be
    : : disabled.
    : : regards
    : : raghu
    : The original poster (see below, marked with an X) IS using the
    : JDK that comes with JDeveloper. I'm also using it and have the
    : same problem.
    : Markus
    : : Peter (guest) wrote:
    : : : Oracle Jdev team,
    : : : I am running jdeveloper 2 (JDK 1.2), build 343. Whenever I
    : : : attempt to debug an app i get this error dialog:
    : X : Cannot debug project with Target JDK 'java
    : X : version "JDK1.2_JDEVELOPER'", can only debug with Target
    : X : JDK 'java version "1.2"'.
    : X : My Project Properties Target JDK Version is pointing to
    the
    : X java
    : X : 1.2 java.exe that came with Jbuilder.
    : : : Path of java.exe
    : : : D:\Tools\JDeveloper20\java1.2\jre\bin\java.exe
    : : : Classpath
    : : : D:\Tools\JDeveloper20\java1.2\jre\lib\rt.jar
    : : : Sourcepath
    : : : [D:\Tools\JDeveloper20\java1.2\src.jar]\src\
    : : : I've attempted to use various 1.2 jdks to get the debugger
    to
    : : : work, but always with the same version.
    : : : The project began as a JDK 1.2 project (did not attempt to
    : : : switch from a jdk 1.1.x project).
    : : : I;m sure you've seen this before, what am I doing wrong???
    : : : THanks in advance, Peter
    null

Maybe you are looking for

  • Cannot access SAPMNT hosted on NT Cluster

    We need to access SAPMNT hosted on CI node name R3-FFHK-CLS01 of the PRD NT cluster (CI and DB node) from another SAP QAS server name SAENUS. The SAPLOC and SAPMNT was created during SAP installation and have been granted everyone full control permis

  • Move from  10.4.11 to 10.5

    Howdy-ho! I want to upgrade from 10.4.11 to 10.5. Do any of you know how, where to get 10.5 as an online purchaseable upgrade? I already searched reference releases and got nowhere. thanks, satgas

  • FA Dependency on Payment Accounting

    Hi Experts, As per the understanding that I have FA DW brings Payment Amounts only for Posted Invoices(Details are fetched from AP_PAYMENT_HISTS_DIST). This has dependency on accounting hence no payment amounts will appear in DW till the Accouting of

  • How to create an registration form?

    Hi, I shall make a suggestion to renew the registration for a education centre. Some time ago I heard of a possibility to create forms in Acrobat... that worked, so I have the form. But how is it possible to send the filled pdf-form to an website (my

  • Modifying Knowledge Directory

    One of the requirements made by our users for the new version of our portal is the displaying of the file size in the knowlegde directory (it's very useful for those of them who use dial-up connections, according to them anyway). Another thing they w