- This topic has 22 replies, 8 voices, and was last updated 18 years, 5 months ago by
David Harris.
-
AuthorPosts
-
je_weaverMemberI’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 ?
Scott AndersonParticipantTransport 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.htmlWhat 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.
je_weaverMemberI 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
Riyad KallaMemberIs 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?
je_weaverMemberI’m not appending to the classpath and I have no spaces in the path to the wls installation directory
D:\bea8.1SP4\weblogic81
Thanks
Riyad KallaMemberOk, 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).
Scott AndersonParticipantPlease include the full output that weblogic prints while trying to startup.
je_weaverMemberMy 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.policyThe 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”
Scott AndersonParticipantVery 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
je_weaverMemberI 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
Scott AndersonParticipantThat’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.
tolutauaMemberI 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.
plynnMemberI’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.
Riyad KallaMembertolutaua & 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)
plynnMemberEclipse Build id: I20050627-1435
MyEclipse Build id: 20051025-4.0.3-GA
java.runtime.version=1.4.2_07-b05 -
AuthorPosts