Debugging w/ JDev and iPlanet

Just curious if anyone has been successful with remote debugging from JDeveloper 3.1 where iPlanet 4 is the web-server?
I've tried the "General Settings" as described in the help files, but they cause the web-server to not restart.

Sorry!
          the debug option was NOT enabled (seems that my ant script is too
          complex at this stadium...)
          Cheers,
          Jan.
          [email protected] (Jan-Friedrich Mutter) wrote in message news:<[email protected]>...
          > Hi,
          >
          > I'd like to debug my Servlets/EJB's running on a Weblogic 6.1 SP4. My
          > IDE is Eclipse 2.1
          > To enable remote debugging I start Weblogic with that additional JVM
          > options:
          >
          > -classic -Xdebug -Xnoagent
          > -Xrunjdwp:transport=dt_socket,address=5000,suspend=y,server=y
          >
          > and configured my Remote Application in Eclipse accordingly.
          >
          > The connection successes.
          >
          > Problem: When I reach my breakpoint, Eclipse pops up an error message:
          > "Attempting to install a breakpoint in the type
          > com.xxx....
          > that has no line number attributes. The breakpoint cannot be
          > installed. Class files must be generated with the line number
          > attributes.
          > Reason:
          > Absent Line Number Information"
          >
          > I compiled my sources with enabled debug option.
          >
          > Any comments and ideas are appreciated.
          >
          > Cheers,
          > Jan.
          

Similar Messages

  • BUG: OC4J recompiled JSPs can not be debugged in JDev 10.1.3.2

    We are having problems on JSP which are modified while running on OC4J within JDev 10.1.3.2. The modified JSP are not correctly recompiled.
    A similar thread discussing this problem is here:
    Oracle JDeveloper 10.1.3.1's Internal OC4J JSP Recompile
    We consider this to be a problem that may be related more to OC4J than to JDev and therefore I am asking for suggestions in this forum.
    To explain what we observe:
    In JDev 10.1.3.1 we found that big/complex JSP would not recompile after changes were made while OC4J was running. The compiled JSP files under \.jsps\_web_2d_inf\... changed from myfile.class and myfile.java to myfile.class, myfile.java and (a new file) myfile.jpa.
    After installing JDev 10.1.3.2 we now observe that for any JSP that gets changed (also the small/simple ones) the constellation of three files (with the additional .jpa) gets created. Small files are compiled and can be used after changed in real time but code insight and variable inspection and modification needed for debugging no longer work. (Note that they worked on the unchanged file, and would work again if we stop and recompile the whole project).
    I could certainly appreciate if someone has found a solution to this problem as migrating back to a JDev version previous to 10.1.3.1 is not wanted.
    Thanks in advance!
    Gonzalo

    I have openned a SR with this issue.
    Does nobody else has this problem?
    To reproduce it try:
    Run any application in JDeveloper which contains a JSP file where a scriptlet declares
    and use some variables.
    Run the application and set a breakpoint after some of the variables. Call the JSP from the browser to start its execution and after stopping at the breakpoint inspect the variables content. It works, you can see the variable contents.
    Now make a change in the JSP (anything) and call it again from the browser without restarting OC4J.
    After stopping at the breakpoint you will see that the variables can no longer be inspected, their content is no longer available.
    Thanks for any suggestions,
    Gonzalo

  • Debugging in JDev 10.1.2

    I've created an application workspace with a single project, and the project has a single java class that contains a main method. I've put a stop point on the first line of the main method, and another in another method that main calls. When I try to debug in JDev 10.1.2, it sits for several minutes then I finally get the message "Debugger connection attempt not successful. Debugger will retry", and then finally "Debugger unable to connect to local process.
    Process exited.".
    Is there a setting I need to make to make the debugger work? Or is this a bug?

    Does modifying the
    Connection Retry Setting connect the debugger.
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/compiling_debugging/f1_deb_projset_debugwin.html

  • WL 5.1sp12 and Iplanet 6.0sp2 ..how do I install libproxy.so

    Ok, I have WL5.1sp12 and Iplanet 6.0sp2 and want to know how to setup the proxy. It
    was easy with Iplanet 4.1, but Iplanet 6.0sp2 is a different animal. Anyways, I put
    in
    magnus.conf
    Init fn="load-modules" funcs="wl-proxy,wl-init" shlib="libproxy.so"
    Init fn="wl-init"
    I put in my obj.conf
    Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy" WebLogicHost=
    "computer" WebLogicPort="500" pathPrepend="/" ConnectTimeoutSecs=20
    <Object name="weblogic" ppath="*/servlets/*">
    Service fn="wl-proxy" WebLogicHost="computer" WebLogicPort="500" ConnectTimeoutSecs=20
    </Object>
    I see no activity in my weblogic.log when i try to hit a servlet,then I get an error.....Anything
    else I need to do with iplanet6.0 ???

    Hi.
    This question would probably be answered better in the plug-in newsgroup, but here's something to
    try:
    In your <Object> definition add Debug=ON and see what shows up in the wlproxy.log file. Also please
    post the error you are seeing here and I'll have a look.
    Thanks,
    Michael
    frankie wrote:
    Ok, I have WL5.1sp12 and Iplanet 6.0sp2 and want to know how to setup the proxy. It
    was easy with Iplanet 4.1, but Iplanet 6.0sp2 is a different animal. Anyways, I put
    in
    magnus.conf
    Init fn="load-modules" funcs="wl-proxy,wl-init" shlib="libproxy.so"
    Init fn="wl-init"
    I put in my obj.conf
    Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy" WebLogicHost=
    "computer" WebLogicPort="500" pathPrepend="/" ConnectTimeoutSecs=20
    <Object name="weblogic" ppath="*/servlets/*">
    Service fn="wl-proxy" WebLogicHost="computer" WebLogicPort="500" ConnectTimeoutSecs=20
    </Object>
    I see no activity in my weblogic.log when i try to hit a servlet,then I get an error.....Anything
    else I need to do with iplanet6.0 ???--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Remote Debugging in Jdev EA1.

    Hey guys, what happen to remote debugging in Jdev EA1?
    Thanks,
    Tony

    The remote debugging was moved to tools/project properties select run/Debug and then edit.
    Thanks,
    Tony

  • JDev and ADF is difficult

    As a new user to ADF I am finding ADF and JDev a little discouraging and hard to use. I did a search on how to improve jdev's performance and found a lot of useful tips and tricks to use, but I pose the question. Shouldn't it just work out of the box? Coming from a web 2.0 background developing EE applications using Spring, JPA/Hibernate, Extjs, and netbeans I keep thinking to myself wow how in the world should I have known that changing this or that table attribute causes this or that to behave differently. For example I read a thread on multi-selecting table rows and in this article multiselect selectedRowKeys must be removed for multi select to perform correctly. Now I realize this is a simple example, but I find myself asking the same types of questions about dragging and dropping views into jdev or mapping bindings to pages so that I can gain access to data. I can relate to some angry posts by some about how difficult it is to develop anything useful in JDev and ADF because of a series of random problems (things like running OOM, or mapping bindings to a page which then for some reason map incorrectly or they think they are mapped to another page, etc...) Now I can already hear the first response... you are new to this world (yes) and you just need time. What if I told you I've been reading so much documentation over the past month that my eyes are bleeding. I've been through countless tutorials on how to use JDev and ADF. I've successfully created "Sample applications" generating useless tables of data. I've read several books on ADF and how to button click my way to creating EE applications, but I find the memorization of button clicking to be exhausting. I keep telling my boss I want to go back to writing code not dragging and dropping items on a page so that JDev can generate/modify .xml files for me.
    Now that said I know I am new to this world and I'm trying to find some common ground as my job requires me to develop EE applications in ADF, and I must learn this technology. So I ask all of you ADF and JDev advocates prove me wrong here and point me to the documentation that all of you use to navigate this world of yours.
    Thanks for your understand,
    Wraith (Newbie and found wanting)
    Edited by: wraith101 on Aug 14, 2012 3:38 PM
    Edited by: wraith101 on Aug 14, 2012 3:42 PM

    First off thank you for the response Shay!
    >
    Getting used to the way you build applications with JDev and ADF takes time, but think how much time did it took you to learn Spring, JPA, ExtJS etc to a level where you knew every little setting you needed to manually code in a spring XML file, or JPQL query syntax in your JPA or a javascript in ExtJS - My guess was that getting to a situation where you know everything in those technology wasn't exactly a problem less experience.
    >
    It is true it took some time to learn the technologies listed above. I guess If I were arguing for them I would say they were easier to use and learn due to most of them being open source and very popular because of this (i.e tons of examples, books, and documentation). Not sure if ADF is there yet?
    >
    I do like the fact that I can get from 0 to a fully functional page with a few clicks here and there, and then fine tune the results with some property settings in various places.
    And then if I need even further customization I can go to the code level when needed.
    >
    I agree it takes very little time to create something that is at least visually usable. I'm not familiar enough ADF yet to determine now hard it is to actually create a fully functioning application that does more than display data. For example, how would I create a visualization that updates every 10 seconds and allows users to post feedback in a similar manner to this forum?
    >
    The question of whether the declarative and visual development experience is a good thing or not is to some degree a matter of personal preferences.
    I wonder how long would it have taken someone to build something like this: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF112/ADF112.html
    with the stack you mentioned above. How many lines of code would they have needed to write, how many syntax errors while coding, and would the result be as functional so fast.
    >
    Agree I'm not hear to argue which type of development experience is better or worse. I would point out however that as a JDev/ADF developer in order to develop in the technology it seems you must do most of your development within the JDev environment or have extensive experience in JSF (i.e know which xml files to edit and why I believe there is a reason JSF and JSP are seldom used IMHO because they are difficult. I understand JDev/ADF try to solve this problem) were as in other technologies you as the developer can choose the IDE etc. Another thing I noticed while watching the link you listed was the developer went from place to place to place within jdev making changes. As a newbie it seems that in order to develop ADF in JDev you must just "know things" (ie. for example he pulled in a method in to the task flow so he could invoke some validation or prereq check. As a developer how am I to know how and where and why I can/must do these things? ADF seems to be process based in order to achieve some goal, but the JDev framework gives no clues as to what you should/need to do next. As well as that I needed to create that method within my Application Module in order to do this, which by the way was not mentioned within this video.).
    >
    We often see the reaction of "I don't get what all those XML files that JDev generate are doing" reaction from people who just start up with JDev and ADF.
    But we do try and explain how everything is working in places like the ADF Insider Advanced seminars:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
    I think the fact that there is a lot of documentation for ADF, and a lot of blog entries, how-to's etc on the web is actually a good thing.
    I often find that if I run into an issue with ADF - a simple google search will show me how someone else solved that issue - and I like this too.
    >
    I guess my biggest gripe here would be yes there is tons of JDev/ADF documentation on OTN and other places, but none of it is complete, and I would also argue that the organization on OTN is half hazard, and makes learning ADF difficult as well. I find myself drilling down through layers and layers of links only to not be able to get back to were I came from to look at another topic/tutorial I was interested in(maybe we need a ADF train to be added to the documentation wikis).
    I would also argue when developing in other frameworks writing the xml is a big part to understanding how your application is tied together. For example, Spring servlet mapping or Spring injection mapping. When JDev does the mapping for me I feel that I know less and less about how my application works and I bet all the advanced ADF developers out there know quite a bit about how ADF xml mapping occurs and why, and I bet they make changes to these xml files manually quite often to get things to work as they desire?
    I want to be clear here I am not trying to flaming here, just trying to make a difference for other developers like myself who come along and need to learn ADF to complete some task. Looking at the OTN site I believe creating documentation for ADF development appears to be a top priority, but due to the complexity of the framework there is just so much and it seems to be everywhere. My suggestion would be to include why we are doing such and such with in jdev approach instead of a drag this here to do this approach. For example, I'd like to see a tutorial where it explains when you drag this item in to the content window it creates this xml bind which is the same as what you would normally do in JSF like this (if anyone knows of such a tutorial plz link).
    Again thanks for the reply, and I encourage others to give feedback and suggestions on how I too can become a better JDev/ADF developer.
    -Wraith

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel rec

    I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel receive the same message.Some one can tel what to do please? Thanks

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • Graphics issue with Jdev and Ubuntu Maverick

    Hi,
    I just upgraded one machine Dell Optiplex 755 to Ubuntu Maverick 10.10 with Java 1.6.0.23 and Oracle JDeveloper 11g 11.1.1.3.0. Since then, my Jdev is not working properly from a graphic point of view. When you start it , it doesn't show all the icons in the console. You have to pass the mouse over them to be shown, and as soon as you minimize/maximize the window, those are hidden again. It's like Java or Jdev are not sending the correct commands to repaint the screen.
    I don't have any similar graphic issue with any other application like openOffice or Oracle SQL datamodeler. But I do have the same issue with the Oracle SQL developer application, the icons are not shown unless you pass the mouse over them and they disappear if you minimize/maximize the window. Jdev and SQL Developer have a similar interface so I think is related with Java and these specific interfaces.
    The drivers of the graphic card, ATI Radeon HD 2400 XT, are up to date and I already tried with different tweakings in the graphical properties.
    Does any of you have any suggestion/solution?
    This didn't happen with an Ubuntu 9.10 and old versions of java and Jdev installed in the same machine.
    Greetings and thank you.
    Edited by: user13698736 on Feb 14, 2011 2:26 AM

    Hello,
    I have changed my graphic card. i mean, replace ATI Radeon by Gforce.
    Thanks

  • Debugging a script and smart form

    Hi   Can u explain me How to Debug a Script and Smart from in Real time

    hi,
    for smartforms
    1. use transaction SMARTFORM_TRACE
    2. in the SMARTFORMS, use utilities to show the function name. You can analyze this function in SE37 and set dynamic breakpoints as required. Lok at the SMARTFORM_TRACE to decide where to set break points.
    3. BREAK-POINT can be used only in own program lines in smartform - not very helpful because it always stops until removed and generated again.
    for scripts
    from SE71 enter form name
    from Menu Utilities->ACTIVATE DEBUGGER
    then execute the script from the Application Transaction
    it will stop in the script and check for the Values you need
    or
    Execute RSTXDBUG.
    ~~Guduri

  • Granting system privileges DEBUG ANY PROCEDURE and CONNECT SESSION in 10gXE

    I am using Oracle DB 10g Express Edition and trying out SQL Developer. Whenever I want to debug a procedure I got the error:
    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
    But I don't see these privileges to grant in the XE GUI for users.
    Does anybody know if this is supported in XE.
    Thanks.

    Hi
    Use SQL*Plus (or the apex interface), logon as dba and type this sql statements:
    grant DEBUG CONNECT SESSION to <username>;
    grant CONNECT SESSION to <username>;

  • Debugging RFC - EBP and R/3

    Hello people,
    I´m debugging in EBP, and sometimes a function in R3 is called (a RFC function in R/3 system).
    I´m debugging with F5 (step by step) and I want to debug step-by-step inside the function called (in R3). In this moment, when the RFC function is called, the debug session acts as I had pressed F6 and the debug continues in EBP.
    I don´t know where I have to configure it! Do you have any tip?
    Thank you!

    Hi,
    Please check the following things
    1) Transaction SM59 --> check the entry you have maintained for your R/3 system.
    2) get in to details of the RFC destination ---> click on the tab Logon/security.
    3) You will find the following details
    Language        EN
    Client          ---> Client of the R/3
    User            ---> RFC user for R/3
    password     --> password of this user in R/3
    4) click on 'connection test' ---> system would take you to R/3 system. (this is just test to check the connection).
    5) Get in to details of this RFC user in R/3 ---> Transaction -->SU01 ---> User type should be dialog.
    6) then you should be able to do RFC debugging.

  • WLS 6.1 SP2 NSAPI and iPlanet (Sun One) issues

    Hi. I am going nuts with this NSAPI issue. I am working in a Solaris 8 environment,
    WLS 6.1 SP2 and iPlanet (Sun One)and NSAPI. I can get everything to work fine
    and dandy in aniPlanet 4.1 environment. I can not get it to work in an Iplanet
    (Sun One) 6.x environment. It appears that some things work differently between
    the versions of iPlanet (ie. things contained in magnus.conf and/or obj.conf).
    I have tried moving things, removing things, adding things and nothing seems
    to work....it's almost as though the NSAPI, etc. are being ignored.
    I've attached my magnus.conf and obj.conf files (I cut and pasted them into a
    single file so I could upload it). Can anyone help me out here...I've been working
    for weeks on this and can't seem to get any answers.
    Thanks!
    Doug
    P.S. For security purpses I changed the first part of the IP add. in the files
    to 1234567, etc.
    Thanks
    [conf_files.txt]

    Hi Doug
    U have to put the following section
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="./libproxy.so"
    Init fn="wl_init"
    into magus.conf
    and put the rest into obj.conf
    Best Regards
    Alex
    "Doug E" <[email protected]> wrote:
    >
    Does anybody know of a good reference document on how to properly install
    the NSAPI
    plug-in for WLS6.1 & iPlanet6(SunOne) on Unix (Solaris). Many of the references
    that
    I have been finding are either incomplete, have typo's and are mostly Windows
    oriented
    (ie. with the .dll's, paths, examples, etc.)
    My problem is that our old iPlanet 4.x works fine...everything proxies,
    etc. iPlanet
    6 just doesn't want to seem to communicate with WLS 6.1 SP2 We tried many
    of the
    saem things from the 4.x magnus & obj.confs...but things look somewhat different
    in iPlanet 6.x (did they move tings..such as the fn's from one to the other,
    etc.)
    If so..and there are big differences in installing iPlanet 4.x vs. 6.x
    then many
    of the docs out there are inaccurate. Does anyone know if there is a newer
    version
    of the NSAPI plug-in for Unix.
    I would love to see a basic, working set of magnus.conf obj.conf, MIME,etc
    from someone
    who has actually gotten NSAPI to work between WLS 6.1 and iPlanet 6 on Unix
    (Solaris)
    It blows my mind that 4.x works and 6.x doesn't. An updated NSAPI plug-in
    , if it exists and perhaps fixes the problem, would make my day. Any ideas?
    Thanks!
    -Doug

  • Running Weblogic 8.1 SP3 and IPlanet 6.0 on same machine

    I have requirement to run Weblogic Platform SP3 and IPlanet 6.0 servers on same Solaris machine
    for a client of ours.
    Please let me if we can do this. What kind of issues we may run into.
    Thanks,
    Sanjay

    Hi
    Of course, you can install both at the same machine.
    Only remember the memory required ... and the real memory available ... this for don't have swap problems.
    Remember too if you are planning to create WLS clusters ... BEA recommends 1 cluster per CPU ... and reserve 1 CPU for the iPlanet web Server. Even, you can install all clusters and web server as your machine support ( under load, try to mantain the CPU usage under 70-80%).
    Jin

Maybe you are looking for

  • Draft report

    hi kings I saved the delivery document in draft....i need the draft(delivery) document user report...

  • Error in Proxy generation.

    When I go to SPROXY transaction. It gives me an error saying "No connection to integration builder(only local data visible)" and doesn't show anything (software componenets & all) there. Also, when I try to read the help document there and try to run

  • Casting & Dates How to \ Can you....

    Hey Guys, I have a view: CREATE OR REPLACE VIEW MYVIEW AS SELECT to_char(logtime, 'DD-MM-YYYY') AS Logtime, count(things) FROM mytable GROUP BY to_char(logtime, 'DD-MM-YYYY') So all is good so far, well until i try to order my results on the logtime,

  • Shipping point determination......   problem in sales documents..........

    hi   SAP    GURU s in pricing, im getting error document is incomplete shipping point is not determined please help me we have assigned shipping point to plant but in shipping point determination,  that particular shipping point is not able to assign

  • Empty HTTP request received in SAP RFC test connection type G

    Hi all,   While checking the RFC connection i am getting error, response_line               HTTP/1.0 500 Empty HTTP request received server_protocol             HTTP/1.0 status_code                 500 status_reason               Empty HTTP request r