Remote Debugging in Jdev EA1.

Hey guys, what happen to remote debugging in Jdev EA1?
Thanks,
Tony

The remote debugging was moved to tools/project properties select run/Debug and then edit.
Thanks,
Tony

Similar Messages

  • Cannot remote debug from JDev 10.1.3 on AS 10.1.2 running hotspot

    Hi,
    I've set up an embedded OC4J instance in an application server as described in the help topic, "Remote Debugging in OC4J" (with a few changes, such as the fact that I added startup options using the OC4J instance Admin page of EM, rather than at the command line (since the instance is embedded in a full AS). I followed the directions specifically for HotSpot, because that's the JVM the instance was set up to use, and I can't change it (I know OJVM enables lots more features, but that's the situation I'm in).
    I've also configured my project for remote debugging, ensuring the host name and port matches, and trying both "Attach to JDPA" and "Attach to OJVM" (these being the only two options, except for starting a listener, which I don't think will help with a web application).
    When I try to debug, though, I get:
    Debugger unable to connect to remote process.
    Should I be doing something differently?
    Thanks much,
    Avrom

    I had the delete key quit working after accidentally pressing a key sequent that included the delete key. I don't know what keys were involved, but the delete key from that point on did nothing.
    I am running JDeveloper 10.1.3.0.4 on Window XP.
    To resolve the problem, I set the keyboard Accelerators back to 'Default' in JDeveloper.
    I selected... Tools->Preferences->Accelerators
    then click on 'Load preset' then I chose 'Default'
    You may need to select something other than default for your platform, but that did the trick for me.

  • JSP Remote debugging from Jdev to WL 7.0

              I am trying to remote debug my JSP deployed on WL from Jdeveloper 903.
              I have included the parameters to make WL start in a debug mode.
              I have also included ojsp.jar, servlet.jar and ojc.jar in WL classpath.
              So I can start WL in debug mode, I can launch the url to get access to my JSP,
              a break point is included in the code but it doesn't stop at the break point.
              I am using JPDA.
              Do I have to modify something else to be able to remote debug my JSP?
              PS: remote debugging my EJB works fine.
              Thanks for your help
              

              Is there any possibility to change the JSP engine in Weblogic server and customize
              the new JSP
              with additional parameters, so that IDE's can debug JSP code itself?
              "Mike Herrick" <[email protected]> wrote:
              >
              >As far as I know this is behaving correctly.
              >
              >To debug a JSP via JDPA you have to compile your JSPs and put the Servlet
              >classes
              >the JSP compiler spits out in your IDE Classpath. Then you can debug
              >those Servlets
              >-- but you can't set break points in the JSP itself. Not the best.
              >
              >Some IDE Vendors add this on top of JDPA etc.
              >
              >I'm not 100% on this, but think I'm correct.
              >
              >Mike
              >
              >"Magali Richard" <[email protected]> wrote:
              >>
              >>I am trying to remote debug my JSP deployed on WL from Jdeveloper 903.
              >>I have included
              >>the parameters to make WL start in a debug mode. I have also included
              >>ojsp.jar,
              >>servlet.jar and ojc.jar in WL classpath. So I can start WL in debug
              >mode,
              >>I can
              >>launch the url to get access to my JSP, a break point is included in
              >>the code
              >>but it doesn't stop at the break point. I am using JPDA. Do I have to
              >>modify something
              >>else to be able to remote debug my JSP?
              >>
              >>PS: remote debugging my EJB works fine. Thanks for your help
              >>
              >
              

  • Could not configure Remote Debugging (JDev - AS 10g)

    I'm trying to make work remote debugging from JDeveloper 10.1.2 on Oracle AS 10g, but I'm stuck. I tried to do every step from JDeveloper help:
    1. Create remote debugging process.
    - Done (I hope)
    2. In the <jdev_install>/lib directory, copy xmlparserv2.jar to <OC4J_HOME>/lib. In the <jdev_install>/jdev/lib directory, copy ojc.jar and jdev-rt.jar to <OC4J_HOME>/home/lib
    - If ORACLE_HOME is C:\Oracle\oracleas, then where is OC4J_HOME ? c:\Oracle\oracleas\j2ee\home ? But it means to create another 'home' directory, right ? But I have already created one OC4J instance called FirstOC4J, where our applications are deployed and it is located in c:\Oracle\oracleas\j2ee\FirstOC4J. Now what ? Which one?
    3. Edit global-web-application.xml, but it is both in c:\Oracle\oracleas\j2ee\FirstOC4J\config and in c:\Oracle\oracleas\j2ee\home\config directory. Which one ?
    4.Start OC4J in debug mode from a command line
    - Why from command line? I always managed our FirstOC4J from Enterprise manager. I tried to put there the parameters from the command
    java -ojvm -XXdebug,port4000,detached,quiet -jar oc4j.jar
    but parameters inserted into OC4J Options or Java Options were rejected (OC4J wouldn't start). A little succes was running OC4J like this
    how to set up for remote debugging?
    But it required our FirstOC4J stopped and it meant our application won't run.
    Please , could somebody make some step-by-step instructions for begginners or at least comment some above points ? Thanks.

    I'm trying to make work remote debugging from JDeveloper 10.1.2 on Oracle AS 10g, but I'm stuck. I tried to do every step from JDeveloper help:
    1. Create remote debugging process.
    - Done (I hope)
    2. In the <jdev_install>/lib directory, copy xmlparserv2.jar to <OC4J_HOME>/lib. In the <jdev_install>/jdev/lib directory, copy ojc.jar and jdev-rt.jar to <OC4J_HOME>/home/lib
    - If ORACLE_HOME is C:\Oracle\oracleas, then where is OC4J_HOME ? c:\Oracle\oracleas\j2ee\home ? But it means to create another 'home' directory, right ? But I have already created one OC4J instance called FirstOC4J, where our applications are deployed and it is located in c:\Oracle\oracleas\j2ee\FirstOC4J. Now what ? Which one?
    3. Edit global-web-application.xml, but it is both in c:\Oracle\oracleas\j2ee\FirstOC4J\config and in c:\Oracle\oracleas\j2ee\home\config directory. Which one ?
    4.Start OC4J in debug mode from a command line
    - Why from command line? I always managed our FirstOC4J from Enterprise manager. I tried to put there the parameters from the command
    java -ojvm -XXdebug,port4000,detached,quiet -jar oc4j.jar
    but parameters inserted into OC4J Options or Java Options were rejected (OC4J wouldn't start). A little succes was running OC4J like this
    how to set up for remote debugging?
    But it required our FirstOC4J stopped and it meant our application won't run.
    Please , could somebody make some step-by-step instructions for begginners or at least comment some above points ? Thanks.

  • How to remote debug JSPs on Tomcat 5.0 from JDev 10.1.2

    I can remote debug Java applications and servlets. But I can not make it stop within any JSP pages while doing remote debug. I have no problem if I debug locally within the built-in OC4J server.
    I set my project properties with remote debugging -> Attaching to JPDA. I start my tomcat using catalina jpda start after setting environment variables JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket.
    Please help,
    TIA

    Ashraf, thanks for sharing your experience. I would like to comment on your precedure.
    Jdeveloper 10.1.2
    Tomcat 4.1.31 ( version 5.x.x won't work as it needs jdk 1.5 at least, and jdev is configured to run with 1.4 )I was able to use Jdeveloper 9.0.5 to debug a servlet running in Tomcat 5.5.9 with jdk 1.5.0. I would belive there is no fundamental obstacle for Jdeveloper 10.1.2 to debug Tomcat 5.x.x, thanks to the nature of JPDA.
    a- backup $TOMCAT$\bin\catalina.bat.
    b- edit $TOMCAT$\bin\catalina.bat to include the following:
    set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xnoagent -Djava.compiler=NONE
    -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000Another way is to set your environment variable JAVA_OPTS. There is then no need to modify catalina.bat.

  • Remote Debugging (Jdev 10.1.3 to AS 10.1.3)

    Hi,
    I have been trying to do a remote debugging by connecting Jdeveloper (version 10.1.3 production) to AS 10.1.3 mid-tier but the OC4J instance seems to be crashing the moment the jdeveloper makes the connection. However, before the crash, jdeveloper takes about 5minutes to connect to the server.
    The OC4J is managed by opmn and not a standalone process. I am not sure if this makes any difference. Here are the changes that I made in the 10.1.3 server:
    *) Modified opmn.xml to add the below:
    <data id="java-options" value="-server -verbose:gc -Xmx512M -Xms128M -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=43503 -XX:MaxPermSize=128M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    (also tried removing "-server" option)
    *) Modified orion-web.xml to add the below:
    <init-param>
    <param-name>debug_mode</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>developer_mode</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>encode_to_java</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>emit_debuginfo</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>jspjavacompiler</param-name>
    <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>
    </init-param>
    *) Modified global-web-application.xml to add the below:
    <orion-web-app
    jsp-cache-directory="./persistence"
    servlet-webdir="/servlet"
    development="true" >
    I see the below message in the jdeveloper debug window when the OC4J instance crashes:
    Debuggee process virtual machine is Java HotSpot(TM) Server VM.
    Debuggee process is application server OC4J.
    To test JSPs or servlets, you must start a browser.
    Debugger disconnected from remote process.
    I do not see any error in application.log file.
    By setting up the remote debugging, I am hoping for a better portlet development experience.
    Any help is appreciated.
    Thanks,
    Pandian.
    Message was edited by:
    apandian

    The doc is kind of vague, but here's the root reference:
    http://download.oracle.com/docs/cd/B25221_04/core.1013/b15976/opmnxml.htm#sthref144
    There's a FAQ document that prescribes how the "restart" algorithm works, see 1.3:
    http://www.oracle.com/technology/products/ias/ohs/htdocs/opmn-1013-faq.pdf
    So to tweak this behaviour, you specify a speciifc <ping> element inside of the opmn.xml for the managed process you are using -- and set the timeout, interval, retry attributes to some combination that gives you a longer pause time.
    http://download.oracle.com/docs/cd/B25221_04/core.1013/b15976/common.htm#CACGAIGH
             <ias-component id="default_group">
                <process-type id="home" module-id="OC4J" status="enabled">
                   <module-data>
                      <category id="start-parameters">
                         <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
                      </category>
                      <category id="stop-parameters">
                         <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
                      </category>
                   </module-data>
                   <start timeout="600" retry="2"/>
                   <stop timeout="120"/>
                   <restart timeout="720" retry="2"/>
                   <ping timeout="300" />
                   <port id="default-web-site" range="8888" protocol="ajp"/>
                   <port id="rmi" range="12401-12500"/>
                   <port id="rmis" range="12701-12800"/>
                   <port id="jms" range="12601-12700"/>
                   <process-set id="default_group" numprocs="1"/>
                </process-type>
             </ias-component>Now I did just see something that is either a bug, or a doc error. In the doc, it shows the attributes of the <ping> tag to be: timeout, retry, interval. However when you configure opmn.xml with these, it report an error.
    Looking at the $ORACLE_HOME/opmn/conf/opmn.xsd file, it shows that only attributes are timeout and interval. You can't add a retry attribute. I'm not sure if this is a doc bug or an error in the XSD file.
    Anyways, using the timeout parameter, for your DEBUGGING phase (not production!) you should be able to bump that up to a higher value to allow OPMN to wait longer for a response from OC4J before it nukes it.
    -steve-

  • Remote Debugging Servlet  on JDev 10g

    How do we setup JDeveloper 10g for Remote Debugging for Servlet? We have Oracle Application Server 10g with OC4J containier. I know we need to start OC4J in debug mode, but don't know hot to do it. Jdeveloper and OracleAS is new to me.
    Thanks in Advance!
    Madan

    Please refer
    Re: Remote debugging with OC4J

  • Remote Debugging w/9iAS  not working !

    I tried posting this in the app server area but apparently, it's too difficult for anyone to answer. No replies.
    We need to debug a deployed jsp that uses java beans.
    The jsp/java beans app is in jdevleoper 9.0.3.1 (windows 2000).
    I have deployed the application to Oracle 9ias java edition (9.0.3) on Red Hat Linux.
    I know how to modify the project settings in jdeveloper for remote debugging.
    when I start debug mode in jdeveloper I am prompted for the host name and port number for the remote debug session. What port do I use ?
    Do I need to do something to start 9ias at a certain port ? If so, how do I do this ?
    I have seen conflicting information on this that mainly refers to a standalone oc4j, not the oc4j in 9ias.
    Frank

    Hi,
    We have gotten many requests for collateral that details these steps. We are currently working on such a document. Keep posted to the JDeveloper OTN website http://otn.oracle.com/products/jdev for updates on this.
    -Stuart

  • Advantages of using Oracle JVM over JPDA for Remote Debugging?

    What are the "additional features" that the documentation hints at when using the Oracle JVM for remote debugging vs. the JPDA protocoL? Can a member of the JDEV briefly address this? What exactly am I losing when using JPDA?

    I am not getting anywhere with 'NCOMPing' the stuff. Attempts to NCOMP keeps erroring out . The first of the errors is
    'Error while determining classes contained in jsch-1.29_minimalClassListAndTCD
    mper.java
    Exception oracle.aurora.sqljdecl.ParseException: Encountered "-" at line 14
    column 18.
    Was expecting one of:
    "extends" ...
    "implements" ...
    The following operations failed
    jsch-0.1.29_minimalClassListAndTCDumper.java: creation
    exiting : Failures occurred during processing
    Kuassi, I have looked at a few of your posts where you make mention of a file titled 'Settings_os.properties'. I see no such file in my Oracle installation. What am I missing here ?

  • How to use Remote Debugging in JDeveloper 3.1 ?

    I am trying to use the Remote Debugging option with EJBs in JDeveloper 3.1 with Oracle8i 8.1.6.
    I checking all steps the online walkthrough for Remote Debugging EJB in 8i and it didn't work.
    I'm using Oracle8i EJB/CORBA debug option in project properties, but it does not stop in my EJB's break points.
    I tried deploying the EJB again ( with break points) and again it didn't work.
    The error message I got in the trace file is:
    Errors in file D:\Oracle\admin\SCT\udump\sctS000.TRC:
    ORA-29516: Aurora assertion failure: Java thread deadlock detected
    Could someone please tell me how to use it?
    null

    Which platform is the database running on ??
    Other things you should check -
    when debugging the EJB, JDev
    3.1 looks through your IIOP connections to find the one to use.
    Make sure that the IIOP connection that JDev is using for the debugging matches the IIOP connection that the EJB client application is using.
    raghu
    null

  • Need Urgent Help in remote debugging

    Folks!
    Im having difficulties remote debugging my application.
    Im using jdev rc2 using oc4j 9.0.2 externally on a win2k machine.
    My sources are compiled outside jdeveloper using the oracle compiler.
    Ive setup the server to run with: d:\oradev\jdk1.3\bin\java -ojvm -XXdebug,port4000 -jar oc4j.jar
    After compiling the sources on my own, i deploy them. Then i mark a breakpoint in Jdeveloper and debug the source with the breakpoint. The debugger connect properly ( both server and jdev confirms ).
    I trigger the flow which should reach my breakpoint, it runs and doesn't stop.
    When i tried debugging something which i had compiled in jdev it worked under the same setting.
    Any ideas?
    any kind of help would be appreciated.
    Yuval.

    You can get good summary of checklist from this article about
    DBA checklist for data warehousing.
    Which highlights on below pointers:
    New system or old. (I.e. Up-gradation vs starting from scratch)
    Complexity of SQL Server architecture 
    SQL Server storage
    Determining SQL Server processing power
    SQL Server installation consideration 
    SQL Server configuration parameter
    SQL Server security
    SQL Server Database property
    SQL Server jobs and automation
    Protecting SQL Server data
    SQL Server health monitoring and check ups
    SQL Server ownership and control 
    based on my real time experience, I will suggest you to keep an eye on 
    Load performance (It will be useful when your database(Warehouse) will have huge amount of data)
    System availability (Check for Windows update and up time configuration) 
    Deployment methodology should be planned in advance. Development of packages and respective objects should be done systematically.
    Source control mechanism 
    Disk space and memory usage
    You might or might not have full rights on production environment, so be prepared to analyze production environment via Select statements [I guess you got my point]
    Proper implementation of Landing , Staging and Mart tables.
    Column size (this can drastically decrease your database size)
    Usage of indexes (Index are good, but at what cost?)
    I hope this will assist you in building your check list.

  • Remote debugging of servlets

    Hi there,
    can anybody help me with remote debugging servlets and JSP running inside OC4J with JDeveloper 3.2.3? (JDK Version 1.3.1).
    Any help would be very welcome!
    Thanks in advance!
    Stefan

    Check out the following matrix for what features are supported from JDev 3.2.3 to OC4J. http://technet.oracle.com/products/jdev/htdocs/jdev323oc4j.html
    For remote debugging Servelts check out http://otn.oracle.com/products/jdev/howtos/remotedebugservlet.html
    raghu

  • Jdeveloper remote debugging - Unable to find source error message

    Hi,
    I am trying to remote debug a simple Java application (non-web) using Jdeveloper. The Jdev debugger can connect to the remote debuggee, but unfortunately it throws me a message saying: 'Unable to find source file'. As a result, if I ignore this message, it simply ignores my source breakpoints.
    Can anybody please help with any tips?
    My project source is checked out from CVS and does not follow a conventional source path as such.
    Thanks,
    Neil.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Step Over not working with Remote Debugging of Servlets with JRUN

    Platform: JRun 4, JDK 1.4.1, JDev 9.0.3
    using JPDA and copied jpda.jar to JDEV_HOME/java1.2/jre/lib/ext and set path to jar in app server path.
    using debug args: java.args=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000
    ok, I'm able to attach JDeveloper to JRun and remotely debug by jumping from breakpoint to breakpoint but stepover causes JDeveloper to continue execution to completion or to next breakpoint. Any idea why step over does not work? The only way to halt execution during remote debugging is by using breakpoints.
    Thanks in advance for any insight to this issue.

    Hi Bob,
    I think OTN ate the other thread. It says there are 4 replies, but it won't display them. Here's my latest reply.
    I just noticed something interesting from your original message. You say you are using JDK 1.4.1 for the app server (that's good) and you are using JDev 903. But you say you have copied jpda.jar to JDEV_HOME\java1.2. That doesn't make sense because JDev 903 didn't have a java1.2 directory; I think JDev 903 has a jdk directory which contains JDK 1.3 (actually 1.3.1_03 or something like that).
    Also, jpda.jar is really old and the directions for using jpda.jar and for putting jpda\bin on the app server path is really old. Those directions were needed for JDK 1.2 because JPDA was released AFTER the JDK 1.2 was released. Starting with JDK 1.3, jpda is built in and you don't need the jdpa.jar or the jpda\bin, etc.
    All this reminds me that in JDK 1.2, HotSpot had bugs where stepping didn't work!!! I'm almost positive that this is what you are experiencing. Here is my advice:
    1. Make absolutely sure that you are using JDK 1.4.1 (or at least JDK 1.3 or later) for running your app server. Make sure that you are not using JDK 1.2 - you may have modified your app server so that it uses JDEV_HOME\java1.2\bin\java.exe[i]Long postings are being truncated to ~1 kB at this time.

  • Remote debugging in OC4J using JDeveloper

    I need to remote debug into a stand-alone OC4J using JDeveloper 10.1.3.1.0. The documentation says the following:
    In the <jdev_install>/jdev/lib directory, copy ojc.jar and jdev-remote.jar to <OC4J_HOME>/home/lib.
    I can't find directory "<OC4J_HOME>/home/lib" in the stand-alone OC4J? That is, a "home" directory does not exist in the above location. To where should I copy ojc.jar and jdev-remote.jar ?
    Thanks,
    Travis

    Shay,
    JDeveloper gives an error when deploying my EJB after starting an OC4J for debugging. In contrast, JDeveloper does successfully deploy my EJB if I start OC4J using "D:\jdev10131\jdev\bin\start_oc4j.bat".
    Note that I'm able to start my standalone OC4J successfully after setting the following in a command window:
    1. Start a Microsoft Windows command window.
    2. set JAVA_HOME=D:\jdev10131\jdk
    3. java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
    Below is the the deployment error that JDeveloper gives when deploying my EJB to the debug OC4J. At the bottom it mentions something about "javac.exe not found". Do you know how to fix this?
    ---- Deployment started. ---- Feb 1, 2007 2:55:04 PM
    Target platform is Standalone OC4J 10g 10.1.3 (Standalone_AppServerConnection).
    Wrote EJB JAR file to D:\jdev10131\jdev\mywork\fusion_sync\deploy\EngineEjb.jar
    Wrote EAR file to D:\jdev10131\jdev\mywork\fusion_sync\deploy\EngineEjb.ear
    Uploading file EngineEjb.ear ...
    Application Deployer for EngineEjb STARTS.
    Copy the archive to D:\jdev10131\j2ee\home\applications\EngineEjb.ear
    Initialize D:\jdev10131\j2ee\home\applications\EngineEjb.ear begins...
    Unpacking EngineEjb.ear
    Done unpacking EngineEjb.ear
    Initialize D:\jdev10131\j2ee\home\applications\EngineEjb.ear ends...
    Starting application : EngineEjb
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: EngineEjb.jar
    application : EngineEjb is in failed state
    Operation failed with error:
    javac.exe not found under C:\Program Files\Java\jre1.5.0_10, please use a valid jdk or specify the location of your java compiler in server.xml using the <java-compiler .../> tag
    Deployment failed
    Elapsed time for deployment: 14 seconds
    #### Deployment incomplete. #### Feb 1, 2007 2:55:18 PM
    Thanks,
    Travis

Maybe you are looking for

  • New GL implemented, problems in F.01 and trail balance report and balance carry forward.

    Dear Friends, One of the my client recently implemented New GL in the Dev system, and getting posted the documents. now we are facing the many problems in the Dev system. 1. F.01 Financial statement report not generating for the year 2008 to till 201

  • How to get current rownumber of Tabular Form

    I have created one tabular form having fields 'courseid', 'coursename', 'courseduration', 'clickhere'. The last column is a link to next page. I have one textbox named p101_cid. 'clickhere' column display link "For participating click here." Suppose

  • ITunes Crashes when PC is Locked

    For privacy I lock my PC (win+L) when i leave it, and all other programs apart from iTunes cope, and time after time I come back to find plays, importing, syncing, and downloads have crashed, or rather iTunes as a whole has. Anyone else have this pro

  • Code Page Setting while extracting data using Generic Data Source

    Hi, Can anybody tell me about the Code Page setting used in Generic Data Source in SAP BW 3.5? I am extracting data from a Master Table using Generic data Source, but the data which is in Ukrane language is getting loaded as "#". Where do we set the

  • HT1848 Retrieving a purchase that was made two years ago from a device that was lost

    When I look at the purchases I've made from my account, there is the one that I made back in 2010. It was on an ipod that is now lost. I have a new ipod and I would like to retrieve that purchase but when I go to itunes and check my purchases, its em