You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wendy Smoak <We...@asu.edu> on 2003/02/25 17:02:29 UTC

RE: JPDA_ADDRESS default in "catalina.sh" is 8000, but "jdbconn" in "catalina.bat"

catalina.bat defaults to:
  JPDA_TRANSPORT=dt_shmem
  JPDA_ADDRESS=jdbconn

I was not able to get JSwat to attach to Tomcat (4.1.20 on Win2000) using
these settings, mostly because when I try to attach with a transport type of
shared memory, it wants a "shared name" and I can't figure out what to type
in that box.

catalina.sh defaults to:
  JPDA_TRANSPORT="dt_socket"
  JPDA_ADDRESS="8000"  
  
These settings worked on Win2000, JSwat connects to localhost at port 8000
and debugging works fine.

Do most people debugging on Windows use the shared memory option?  If I want
to use it, and I start tomcat with 'catalina.bat jpda start', what is the
"shared name" to connect to?

Thanks,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

-----Original Message-----
From: Jeanfrancois Arcand [mailto:jfarcand@apache.org]
Sent: Monday, February 24, 2003 8:03 PM
To: Tomcat Users List
Subject: Re: JPDA_ADDRESS default in "catalina.sh" is 8000, but
"jdbconn" in "catalina.bat"

It depends on which JPDA connection method you use. Under windoses, you 
can use SharedMemoryAttach (transport dt_shmem) or dt_socket (like 
UNIX).. See the JPDA documentation for more info :-)

-- Jeanfrancois

Karr, David wrote:

>It seems perfectly reasonable to me to default JPDA_ADDRESS to 8000, as
>is set in "catalina.sh".  However, I noticed that in "catalina.bat", the
>default is not 8000, and isn't even a number, being "jdbconn", whatever
>that means.  What is the reason for that difference?

Re: JPDA_ADDRESS default in "catalina.sh" is 8000, but "jdbconn" in "catalina.bat"

Posted by Jeanfrancois Arcand <jf...@apache.org>.
I suspect you need to add something like 
JPDA_Connector=SharedMemoryAttach. I'm using Netbean and that's very 
easy using the current catalina.bat setting. You maybe want to ask the 
question to JSwat peoples since they probably know how to to that on win2k.

-- Jeanfrancois.

Wendy Smoak wrote:

>catalina.bat defaults to:
>  JPDA_TRANSPORT=dt_shmem
>  JPDA_ADDRESS=jdbconn
>
>I was not able to get JSwat to attach to Tomcat (4.1.20 on Win2000) using
>these settings, mostly because when I try to attach with a transport type of
>shared memory, it wants a "shared name" and I can't figure out what to type
>in that box.
>
>catalina.sh defaults to:
>  JPDA_TRANSPORT="dt_socket"
>  JPDA_ADDRESS="8000"  
>  
>These settings worked on Win2000, JSwat connects to localhost at port 8000
>and debugging works fine.
>
>Do most people debugging on Windows use the shared memory option?  If I want
>to use it, and I start tomcat with 'catalina.bat jpda start', what is the
>"shared name" to connect to?
>
>Thanks,
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org