facebook

Transport dt_socket failed to initialize, rc = 509

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

    je_weaver
    Member

    I’m trying to launch WebLogic 8.1 SP 4 from inside eclipse. I get
    “A configuration error occurred during startup. Please verify the
    preference filed with the prompt: Transport dt_socket failed to
    initialize, rc = 509.”

    I’m using Eclipse Version: 3.1.0 Build id: I20050627-1435

    and MyEclipse Version: 3.9.210 Build id: 20050627-4.0-Milestone-2

    Where is the preference “Transport” set ?

    #234389 Reply

    Scott Anderson
    Participant

    Transport doesn’t have to be set anywhere. The error definately is something related to the transport, but that should happen automatically. Can you compare your setup with the example in the FAQ here:
    http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-18.html

    What JDK are you using? Is it a full JDK, not a JRE, and are you pointing to its root directory (not jre subdirectory) in the Weblogic 8 > JDK page? Are you launching the server in debug mode? Are you sure the server isn’t already running from being launched externally?

    Or, are you running some sort of firewall / internet security program that won’t allow your processes to open up a socket (most likely cause)? Because, a socket is necessary to connect from MyEclipse to the WebLogic JVM for debuggging.

    #234408 Reply

    je_weaver
    Member

    I checked my configuration against the referenced link:

    1. I did not have the policy file set, but I get the same error with it as before

    2. My execution domain root is …\user_projects\domains not …\user_projects; however, I tried just …\user_projects and that gave me a configuration error

    3. For jdk I’m pointing to the jdk dir that is shipped with weblogic 8.1 SP 4

    4. I have no firewall involved, I’m trying to run this on my local machine

    #234410 Reply

    Riyad Kalla
    Member

    Is WebLogic installed to a dir that has a space in the name? Are you appending items to the classpath or library path? If so, do they have spaces in their paths?

    #234415 Reply

    je_weaver
    Member

    I’m not appending to the classpath and I have no spaces in the path to the wls installation directory

    D:\bea8.1SP4\weblogic81

    Thanks

    #234419 Reply

    Riyad Kalla
    Member

    Ok, please copy all of your settings for the WL connector from your connector to a post here for us to look at. Sometimes it can be the smallest thing. Also please give the full jdk version of the JDK you are using (and path to it’s bin dir).

    #234463 Reply

    Scott Anderson
    Participant

    Please include the full output that weblogic prints while trying to startup.

    #234485 Reply

    je_weaver
    Member

    My connector settings:
    BEA home directory: D:\bea8.1SP4
    WebLogic installation directory: D:\bea8.1SP4\weblogic81
    Admin username: weblogic
    Admin password: weblogic
    Execution domain root: D:\bea8.1SP4\user_projects\domains
    Execution domain name: SampleDomain
    Execution server name: myserver
    Hostname:PortNumber localhost:7001
    Security Policy file: D:\bea8.1SP4\weblogic81\server\lib\weblogic.policy

    The server does not even try to start. When I try to start the server I get

    “A configuration error occurred during startup. Please verify the preference filed with the prompt: Transport dt_socket failed to initialize, rc = 509.

    Java version is
    java full version “1.4.2_05-b04”

    #234487 Reply

    Scott Anderson
    Participant

    Very peculiar. Did you create this domain with the WebLogic domain creation tool?
    Can you start it properly outside of MyEclipse?
    Can you start a plain Java application (just anything with a Main) and debug it in Eclipse?
    If so, can you create another domain using the Weblogic domain creation tool and see if that will start? That will tell us if it’s a domain problem or a server / config problem.
    Can you configure WebLogic for external remote debugging and hook up to it with our external launch configuration, as described in our Remote Debugging Quickstart here: http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/remotedebugging/index.html

    #234679 Reply

    je_weaver
    Member

    I found the problem, MyEclipse wants the jdk specified in preferences to be the directory of the full jdk not the jre; however, full_jdk/bin does not contain dt_socket.dll as does jre/bin. Copying dt_socket.dll to full_jdk/bin let me launch the server

    #234694 Reply

    Scott Anderson
    Participant

    That’s weird because if that was the root cause, everyone would be having a problem. Does the path to your JDK have a space in it by any chance? There is an enspacing bug during launch in M2 that will be fixed in 4.0M3.

    #242185 Reply

    tolutaua
    Member

    I second the solution. I had the same problem. I copied the dt_socket.dll file from the JRE bin to the JDK bin and it worked.

    #242503 Reply

    plynn
    Member

    I’ve been having the same problem. I’m using Eclipse 3.1.0, MyEclipse 4.0.3, Tomcat 5.0.28, j2sdk1.4.2_07 on Windows XP. When I start Tomcat from within MyEclipse in ‘Run’ mode it runs fine. When I change Preeferences to use ‘Debug’ mode, it fails with the same message as above. Once I copied the dt_socket.dll from the jre/bin to the full jdk/bin it starts successfully in debug mode.

    #242515 Reply

    Riyad Kalla
    Member

    tolutaua & plynn,
    What is your Java version? (java -version)

    What is your Eclipse Build ID? (Help > About)

    What is your MyEclipse Build ID? (Window > Prefs > MyEclipse)

    #242529 Reply

    plynn
    Member

    Eclipse Build id: I20050627-1435
    MyEclipse Build id: 20051025-4.0.3-GA
    java.runtime.version=1.4.2_07-b05

Viewing 15 posts - 1 through 15 (of 23 total)
Reply To: Transport dt_socket failed to initialize, rc = 509

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