Jdveloper, Debugging JSP doesnt  work

Hi,
i am using jdeveloper 9.0.4.2.0 , jdk 1.4.2_03
Until yesterday it was possible to set breakpoints in a JSP-Site (let us call it myJSP.jsp). The debugger stopped erverytime at a breakpoint when archiving it.
But now it doesnt work any more, that means, the debugger even doenst jumps into the JSP-Site-Sourcecode, instead it jumps to the stub-file belonging to the JSP-Site ( _myJSP.JAVA).
What have i to do to get the former behavior of the debugger?
please help
bye

Is the debug param set to true?

Similar Messages

  • Dynamic imaging in jsp doesnt work

              Hi,
              The following piece of code works in tomcat but does not work in weblogic. can
              anybody please help me with this.
              <%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,com.sun.image.codec.jpeg.*,java.util.*"%>
              <%
              // Create image
              int width=200, height=200;
              BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
              // Get drawing context
              Graphics g = image.getGraphics();
              // Fill background
              g.setColor(Color.white);
              g.fillRect(0, 0, width, height);
              // Create random polygon
              Polygon poly = new Polygon();
              Random random = new Random();
              for (int i=0; i < 5; i++) {
              poly.addPoint(random.nextInt(width),
              random.nextInt(height));
              // Fill polygon
              g.setColor(Color.cyan);
              g.fillPolygon(poly);
              // Dispose context
              g.dispose();
              // Send back image
              ServletOutputStream sos = response.getOutputStream();
              JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
              encoder.encode(image);
              %>
              Thanx in advance.
              regards,
              Subramaniam
              

              Thanx a lot.Just read your solution again. Didnt get it the first time .Its pretty
              interesting.I think i will opt for the servlets solution.
              Dimitri Rakitine <[email protected]> wrote:
              >I thought I did. This version works (on 6.1 at least) :
              >
              >----------
              ><%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,com.sun.image.codec.jpeg.*,java.util.*"%><%
              >
              >// Create image
              >int width=200, height=200;
              >BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
              >
              >// Get drawing context
              >Graphics g = image.getGraphics();
              >
              >// Fill background
              >g.setColor(Color.white);
              >g.fillRect(0, 0, width, height);
              >
              >// Create random polygon
              >Polygon poly = new Polygon();
              >Random random = new Random();
              >for (int i=0; i < 5; i++) {
              > poly.addPoint(random.nextInt(width),
              > random.nextInt(height));
              >}
              >
              >// Fill polygon
              >g.setColor(Color.cyan);
              >g.fillPolygon(poly);
              >
              >// Dispose context
              >g.dispose();
              >
              >// Send back image
              >ServletOutputStream sos = response.getOutputStream();
              >JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
              >encoder.encode(image);
              >%>
              >----------
              >
              >Subramaniam <[email protected]> wrote:
              >
              >> Hi,
              >
              >> There is out.println("\n")'s in the java file generated by weblogic.
              >There is
              >> out.write("\n")'s in the java file generated by tomcat. So does that
              >make a difference
              >> ?
              >
              >> You told me to make a change in the jsp - could you be more specific
              >as to what
              >> change needs to be made(if i dont want to use a servlet).
              >
              >> Thanx in advance,
              >
              >> Subramaniam
              >
              >> Dimitri Rakitine <[email protected]> wrote:
              >>>Look at the generated .java file - WebLogic's JSP compiler adds
              >>>'out.println("\n")'s at the beginning. Try to change your JSP (or,
              >>>even better, use servlet to generate images) :
              >>>
              >>><%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,com.sun.image.codec.jpeg.*,java.util.*"%><%
              >>>
              >>>// Create image
              >>>int width=200, height=200;
              >>>BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
              >>>
              >>>// Get drawing context
              >>>Graphics g = image.getGraphics();
              >>>
              >>>// Fill background
              >>>g.setColor(Color.white);
              >>>g.fillRect(0, 0, width, height);
              >>>
              >>>// Create random polygon
              >>>Polygon poly = new Polygon();
              >>>Random random = new Random();
              >>>for (int i=0; i < 5; i++) {
              >>> poly.addPoint(random.nextInt(width),
              >>> random.nextInt(height));
              >>>}
              >>>
              >>>// Fill polygon
              >>>g.setColor(Color.cyan);
              >>>g.fillPolygon(poly);
              >>>
              >>>// Dispose context
              >>>g.dispose();
              >>>
              >>>// Send back image
              >>>ServletOutputStream sos = response.getOutputStream();
              >>>JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
              >>>encoder.encode(image);
              >>>%>
              >>>
              >>>Subramaniam <[email protected]> wrote:
              >>>
              >>>> Hi,
              >>>
              >>>> The following piece of code works in tomcat but does not work in
              >weblogic.
              >>>can
              >>>> anybody please help me with this.
              >>>
              >>>
              >>>
              >>>> <%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,com.sun.image.codec.jpeg.*,java.util.*"%>
              >>>
              >>>> <%
              >>>
              >>>> // Create image
              >>>> int width=200, height=200;
              >>>> BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
              >>>
              >>>> // Get drawing context
              >>>> Graphics g = image.getGraphics();
              >>>
              >>>> // Fill background
              >>>> g.setColor(Color.white);
              >>>> g.fillRect(0, 0, width, height);
              >>>
              >>>> // Create random polygon
              >>>> Polygon poly = new Polygon();
              >>>> Random random = new Random();
              >>>> for (int i=0; i < 5; i++) {
              >>>> poly.addPoint(random.nextInt(width),
              >>>> random.nextInt(height));
              >>>> }
              >>>
              >>>> // Fill polygon
              >>>> g.setColor(Color.cyan);
              >>>> g.fillPolygon(poly);
              >>>
              >>>> // Dispose context
              >>>> g.dispose();
              >>>
              >>>> // Send back image
              >>>> ServletOutputStream sos = response.getOutputStream();
              >>>> JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
              >>>> encoder.encode(image);
              >>>> %>
              >>>
              >>>
              >>>> Thanx in advance.
              >>>> regards,
              >>>> Subramaniam
              >>>
              >>>--
              >>>Dimitri
              >
              >
              >--
              >Dimitri
              

  • How come script for cursor doesnt work in jsp pg?

    it works in an html pg but it doesnt work in a jsp page when i put in a javascript for an animated cursor btw the body tags:
    <script>blah</script>
    WHY? thanks

    WHY?Because it doesn't like you.
    View source on the generated JSP page.
    Compare it to the html page.
    Save the source as a static html file.
    Find what is causing the problem - maybe a javascript error on the page that prevents your code running?
    If you have IE, Tools:options: advanced tab, and uncheck "disable script debugging" so you can see the error messages - or get a browzer with a decent javascript debugger.
    Good luck,
    evnafets

  • Why doesnt jsp:include work?

    Hello all
    I am trying to include a header file in my jsp page, and then include a servlet on another server. Question is, is this possible? In my code below, the header file is shown but the results of the servlet, which resides on a different server, are not. Any idea why the second line doesnt work?
    Thanks in advance for any help.
    <%@ include file="header.jsp" %>
    <jsp:include page="http://differentserver:1080/servlet/Docu?dir=AdminProc" flush="true" />

    Thanks for the clarification. I am actually trying to convert some PHP to JSP, and idea what the equivalent of
    <?php
         include("header.php");
         include("http://differentserver:1080/servlet/DocuServ?dir=Procedures");
    ?>
    is in JSP?

  • Redirection JSP not working in IE

    Hi all,
    I have a servlet with the following part of the code to redirect to an jsp page.
    When I enter the correct username and password, and click "submit", it should redirect to my index.jsp page. It works fine with firefox, but in Inter
    works fine with firefox. But in Internet Explorer(IE), if I click "submit" button, nothing happened, it just remain at the original page.
    if(buttonType.equalsIgnoreCase("submit")){
    if (username.equals("test") && password.equals("test")){
         url = host+"index.jsp";
         response.sendRedirect(url);
         return;
    Thank you in advance!

    novelera wrote:
    Check tat javascript works on ur IE
    u can write some alert code for button click to check it..
    if it doesnt works.. then u hav problem in executing the javascript
    -venkat<c:redirect> isn't JavaScript.

  • Opendoc : to pass  variable doesnt work

    hy,
    i want pass variable from one report to another
    i use this formula :
    "<a href='http://myserver:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sIDType=CUID&iDocID=Ad6ICMdlQV9ElilBHmITZpg&lsSpays=u201D[Pays]u201D&sRefresh=Y&sWindow=New'>detail</a>"
    pays is a prompt
    [pays] is my query object in a table
    when i clic on detail i want open detail report with prompt pays=value  line
    it's doesnt work my prompt is nul
    thank's
    Edited by: PHILIPPE REMIS on Oct 20, 2009 5:34 PM

    it's ok now

  • Command Link with Datatable doesnt work

    I had read the previosu posts stating that commandLink with the datatable will be corrected with the new version of Jsf- 1_1_01 .I installed the new version and the commandLink doesnt work inside a datatable still

    try initialising the List attached to the dataTable
    in the constructor or use an outputLink
    -DevioutputLink is similar to <href in jsp.It cannot implement the actionListener and action parameters which a commandLink does. Using a constructor for initializing is fine but when i want it to implement certain method then it creates a problem.

  • Satellite C850-A797 webcam doesnt work

    I have Toshiba Satellite C850-A797 and my webcam doesnt work
    I think it is because of Windows update and *the new software interrupt every time i download it,*
    It is problem of the server of toshiba as i think
    PLEASE HELP!!!!!!!!!

    Hi
    Question 1)
    What system do you have? As Im no mistaken the Satellite C850-A797 was preinstalled with Windows 7 64bit.
    The webcam drivers as well as other drivers for Satellite C850 series can be downloaded here:
    http://www.toshiba.eu/innovation/download_drivers_bios.jsp
    I actually downloaded the webcam driver for the above page and it worked properly.
    Check this [webcam driver v 2.0.3.39 for Windows 7 |http://www.toshiba.eu/innovation/download_driver_details.jsp?service=EU&selCategory =2&selFamily=2&selSeries=312&selProduct=7499&selSh ortMod=null&language=13&selOS=30&selType=315&yearu pload=&monthupload=&dayupload=&useDate=null&mode=a llMachines&search=&action=search&macId=&country=al l&selectedLanguage=13&type=315&page=1&ID=88046&OSI D=30&driverLanguage=42]

  • Scripts in InteractiveForm of Webdynpro doesnt work

    Dear all,
    I am using InteractiveFrom UI element in my Webdynpro Project.
    I am able to give the inputs in Inputfields and call the button Actions etc.
    But I have a scenario where there is a Drop down list and on select of a particular value in the dropdown list I need to make some fields visible or invisible.
    I wrote Script for this but it doesnt work.
    I heard from my colleague that the Adobe form should be having Dynamice property set but I have no clue how to set its property.
    Could you please help me out in this.
    the code I am using in the script is as below :
    if ( LoanPurpose.rawValue == 'Auto' )
    VehicleName.presence = "visible";
    YearModel.presence = "visible";
    else
    VehicleName.presence = "invisible";
    YearModel.presence = "invisible";
    Where LoanPurpose is the dropdown and If its value is Auto I need to set some Input fields to Visible else invisible.
    the same code works with a noram Adobe form but it doesnt work when i create a Interactive Form in Webdynpro Project.
    So Can you please suggest any way how to proceed?
    Thanks & Regards,
    Sirisha.RS

    Hi Chandran,
    I have written the code for eventing (Scripts) and the scripts are working fine as i get alerts when i debug but depending on the value of the drop down selected i need to set some fields to Visible. This action is not being performed.
    I feel that the form is acting as a Static form .
    May be there is a way where i can set it to DynamicForm.
    This has to be done in webdynpro Context i guess.
    Anyways thanks for ur url.
    Regards,
    Sirisha.RS

  • Trying to Use Parent action, doesnt work

    HI
    i am doing a poc on parentaction. i have three taskflows TF1,TF2,TF3. TF1 calls TF2, TF2 calls TF3 now from
    TF3 i want to go to TF1. i have dragged ParentAction in TF3 and named my parentoutcome as "toreturn"
    now in TF2 i have dragged a taskflowreturn and named controlflowcase as "toreturn".
    Thats it when i run my page....TF1 to TF2 navigation on button click works fine.TF2 to TF3 navigation works fine but main
    thing TF3 to TF1 doesnt work and on click of button it remains on same page.
    wat could be the problem?
    anyways in my TF2 ,i get warning mark on the controlflowcase rule from viewactivity to taskflow return as
    "outcome "toreturn" is not found in TF3"
    Hope u guys got wat i am trying to do.
    Thanks
    Edited by: AdfNew-b on May 28, 2012 11:54 PM

    Hi
    Yes, there is navigation button from button to parentaction. And it is called on debugging.
    I think(as mentioned before)
    anyways in my TF2 ,i get warning mark on the controlflowcase rule from viewactivity to taskflow return as
    "outcome "toreturn" is not found in TF3"
    The problem is somewhere here.But i am not able to figure it out
    Thanks
    Edited by: AdfNew-b on May 28, 2012 11:56 PM

  • Why EPCM.donavigate doesnt work for Iview with isolation type embedded

    I am using EPCM.donavigate in JavaScript  in portal jspdynpage to navigate to different page. This works fine when my iView  isolation method is URL but it doesnt work when it is embedded. Am I missing something here? some import?
    Regards,
    Nitesh

    Hi,
    In Javacript of Portal jsp page, we are calling EPCM.doNavigate method  as below:
       function callfunc(obj,externalLink,rid,portalPageURL,InvalidLink)
                   return EPCM.doNavigate('ROLES://' + obj)     
    Final URL look something like this...
    portal_content/com.sap.pct/com.sap.prod_fld/com.sap.roles/com.sap.rol_career/com.sap.wks_1_1/Folder_2/com.sap.pag_1_1_2
    This Code works only for Iviews with URL Isolation but doesnt work with Embedded Iviews as my Page which contains this Iviews is also Embedded and Desktop is also embedded.

  • Debug JSP file

    Hi,
    Is there any tool to debug the JSP files? I want to debug my JSP how to do it? Please clarify.
    Thanks.

    gimbal2 wrote:
    ramp wrote:
    But then there are millions of already written jsps out there already and to debug those, I use MyEclipse. It needs a paid license though.A license that needs to be renewed yearly, right?
    Yes, 30$ or thereabouts. I do not have to pay for it though ;)
    I wouldn't pay for a tool just to be able to debug JSPs though ;) I'll just work with System.out or a logger to trace where stuff goes wrong.We used to do that before we convinced the management that we work for that it really saves huge time (money and productivity)
    Its a life saver for us :). The jsps are sometimes 500 lines long (no dont kill me, I did not write those. Just have to maintain them :( ) and I shudder to think of those dark days where we kept adding incremental sysouts, then do a build and watch the stack trace. Sometimes the server did not pick up the jsp changes and a restart was needed ( more shudder :) )
    ram.
    Edit: Just wanted to add that it needs some setup and is not for the faint hearted

  • -Syu doesnt work, but -Syyu does?

    Hi.... for some reason, "pacman -Syu" doesnt work anymore..... every time I try to use it it says "there is nothing to do". So I have to run "pacman -Syyu" instead..... why?
    [root@HPMachine danny]# pacman -Syu
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    there is nothing to do
    [root@HPMachine danny]# pacman -Syyu
    :: Synchronising package databases...
    core 106.2 KiB 924K/s 00:00 [#####################################################] 100%
    extra 1430.9 KiB 2.85M/s 00:00 [#####################################################] 100%
    community 1807.3 KiB 3.03M/s 00:01 [#####################################################] 100%
    :: Starting full system upgrade...
    :: Replace dbus-core with core/dbus? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...

    Before Allan pops in, can you post the output of pacman -Syu --debug  ??

  • I just got an IPad and it seems to be interfering with my Iphone.   Facetime doesnt work unless the other device is shut off.   apps aren't syned.  email doesn't some in quickly on the phone

    i just got an IPad and it seems to be interfering with my Iphone.   Facetime doesnt work unless the other device is shut off.   apps aren't syned.  email doesn't some in quickly on the phone

    The machine could be repaired by a company that does circuit board re-soldering, since it is possible a heat-flex solder break on the main board may have caused either the processor or graphics chips to lose connection and that could manifest itself in a few somewhat documented ways.
    There is an on-board RAM chip that may also have something to do with a kernel panic, if it no longer is functioning correctly; that is the non-removable one soldered on the board you never usually worry about.
    Companies such as powerbookmedic, wegenermedia, and others can take in portable macs of vintage or newer (contact them for details on what they do, and how they accept work orders) for repair and can fix most anything; and have a parts inventory. Modern repair workstations allow the equipped service company to fix complex issues and they do troubleshooting. Sometimes the cost is less than a replacement logic board.
    The links above may help isolate the general cause of a kernel panic. There are other articles in Support database including a deeper look into them.
    •Technical Note TN2063: Understanding & Debugging Kernel Panics
    https://developer.apple.com/library/mac/technotes/tn2063/_index.html
    •Resolving Kernel Panics - The X Lab:
    http://www.thexlab.com/faqs/kernelpanics.html
    •Troubleshooting Kernel Panics:
    http://www.thexlab.com/faqs/kernelpanics.html#Anchor-Troubleshooting-49575
    Usually the issue is caused by hardware, especially if there is an indication of machine failure in the crash log or other screen image text.
    A working last model MacBook (mid-2010) would be a better 'first mac' to have.
    Hopefully you can sort it out.
    If not, there likely are fair parts in it.
    Good luck & happy computing!

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

Maybe you are looking for