Remote Debugging in Eclipse

hi,
I am using Eclipse3.1 and Tomcat 5.
While doing remote debugging ,i got a message Failed to connect to remote VM.i searched for forum about this.i got solution but i couldn't rectify this.can any one tell where to insert the line in the tomcat's start.bat ? How to start the tomcat? and remaining settings in Eclipse .I need step by step process.
my task is to connect to the remote unix server.i dont know how to connect to the server with giving the values of hostname,userid and password .
Kindly help me ,I spent 2 weeks in this.
thanking you.

You need to start the remove VM in debug mode. For that you need to start with following options
java -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000
Then try connecting to Remote VM with IP/Port number 4000.

Similar Messages

  • 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 Debug in eclipse

    Hello!
    I am new to eclipse...Can someone tell me how to use remote debug? I thought it is done by running "Debug..." after selecting the java file...Sorry for being so ignorant about this...I will really appreciate your help. Thank you.

    You do not have to have a main() method in the application. In fact you can have a breakpoint in any Java component. It just has to be in debugger's scope and it'll get visited.
    Example: Let's say you're rinning a Tomcat app. You can have a breakpoint inside a servlet's doGet() methof and when you invkoke the servlet from Firefox, Eclipse will pause the excution and will bring the debugger perspective up.
    From the article "Eclipse Debug window should automatically pop-up with the stack pointer on your first breakpoint (See Figure 3: Breakpoint hit in Eclipse's debugger). After that, you can use all the various functions that the debugger has to offer, namely variable assignments, step-into, drop to frame, etc."
    If you're not seeining anything, chances are that you're not executing that piece of code. Double check that and let me know.
    Levent Gurses

  • 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 debug on Eclipse

    Hi,all
    I'm using eclipse 3.1.1 to debug a servlet deployed on sjsas7 2004Q2, the os is windows. The only connect type on eclipse is Standard(Socket Attach), so I set the debug options in sjsas is:-Xdebug -Dnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1234,suspend=n,
    When I use debug in eclipse, it connect to sjsas successfully.
    But there's and appservd.exe application error, if I set a breakpoint in eclipse and the sjsas restarts.
    I appreciate anyone tell me how to solve this problem or how can I use shared memoy type in eclipse remote debug?
    Thanks alot

    Hi,
    I am also facing this problem in debug mode in Eclipse 3.1.1 .
    We are trying to run a huge JNI call to an exe which makes use of
    win32 and mfc dlls . please help . is it possible to make jni calls from java program in eclipse . am not getting any exceptions but the .exe file is not running . any help would be great ...
    email : [email protected]
    FATAL ERROR in native method: No transports initialized
    Invalid listen port number: localhost:2429
    Transport dt_socket failed to initialize, rc = -1.

  • Remote debugging with Eclipse and WS7

    Any idea how I can set this up?
    Thanks

    Not true. You can do it through Eclipse with settings set in the server.xml <jvm> tag. I know because I asked this quetion a few years ago and implented the information.
    Why am I asking again. Well I lost the e-mail with the information (Heh the inbox got full and I dumped old e-mails) Now I'm collecting old tips to keep just in case I run across the problem again. Not every company moves on to the last technology. Some hang on to some out dated stuff.
    Thanks for the suggestion I know of NetBeans and think its one of many great IDE tools.

  • Remote debuging with Eclipse and Sun WebServer 7

    Does any have an Idea how this can be done?
    Thanks

    This is not the right forum for this question. The right forum might be http://forum.java.sun.com/forum.jspa?forumID=759

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

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

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

  • 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

  • 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

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

Maybe you are looking for

  • Getting a extra space between the line in the PDF output

    I an having the rtf templete contains a table . That table contains 3 row and for the second row i have a for loop start at 1st column and end's at last column . first and 3rd row are the simple data donot have any for loop . So in the PDF out put of

  • Landed costs

    Hi All, This is a question on landed costs for imported materials. I have created a PO for an item having a value of INR 650, [ex.rate u2013 48/-] qty u201310. I have created landed costs after a/p invoice. I gave freight amt as 20 usd, customs  valu

  • Loosing part of the path when opening a page? 404 Error?

    When we open files in a particular folder on our website in Contribute CS4, it looses part of the path.  So Contribute is working fine for everything that we can tell, EXCEPT, one folder (for example, http://www.website.com/P-S/Ballard/)... When we t

  • Need help with pass/fail expression​.

    I've got an array of strings parameter called Parameters.CAN_Switch_Channel_Name[0] (equal to a string) which gets passed into a subsequence.  During run time when this subsequence gets called, a new parameter gets created which gets named the string

  • 7'x18' Mural Design, Illustrator CS4 will not produce as small printiable PDF to show client

    I am designing a 7' x 18' Photo/Graphic mural for a client.  The output provider said to work in full size.  However, I need a pdf, or any kind of file that will print the image on 8.5x11 paper for client review.  I've tried opening the file in InDes