facebook

debugging weblogic 8 with MyEclipse 3.8 Beta 2 [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #211579 Reply

    v2kea204
    Member

    Hello I am trying to run and debug weblogic 8 from inside eclipse. I had the following parameters in my weblogic.cmd file

    -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

    and when I configured the MyEclipse to run welblogic from inside I set the above parameters in Preferences ->Weblogic 8 ->JDK — Optional Java VM Arguments. However when I launch the server from inside Eclipse by using my Run Icon -> Weblogic 8 option from the Tool Bar, I get an error saying the following:

    A cnfiguration error occured during start up, Please verify the preference field with the prompt: Invalid Listen Port number: localhost:2503, Transport dt_socket failed to initialize, rc = -1

    No where have I used port 2503, I don’t know from where it is picking up this number.

    Can someone help please. – System Setup ——————————-

    Operating System and version: Windows 2000
    Eclipse version: 3.0
    Eclipse build id: 200406251208
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 3.8 Beta 2
    Eclipse JDK version: 8
    Application Server JDK version: 1.4.2_04
    Are there any exceptions in the Eclipse log file? No Exception but the following message:
    !ENTRY com.genuitec.eclipse.easie.weblogic8 1 1 Aug 05, 2004 14:02:36.308
    !MESSAGE Error starting WebLogic: Invalid listen port number: localhost:2503
    Transport dt_socket failed to initialize, rc = -1.

    – Message Body ——————————-

    #211598

    Riyad Kalla
    Member

    Have you tried adding the arguments 1 at a time to see which one causes the mix up? Once you find that, try slappign quotes around it and see if that helps.

    #211712

    v2kea204
    Member

    I tried as you suggested the argument runjdwp:transport is the one that cause mix up
    tried “-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005″
    and -Xrunjdwp:transport=”dt_socket,server=y,suspend=n,address=5005”

    still get thr same error

    #211718

    Riyad Kalla
    Member

    Can you try these:

    -Xrunjdwp:"transport=dt_socket,server=y,suspend=n,address=5005"
    -X"runjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
    -Xrunjdwp:transport="dt_socket","server=y","suspend=n","address=5005"
    #211764

    v2kea204
    Member

    I tried all three one by one, I get the same error and it reads as under:
    A configuration error occured during startup. Please verify the preference field with the prompt: Invalid listen port number: localhost: 1250 Transport dt_socket failed to initialize, rc =-1.
    I am adding this under Weblogic8 -> JDK Optional Java VM arguments, is that the right field to enter this argument?, or do I have to enter these somewhere else.

    Thanks in advance

    #211769

    Riyad Kalla
    Member

    Yes you are correct that is the correct location, I’ll ask someone else to have a look at this post for you.

    #211778

    Scott Anderson
    Participant

    Whoa guys! These are arguments for remote debugging. All of this is handled automatically for you by the connector. Please don’t pass *any* VM arguments and I think you’ll find everything works just fine.

    #212017

    v2kea204
    Member

    Thanks Scott – That is right, actually I was not aware that in such case debugger also starts automatically and connects to the Serevr VM, The MyEclipse perspective does not show that debugger has started. I was launching the debugger and was getting a message saying connection refused. I though it was because these parameters were not provided to VM launch.

    Rajeev

    #212048

    Scott Anderson
    Participant

    Rajeev,

    Glad you’re up and running.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: debugging weblogic 8 with MyEclipse 3.8 Beta 2 [Closed]

You must be logged in to post in the forum log in