|
|
Re: Start Tomcat within eclipse from ANT task [message #544019 is a reply to message #541938] |
Thu, 01 July 2010 11:32 |
Sharon Whipple Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Thank you Larry,
I was able to find the command :
"C:\Program Files\Java\jdk1.5.0_13\bin\java.exe"
agentlib:jdwp=transport=dt_socket,suspend=y,address=localhos t:2468
"-Dcatalina.base=C:\Documents and Settings\sharonw\workspace\.metadata\.plugins\org.eclipse.ws t.server.core\tmp1 "
"-Dcatalina.home=c:\Program Files\Apache Software Foundation\Tomcat 5.5"
"-Dwtp.deploy=C:\Documents and Settings\sharonw\workspace"
"-Djava.endorsed.dirs=c:\Program Files\Apache Software Foundation\Tomcat 5.5\common\endorsed"
-Xms256m -Xmx1024m -XX:PermSize=-XX:MaxPermSize=256m -Dfile.encoding=Cp1255
"-Xbootclasspath:C:\PATH..." org.apache.catalina.startup.Bootstrap start
But it fail to run:
ERROR: transport error 202: connect failed: Connection refused ["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113):
No transports initializedFATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
[Updated on: Thu, 01 July 2010 11:34] Report message to a moderator
|
|
|
Re: Start Tomcat within eclipse from ANT task [message #545094 is a reply to message #544019] |
Tue, 06 July 2010 14:59 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
On 7/1/2010 7:32 AM, Sharon Whipple wrote:
> Thank you Larry,
> I was able to find the command :
>
> "C:\Program Files\Java\jdk1.5.0_13\bin\java.exe"
> agentlib:jdwp=transport=dt_socket,suspend=y,address=localhos t:2468
> "-Dcatalina.base=C:\Documents and
> Settings\sharonw\workspace\.metadata\.plugins\org.eclipse.ws
> t.server.core\tmp1 " "-Dcatalina.home=c:\Program Files\Apache Software
> Foundation\Tomcat 5.5" "-Dwtp.deploy=C:\Documents and
> Settings\sharonw\workspace" "-Djava.endorsed.dirs=c:\Program
> Files\Apache Software Foundation\Tomcat 5.5\common\endorsed" -Xms256m
> -Xmx1024m -XX:PermSize=-XX:MaxPermSize=256m -Dfile.encoding=Cp1255
> "-Xbootclasspath:C:\PATH..." org.apache.catalina.startup.Bootstrap start
> :blush:
> But it fail to run:
>
> ERROR: transport error 202: connect failed: Connection refused
> ["transport.c",L41]
> ERROR: JDWP Transport dt_socket failed to initialize,
> TRANSPORT_INIT(510) ["debugInit.c",L500]
> JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports
> initializedFATAL ERROR in native method: JDWP No transports initialized,
> jvmtiError=JVMTI_ERROR_INTERNAL(113)
The fact that you get this outside of Eclipse indicates it's a problem
between Java and your system. Google may be able to provide an answer.
You might start with this one:
http://wiki.eclipse.org/Debug_FAQ#I_can_run_a_program_but_no t_debug_it.3F.3F.3F
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.02370 seconds