


Hi, I am trying to obtain Stack Frames from the main thread by setting StepEventRequest in the following way:List threads = vm.allThreads();ThreadReference tr=null;for (Iterator iterThreads=threads.iterator();iterThreads.hasNext();){ tr = ((ThreadReference)iterThreads.next()); ...
I am trying to debug memory usage of our server, running Jboss 3.1 -Tomcat 4.1.18 with JDK 1.4.2-b28. I'm using -Xrunprof:heap=all,file=tmp.txt,doe=y. However, the file does not contain any heap dump. It just contains the thread start and thread end logging.I also tried heap=dump, no luck.How ...
I have a library of code that I have packaged up and have in a directory "com/foo/..." I have tried dragging the folder into the Xcode source list, and I have also tried "importing" the directory into Xcode, and when I compile, Xcode keeps saying it cannot find class: com.foo.Whatever; I have ...
Hello,x4juli 0.6 - e(x)tension for(4) the (j)ava (u)til (l)ogging (i)mplemantion have been released.This API is a port of major log4j features (FileHandler, RollingFileHandler, PatternFormatter, HtmlFormatter) to the backend of java.util.logging.In your code you are using exclusively ...
I have Cactus tests (essentially JUnit tests with datasource connectivity, among other features that are irrelevant to this question) that test my DAOs.The tests ran fine in WSAD 5.0. You'd start the server, run the class as a JUnit Test, and it worked. If you ran them without starting the ...
Hi,I am new to JDI and I want to create a debugger to listen to events like ClassUnloadEvent . I start the application that I want to debug with: java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=80000 <mailclass>is this correct ?I than get the VirtualMachinceManager ...
I would like to work on JSP i have windows XP OS where can I download from ?To work on Java where do I download the files from ?Kindly reply...
Hi,There are 2 qts-1. can I get a Command Line Debugger that implements JDPAand can use the simple wordpad? If no, can anyone tell me why not such adebugger is there. Just the debugger without IDE.2. Can this be made to work with JDK 1.3.1 from Sun-// set boolean argument to false to ...
reply for this question...
I am running tomcat on java 1.5_07. Tomcat is running as a service on Windows Server 2003. We are running into heap utilization issues and would like to find a way to locate the objects that are using up the most heap space. I need to be able to do this in a production environment, so anything ...
Hi,why we use logger instead of System.out.println for debugging?RegardSankar...
i am learning jdb (very new), when i compile and execute example of TTY, error says "handle is not available".i use windows. i think i miss something because TTy code tries to load a file in user directory, but i don't have the file - if this is reason, what is content of the file?thanks for ...
I use jboss cluster, and I want separate server.log and cluster.log.treat file and console appender as root.before I add cluster appender, every thing works fine. but after I add cluster appender, only cluster.log work, server.log is empty.are someone can help me out.Thank you very muchsource ...
For some reason, unknown to me(i am a software engineer) My IF functions are not working. they are actually running both the if and the else statements. here is an example. Please help, i am going out of my head here! private void passwordBox_actionPerformed(ActionEvent e){String cmd = ...
Hi,I use jdb to debug HelloWorld.java run on cldc_hi. Where cldc_hi is build ENABLE_JAVA_DEBUGGER=trueI compile HelloWorld.java with -gAnd use the same java version when compile and launchIn jdb I inputstop in HelloWorld.main run step ... jdb shows丗 Step completed: Thread1[1] thread="Thread1", ...
