Run jboss with the following set in your batch file:
set JAVA_HOME=c:\jdk1.3
set PATH=%JAVA_HOME%\bin;%PATH%
set CLASSPATH=%CLASSPATH%;<your classes directory>
set TOMCAT_HOME=c:\jakarta-tomcat-3.2
set DEBUG=-classic -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,address=8787,launch="C:\Together4.2\bin\win32\display.bat
C:\Together4.2",suspend=n
.\run tomcat
When you say attach to remote process in Together, leave the default
information as is:
Transport: dt_socket
Host: localhost
Socket: 8787
You should get no error messages and should be able to set a breakpoint in
any of the source code you have in your "Project Paths".
Thanks,
Ozzie Gurkan
P.S.: I have also written the source code that places "Start Jboss Server"
in the "EJB Deployment Expert" menu option just like "Start Weblogic
5.1.0", if you are interested. I am also working on actual EJB deployment
for Jboss, too.
[jBoss-User] How do I connect to JBoss as a remote process fromTogether
4.2?
--------------------------------------------------------------------------------
From: kevin.monaghan
Subject: [jBoss-User] How do I connect to JBoss as a remote process
fromTogether 4.2?
Date: Wed, 10 Jan 2001 10:29:41 -0800
--------------------------------------------------------------------------------
I am running Together Control Center 4.2 and JBoss 2.0-FINAL with TOMCAT on
a
Win2K machine.
In using Together as my application development tool, I am trying to
remotely
debug EJBs that are deployed to JBOSS from within Together by connecting to
JBoss as my remote process.
How do I do this? How do I launch JBoss so I can connect to it remotely?
Also,
on what port?
Since both are running on the same box, I tried using localhost as my host,
dt_socket as my transport and port 7801 but got the following message:
>>> Can't attach remote process because of IOException
java.net.ConnectException: Connection refused: no further information
Any help would be greatly appreciated.
Thanks,
Kevin
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]