Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Rep Power

    Default Is it possible to debug java code marked load-on-startup?

    Hi, this is about Eclipse 3.4.2 (Ganymede).

    We have some startup code that is invoked using a Servlet class, which is defined with the following property in web.xml:


    Setting a breakpoint before starting the server (which is Weblogic 9) seems to have no effect. Does anyone know a way to accomplish this?


  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Rep Power


    Works for me. The more elegant approach though is to add a ServletContextListener instead.

Similar Threads

  1. Problems with getTables marked
    By albyblueska in forum JDBC
    Replies: 0
    Last Post: 08-06-2009, 07:20 PM
  2. Debug challenge: how do you debug a Java program?
    By CJSLMAN in forum New To Java
    Replies: 60
    Last Post: 07-04-2009, 10:28 AM
  3. Replies: 3
    Last Post: 04-14-2009, 04:44 PM
  4. how to load a java class in startup
    By leonard in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 03:36 AM
  5. how to debug java code in eclipse
    By rajesh058 in forum Advanced Java
    Replies: 3
    Last Post: 07-25-2007, 11:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts