• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Remote Debugging in EAServer

 
Author
Posts: 144
5
jQuery Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic