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.

Similar Messages

  • 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
              >>
              >
              

  • 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

  • Cannot Remote Debugging Weblogic 10

    I can do a remote debugging in a same machine, but not from another machine. It appears to be some security issue. Basically start the machine with JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n option.
    I know that the other machine can reach this machine. I can ping, I can connect to a simple test server on a different port. I did open the port 4000 on the firewall. So, it's not a network issue.
    I can also use an IDE to connect to the server at port 4000 to debug.
    From another machine, if I telnet this machine with port 4000, it gets disconnect after a couple seconds. If I do the same within the same machine, the telnet doesn't disconnect.
    So, the 2 machines see each other. It's just Weblogic senses it's another machine and disconnect.
    It points to security settings, but why the document here:
    http://www.oracle.com/technology/products/jdev/howtos/weblogic/remotedebugwls.html
    doesn't say anything about that?
    Please help. Regards.

    Hi,
    Take a look at this webpage:
    http://jsp.java.sun.com/javaone/javaone2000/pdfs/TS-1569.pdf
    Pages 17-18 and 24-26 are about setting up WebLogic for remote debugging. Classpath information is on page 24.
    Liz
    null

  • Remote debugging from Windows to Linux

    Is there a full description of every step needed to do remote cross-platform C++ debugging? I'm using the Indigo version of Eclipse CDT on Windows and would like to debug an application on a remote Linux machine.
    On Windows, I do not have the ability to install a compiler or cygwin, but I do have plink and ssh on Windows. I am able to access the remote machine via RSE SFTP (a la stackoverflow.com/questions/4216822/work-on-a-remote-project-with-eclipse-via-ssh). I do have VNC but I find that the Eclipse IDE is very unresponsive under that setup, hence the desire to develop and debug from a native Windows app.
    This FAQ is the most complete (wiki.eclipse.org/CDT/User/FAQ#How_do_I_debug_a_remote_application.3F), but doesn't discuss how to deal with Windows using backslash paths and having a different filesystem root compared to Linux and its forward slashes.
    I am able to get a remote connection by playing around with the suggestions here (www.eclipse.org/forums/index.php?S=5e54b35462bb80f79ebb9fbbaf93a288&t=msg&th=173880), resulting in console output that looks like:
    Last login: Fri Apr 6 20:19:09 2012 from foo.bar.com
    echo $PWD'>'
    /usr/bin/gdbserver :12345 /linux/path/to/my/binary args_to_my_binary;exit
    but it fails with "Error while launching command: gdb --version"
    The old FAQ is very incomplete and seems out of date: wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_Debugging_with_CDT.3F
    This suggests it's possible but does not have sufficient details on how to set the myriad configuration options in Eclipse: stackoverflow.com/questions/6044138/remote-debugging-in-eclipse-cdt
    I suspect many people would benefit if there was a clear set of instructions in one place on how to make this happen.
    --Gerald Dalley

    OK. I just spent the last two days figuring this out, so here are step-by-step instructions that hopefully will help others (This list is unusually anal by the standards of this group, but really simple concrete instructions would have helped me).
    on the target linux box, make sure you have gdbserver. If you don't, get the gdb sources. Note: Making gdb does not build gdbserver. Instead, you have to go into the gdbserver directory and configure/make there.
    Run gdb on the linux box. In the startup banner, it will say what its target is. This will be something like x86_64-unknown-linux-gnu or i686-pc-linux-gnu. Remember this for later.
    Install MinGW on your Windows box (I had trouble building gdb on cygwin, so I recommend MinGW).
    Download expat from http://sourceforge.net/projects/expat/files/expat/2.1.0/.Note: Do not download the Windows expat installer. Download the sources instead.
    In the expat directory. "./configure --enable-shared", make, make install.
    Download the gdb sources
    ../gdb-7.4/configure --with-expat --target=x86_64-unknown-linux-gnu --host=i686-pc-mingw32
    make, make install
    Time to test. On your linux box, create and compile hello.cpp to hello.
    On your linux box, gdbserver :4444 hello
    Note:If you are on a corporate network, non-standard ports may be blocked. Set up an ssh tunnel if necessary.
    Copy hello.cpp and hello to your Windows machine
    From the MinGW prompt, run "x86_64-unknown-linux-gnu-gdb ./Hello" Note: Substitute the name of the gdb you built as appropriate based on the target platform you got in step 2.
    In gdb, load the executable with "file hello"
    target remote localhost:4444 Note: This assumes that you have an ssh tunnel on localhost. Modify appropriately.
    Verify that gdb commands like break, cont, and run work here.
    Now we want to run it from outside of MinGW. In Control Panel/System/Advanced/Environment Variables add something like E:\MinGW\bin to the path. This is necessary for the loader to find libiconv_2.dll, etc. Now verify that you can do the preceding step from an ordinary Windows command prompt.
    Launch Eclipse (finally!). New debug configuration C/C++ attach to process.
    In Main, give path to the copy of the Linux executable on the Windows system.
    In Debugger tab, set Debugger dropdown to gdbserver. Set "GDB debugger" to something like "E:\MinGW\msys\1.0\local\bin\x86_64-unknown-linux-gnu-gdb.exe" based on where your gdb is. For Connection, choose TCP and fill in the hostname and port number you've been using from gdb in the previous steps.
    Make sure gdbserver is running (it often quits when the program ends) and launch the debug configuration
    In the gdb console, enter "file hello," "break main," and cont or run (sometimes it wants one. Sometimes the other) and voila, you should be there.
    Let me know if this works, and I'll post it somewhere better.
    Good luck,
    Mike

  • Visual Studio cannot remote debug Azure cloud service: There was a failure to launch the remote debugger

    I am trying to invoke remote debugger on an Azure worker role cloud service, following the example of
    http://msdn.microsoft.com/en-us/library/azure/ff683670.aspx
    But on attaching the remote debugger for the cloud service instance
    Microsoft Visual Studio
    There was a failure to launch the remote debugger.
    OK  
    According to somebody else's extra coverage on the topic, there are extra ports 4016/4017 that need to be taken care of (but do they have to be exposed externally)?
    http://developers.de/blogs/damir_dobric/archive/2014/02/04/behind-windows-azure-remote-debugger.aspx
    So servicedefinition.csdef gets
        <Endpoints>
          <InputEndpoint name="Endpoint1" protocol="http" port="80" />
          <InputEndpoint name="RemoteDebugger" protocol="tcp" port="4016" localPort="4016" />
          <InputEndpoint name="RemoteDebugger2" protocol="tcp" port="4017" localPort="4017" />
          <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector" protocol="tcp" localPort="30398">
            <AllocatePublicPortFrom>
              <FixedPortRange min="30400" max="30424" />
            </AllocatePublicPortFrom>
          </InstanceInputEndpoint>
          <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Forwarder" protocol="tcp" localPort="31398">
            <AllocatePublicPortFrom>
              <FixedPortRange min="31400" max="31424" />
            </AllocatePublicPortFrom>
          </InstanceInputEndpoint>
        </Endpoints>
    Serviceconfiguration.cscfg gets
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Enabled" value="true" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Version" value="2.3" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ClientThumbprint" value="THUMBNAIL" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ServerThumbprint" value="THUMBNAIL" />
        </ConfigurationSettings>
        <Certificates>
          <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.TransportValidation" thumbprint="THUMBNAIL" thumbprintAlgorithm="sha1"
    />
        </Certificates>
    But all these are to no avail; the same error still pops for Visual Studio 2013 Update 4; Azure SDK 2.3
    Anybody regularly perform remote debugging for Azure cloud services?
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

    And, how do I control that in Visual Studio?
    All I get is the Attach Debugger... context menu option in the Azure cloud service nodes in Server Explorer. That is where it is failing. There are no customisable options.
    Because of that, the Attach to Process dialog box is unable to retrieve the list of processes (to debug) in the remote worker role instance server.
    I tested a blank-template worker role project and published to a new cloud project, and this simplistic copy had no problems with the Remote debugger.
    Now the question is, what is it about this real-world project/cloud service that is different from blank sample? From what I compare between what I think are the relevant settings, there are none.
    ServiceDefinition.csdef
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    <Import moduleName="RemoteDebuggerConnector" />
    </Imports>
    <Contents>
    <Content destination=".\">
    <SourceDirectory path="D:\Projects\experiments\workerrole1\workerrole1\rcf\Debug\RemoteDebuggerContent\" />
    </Content>
    </Contents>
    <Endpoints>
    <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector" protocol="tcp" localPort="30398">
    <AllocatePublicPortFrom>
    <FixedPortRange min="30400" max="30424" />
    </AllocatePublicPortFrom>
    </InstanceInputEndpoint>
    <InstanceInputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Forwarder" protocol="tcp" localPort="31398">
    <AllocatePublicPortFrom>
    <FixedPortRange min="31400" max="31424" />
    </AllocatePublicPortFrom>
    </InstanceInputEndpoint>
    </Endpoints>
    ServiceConfiguration.cscfg
    <ConfigurationSettings>
    <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=storage;AccountKey=" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2015-12-31T23:59:59.0000000+08:00" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Enabled" value="true" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.Connector.Version" value="2.4" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ClientThumbprint" value="" />
    <Setting name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.ServerThumbprint" value="" />
    </ConfigurationSettings>
    <Certificates>
    <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="" thumbprintAlgorithm="sha1" />
    <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteDebugger.TransportValidation" thumbprint="" thumbprintAlgorithm="sha1" />
    </Certificates>
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

  • Can not test, run or debug from JDev 10.1.3

    Hi,
    Just starting to play with latest JDeveloper 10.1.3 (installed latest version + patch), I've then created a new application (ADF BC + JSF), a new ViewObject and an app module.
    When I try to test the app module, I'm getting the following error:
    "C:\Oracle\Jdev\jdk\bin\javaw.exe" -classpath "C:\Oracle\Jdev1013\BC4J\jlib\bc4jtester.jar;C:\Oracle\Jdev1013\jlib\jdev-cm.jar;C:\Oracle\Jdev1013\lib\xmlparserv2.jar;C:\Oracle\Jdev1013\jlib\help4.jar;C:\Oracle\Jdev1013\jlib\share.jar;C:\Oracle\Jdev1013\jlib\jewt4.jar;C:\Oracle\Jdev1013\jlib\oracle_ice.jar;C:\Oracle\Jdev1013\jlib\ojmisc.jar;C:\Oracle\Jdev\jdk\jre\lib\rt.jar;C:\Oracle\Jdev\jdk\jre\lib\i18n.jar;C:\Oracle\Jdev\jdk\jre\lib\sunrsasign.jar;C:\Oracle\Jdev\jdk\jre\lib\jsse.jar;C:\Oracle\Jdev\jdk\jre\lib\jce.jar;C:\Oracle\Jdev\jdk\jre\lib\charsets.jar;C:\Oracle\Jdev\jdk\jre\classes;D:\Projects\jdev1013\SizzleFlowBuilder\Model\classes;C:\Oracle\Jdev1013\jdev\lib\jdev-rt.jar;C:\Oracle\Jdev1013\BC4J\lib\adfshare.jar;C:\Oracle\Jdev1013\BC4J\lib\bc4jmt.jar;C:\Oracle\Jdev1013\BC4J\lib\collections.jar;C:\Oracle\Jdev1013\BC4J\lib\bc4jct.jar;C:\Oracle\Jdev1013\jlib\commons-el.jar;C:\Oracle\Jdev1013\jlib\jsp-el-api.jar;C:\Oracle\Jdev1013\jlib\oracle-el.jar;C:\Oracle\Jdev1013\BC4J\lib\adfm.jar;C:\Oracle\Jdev1013\BC4J\jlib\adfui.jar;C:\Oracle\Jdev1013\BC4J\lib\adfbinding.jar;C:\Oracle\Jdev1013\jdbc\lib\ojdbc14dms.jar;C:\Oracle\Jdev1013\jdbc\lib\orai18n.jar;C:\Oracle\Jdev1013\jdbc\lib\ocrs12.jar;C:\Oracle\Jdev1013\diagnostics\lib\ojdl.jar;C:\Oracle\Jdev1013\lib\dms.jar;C:\Oracle\Jdev1013\BC4J\lib\bc4jdomorcl.jar;C:\Oracle\Jdev1013\BC4J\jlib\bc4jdatum.jar;" oracle.jbo.jbotester.MainFrame -X 10A4B929471 -H "jar:file:/C:/Oracle/Jdev1013/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs"
    java.lang.NoClassDefFoundError: oracle.jbo.jbotester.Res
         void oracle.jbo.jbotester.MainFrame$FileConnectAction.<init>(oracle.jbo.jbotester.MainFrame)
              MainFrame.java:829
         void oracle.jbo.jbotester.MainFrame.$init$()
              MainFrame.java:109
         void oracle.jbo.jbotester.MainFrame.<init>()
              MainFrame.java:132
         void oracle.jbo.jbotester.MainFrame.main(java.lang.String[])
              MainFrame.java:391
    Then I added a new JSP and when I try to run or debug it, I'm getting:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\Oracle\Jdev1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\Oracle\Jdev\jdk\bin\javaw.exe -ojvm -classpath C:\Oracle\Jdev1013\j2ee\home\oc4j.jar;C:\Oracle\Jdev1013\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=*.oracle.com|*.oraclecorp.com -Dhttps.proxyHost=proxy.us.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=*.oracle.com|*.oraclecorp.com -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Oracle\Jdev1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    OC4J startup failed
    java.lang.NoClassDefFoundError: oracle.classloader.ClassLoaderQuery
         void oracle.oc4j.loader.boot.BootConfigurationFactory.<init>(java.lang.String[])
              BootConfigurationFactory.java:63
         oracle.classloader.util.InitialLoadersConfiguration oracle.oc4j.loader.boot.BootConfigurationFactory.create(java.lang.String[])
              BootConfigurationFactory.java:57
         void oracle.oc4j.loader.boot.BootStrap.main(java.lang.String[])
              BootStrap.java:22
    Process exited with exit code 0.
    Does anyone already see that?
    Thanks.

    My J2SE version was wrongly set to 1.3 instead of 1.5.
    Now it works.

  • Cannot deploy EJB from JDev 3.2

    Dear Sirs,
    When you try to create a deployment profile using JDeveloper 3.2 step #2 of the wizard asks for "select a type of deployment". In Jdeveloper 3.1.1.2 the option "deploy Enterprise Java Bean (EJB) to Oracle8i". But in release 3.2 that option is taken away.
    Does this mean Jdeveloper does not support the EJB 1.1 spec (i.e. the XML deployment descriptor)? Or must I upgrade the database from 8.1.6 to 8.1.7. Or is this a bug?
    regards.

    Hello:
    Can anyone helps us with this EJB problem in Oracle? :
    With JDeveloper 3.1.12 we can deploy with the wizard an EJB component in Oracle (database) 8.1.6 but the client test fails with the following message:
    "oracle.jbo.ApplicationModuleCreateException:
    JBO-25222: Unable to create application module...."
    In an Oracle error log file (in the bdump directory) we find the following information:
    "Attempt to call System.getProperties failed
    ...skipping...
    at oracle.jbo.server.remote.ejb.EJBApplicationModuleImpl.ejbCreate
    (EJBApplicationModuleImpl.java:183)..."
    We think that the problem is related with:
    1- memory parameters of Oracle 8i ?
    2- Java security permissions in the server ?
    Thanks you for your help.
    Maria Consuelo Franky - Victor Toro
    CincoSOFT Ltda.
    Bogota - Colombia
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by slag:
    Oracle (database) 8.1.6 only supports 1.0 spec, 8.1.7 is 1.1 spec compliant, to my knowledge.
    [b]slag<HR></BLOCKQUOTE>
    null

  • 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.

  • Remote debugging on iPlanet 60sp5

    I'm trying to get remote debugging working on iPlanet (Sun Web Server) version 60sp5 using jdk1.4.1. I think I've set all the setting correctly, but I get the error "Connection refused; Fatal error: Unable to attach to target VM."
    Here are how things are set:
    jvm12.conf for the server contains:
    [JVMConfig]
    jvm.enableDebug=1
    jvm.compiler=NONE
    jvm.option=-classic
    jvm.option=-Xnoagent
    jvm.option=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=3999
    The the $ADMIN_SERV/start-jvm file contains:
    # cat start-jvm
    NSES_JDK=/usr/j2sdk1.4.1; export NSES_JDK
    NSES_JRE=${NSES_JDK}/jre; export NSES_JRE
    NSES_JRE_RUNTIME_LIBPATH=${NSES_JRE}/lib/sparc:${NSES_JRE}/lib/sparc/server:${NSES_JRE}/lib/sparc/classic:${NSES_JRE}/lib/sparc/native_threads:${NSES_JDK}/lib/sparc; export NSES_JRE_RUNTIME_LIBPATH
    <snipped the rest>
    I've stopped and restarted the admin server and the server instance I'm trying to debug.
    When I run jdk 1.4 jdb, I get:
    #/usr/j2sdk1.4.1/bin/jdb -attach 3999
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    <snip>
    com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:346)
    at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
    at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
    at com.sun.tools.example.debug.tty.TTY.main(TTY.java:829)
    Fatal error:
    Unable to attach to target VM.
    What detail am I missing? Or is JDK remote debugging not supported?
    Thanks in advance.
    Dave

    How to perform remote debugging on windows server under Microsoft Live Account?
    Host PC runs a Windows 8 signed in with a Microsoft Live Account. Target PC runs a Windows server 2012R2.
    I installed Remote tools for Visual Studio 2013.4 on Target PC.
    As I known, Windows server doesn't support Microsoft Live Account.
    Hello,
    Actually, we just need the system user account and the password of target pc, but the microsoft live account is just an account of local pc.
    For more details, you could refer to the following blog which is quite similar to VS2013.
    Running Visual Studio Remote Debugger in Domain Environment
    Regards,
    Carl
    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites;
    therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure
    that you completely understand the risk before retrieving any software from the Internet.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Remote Debugging Java Portlets

    Dear experts,
    I am a newbie to JDeveloper and Oracle9iAS Portal.
    I created some Java Portlets with the JDev and the Portlet Wizard and would like to debug them when they are executed in the Portal.
    Any help on how to setup the remote debugging? Are there any documents about this out there?
    Your help is much appreciated.
    Cheers,
    Erik

    Erik,
    This is something we are looking at for enhancements for the Java Portlet Wizard, but for now you remote debugging from the Oracle9iAS OPMN. You can find out more about it here:
    http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-logging-debugging-technote.html
    Sue Vickers

  • Debugging w/ JDev and iPlanet

    Just curious if anyone has been successful with remote debugging from JDeveloper 3.1 where iPlanet 4 is the web-server?
    I've tried the "General Settings" as described in the help files, but they cause the web-server to not restart.

    Sorry!
              the debug option was NOT enabled (seems that my ant script is too
              complex at this stadium...)
              Cheers,
              Jan.
              [email protected] (Jan-Friedrich Mutter) wrote in message news:<[email protected]>...
              > Hi,
              >
              > I'd like to debug my Servlets/EJB's running on a Weblogic 6.1 SP4. My
              > IDE is Eclipse 2.1
              > To enable remote debugging I start Weblogic with that additional JVM
              > options:
              >
              > -classic -Xdebug -Xnoagent
              > -Xrunjdwp:transport=dt_socket,address=5000,suspend=y,server=y
              >
              > and configured my Remote Application in Eclipse accordingly.
              >
              > The connection successes.
              >
              > Problem: When I reach my breakpoint, Eclipse pops up an error message:
              > "Attempting to install a breakpoint in the type
              > com.xxx....
              > that has no line number attributes. The breakpoint cannot be
              > installed. Class files must be generated with the line number
              > attributes.
              > Reason:
              > Absent Line Number Information"
              >
              > I compiled my sources with enabled debug option.
              >
              > Any comments and ideas are appreciated.
              >
              > Cheers,
              > Jan.
              

  • 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

  • Linux remote debug - can't load jdwp helper lib

    Running RedHat 7.1 and jetty web server with jdk 1.3.1_09(?) (and ultimately trying to do a remote
    debug from a Windows Eclipse machine).
    Running jetty with cmd line args:
    -Xmx256m -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Djava.compiler=NONE
    linux says:
    unable to configure JVMDI events
    unable to initialize JVM helper library jdwp
    loadJVMHelperLib failed
    could not create the Java virtual machine
    The linux jdk has /bin/libjdwp.so and /bin/libjdwp_g.so

    silly me: I forgot the -Xdebug option. Now it works. Never mind.

  • JVM options for remote debugging

    I'm run Tomcat 5.0.28 using service wrapper and i need help with set the required JVM options for remote debugging from ECLIPSE 3.0.0.

    Where can I find a complete list of available JVM options for WLS?
    For example -Dweblogic.security.SSL.protocolVersion is not listed anywhere
    That is NOT a JVM options as I just explained in your other thread - see that thread for details.
    JVM options
    That "-Dxxx" syntax means you are specifying a system property on the Java command-line when launching Java.
    That property can now be accessed in the Java app
    You can make up and use ANYTHING you want when you write your own apps - those command line entries will just get added to the standard/default System properties as I explain in your other thread.
    Consult the WebLogic documentation (or onliine help if WLS has such a thing) for info on the system properties that have been defined for WLS.

Maybe you are looking for

  • What's the best way to use Time Capsule through Extended Wireless Network?

    I am operating four computers, three Apples and a PC.  All the Apples use Snow Leopard.  I have a large house where the cable company's modem and internet access is located downstairs at the far back of the house.  That is where I have a 2Tb 802.11n

  • Problem in xml query

    Hi I am working on BLS and having problem in xml query.I want to perform some calculation over xml columns.Than total of this as a new column.I can do this part in logic editor itself but can i do these both task by XSLT. Can be made our own XSLT for

  • Files Un Zip problem.

    Hi, I am facing a strange error, when I download the zip file from SAP(sdn, Service portal etc.,) site, and unzip it, open the first file appeared in the zip, the following error occurs, <b>Error in file#1: bad Zip file offset(Error local header sign

  • Locking the volume on external speaker

    My grandson is autistic and always has his ipad.  He has it in airports, on airplances, in stores, etc.  I know you can lock the volume on the ipad but that is only if you are using ear buds or headphones which he does not use.   Does anyone know if

  • Non blocking socket: GUI hangs

    Hello, i have made a swing based GUI. It sends a request to the local server and the server keep sending response to it. Basically request is sent once, but response is in the form of stream. But my problem is that GUI hangs after getting the respons