Jdev debug stop at breakpoint at ClassLoader.java or BootStrap notfound
Dear All
Anyone kindly guide me why when I start debug jdev toolbox tutorial file, jdev always stop at Exception of ClassLoader.java. and never reach my working files. .
Debugger connected to local process.
Exception breakpoint occurred at line 891 of ClassLoader.java.
java.lang.ClassNotFoundException: oracle/oc4j/loader/boot/BootStrap
Exception breakpoint occurred at line 200 of URLClassLoader.java.
when I try step over it say unable to find source file for package oracle.oc4j.loader.boot, filename BootStrap.java
PS: I can run smoothly if in normal mode. my jdev is 10.1.3.3
thank so much
Bank
Edited by: Jarjarbank on Nov 6, 2012 1:28 AM
Hi All,
I managed to setup the conditional break point via the break point window as opposed to going through the gutter initially.
George
Similar Messages
-
I just reinstalled Pydev and now debug mode no longer works.
I run a program in debug mode. Without a breakpoint, the program runs through. When I set a breakpoint, the program pauses, as it should, but the code line is not highlighted. This also means that none of the debug actions are selectable (step into, etc.), although they are visible. I only have one breakpoint.
The 'debug' option (next to pydev and java options) is selected.On 08/09/2015 02:31 PM, ttt bbb wrote:
> I just reinstalled Pydev and now debug mode no longer works.
>
> I run a program in debug mode. Without a breakpoint, the program runs
> through. When I set a breakpoint, the program pauses, as it should, but
> the code line is not highlighted. This also means that none of the debug
> actions are selectable (step into, etc.), although they are visible. I
> only have one breakpoint.
>
> The 'debug' option (next to pydev and java options) is selected.
Unfortunately, PyDev isn't Eclipse. It's a set of third-party plug-ins
you'll have to get support for in another forum. -
How do I set a breakpoint in a Java Server page (.jsp)?
I have set up an application for remote debugging and am able to connect to it from JDeveloper. When the code execution comes to breakpoints that I have set in java (.java) files they work and the application stops so I can debug etc.
This also applies to breakpoints set in java code that is called from Java Server pages.
However if I set breakpoints directly in a java server page whether it is in html code or in java code (such as scriplets) the execution does not stop and the breakpoints are ignored.
Why? Is there some extra thing I have to do? I have tried in Project Properties/Run/Debug/Profile/Edit/Launch Settings to choose server as Virtual Machine for instance but that does not change anything.
Comment. I do not know if this is of interest but I am going to add some java server pages to an application and they are defined in a directory like this:
. . . src\org\yawlfoundation\yawl\resourcing\jsf\jsp
but when the tomcat deploys the .war file they end up here:
. . . apache-tomcat-6.0.18\webapps\resourceService
As I can find no package declaration in a .jsp file this should not matter but I mention it anyway.
Edited by: user10477024 on Nov 25, 2008 5:32 AMHi user10477024,
thanks for explaining your background on what you are trying to do and I do understand the approach you are taking. Unlike user10689900's completely random post.
I've tried to convey why there is no support for JSP debugging in JDev, but again the main reason is that the current frameworks do not code Java directly into a JSP. The JSP is purely used to position the components on the page aiding visual design and real Java classes in tag libs do the rest.
So the evolution has been:
Servlets (Java classes writing HTML logic and intermingling presentation and business logic)
JSP 1.0 JSP (HTML looking) files where you can add scriptlets enclosed in <% ... %> <- you are here
JSP 1.1 Introduction of Tags and Tag libraries, tag libraries are true java classes and the JSP controls layout and simpler more elegant design.
Really JSP 1.1 is all about building reusable components together in tag libraries that can be reused across pages and improving design by not mixing presentation and business logic code together.
If I had inherited something as you have, my advice (if you can) would be to code up some tag libraries because it would be a good learning experience and would be very helpful for moving to more advanced frameworks like JSF.
regards,
Brenden -
Hi,
I have created servlet Object.
however, when I start debug, I have set a breakpoint on entry.
but it never stop on breakpoint and directly start servlet.
my version: JDeveloper 10g 10.1.3.and 10.1.3.1
both are same issue.
Please help me.
Thanks2006-12-13 10:11:36.875 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
2006-12-13 10:11:36.890 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
2006-12-13 10:11:36.906 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
2006-12-13 10:11:37.031 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
2006-12-13 10:11:37.031 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
2006-12-13 10:11:37.031 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
2006-12-13 10:11:37.109 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
2006-12-13 10:11:37.109 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
2006-12-13 10:11:37.390 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
2006-12-13 10:11:37.546 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
2006-12-13 10:11:37.546 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
2006-12-13 10:11:55.421 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
2006/12/13 10:11:55 com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
WARNING: Code-source C:\lib\webdav\antlr.jar (from <classpath> in D:\WorkSpace\SOURCE\java\core\UDAP) has the same filename but is not identical to /E:/Program Files/jdevstudio1013/toplink/jlib/antlr.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Program Files\jdevstudio1013\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.UDAPInterface:0.0.0.
WARNING: Code-source C:\lib\oracle\ojdbc14.jar (from <classpath> in D:\WorkSpace\SOURCE\java\core\UDAP) has the same filename but is not identical to /E:/Program Files/jdevstudio1013/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Program Files\jdevstudio1013\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.UDAPInterface:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 70484 ms.
Target URL -- http://192.168.1.65:8988/servlet/UDAPInterface
06/12/13 10:12:25 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized -
My jdeveloper do not stop at breakpoint, please help me
Hi,
after my workstation got updating for windows office 2007, every thing become weird. right now my jdeveloper could not stop at breakpoints in java file when i debug my web application. please help me to get out from there. thanks
lease send email to [email protected] thanks
by the way, it stop at jsp file's breakpoint.
Robert
Edited by: user1853275 on May 19, 2009 3:59 PMhello,
keep in mind that the build in debugger doesnt not find all statements valid and will step over some.
never set a breakpoint on:
try
catch
finally
etc.
I only set breakpoints on assignments and logic operators(if for etc) just to be sure.
-Anton -
[svn] 4082: the AS3 debugger wasn' t stopping at breakpoints in frame scripts that
Revision: 4082
Author: [email protected]
Date: 2008-11-12 07:45:21 -0800 (Wed, 12 Nov 2008)
Log Message:
the AS3 debugger wasn't stopping at breakpoints in frame scripts that
contain include statements
we use the qualified error origin (in Context) for frame script module
name mapping, and when the CodeGenerator processes IncludeDirectiveNodes,
it resets the Emitter's origin, but was using Context.getErrorOrigin
instead of Context.getQualifiedErrorOrigin. it's safe to add this to
core asc (for all clients) because getQualifiedErrorOrigin just passes
through to getErrorOrigin if a qualified one isn't set (is null or
blank).
QE Notes: none
Bugs: authoring bugbase 198885
Reviewer: Erik Tierney
Modified Paths:
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.javaRevision: 4082
Author: [email protected]
Date: 2008-11-12 07:45:21 -0800 (Wed, 12 Nov 2008)
Log Message:
the AS3 debugger wasn't stopping at breakpoints in frame scripts that
contain include statements
we use the qualified error origin (in Context) for frame script module
name mapping, and when the CodeGenerator processes IncludeDirectiveNodes,
it resets the Emitter's origin, but was using Context.getErrorOrigin
instead of Context.getQualifiedErrorOrigin. it's safe to add this to
core asc (for all clients) because getQualifiedErrorOrigin just passes
through to getErrorOrigin if a qualified one isn't set (is null or
blank).
QE Notes: none
Bugs: authoring bugbase 198885
Reviewer: Erik Tierney
Modified Paths:
flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java -
Hi All,
This is regarding Invoice Split...from VF06 Tcode.
We are trying to generate Invoice from Delivery using VF06.
But Invoice is splitting at item level.
We tried to debug the routines for 003 & 007 as well for copy control..
But while executing the Vf06 it is not stopping at breakpoint.....
Please guide us how to get to the routine for debugging......
If you have any other solution please let us know.
Thanks
RKVF06 runs in background (delegated to system) so the session break points you put in the data transfer routine won't hit.
What you can do instead is put break point in the item data transfer routine (VTLF - item data transfer routine) and create a single invoice online using VF01. Then your break point will hit. Although this is not similar to Vf06, still you can find out which fields are being concatenated in VBRK-ZUKRI that is used as split criteria.
Otherwise you can run the program SDBILLDL online. This program is run VF06 in background. So if you run it directly in SE38 in foreground your break points will hit, if you put them in correct data transfer routine -
Is it possible to attach a JDev debug process to a r2 instance?
Is it possible to attach a JDev debug process to a r2 instance, like I can do with a stand alone OC4J instance?
Worked it out my self.
Farm > Application Server: "your 9iAS instance" > OC4J_home > Server Properties
Command Line Options
Java Executable: <jdev_home>\jdk\bin\java.exe
OC4J Options: <NA>
Java Options: -ojvm -XXdebug,port5000,detached,quiet -
[4.0 EA2] Debugger not stopping at breakpoints/not working at all
When running the debugger in SQL Developer either the debugger immediately connects then disconnects after executing the code WITHOUT stopping at breakpoints or the debugger hangs and the only actions I can choose is to terminate or to pause.
The first issue happens a lot more frequently. I am attempting to debug a procedure in a package where the there are several breakpoints throughout the code including at the very start. After checking my tables in which the procedure acts upon before and after running the debugger I can see that the data has been altered so the debugger has ran through the procedure and executed the code without stopping. I have checked this on very simple code where the breakpoint code has been called and have experienced the same result.
Im using 64bit Win7 -
JDK - 1.7.0 update 40
Output:
LOAD TIME : 329UsersCache.fillIn() time = 4 ret==null?: true
UsersCache.fillIn() time = 3 ret==null?: true
tableAlias.cardinality()==0
UsersCache.fillIn() time = 4 ret==null?: true
UsersCache.fillIn() time = 3 ret==null?: true
tableAlias.cardinality()==0
UsersCache.fillIn() time = 4 ret==null?: true
tableAlias.cardinality()==0
tableAlias.cardinality()==0
tableAlias.cardinality()==0
Debugger Output:
Connecting to the database Layout Pro.
Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '*****', '*****' )
Debugger accepted connection from database on port *****.
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.DISCONNECT()
Process exited.
Disconnecting from the database Layout Pro.
Debugger disconnected from database.
Thanks in advance,
JamesHi
Have you compiled for debug? - Yes
Are the breakpoints definitely on code lines?- There are several lines of code which have up to 5 consecutive breakpoints
You can also set the preference Tools| Preferences|Debugger|Start Debugging Option to 'Step Into'. That should stop at the first executable line. - This worked thank you, I can now access the debugger and test my work.
On swapping the preferences back to 'Run Until a Breakpoint Occurs' (which it was originally set as) the debugger now correctly stops a the breakpoints. I didn't make any changes to the code/debugger parameters or anything so I'm rather confused to why its suddenly started working .
But anyway thank you for the help,
James -
Flash debugger doesn't stop on breakpoints
I don't know why but i've got fla files that I can't debug.
I'm able to launch debugger and the swf file is correctly run when I do it, but if for instance I add a trace in my code and add a breakpoint on it, it will appear in the output but the debugger doesn't stop on the breakpoint.
It's a pretty big project that uses a quite numbers of external swc libraries, home produced for the most, and I can't figure where could this bug come from. All the more if I create a simple fla file with a simple document class attached to it the debugger works perfectly.
So if anyone already encountered the problem or got an idea over any reason that could make the debugger to not stop on breakpoint, I'd appreciate.I'm back but I have still not found the cause of the problem.
I answered if the fact I work on a server could be the cause, but moving my files to local didn't resolve the problem.
I also have the problem sometimes even without using swc libraries, just with as3 source files.
I even tried to add the breakpoints manually in the Flash's xml debug file but successless.
However, I found a little trick that can be helpful. When the debugger bugs like that, instead of adding breakpoints, I throw Errors, and then the debugger stop on the line where the error is thrown, giving you access to the content of all the variables at that point. But you still cannot use step by step. -
Start and stop the Communication channel from Java Mapping
How to start and stop the Communication channel from Java Mapping in XI 3.0
Scenario PI - > MQ -> Third Party web application
Web application is down and then Communication channels are stop manually .
We need to automate this process,
MQ Solution - Trigger will be set in MQ which will be called when web application is stopped
Trigger will send u201CSTOP u201C message to PI
How to configure PI scenario to stop different com channels when this message received ?check this link: http://help.sap.com/saphelp_nw04/helpdata/EN/45/0c86aab4d14dece10000000a11466f/frameset.htm
make sure that MQ send http request to PI. i dont think a configuration scenario is required in PI. Only roles should be enabled with proper user provided to MQ team.
However, for security reasons, you can configure a scenario if you dont want to expose PI infrastructure directly to 3rd parties. -
JDeveloper 11g: Can System.console be used with the JDev debug window
The version of JDev should not matter for this problem.
I am working on a console application that I would like to debug from within JDev. Unfortunately, System.console does not detect the JDev debug window as a valid Console object.
Running the following will return null;
Console console = System.console();My code works fine if run from an actual command window.
The main reason that I was using Console was for readPassword.
Does anyone know of a way to get this to work?
Should I ditch this and go with BufferedReader or Scanner?Thanks for replying so quickly Shay!
Yes, I did enable "Allow Program Input". Unfortunately that never worked with Console.
BufferedReader works just fine though.
I really only wanted to use Console because it bundled up readPassword. I most likley will have to go with BufferedReader or Scanner if I wish to debug within JDev. -
Start and Stop a Windows Service From Java
Is there any way to start and stop a Windows service from Java? The only post I found on it (http://forum.java.sun.com/thread.jspa?threadID=647509) had a link to one of the many aps that allow Java programs to be services, which is not what I am interested in doing.
I am attempting to get data from performance counters from the Windows Performance Monitor into a Java ap without using JNI. I can get the data from C++ or a .net language pretty easily and was going to create a service that would listen for socket requests and feed back the data. However, I'd like to start and stop that service when my java code starts and stops. Is this possible? Would it make more sense to just use a .exe and Runtime.exec()?If it's only to start or stop a service then you could use the net command without any need for JNI.import java.io.*;
public class MsWinSvc {
static final String CMD_START = "cmd /c net start \"";
static final String CMD_STOP = "cmd /c net stop \"";
public static int startService(String serviceName) throws Exception {
return execCmd(CMD_START + serviceName + "\"");
public static int stopService(String serviceName) throws Exception {
return execCmd(CMD_STOP + serviceName + "\"");
static int execCmd(String cmdLine) throws Exception {
Process process = Runtime.getRuntime().exec(cmdLine);
StreamPumper outPumper = new StreamPumper(process.getInputStream(), System.out);
StreamPumper errPumper = new StreamPumper(process.getErrorStream(), System.err);
outPumper.start();
errPumper.start();
process.waitFor();
outPumper.join();
errPumper.join();
return process.exitValue();
static class StreamPumper extends Thread {
private InputStream is;
private PrintStream os;
public StreamPumper(InputStream is, PrintStream os) {
this.is = is;
this.os = os;
public void run() {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = br.readLine()) != null)
os.println(line);
catch (Exception e) {
e.printStackTrace();
}Regards -
Err. in programs copiled with Jdev 9.0.3 and run with Java Web Start
Hi all,
when I build my programs with Oracle9j JDeveloper 9.0.3.988 and I use them with Java Web Start, programs do not run, while when compiled with Oracle9j JDeveloper 9.0.2.x it runs without problems.
The Java version used in both cases is 1.4.0.
Here's an example of the log from Java Web Start:
Error in JavaWeb Start
viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
java.lang.ClassFormatError: viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.access$1(Unknown Source)
at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at viewer.imageViewer.UtilityMenuPane.jbInit(UtilityMenuPane.java:167)
at viewer.imageViewer.UtilityMenuPane.<init>(UtilityMenuPane.java:155)
at viewer.imageViewer.UtilityMenuPane.getInstance(UtilityMenuPane.java:147)
at viewer.imageViewer.ImageViewerFrame.jbInit(ImageViewerFrame.java:179)
at viewer.imageViewer.ImageViewerFrame.<init>(ImageViewerFrame.java:145)
at viewer.imageViewer.ImageViewerFrame.getInstance(ImageViewerFrame.java:126)
at viewer.ImageViewer.execute(ImageViewer.java:30)
at viewer.Viewer.execute(Viewer.java:63)
at viewer.Viewer.<init>(Viewer.java:27)
at viewer.Viewer.main(Viewer.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Does anybody know why this happens?
ThanksHi There.
We had the same problem with some of our code. We moved the definition of the class from a method out of the method. Like this:
public class{
class{
instead of doing this:
public class{
method() {
class{
This worked with the web start......
Best regards
Jesper Lorentzen -
Weblog for Simple way to debug ESS and MSS Web Dynpro Java applications
Here is the link to the new Weblog topic "Simple way to debug ESS and MSS Web Dynpro Java applications"
/people/yugandhar.reddy/blog/2011/03/26/simple-way-to-debug-ess-and-mss-web-dynpro-java-based-applications--very-useful-techniqueThanks Siddharth. I was trying as you suggested, I was trying to add the link to the FAQ's but looks like the wiki is locked or I dont have permission to create a page in it. Is there any other way to do it?
Edited by: Yugandhar Reddy on Mar 28, 2011 5:04 PM
Maybe you are looking for
-
Hi, How to config OD Report if I want result display as below SQL command select a.accountname,count(b.salestage), (select count(b.salestage) from opportunity b where salestage in ('Closed/Did Nothing','Closed/Lost')) from account a,opportunity b gro
-
Copy CD with Mac and Windows Files
I have a CD, not copy protected that has both Mac files and Windows files on it. Specifically it is a Printer Driver CD. When I make an image of it with Disk Utility, the only files in it are the Mac files. I wanted to make a safe backup of the CD, i
-
I have made several attemps to get our email server off the block lists. How is the best way to get this done?
-
Account limitations flaw?
My teenager has fooled Panther and probably Tiger. My 10.3.9 acccount management allows me to prevent my teenager from using applications that are not on the 'list' It works well EXCEPT My teenager has figured out the all they have to do is download
-
Ipad telling me to upgrade but software says up to date
My Ipad popped up with a screen telling me IOS6 available to update and in settings the software says 1. but when i open it it says Software up to date. No idea what to do. Any help appreciated. Thanks.