- This topic has 8 replies, 3 voices, and was last updated 20 years, 11 months ago by
Scott Anderson.
-
AuthorPosts
-
v2kea204MemberHello 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 ——————————-
August 5, 2004 at 5:41 pm #211598
Riyad KallaMemberHave 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.
August 9, 2004 at 10:58 am #211712
v2kea204MemberI 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
August 9, 2004 at 11:22 am #211718
Riyad KallaMemberCan 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"
August 10, 2004 at 8:07 am #211764
v2kea204MemberI 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
August 10, 2004 at 9:20 am #211769
Riyad KallaMemberYes you are correct that is the correct location, I’ll ask someone else to have a look at this post for you.
August 10, 2004 at 10:20 am #211778
Scott AndersonParticipantWhoa 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.
August 13, 2004 at 2:30 pm #212017
v2kea204MemberThanks 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
August 14, 2004 at 9:34 am #212048
Scott AndersonParticipantRajeev,
Glad you’re up and running.
-
AuthorPosts