Weblogic 8.1 Remote Debugging Setup

I am requesting help on a problem I am encountering using remote debugging with eclipse and Weblogic 8.1.2. I have successfully used remote debugging in the past with other application servers, but I have been unsuccessful with Weblogic 8.1.
I have set the remote debugging options both on the weblogic start script as well as configured eclipse to connect to the port that was defined in the startup script (See Below). When I start the remote debugger within eclipse and it seems to connect properly. Once I set a break point or remove a break point, weblogic generates a "Transport error, error code = -1" and stops the debugger with in Eclipse.
At this point I am at a loss of what is causing this error. I would appreciate any help on this issue.
Operating System: WindowsXP Pro
Weblogic Version: 8.1.2
Eclipse 3.2
JDK 1.4.2
JAVA_OPTS: =-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n
Thanks!
Rafael Salazar

Address 7001 does't seem to be good idea for debuging, it is weblogic default address.
try 3999.
"Arsel" <[email protected]> wrote:
>
Hi There,
I started weblogic server 8.1 with the follwing option -Xdebug -Xnoagent
-Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7001
Weblogic started successfully but when I tried to attached the java process
from
my IDE I got the error 'Target server failed to handshake' and in the
weblogic
console I got the following error.
<22-Aug-2003 10:09:52 o'clock AM EDT> <Error> <HTTP> <BEA-101083> <Connection
failure.
java.io.IOException: A complete message could not be read on socket:
'weblogic.servlet.internal.MuxableSocketHTTP@1871db
1 - idle timeout: '60000' ms, socket timeout: '5000' ms', in the configured
timeout
period of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:734)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:49)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Does weblogic 8.1 support JPDA? Any suggesstion is higly appreciated.
Thanks.
Arsel

Similar Messages

  • 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

  • Patchset3 (11.1.1.4/wls 10.3.4) Remote debugging JDPA in weblogic cluster

    Hi,
    I am using Patchset3 (JDeveloper 11.1.1.4/ weblogic server 10.3.4). I was wondering how i can remote debug with
    a) weblogic managed server that is part of a weblogic cluster
    b) the cluster itself that contains multiple managed servers.
    Note that i do understand how to remote debug against a weblogic server (e.g. http://jdeveloperfaq.blogspot.com/2009/12/faq-4-how-to-remote-debug-adf.html), but have not been able to find out how i can achieve this against a cluster that has multiple managed servers. Any directions will be appreciated.
    Thanks,

    Hi,
    haven't tried it but here are some suggestions that might be of help:
    1) Each managed server for each cluster node should be setup for remote debugging. This means that each managed server must be started with the -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n* options in the WebLogic start-up script. Also Tunneling must be enabled for each managed server for each cluster node.
    2) Make sure that you specify a different connection port for each managed server. This is indicated by the address* specifier above.
    3) It seems logical to me that you will need to start separate instances of JDeveloper - one for each managed server that you need to attach to.
    Let us know how it turns out,
    Nick

  • Remote Debug mode while starting Weblogic server using my eclipse plugin

    Hi
    When am starting the Weblogic server via my eclipse it is opening in Remote Debug mode. Can anyone tell me how do I change the preferences/configure so that it doesnt run in debug mode.
    NOTE:I have deployed the application and ran number of times, till yesterday it wasn't starting in this mode, though I haven't changed any settings since then, it is starting in Remote Debug mode.
    Thanks,

    The above issue is resolved by adding this to setDomainEnv.sh :
    ALTERNATE_TYPES_DIRECTORY="${WLPORTAL_HOME}/portal/lib/security"
    export ALTERNATE_TYPES_DIRECTORY
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.alternateTypesDirectory=${ALTERNATE_TYPES_DIRECTORY}"
    # weblogic extension directories (system jars)
    if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/p13n/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    else
    WEBLOGIC_EXTENSION_DIRS="${WLPORTAL_HOME}/p13n/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    fi
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/light-portal/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/portal/lib/system${
    CLASSPATHSEP}${WLPORTAL_HOME}/info-mgmt/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/analytics/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/apps/lib/system${CLASSP
    ATHSEP}${WLPORTAL_HOME}/info-mgmt/deprecated/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/content-mgmt/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.ext.dirs=${WEBLOGIC_EXTENSION_DIRS}"
    export JAVA_OPTIONS
    fi

  • Weblogic service pack 4 debug mode, for remote debugging

    Hi there,
    I am using WebLogic Enterprise 5.1 Service Pack 4 on NT. I would
    like to launch it in debug mode, so that I can debug some EJBs
    using JBuilder4. JBuilder supports WL SP 4 only.
    I installed JPDA and it is in path. When I try this command:
    java
    -ms64m
    -mx64m
    -classpath d:\weblogic\lib\weblogic510sp4boot.jar;.\classes\boot;
              .\eval\cloudscape\lib\cloudscape.jar;
    -Dweblogic.class.path=d:\weblogic\lib\weblogic510sp4.jar;.\lib\weblogicaux.jar;
                   .\license;.\classes;.\myserver\serverclasses;d:\weblogic\lib\jConnect.jar
    -Dweblogic.home=.
    -Djava.security.manager
    -Djava.security.policy==.\weblogic.policy
    -Xdebug
    -Xnoagent
    -Djava.compiler=NONE
    -Xrunjdwp:transport=dt_socket,address=7001,suspend=y,server=y
    weblogic.Server
    the process hangs and nothing happens.
    I included other newsgroup postings on the same subject below.
    Thanks,
    Ramesh
    Subject: Re: Remote Debugging with WLE (JPDA)
    Date: Wed, 16 Aug 2000 08:54:36 -0300
    From: Wendell MacKenzie <[email protected]>
    Newsgroups: weblogic.developer.interest.weblogicenterprise
    I made a mistake. BEA's JavaServer DOES NOT today support the
    JPDA debugger platform. Only the "old" Sun one which uses the agent
    password stuff.
    Sorry to have mislead you.
    unless of course a BEA WLE guru in engineering has a trick that
    allows this to work...?
    Wendell MacKenzie wrote:
    This works under Solaris7 using jpda1_0.
    LD_LIBRARY_PATH=/opt/wle/5.1/lib:/usr/Solaris_JDK_1.2.2_05a/jre/lib/sparc:/usr/jpda1_0/lib/sparc>
    export LD_LIBRARY_PATH
    edit according to your host's installation dirs
    get the startup args to your JavaServer's boot requirementsvia:
    >
    tmboot -n -d1 -i <ID> (where ID is the numeric id ofthe Java Server you want
    to debug)
    and then launch the process from the shell as in:
    JavaServer -C dom=<DOMAIN> -i 6 -i 81 -u nodename -U<ULOG_PATH_PREFIX> -m 0
    -A --
    -Xbootclasspath:/usr/Solaris_JDK_1.2.2_05a/lib/tools.jar:/usr/Solaris_JDK_1.2.2_05a/jre/lib/rt.jar
    -Xrunjdwp:transport=dt_socket,address=<PORT>,server=y,suspend=n-Xdebug
    <SERVERIMPL>.jar <SERVER_SPECIFIC_ARGS>
    Change each <XXXXX> as appropriate for your configuration.
    Be sure to check your ULOG for the password generated, you'llneed it when
    you launch your client
    that will connect to the Java server at debug time.
    Hope this helps.
    Wendell
    Scott Jones wrote:
    Help,
    Need to information on connecting TogetherJ or VisualCafe
    to WLE. I have
    been told to install JavaTM Platform Debugger Architecture,version 1.0
    (JPDA 1.0).
    Has anyone done this?
    Any pointers,
    Thanks,
    [email protected]

    WLE does not have service packs, you must be using WLS - you should post this in a WLS newsgroup. WLE
    and WLS are 2 separate products.
    Ramesh Babu wrote:
    Hi there,
    I am using WebLogic Enterprise 5.1 Service Pack 4 on NT. I would
    like to launch it in debug mode, so that I can debug some EJBs
    using JBuilder4. JBuilder supports WL SP 4 only.
    I installed JPDA and it is in path. When I try this command:
    java
    -ms64m
    -mx64m
    -classpath d:\weblogic\lib\weblogic510sp4boot.jar;.\classes\boot;
    .\eval\cloudscape\lib\cloudscape.jar;
    -Dweblogic.class.path=d:\weblogic\lib\weblogic510sp4.jar;.\lib\weblogicaux.jar;
    .\license;.\classes;.\myserver\serverclasses;d:\weblogic\lib\jConnect.jar
    -Dweblogic.home=.
    -Djava.security.manager
    -Djava.security.policy==.\weblogic.policy
    -Xdebug
    -Xnoagent
    -Djava.compiler=NONE
    -Xrunjdwp:transport=dt_socket,address=7001,suspend=y,server=y
    weblogic.Server
    the process hangs and nothing happens.
    I included other newsgroup postings on the same subject below.
    Thanks,
    Ramesh
    Subject: Re: Remote Debugging with WLE (JPDA)
    Date: Wed, 16 Aug 2000 08:54:36 -0300
    From: Wendell MacKenzie <[email protected]>
    Newsgroups: weblogic.developer.interest.weblogicenterprise
    I made a mistake. BEA's JavaServer DOES NOT today support the
    JPDA debugger platform. Only the "old" Sun one which uses the agent
    password stuff.
    Sorry to have mislead you.
    unless of course a BEA WLE guru in engineering has a trick that
    allows this to work...?
    Wendell MacKenzie wrote:
    This works under Solaris7 using jpda1_0.
    LD_LIBRARY_PATH=/opt/wle/5.1/lib:/usr/Solaris_JDK_1.2.2_05a/jre/lib/sparc:/usr/jpda1_0/lib/sparc
    export LD_LIBRARY_PATH
    edit according to your host's installation dirs
    get the startup args to your JavaServer's boot requirementsvia:
    tmboot -n -d1 -i <ID> (where ID is the numeric id ofthe Java Server you want
    to debug)
    and then launch the process from the shell as in:
    JavaServer -C dom=<DOMAIN> -i 6 -i 81 -u nodename -U<ULOG_PATH_PREFIX> -m 0
    -A --
    -Xbootclasspath:/usr/Solaris_JDK_1.2.2_05a/lib/tools.jar:/usr/Solaris_JDK_1.2.2_05a/jre/lib/rt.jar
    -Xrunjdwp:transport=dt_socket,address=<PORT>,server=y,suspend=n-Xdebug
    <SERVERIMPL>.jar <SERVER_SPECIFIC_ARGS>
    Change each <XXXXX> as appropriate for your configuration.
    Be sure to check your ULOG for the password generated, you'llneed it when
    you launch your client
    that will connect to the Java server at debug time.
    Hope this helps.
    Wendell
    Scott Jones wrote:
    Help,
    Need to information on connecting TogetherJ or VisualCafe
    to WLE. I have
    been told to install JavaTM Platform Debugger Architecture,version 1.0
    (JPDA 1.0).
    Has anyone done this?
    Any pointers,
    Thanks,
    [email protected]

  • Remote Debugging w/ Eclipse and Weblogic

    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.
              

    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.
              

  • Remote debugging the Oracle weblogic 10.3.3 from eclipse

    As I see the startWeblogic.cml, I am finding it totally different frim the earlier scripts. I need to do remote debugging of the weblogic 10.3.3 from eclipse. Can someone guide me. Here below is the script of startweblogic.cmd I am finding on the oracle weblogic server. Need help as I need to do the remote debugging.
    1. @rem *************************************************************************
    2. @rem This script is used to set up your environment for development with
    3. @rem WebLogic Server. It sets the following variables:
    4. @rem
    5. @rem WL_HOME - The root directory of your WebLogic installation
    6. @rem JAVA_HOME - Location of the version of Java used to start WebLogic
    7. @rem Server. This variable must point to the root directory of a
    8. @rem JDK installation and will be set for you by the installer.
    9. @rem See the WebLogic platform support page
    10. @rem (@DOCSHOST/platforms/index.html) for an up-to-date list of
    11. @rem supported JVMs on Windows NT.
    12. @rem PATH - Adds the JDK and WebLogic directories to the system path.
    13. @rem CLASSPATH - Adds the JDK and WebLogic jars to the classpath.
    14. @rem
    15. @rem Other variables that setWLSEnv takes are:
    16. @rem
    17. @rem PRE_CLASSPATH - Path style variable to be added to the beginning of the
    18. @rem CLASSPATH
    19. @rem POST_CLASSPATH - Path style variable to be added to the end of the
    20. @rem CLASSPATH
    21. @rem PRE_PATH - Path style variable to be added to the beginning of the
    22. @rem PATH
    23. @rem POST_PATH - Path style variable to be added to the end of the PATH
    24. @rem
    25. @rem When setting these variables below, please use short file names(8.3).
    26. @rem To display short (MS-DOS) filenames, use "dir /x". File names with
    27. @rem spaces will break this script.
    28. @rem
    29. @rem jDriver for Oracle users: This script assumes that native libraries
    30. @rem required for jDriver for Oracle have been installed in the proper
    31. @rem location and that your system PATH variable has been set appropriately.
    32. @rem
    33. @rem For additional information, refer to the WebLogic Server Administration
    34. @rem Guide (@DOCSWEBROOT/adminguide/startstop.html).
    35. @rem *************************************************************************
    36. @echo off
    37.
    38. @rem Set user-defined variables.
    39. set WL_HOME=C:\bea\wlserver_10.3
    40. call "%WL_HOME%\common\bin\commEnv.cmd"
    41.
    42. @rem Check that the WebLogic classes are where we expect them to be
    43. @if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava
    44. @echo.
    45. @echo The WebLogic Server wasn't found in directory %WL_HOME%\server.
    46. @echo Please edit the setWLSEnv.cmd script so that the WL_HOME
    47. @echo variable points to the WebLogic installation directory.
    48. @echo Your environment has not been set.
    49. @goto finish
    50.
    51. @rem Check that java is where we expect it to be
    52. :checkJava
    53. @if exist "%JAVA_HOME%\bin\java.exe" goto setWLSEnv
    54. @echo.
    55. @echo The JDK wasn't found in directory %JAVA_HOME%.
    56. @echo Please edit the setWLSEnv.cmd script so that the JAVA_HOME
    57. @echo variable points to the location of your JDK.
    58. @echo Your environment has not been set.
    59. @goto finish
    60.
    61. :setWLSEnv
    62. set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
    63.
    64. @rem Import extended environment
    65.
    66. if exist extEnv.cmd call extEnv.cmd
    67. if not "%EXT_PRE_CLASSPATH%" == "" set CLASSPATH=%EXT_PRE_CLASSPATH%;%CLASSPATH%
    68. if not "%EXT_POST_CLASSPATH%" == "" set CLASSPATH=%CLASSPATH%;%EXT_POST_CLASSPATH%
    69. if not "%EXT_PRE_PATH%" == "" set PATH=%EXT_PRE_PATH%;%PATH%
    70. if not "%EXT_POST_PATH%" == "" set PATH=%PATH%;%EXT_POST_PATH%
    71.
    72. @rem Get PRE and POST environment
    73. if not "%PRE_CLASSPATH%" == "" set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
    74. if not "%POST_CLASSPATH%" == "" set CLASSPATH=%CLASSPATH%;%POST_CLASSPATH%
    75. if not "%PRE_PATH%" == "" set PATH=%PRE_PATH%;%PATH%
    76. if not "%POST_PATH%" == "" set PATH=%PATH%;%POST_PATH%
    77.
    78. @echo.
    79. @echo CLASSPATH=%CLASSPATH%
    80. @echo.
    81. @echo PATH=%PATH%
    82. @echo.
    83. @echo Your environment has been set.
    84.
    85. :finish

    this Running Weblogic Server 10.3.3 in Debug  mode gentleman seems to have found the solution.
    if you create a server inside Eclipse, you have the menu option "start in debug mode" who should do the job for you

  • Remote Debugging Weblogic 92 application using Eclipse 3.4

    Hi,
    1. I have the below debug options in the startweblogic script.
    set JAVA_OPTIONS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=javadebug,suspend=n
    2. I have configured remote debugging in Eclipse. Connection type - Standard Socket (attach), host =localhost, port 7001. 7001 is the listen port that I have specified in config.xml.
    3. When I run weblogic, I see the message listening for transport dt_socket address. Since address=javadebug, each time the dt_socket address is different.
    4. In Eclipse IDE, the debug prespective indicates the server has started. But when I click on the debug buttin in the Debug configuration dialog, I get the error below
    Failed to connect to remote VM. Connection timed out.
    org.eclipse.jdi.TimeoutException
    Note: Another thread in this forum mentions using the same port that is specified in the java_options but that did not work either. Any ideas what might be wrong?
    Thanks.
    RS.

    I think that value of "javadebug" is only used for shared memory transport, not socket transport. You have to choose a port that isn't being used by anything else. The value 8453 is a typical default value for this. Specify that instead of "javadebug", and use 8453 in your connection from Eclipse.

  • Remote debugging problem with Weblogic 9 in Eclipse

    Hi,
    I'm trying to test out debugging a test app using Eclipse as the IDE and the Weblogic 9.0 server. Debugging with 8.1 worked fine. No problems. When I start the 9.0 server, I get "Error launching remote debugging for external server, changing to non-debugging mode. Please check the debug port setting and ensure that the specified "start" executable launches the server with debugging enabled."
    Any ideas where to start?
    -Eric

    Try this:
    1. Login with administrator user
    2. Security Realms > myrealm > Providers > DefaultAuthenticator > Migration > Export
    3. Click on save button to get /DOMAINHOME/DefaultAuthenticator.dat file 4. Backup /DOMAIN_HOME/security/DefaultAuthenticator.ldift file
    5. Move /DOMAINHOME/DefaultAuthenticator.dat file to /DOMAIN_HOME/security/ directory
    6. Rename /DOMAIN_HOME/security/DefaultAuthenticator.dat to /DOMAIN_HOME/security/DefaultAuthenticator.ldift
    7. Shutdown all servers
    8. Delete LDAP directory in each server
    9. Start up all servers
    Good luck !
    Octavio

  • 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 JSPs using Forte and Weblogic

    I am compiling JSPs using a build script (ANT) and deploying it to weblogic server instance running on unix. when i mount the JSPs and my classes to Forte and connect to weblogic instance, I can debug the java files. But the JSPs i can't debug. I can put the break points in JSPs but the debugger is not stopping at that breakpoint when i run my application in the browser.

    I guess I can answer the question myself...
    Turns out that there was a problem in 1.3.0. BugParade #4342974.

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

  • Enabling tracing in remote debugging

    Hello,
    I am wondering how to enable tracing in remote
    debugging. Here is what I now how to do:
    1) how to attach to JDPA,
    2) run till the breakpoint.
    Next, when I try to step in, or step over
    the process is always run until the next break
    point regardless of whether I have the
    required classes in the source path and
    in the "tracing ... include" list.
    I would appreciate any help,
    Vadim
    P.S. 1) Thanks for answering my previous question
    about customizing ant. I figured how to do it earlier
    on my own and wanted to post a reply but
    couldn't do it. The system wouldn't find the
    topic.
    2) As far as JB concerned, the whole process of remote
    debugging is pretty straight forward. I can help if anyone intersted.

    Hi Vadim,
    well, I am a newbie and would like some help how to setup the Jdeveloper and IAS for remote debugging my java portlets.
    If you like to contact me privatly: [email protected]
    Thanks
    Erik

  • Remote Debugging w/Eclipse Transport Error

    I am requesting help on a problem I am encountering using remote debugging with eclipse and Weblogic 8.1.2. I have successfully used remote debugging in the past with other application servers, but I have been unsuccessful with Weblogic 8.1.
    I have set the remote debugging options both on the weblogic start script as well as configured eclipse to connect to the port that was defined in the startup script (See Below). When I start the remote debugger within eclipse and it seems to connect properly. Once I set a break point or remove a break point, weblogic generates a "Transport error, error code = -1" and stops the debugger with in Eclipse.
    At this point I am at a loss of what is causing this error. I would appreciate any help on this issue.
    Operating System: WindowsXP Pro
    Weblogic Version: 8.1.2
    Eclipse 3.2
    JDK 1.4.2
    JAVA_OPTS: =-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n
    Thanks!
    Rafael Salazar

    Interesting. I tried it and it works. you might want to check your Eclipse port number. In addition try netstat -a to see if port 1044 is active.
    This one might also help: http://www.jacoozi.com/index.php?option=com_content&task=view&id=119&Itemid=134
    Let me know if you have any questions.

  • Remote debugging through NAT - VS2013, C#

    I need help figuring out how to initiate a remote debugging session when the target computer is across the internet and behind NAT. VS2013 and a C# application, .net 4.5
    Remote debugging works great here on my LAN, but now I need to connect to a remote stand alone (not on a domain) PC that is behind NAT; it's WAN IP is different from its LAN IP.  My development PC is also behind NAT.  I do not have access to the
    remote firewall/router to configure port forwarding.  Is there any other way I can connect?  Are there any tools that will allow me to connect directly to the remote PC with the remote debugger, similar to how TeamViewer can connect to PC's even
    though they're behind NAT? 

    Hi Matt_FL,
    Like this document here:
    http://www.codeproject.com/Tips/618804/Remote-debugging-for-Visual-Studio-from-different
    It shared us the detailed steps about how we setup the remote debugging if the Environments are not in the same domain.
    So I'm afraid that we would check whether the Environments meet the requirements of remote debugging.
    Reference:
    https://msdn.microsoft.com/en-us/library/vstudio/bt727f1t%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396#bkmk_setuptheremotecomputer
    If the remote computer is protected by a firewall, you must configure the firewall to allow the Remote Debugging Monitor to communicate with the Visual Studio host computer.
    If your network requires that communication be performed using IPSec, you must open additional ports in the firewall.
    If you are debugging a process on a web server, you must open an additional port.
    Other threads I met before:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/0058a97a-8595-4235-88b1-7575aed2e2de/remote-debug-issuevisual-studio-remote-computer-can-not-back-connect-to-remote-computera-firewall?forum=vsdebug
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/897782e5-dada-4df1-8ef2-f119cdce7e5e/remote-debugging-over-internetMaybe
    you could refer to them, hope it could provide useful information.
    But as far as I know, we could remote debugging with WAN even if it has some specific requirements.
    Reference:
    http://stackoverflow.com/questions/5091207/net-remote-debugging-domain-networking-issues
    If I have misunderstood this issue, please feel free to let me know.
    Best Regards,
    Jack
    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.

Maybe you are looking for

  • Can you have multiple apple id's with different billing?

    My husband and I started out using the same Apple ID and now have it on a laptop, 2 iPhones and an iPad.  When we set up our new 4S iPhones our Contacts were merged and some duplicated.  I also want to have my own set of music so I'd like to separate

  • How to insert the data from XML to a table

    Hi, I'm using Oracle 10g Express Edition I need help in How to insert the data from XML file into the table. Below is the example i'm working on.. I have create ridb user with below mentioned privileges: Account Status Locked Unlocked Default Tablesp

  • How do i transfer some files and applications to and make my ssd a bootable drive

    I have a mbp 2009.  i'm using the owc data doubler - installing 250gb ssd and keeping my 250 HDD.  I want to transfer some apps and files from the HDD to the SSD and make the SSD the bootable drive.  I'm not too familiar with teh inner-workings, so i

  • Reader+OLE+SetCurrentHighlight

    Hi! I couldn't find anything in the forum regarding SetCurrentHighlight() bug so maybe I am the only one who would like to use it. But there's no problem :-) The documentation of the method's parameters is a little bit confusing at first sight. void

  • Search help for A field in select option which doesnt have search help in c

    u have table in QM which is QMFE in whihc field FECOD which doesnt have search help , but my requirement is that in select option in report to have users to see its search help, anyone there to help me