JPDA Configuration under Apache JServ / Oracle9iAS

177 byte By maiko_rocha at 2007-9-26 1:19:04
All,Can somebody please give me any clues on how to config JDPA to run under Apache JServ / Oracle9iAS?thanks in advance !!Cheers,Maiko

remote debugging problem using jdb and 1.3.0

1157 byte By pfarwell at 2007-9-26 1:20:30
I know I've been able to use JDB in the past to remotely debug an application, but for some reason I can't get it to work with 1.3.0-C.I've set up a very simple 'toy' Swing application as a test.I have copied this example almost directly from the Sun tool docs:=======================set ...

Graphical Debugger

386 byte By sgoldstein1 at 2007-9-26 1:26:36
I'm searching for a strong standalone graphical java debugger that can debug individual programs. In other words, debuggers that you don't have to define a "project" but rather just specify a class file with a main method.I would prefer if it we're freeware or open source. Perhaps just a ...

Solution to: Transport dt_socket failed to initialize

428 byte By alu1344 at 2007-9-26 4:00:25
Hey, this is aplicable in Windows systems, JDK 1.3.1I kept finding this error trying to initialize the JPDA. The solution is to copy the dt_socket.dll file from the jre/bin dir into the current working dir. I'm not a DLL guru, but I think it's the same as to copy it to the system dir.I'm not ...

DataBase Connection Pool

119 byte By RavindraV at 2007-9-26 5:16:57
hi,can any one tell me how to write a userdefined database connection pool class for any database.

getting stackTrace and method parameters value at runtime

569 byte By geezmo at 2007-9-26 5:54:45
Hello all,Sorry if the question has been asked before, but, is there a kind of "StackUtils" class/package with methods like:- getStackTrace() to dump the current stack trace (as if an exception had been thrown, caught and printStackTrace() had been called)- getCurrentMethodArguments() to get ...

bug reporting tool

124 byte By smallsun at 2007-9-26 6:48:53
Does someone know any bug reporting tool for Windows platform? Is there any free tool? thx

Local variable table missing

488 byte By rahulj20 at 2007-9-26 6:57:22
I have compiled my sources using IBM's jikes compiler with the -g option (for debugging purposes). I am using Sun's JRE 1.2.2. and JPDA 1.0.When I run the debugger using JPDA and try to set a watch for local variables I get an error saying that the local variable table is missing. And it asks ...

Problem using JDI MethodEntryRequest.addClassFilter

1208 byte By shabbirad at 2007-9-26 7:27:34
Hi,I am having some trouble using the JDI MethodEntryRequest.addClassFilter method. I am trying to filter method entry events belonging to only a few specific classes, like java.io.*, java.net.*However after specifying the filters using this method, the method entry/exit events for these ...

What does this mean?

573 byte By tk1403 at 2007-9-26 8:56:10
Hi all!!!I'm a rookie in using JDB. I've tried to debug a file and JDB tells me:Exception occured: java.lang.ClassNotFoundException (uncaught) thread ="main" , java.net.URLClassLoader$1.run(), line=200, bci=75andException occured: java.lang.ClassNotFoundException (uncaught) thread ="main" , ...

JDB and member variables

588 byte By andersbergsten at 2007-9-26 10:58:15
I'm debugging a Java application using the JDB debugger. Using the command "locals" one can display the value of variables local to a method. That's fine. But I haven't found out how to disply the value of member variables in objects.Lets say I have a class MyClass and that the application ...

Socket transport failed to init.

654 byte By yukingc1 at 2007-9-26 11:01:49
Help! I was trying to run jdb using this simple command (on Linux Mandrake 8.0):jdb hk.com.xit.crosseditor.Mainbut got the following error:VM initialization failed for: /opt/jdk1.3.1/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=capernaum:2273,suspend=y ...

Running JPDA in JDK1.3.1

336 byte By shalakaC at 2007-9-26 12:15:52
Hi,I am trying to run the JPDA (jdi) sample examples(Trace) using J2SDK 1.3.1 but it gives me error saying cannot resolve symbol. I have set the PATH variable also, but i do not know how to run the JDI examples on jdk1.3.1. Can someone please help?Your help will be highly appreciated....it is ...

JDI and 'jit debugging'

264 byte By pepeio at 2007-9-26 13:38:49
Hello.For some quality tools, i want to be able to use JDI to enter debugging mode on demand, get infos, and exit debug mode, to keep on running at full speed the stable portions of the code that have no problem.Has someone got an idea?

How to inspect objects in jdb?

458 byte By daiwok at 2007-9-26 14:57:22
Hi all,I would like to know how to inpect the value an object in jdb. for example:...int a = 1;String b = "hello";Hashtable ht = new Hashtable();ht.put("key1","someString");>> breakpoint inserted here...at the jdb prompt:> print aa = 1>print bb = "hello"is it possible to inspect the ...

JDB hangs on startup

2240 byte By jrepenning at 2007-9-26 15:05:42
When I try to attach jdb to a running jvm, it sometimes hangs. In fact, this being the universe we all know and love, it *always* hangs on the program instance I care about, although I can do this just fine on many other programs, and even other instances of the same program. Anyone know what ...

I'm having trouble using standard input inside JDB

1627 byte By peterkeen at 2007-9-26 15:13:07
Hello Java(R) communityThe problem is:I cannot read a stream of characters from the keyboard inside JDB. Just to set context I'm using:jdk 1.3.1_01 with jdb version 99/06/11 under RedHat(R) Linux(R) 7.1I've written the following code:1:import java.io.*;2:3:public class Test {4:5:Reader reader ...

Breakpoints in nested classes don't work

2641 byte By jsynge at 2007-9-26 15:25:41
I've noticed that when I set a breakpoint in a nested class, it doesn't work to stop the code, unless I set the breakpoint after I've created an instance of the class.In the code example below, if I set breakpoints A, B, C and D, only breakpoints A and C will be hit when MainClass.main ...

debug on weblogic

452 byte By brianko at 2007-9-26 15:43:12
I am trying to find a way to debug my ejb deployed on weblogic 5.1. I am using JDK 1.3. I tried with Jbuilder 5.0 debugger, which did not work very well. I found Weblogic 6.1 documentation has the debugging information with IDE like Netbean or Jbuilder, but I could not find anything with ...

Unable to attach to target VM

1246 byte By xizh at 2007-9-26 16:33:54
I try to Debug my applete on netscape 6.21, using "Java(TM) Plug-in: Version 1.3.1_02".with the following as Java Runtime Parameters-Djava.compiler=NONE-Xnoagent-Xdebug-Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n And what I get is error: C:\>jdb -attach 5000Error accessing ...

Configuring JDPA to work with Forte v 3.0

166 byte By shawnbat at 2007-9-26 16:57:42
Does anyone know where you can find step by step information to configure JDPA with Forte v. 3.0? or If someone knows how, please let me know. Thanks...

Debugging jar-files

129 byte By hansruedi at 2007-9-26 17:49:53
I would like to use jdb on a jar file. How does this work? Normally, I invoke my app using java -jar app.jar

Using JPDA in Solaris, accept error...

684 byte By malleka at 2007-9-26 18:53:41
I downloaded the JPDA stuff and installed it. I have extended my PATH and LD_LIBRARY_PATH to include the new bin and lib/sparc respectively.When I do java -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,server=y,suspend=y ClassnameI get the following message:Listening for ...

Postgresql please help !!

384 byte By ug52axi at 2007-9-26 22:10:07
Hidoes anyone know how to make jdbc connect to posqtgresql?I have tried all the documentation and tried to install ant as well but it didn't work,in the installation documentation they say use:build <--the dir that ant is> (windows)build.sh <--the dir that ant is> (Unix)BUT WHAT ...

I want to connect an applet with an access database

164 byte By patand at 2007-9-27 2:00:22
I want to connect an applet with an access(*.mdb) database, how I do?I now the jdbc odbc bridge but how work it?Please Help me!!!!!!!!!!

Kawa 5.0 & Java 1.4.0 - Debugging

457 byte By trudiersvaer at 2007-9-27 2:01:30
I upgraded from Java 1.3.1 to 1.4.0 and can't run the debugger via Kawa 5.0. The JDB works but not Kawa's debugger. The error message I get when I start Kawa is 'Unable to find either ...javai_g.dll OR ...jvm.dll. Your Debug option will be disabled Please check your JDK bin path for ...

How does JDPA work?

289 byte By der_monarch at 2007-9-27 4:35:49
Hi,does anyone know how all this stuff works?You take JDB and a class file, attach to a remote VM and....DEBUG.I cannot stop wondering how the debugger can properly associate the remote and the local class file.Any hints?ThxChristian

Attach to a running process

80 byte By aijunga at 2007-9-27 10:01:10
Can anyone tell me how to attach jdb to a running VM with its process ID?

Unable to open socket to attach jdb to.

3132 byte By LuciferCa at 2007-9-27 11:30:55
Hello,I have a strange problem with debugging my code. At least strange to me.Though I am able to start and debug my code using this statement/home/wrobel/forte_jdk/j2sdk1.4.0/jre/../bin/java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n -Djava.compiler=NONE ...

First Time JDB user - Problems already

529 byte By edsineka at 2007-9-27 11:40:07
I get the error when I try to run my app... (I am in the folder D:/Projects/EdsApp when I start JDB)run D:/Projects/EdsApp/EdsAppException occurred: java.lang.ClassNotFoundException (uncaught)"thread=main", java.net.URLClassLoader$1.run(), line=198 bci=72Any ideas? When I exit JDB, I get ...

How do I use kill call in JDB?

183 byte By ramyasa at 2007-9-27 11:43:21
hi, The kill call in JDB requests for a exception parameter. What do I give as the exception there?Any help will be greatly appreciated.Thanks,Ramya

JDI: return value of a method

118 byte By shabbirada at 2007-9-27 13:04:56
Hello,Does anyone know how to obtain the return value of a method using JDI?Thanks,Shabbir

jdb

28 byte By plucien at 2007-9-27 14:04:36
Java Data Base

Watching all fields that are in scope using JPDA

1627 byte By jhsia at 2007-9-27 14:06:42
Hi,I'm helping develop a debugger using JDI and have a question about watching certain types of variables that are in scope.I can watch local variables by getting the current thread's StackFrame and can watch static fields of outer classes by getting their corresponding ReferenceTypes. ...

suspend in jdb

233 byte By reggiehg at 2007-9-27 14:53:43
Does the "suspend" command of "jdb" use the deprecated "Thread.suspend()" method? I hope not!!!When a breakpoint is hit in jdb, are all threads suspended? If not, how can that be arranged?TIA,Reggie

Return value of a method with JDI/JPDA?

241 byte By sven.blix at 2007-9-27 15:16:43
Hi,Is there any way of retrieving the return value of a method with JDI? I would like to have that possibility when tracing a program and logging method(s) entry and exit.Any hint on this problem is appreciated...

Debugging with jdb and ddd

1240 byte By malc_net at 2007-9-27 15:50:55
Hi, has anyone successfully used ddd with jdb under redhat? I'm using redhat 7.3, JDK 1.4.1 and ddd 3.3.1.My problem is that although I can get ddd to launch jdb and attach it to the virtual machine (I'm using the C virtual machine from the J2ME foundation profile), firstly ddd doesn't bring ...

Wordpad/traceMethodCalls

628 byte By WebDeveloper at 2007-9-27 17:09:15
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 ...

STDIN dosn't work with JDB

905 byte By gautamms_10 at 2007-9-27 17:31:04
This is wrt to case :-4075010.It says the bug has been fixed ,but i am still getting the error.While debugging program which takes input from user(using STDIN).The debugging dosen't take place.i am uisng jdk1.3Programpublic class Test {public Test() {}public static void main(String[] args) ...

Debug with Forte 4

314 byte By Glossy at 2007-9-27 18:54:58
Hello !!!I'm trying to start a debug session in Forte 4. I click on the menu option Project/Debug project and I receive the followin message :File Test.java cannot be converted to servlet. It doesn't implement javax.servlet.Servlet interface.What's the problem ...

JVM Ending

630 byte By wjdennis at 2007-9-27 20:03:03
We're having a problem with Java that's killing us: our JVM just ends for no reason at all. We're running on Windows (XP and NT) and start our application from a .bat file. Then absolutely randomly (sometimes after just a few seconds of running, sometimes hours later) the JVM simply ends and ...

setting the suspend policy

451 byte By abagar at 2007-9-27 20:11:49
Hi,If I set the suspend policy of a ModificationWatchPointEvent to SUSPEND_ALL, then if such an event occurs in the code, the debugger never receives it and just hangs there. The process also hangs. Eventset.resume() doesn't seem to work correctly.I am doing remote debugging in which process ...

How to create Locations, and ThreadReferences

1108 byte By mightymightyeddturnip at 2007-9-27 20:26:32
Hi there,I'm trying to write a personalised debugger but am having many teething problems getting started.What is the procedure to create break points. I see the EventRequestManager.createBreakPointRequest(Location l) method, but see no obvious way to create the required Location it needs. And ...

How can I hnow if a .class was compiled with debug information

119 byte By roldanc at 2007-9-27 20:45:14
Hi All,Is there any way to know whether a .class was generated with debug informacion ?Thanks !!!!

Debugging JNI using JDB

6946 byte By larslin at 2007-9-27 21:00:20
Hi!I was wondering if someone could tell me how to debug an application that is using JNI using JDB. Is it possible to enter the parts written in C and set breakpoints there? Would really appreciate if someone could describe how to debug an application that probably has something wrong in the ...

Using JDI to obtain method return values?

1221 byte By mightymightyeddturnip at 2007-9-27 21:01:37
Hi there again,Firstly, just a quick thanks to you lot out there who have helped me recently - honestly, you don't know how much you have helped me. Hats off to you, and keep up the good work!Ok, I am really interested in accessing the return values from methods. I understand that each thread ...

JDB shows inconsistent behaviour with JNI Based Programs.

1545 byte By maneeshgoyal at 2007-9-27 21:43:18
package com.RJCBEmulator;public class Testing{public static void main(String[] args) {System.out.println("Start");NativeObject myClass = new NativeObject(); System.out.println("Second line main" );myClass.printInfo();}}public class NativeObject {static{System.loadLibrary("RJCBEmulator");}public ...

JPDA

1971 byte By cityzen_2000 at 2007-9-27 22:04:26
Hello,First off, sorry if this isn't the correct forum for this.I'm developing a web app - my development machine is running Windows 2000 and JDeveloper 3.2.3 JVM1.3.1_04, while the target app server is running SunOS 5.8 and Weblogic 5.1 SP10. Try as I might I can't get remote debugging of a ...

JPDA Target Virtual Machine Hangs - Need Workaround

2050 byte By mlcranea at 2007-9-27 23:57:07
I'm currently developing a program whose purpose is to run a small target application, stop at specific breakpoints (such as line events or method exit events), examine the various objects that actually exist, and dump the information to a text file. This is part of a larger process.I've ...

JPDA and .exe application

310 byte By guigucha at 2007-9-28 0:29:20
hello,I need some information about the capability of a JPDA Debugger mechanism to debugg .exe application.This .exe application, in fact, launch a java application and i want know how to attach a debugger to the JVM launch by the .exe application.Thanks for your ...