Remote debug using JPDA1.0

I use jpda1.0 for remote debug in ias1.0 for aix4.3.3. When i set PATH and LIBPATH env variable as online doc said, and using httpdsctl start to start service, it gave me error as following:
httpdsctl[88]: 65626 Segmentation fault(coredump)
httpdsctl start: httpd could not be started
wait for your reply

Hi Ralph
I have had a similar problem, remote debugging on AIX. Unfortunately this turns out to be some rather nasty bugs in the JDPA/Java implementation on AIX. In the following I am giving you 2 easy examples to reproduce it. I'd be very interested to hear from you afterwards, if you get the same results. So, as it turns out, it's nothing to do with IAS, but with IBM's Java implementation on AIX.
Best regards,
Lars
----------------------- Examples: ---------
The following 2 scenarios demonstrates errors in JDPA/AIX: (debugging)
------- Scenario 1:
1. javac -g debugTest.java
2. jdb -tclassic debugTest
3. stop at debugTest:5
4. run
5. cont
* Observe! On AIX the program finishes after the first 'cont'. This is not correct behaviour.
On Windows 'cont' is executed 3 times, stopping at the breakpoint which is correct behaviour.
public class debugTest {
public static void main(String args[]) {
System.out.println("Here we go..");
for (int i = 0; i < 3; i++)
System.out.println("Hej igen...");
------- Scenario 2:
1. javac -g debugTest2.java
2. jdb -tclassic debugTest2
3. stop at debugTest2:3
4. run
5. Step
* Observe! On AIX it stops incorrectly in 'java.io.PrintStream.ensureOpen()'.
On Windows it stops correctly in 'debugTest2.main(), line=4'.
Executing the 'threads' command, it can be seen that "Signal dispatcher cond. wait".
On Windows it's "Signal dispatcher running". I'm not sure, but this could be a bug.
Executing the 'where' command on Windows it can be seen that it stops correctly in the
sourcecode. On AIX it "goes too far" and is in a java.io statement.
6. step
7. step
* Observe! AIX now core-dumps!
public class debugTest2 {
public static void main(String args[]) {
System.out.println("Here we go..");
System.out.println("Line 1");
System.out.println("Line 2");
System.out.println("Line 3");
System.out.println("Line 4");
null

Similar Messages

  • (PC and Surface 8.1)bad pool header error: remote debugging using ARM device

    Tools used:
    Microsoft Visual Studio Professional 2013
    Remote Debugger Monitor (Surface RT 8.1)
    I have successfully activated the developer license as administrator.
    I have attempted to run the test app on remote device but my pc crashes before or when reaching certification.
    So far, I have attempted to run an app software for the ARM device; however, ever since I have upgraded the surface to 8.1, I constantly get the bad pool header crash, even after successfully connecting the pc to rt device.
    is there any way I can resolve the issue so I can successfully to remote debugging?
    any help is appreciated.

    Hi,
    Considering that the issue should be related to Windows RT 8.1, and  Since we have limited testing environment, I suggest you submit a new case on Windows RT forum as they will be more professional on your issue:
    This is the Windows RT 8.1 forum link.
    http://answers.microsoft.com/en-us/windows/forum/windowsrt8_1?sort=lastreplydate&dir=desc&tab=Threads&status=&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&tm=1392101458999
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Remote Debug in oas 4.0.8.2 using JDeveloper3.1

    Now I can do remote debug using JDeveloper3.1 in Tomcat or WebLogic!
    But I can not do remote debug in Oralce Application Server 4.0.8.2.
    Who knows how to remote debug in OAS, mainly for how to configure OAS to support remote debug, please tell me as quickly as possible!
    I appreciate ... very much!!!!!!
    We are using JDeveloper3.1 and OAS for our business application. So we must know how to remote debug in OAS with JDeveloper3.1.

    In the JAva Environment settings for your OAS Application you should add the remote debugging name-value pairs using
    X_OPTION
    X_OPTION
    runjdwp:transport=dt_socket,server=y,suspend=n,address=4000
    X_OPTION debug
    X_OPTION noagent
    JAVA_COMPILER NONE
    INITIAL_HEAP 32m
    MAX_HEAP 32m
    After adding the configuration start the OAS and try to connect to remote OAS VM for JDeveloper
    raghu

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • Debugging using Eclipse and non-standalone 10g

    Hey - is it possible to perform remote debugging using Eclipse against the non-standalone version of the 10g App Server? I've tried some of the hints listed in this forum (the most promising seemed to be starting oc4j using this command-line command:
    java -classic -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=2727 -jar oc4j.jar, then connecting with the Eclipse debugger, which I managed to do - though I had to change one of the parameters because the designated file [a timezone file] could not be found - after the change things seemed to start up correctly. However, when I tried to hit http://localhost:2727 I got a "server not found or DNS error"). I don't know if the debugging works with the non-standalone version of 10g or not... or if I should be using some other startup command so hopefully y'all can help :)
    Thanks,
    Scott

    Scott, apparently you have fallen pray of one of the most common misunderstandings of oc4j. Oc4j, namely, Oracle Application Server Container for j2ee, is a COMPLETE j2ee server. It supports http and https by itself. It is also an ejb container and a lot more. It can be used as a standalone or, with a different configuration, integrated into Oracle Application Server as its core component.
    When you use the command "java -jar oc4j.jar ...", you are starting an instance of "standalone oc4j" or "oc4j standalone" as mentioned above, albeit from an OAS installation. In contrast, you can start one instance of Oracle Application Server by "<ORACLE_HOME>/opmn/bin/opmn startall", which will starts, besides several other components, one or several oc4j processes as its oc4j component. This OAS is an HTTP server that takes initial requests and routs the requests that are for OC4J to OC4J server. It may handle some of the requests by itself, or routs other http requests to other components, like mod_plsql. Finally, what we usually called "farm" is a collection of OAS clusters and instances that share the same OAS Infrastructure.
    What I have written is just a tiny mini introduction of the OAS. For starters, oc4j is for use by development and small-medium scale production deployments. Plese take a look at the book "Oracle Application Server Containers for J2EE Standalone User's Guide" and then, "Oracle Application Server Concepts". You can find them by
    1. go to http://otn.oracle.com
    2. select "documentation" pull-down menu and then "application server"
    3. go to the first "view library" or the one suits you.
    4. view the "Oracle Application Server Concepts"
    5. or go to "List of All Books" and you will see all of them!
    Well, the best place to self-teach oc4j is, besides googling with site:oracle.com, the oc4j homepage,
    http://www.oracle.com/technology/tech/java/oc4j/index.html
    The above is written in case you need more information. Now let me come to your specific questions.
    1. how to hit the OC4J instance directly, bypassing an HTTP server entry?Since what you started is an oc4j standalone, it does not make any sense to say "bypassing an HTTP server entry". Oc4j instance itself IS an http server. To access its http service, try
    http://<yourHostNameOrIP>:<httpPort>/<yourAppWebContextRoot>
    where the httpPort and yourAppWebContextRoot can be found in default-web-site.xml or http-web-site.xml. Which one or other web-site.xmls are effective is determined in <OC4J_HOME>/config/server.xml. Here the OC4J_HOME refers to your "C:/OraHome1/j2ee/home".
    2. how to get the HTTP server started via the command-line startup?As said above, you already got an HTTP server running.
    What I suggest for you is to play with oc4j standalone. You can come to OAS later:
    1. download oc4j standalone distribution, "Oracle Containers for J2EE 10g (10.1.3) Developer Preview 3", from here "http://www.oracle.com/technology/software/products/ias/preview.html"
    2. unzip the downloaded file. What you get is basically the same to a part of your existing "C:/OraHome". Go to j2ee/home. Run
    java -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=3301 -jar oc4j.jar
    Make sure you are using java 1.4.2 sdk.
    3. "new" your remote debugger from Eclicpse and specify the hostname and port 3301.
    4. http://<yourHost>:8888/
    A further note: to debug jsp's, you can use Jdeveloper that allows you to set debug points directly in a jsp that is running in its embeded oc4j server.

  • Remote Debugging fails after changing passwords

    I've had remote debugging running for months between my Windows Vista laptop and my Windows Server 2003 virtual machine (running on the laptop).
    My laptop is not on a domain, so I've set it up by having the same administrator login on both machines with the same password.  When I remote debug using Windows Authentication, everything seems to work great.
    I've just had to change my password, so I changed it both on my laptop and in Windows Server 2003.  The Remote Debugger service is also running with the new password.
    But for some reason, remote debugging no longer works.  I start visual studio (as an administrator) and the web site project connects to Windows Server 2003 using the new password with no problems.  But when I try to start remote debugging, I get an error telling me I'm connecting with an unknown username or bad password.
    If I change the passwords on both machines back to what they were, everything works fine again.  I've tried restarting bother machines but it doesn't make any difference.
    Have I missed something? The only similar case I've been able to find is this:
    http://www.thescripts.com/forum/thread641075.html
    But I don't want to delete my profile unless I really have to - I'd rather at least understand the problem first.
    Thanks,
    James.

    One thing to check is that you don't have a bad stored credential lying around on either box.
    For Vista:
    1. Start, Control->Panel
    2. User accounts
    3. User accounts again
    4. Click the 'manage your network passwords' under tasks on the lef side
    If this doesn't help, please let me know the exsact error message.
    Thanks,
    Gregg Miskelly

  • Oracle application server 10g -remote debugging

    We have oracle application server 10g with oc4j. How do we configure App server to start in debug mode so remote debugging from different machine can be done.
    i configured remote debugging options in opmn.xml .in the jdeveloper i attached to JPDA .when i start remote debugging i have given hostname as localhost and portnumber as 5000.
    i am getting this error
    Debugger attempting to connect to remote process at localhost 5000......................
    Debugger unable to connect to remote process.
    I have done already remote debugging using oc4j stadalone app server.but this is the first time i am trying to connect with oracle application server 10g
    opmn.xml
    <ias-component id="OC4J">
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000 -Xdebug -Xnoagent -Djava.compiler=NONE -Xms512m -Xmx1024m -Xss128k "/>
    <data id="oc4j-options" value="-userThreads -properties -out log/out.log -err log/err.log"/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true"/>
    </category>
    <category id="restart-parameters">
    <data id="no-reverseping-failed-ping-limit" value="2"/>
    <data id="reverseping-failed-ping-limit" value="10"/>
    </category>
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="ajp" range="3301-3400"/>
    <port id="rmi" range="3201-3300"/>
    <port id="jms" range="3701-3800"/>
    <process-set id="default_island" numprocs="1"/>
    </process-type>
    </ias-component>

    Please refer
    Re: Remote debugging with OC4J

  • 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

  • How can I enable remote debug in weblogic to use with Rational RSA IDE?

    How can I enable the remote debugging technique so that I can work with my IDE.
    I use RSA by IBM as the IDE
    What should be the changes in the setdomainenv or startweblogic?
    I use 10.3
    Please help.. ur help is appreciable...

    Hi,
    I did not make any console adjustments for debugging on my WebLogic 10.3.2.0 - however I am running in development mode on an "adminServer" (an option during the install)
    In the console there is a debug setup page - that seems to have no effect for me (I can always debug) - so either it is a combination of development mode and/or the startWeblogic script from the Eclipse plugin.
    However, these debug settings are likely for debugging into the server - you only want to debug your own app code right?
    On the console page goto
    http://localhost:7001/console/console.portal?_nfpb=true&_pageLabel=ServerDebugPage
    servers | AdminServer | configuration-debug | expand weblogic
    I see...
    "Use this page to define debug settings for this server.
    Debug settings for this Server
    EnableDisableClear Showing 1 to 2 of 2 Previous Next
    Debug Scopes and Attributes State
    default Disabled
    weblogic Disabled
    EnableDisableClear Showing 1 to 2 of 2 Previous Next
    Try expanding the whole tree and selecting the root to enable everything.
    You will see the following
    10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute DebugAbbreviation on weblogic.management.configuration.ServerDebugMBeanImpl@47a32e1b([base_domain]/Servers[AdminServer]/ServerDebug[AdminServer]) has been changed. This may require redeploying or rebooting configured entities>
    <10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server AdminServer. This server must be rebooted in order to consume this change.>
    <10-Dec-2009 11:53:46 o'clock AM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerDebugPage.>
    When I debug WebLogic 10.3.2.0 from Eclipse 3.5 EE - I see the following in my server startup log which includes the "-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453" you mentioned.
    Starting WLS with line:
    c:\opt\wls10320\JROCKI~1.5-3\bin\java -jrockit -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\opt\wls10320\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=C:\opt\wls10320\WLSERV~1.3 -Dwls.home=C:\opt\wls10320\WLSERV~1.3\server -Dweblogic.home=C:\opt\wls10320\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=c:\opt\wls10320\patch_wls1032\profiles\default\sysext_manifest_classpath weblogic.Server
    Listening for transport dt_socket at address: 8453
    The server process listening on debug portl 8453 ooks like this
    Oracle WebLogic Server 11gR1 PatchSet 1 at localhost [Oracle WebLogic Launch Configuration]     
         BEA JRockit(R)[localhost:8453]     
              Thread [Main Thread] (Running)     
              Daemon Thread [Timer-0] (Running)     
              Daemon Thread [Timer-1] (Running)     
              Daemon Thread [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)     
              Daemon Thread [weblogic.time.TimeEventGenerator] (Running)     
              Daemon Thread [JMAPI event thread] (Running)     
              Daemon Thread [weblogic.timers.TimerThread] (Running)     
              Daemon Thread [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] (Running)     
              Daemon Thread [Thread-7] (Running)     
              Daemon Thread [ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'] (Running)     
              Daemon Thread [ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'] (Running)     
    I hit a breakpoint and see
    Daemon Thread [[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] (Suspended (breakpoint at line 56 in ApplicationService))     
         ApplicationService_5ptwty_Impl(ApplicationService).insertObjects(List<Cell>) line: 56     
         NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]     
         NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39     
         DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25     
         Method.invoke(Object, Object...) line: 597     
         AopUtils.invokeJoinpointUsingReflection(Object, Method, Object[]) line: 310     
         ReflectiveMethodInvocation.invokeJoinpoint() line: 182     
         ReflectiveMethodInvocation.proceed() line: 149     
         DelegatingIntroductionInterceptor.doProceed(MethodInvocation) line: 131     
         DelegatingIntroductionInterceptor.invoke(MethodInvocation) line: 119     
         ReflectiveMethodInvocation.proceed() line: 171     
         MethodInvocationVisitorImpl.visit() line: 37     
         EnvironmentInterceptorCallbackImpl.callback(MethodInvocationVisitor) line: 55     
         EnvironmentInterceptor.invoke(MethodInvocation) line: 50     
         ReflectiveMethodInvocation.proceed() line: 171     
         ExposeInvocationInterceptor.invoke(MethodInvocation) line: 89     
         ReflectiveMethodInvocation.proceed() line: 171     
         DelegatingIntroductionInterceptor.doProceed(MethodInvocation) line: 131     
         DelegatingIntroductionInterceptor.invoke(MethodInvocation) line: 119     
         ReflectiveMethodInvocation.proceed() line: 171     
         JdkDynamicAopProxy.invoke(Object, Method, Object[]) line: 204     
         $Proxy68.insertObjects(List) line: not available     
         ApplicationService_5ptwty_ApplicationServiceLocalImpl.insertObjects(List<Cell>) line: 306     
         FrontController.generateGlider(PrintWriter) line: 240     
    thank you
    /michael
    http://www.eclipselink.org

  • Remote Debugging of OJVM without using JDeveloper

    I need to remotely debug a Java program running in an OJVM started with the following command line:
    java.exe -ojvm -XXdebug,detached,port4000,quiet
    Using Oracle's JDeveloper, which can connect and debug this program, is not an option. The program doing the "debugging" is a home-grown utility that will have very specialized functionality unique to the program its debugging. As of right now we would like to use the plain-vanilla Sun's Hotspot 1.4 JVM, if possible, for the "debugger's" jvm. So, if I can get Sun's jdb.exe to connect to the OJVM then I can get the home-grown "debugger" to work too.
    I know if I change the startup parameters of the debugee java program to this:
    java.exe -classic -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -Xdebug -Xnoagent -Djava.compiler=NONE
    I can get jdb to connect with this:
    jdb -connect com.sun.jdi.SocketAttach:hostname=myhostname,port=4000
    Changing the startup parameters is something that I absolutely, positively want to avoid.
    So what would be the jdb connect string?
    Is it required that the OJVM be installed and used by the PC where jdb is running?
    The debugger would be running under windows 2000 if that's important to know.
    Thanks.

    Hi.
    jdb uses the Java Platform Debugger Architecture (JPDA). See http://java.sun.com/products/jpda for more information. I suspect that your home-grown debugger is built on JPDA.
    Unfortunately, OJVM does not implement JVMDI (Java Virtual Machine Debugger Interface), which is the part of JPDA that a JVM must implement in order to support JPDA.
    So, you are not going to be able to debug with jdb and OJVM together.
    You can use hotspot for the debuggee's JVM by using the following arguments:
    java.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000
    I know you said that you positively want to avoid changing the startup parameters, but if you want to use jdb (or any home-grown debugger built on JPDA), you can't use OJVM. Sorry.
    -Liz Looney

  • Remote debugging issue: Address already in use

    First, I want to explain that to use remote debugging in oracle UCM server (IdcServerNT.exe), I add these lines at */server/bin/intradoc.cfg*:
    JAVA_OPTIONS_debug_enable=-Xdebug
    JAVA_OPTIONS_debug_options=-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
    and since the JAVA_OPTIONS is shared between admin server (IdcAdminNT.exe) and non-admin server (IdcServerNT.exe), to prevent "Address already in use" error, I added same lines but with empty value into */server/admin/bin/intradoc.cfg*:
    JAVA_OPTIONS_debug_enable=
    JAVA_OPTIONS_debug_options=
    or alternatively enable it but use different port for the "address=xxx".
    Now the issue is when I had run the non-admin UCM server with remote debugging enabled, then I tried to run the Component Wizard, I got "Address already in use" error:
    ERROR: transport error 202: bind failed: Address already in use ["transport.c",L41]
    I found out that's possible because Component Wizard (ComponentWizard.exe) is using same setting file with non-admin server (IdcServerNT.exe): */server/bin/intradoc.cfg*. It's obvious that happened because of ComponentWizard.exe is in same location with IdcServerNT.exe, so I think other tools like Batch Loader and System Properties will be affected with same issue too.
    Because of this issue, everytime I want to open Component Wizard, I had to stop the non-admin server which is inconvenient.
    So, the question is there a way to define separately or disable the JAVA_OPTIONS_debug_enable & JAVA_OPTIONS_debug_options for Component Wizard?

    WillT wrote:
    My run method was being called somewhere else and I can't find out whereOkay, but changing from implementing Runnable to extending Thread won't change that one whit. You must've also changed something else.
    Extending Thread is the wrong approach, since you're not creating a special kind of Thread.

  • Remote debugging plsql procedures in jdeveloper using J2EE container

    I have a J2EE application which is connected to an oracle database .For debugging purposes ,can i remotely debug my plsql stored procedures when an action comes from the J2EE server . That is, can i control a call from the server by using breakpoints in my plsql stored procedures so that i can see the run time parameters to the plsql procedures and so

    Yes you can. See : http://blogs.oracle.com/shay/2005/12/20#a58

  • 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

  • Remote debugging (jboss deployed) ejb using JDeveloper

    Hi there
    Does anyone know how to remote debug an ejb deployed in JBoss using JDeveloper (or perhaps know of a link?)? All I can find is this from Oracle:
    http://www.oracle.com/technology/products/jdev/howtos/appservers/debug_in_jboss.html
    But the cmd to replace in the $bin\run.bat file to enable remote debugging doesn't exist in my version of JBoss (jboss-4.0.1RC1).
    Can anyone shed some light here?
    Thanks very much in advance...Jon

    In run batch file add
    set JAVA_OPTS= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%

Maybe you are looking for

  • How to create a parameter?

    dear friends i'm a recent oracle developer. i face a problem in the graphic builder . i need to create a peremater within the graphic builder . i issued this sql command select sum(sal),sal_date from salary_table where sal_date between :para_d1 and :

  • Date calculation In query

    I am doing a date difference calculation on two date characteristics, i am doing this at the query level. For each date characteristics i have created a formula variable. I have then created a CKF and i have used these formula variable in that CKF to

  • Capturing from DVD I get "Capture Now has reached end of tape..."

    What do I have set wrong in "Log and Capture" to keep getting this @#$$%% message??? The message comes up as soon as I hit the "Capture Now" button Help

  • External hard drive software stopped working

    I have a 300 GB Seagate external FW hard drive attached to my G4 Power Mac. It is partitioned for back ups and storage, and back ups are scheduled for every night. It was working fine until a few months ago, when I started getting an error message fo

  • Ipod touch browser content filters?

    Does an i-pod touch have any sort of browser restricting for adultt content etc..on it? My 13 year old son wants an i-pod touch for Christmas and there are lots of web-sites I do not want him on. Thanks, Bil