aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Remote Debugging in EAServer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Remote Debugging in EAServer" Watch "Remote Debugging in EAServer" New topic
Author

Remote Debugging in EAServer

Tom Henricksen
Ranch Hand

Joined: Mar 23, 2004
Posts: 136

I am using EAServer 5.1. I am trying to get Remote Debugging to work. I am using JBuilder 2005. I have searched a lot of places with little to no luck. Does anyone have any experience in this? Most of the documentation on Sybase and Borland's websites are for older versions.
Thanks,
Tom
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Actually Remote Debugging is completely about an option you can set when calling java.

java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n

the address can be any port number that you want. IntelliJ's configuration for Remote Debugging is address=5005, whereas Eclipse is 8000, or 7000, or 5000 I forget which one.

Now it is all set up.

In JBoss, I got to the run.bat file and modify it to set an environment variable called JAVA_OPTS and set it to include the "-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

Hope that helps.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jan Rotthaus
Ranch Hand

Joined: Jun 23, 2004
Posts: 56
Hi Tom,

as the Sybase EAServer is no java server you cannot use the java command line options Mark mentioned. You have to start your server using the debug option instead:

The options like port etc. can be configured on the "Java Debug" tab of the server properties using EAServer Manager.

You can find more detailed information in chapter 11 of the EAServer Programmer's Guide. There is a whole section on "Debug Java Components".

Best regards,

Jan


SCJP 1.4, SCJD, SCBCD 1.3, SCMAD 1.0
SCPBDA7, SCPBDP7, SCAPC8
OCUP Fundamental
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"Sybase EAServer is no java server"

Really, I am unfamiliar with EAServer. What type of server is it? and if it isn't java, then how can you remote debug the Java code? Or is this remote debugging that has absolutely nothing to do with Java.

Thanks

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote Debugging in EAServer