facebook

Debugging using Eclipse and WebLogic 7

  1. MyEclipse Archived
  2.  > 
  3. Old Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #196475 Reply

    Now that I have my WebLogic app running from Eclipse – my next question is how do I debug? When I used Eclipse previously I set up a Run Configuration for my application which I believe gave Eclipse the location of the Source files for debugging. Now that I am using MyEclipse to start the application – I’m not sure how this is configured. Thanks for any insight you can provide.

    #196476 Reply

    Sorry – answred my own question – just found the excellent MyEclipse documentation at http://myeclipseide.com/enterpriseworkbench/help/index.jsp. A simple case of RTFM on this one.

    #196482 Reply

    Scott Anderson
    Participant

    Then I’m assuming you’re happily debugging at this point. By the way, much more documentation is coming. We know it’s skimpy and are doing our best to address it right now.

    –Scott
    MyEclipse Support

    #196484 Reply

    Actually, I was very excited when I found the documentation I was well on my way on the tutorial and then it ended so I didn’t get as far as I thought I would (i.e. I didn’t actually get the debugging to work). Maybe I spoke too soon! What you have there is excellent quality, but I didn’t see a section on debugging. Any information you have actually is still appreciated.

    #196486 Reply

    Scott Anderson
    Participant

    You didnt mention if you’re debugging just a web app (WAR) or a full enterprise (EAR) app. Since you were using the tutorial I’ll assume a web app.

    From where the tutorial leaves off, and assuming you’ve already configured the WebLogic connnector to point to your WebLogic domain:
    1) Right click on your project and select Deploy… to launch the AutoSync Deployment Wizard.
    2) Tell it you want to deploy on WebLogic
    3) Hit Finish.
    4) Start WebLogic
    5) Set your breakpoints
    6) Excercise your application with a browser.

    That’s basically it.

    –Scott
    MyEclipse Support

    #196487 Reply

    When I right click on my project, I don’t see the “Deploy” option unfortunately. I created them as J2EE web module project and my WL7 domain is configured and runs just fine. Any ideas what I might be doing wrong?

    #196488 Reply

    Scott Anderson
    Participant

    Navigate to Window->Preferences->Customize Perspective->Other and select all the MyEclipse options listed. One of them is deployment.

    –Scott
    MyEclipse Support

    #196489 Reply

    I only see “MyEclipse-Core”, “MyEclipse-Server”, and “MyEclipse-WebTools”. I have all three of them checked. Which perspective should this be for anyway (I have it set in Resource, Java Browsing and Debug)?

    #196490 Reply

    Scott Anderson
    Participant

    Well, that’s odd. There should be 4 choices, the fourth called MyEclipse-DeployTools. Are you positive you’re running the EA2 version of Enterprise Workbench (2.1.1)? You can navigate to Help->About Eclipse->Feature Details to verify the version.

    –Scott
    MyEclipse Support

    #196491 Reply

    After I posted I went and reviewed the installation instructions and then uninstalled/reinstalled the new version and now I do have the deployment option. I think that when I installed it last time, it was not after a clean boot as mentioned in the installation instructions and I think this may have caused me problems. Sorry for the confusion. Now to see if I can debug. Thanks much for your assistance thus far.

    #206358 Reply

    Anonymous
    Member

    If somebody has any document abt integrating weblogic 8 with Eclipse 2.1.2, plz give a link, thx

    #206372 Reply

    Scott Anderson
    Participant
Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Debugging using Eclipse and WebLogic 7

You must be logged in to post in the forum log in