facebook

Autodeployement and stop on break point [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #219749 Reply

    Andrew Cheng
    Participant

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project-module
    type=”WEB”
    name=”min_mgt”
    id=”myeclipse.1088119853147″
    context-root=”/min_mgt”
    j2ee-spec=”1.3″
    archive=”min_mgt.war”>
    <attributes>
    <attribute name=”webrootdir” value=”web” />
    </attributes>
    </project-module>

    The following is workable one

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project-module
    type=”WEB”
    name=”acct_mgt6″
    id=”myeclipse.1097879197642″
    context-root=”/acct_mgt6″
    j2ee-spec=”1.4″
    archive=”acct_mgt6.war”>
    <attributes>
    <attribute name=”webrootdir” value=”web” />
    </attributes>
    </project-module>

    #219764 Reply

    Riyad Kalla
    Member

    ayc,
    After discussing this with a dev we’d like to see you try the following:

    Create a new 1.3-spec project with a simple, default
    JSP page and deploy that and see if it works.

    Also, please make sure that you shut down tomcat, delete the deployment
    within MyEclipse (and confirm the deletion on the file system using Windows explorer or equivalent file browser), create a new
    deployment, then restart Tomcat. Don’t do this with Tomcat running.

    One more thing, select all breakpoints in the breakpoints
    view and delete them. Then just put back 1 trial breakpoint into one JSP
    page in the problem project. Does it work? Can he set a breakpoint and hit
    it in a Java class in the same project?

    #219773 Reply

    Andrew Cheng
    Participant

    I don’t remember what I did, probably just deleted and redeployed project, and
    I got syntax problem.

    BillingPlanDAO billingPlanDao = new BillingPlanDAOImpl(dbProps);
    ApprovedRadioDAO dao = new ApprovedRadioDAOImpl(dbProps);

    it keep saying symbol BillingPlanDAO and ApprovedRadioDAO can not be resolved.
    for my experience, this should be a simple case. I check again and again, and it is there.
    The old working JSP suddenly has symbol reference problem. PLease help on this first, before go an further.

    #219774 Reply

    Andrew Cheng
    Participant

    I remember one thing. MyWin XP virtual memory ran low while myEclipse still on-line.
    My hard drive was running and locked my whole system, and can not reboot. I power off my PC.

    #219776 Reply

    Riyad Kalla
    Member

    it keep saying symbol BillingPlanDAO and ApprovedRadioDAO can not be resolved.

    If these classes come from the same project your are working on, navgiate to your Java Build Path and make sure you still have a Source Directory setup and a Output directory setup. If these classes were from a JAR or another project, go to the LIbraries tab and make sure everything is setup correctly. Then go to the Project menu and make sure “Build Automatically” is checked, then do a “Clean” on your project and cause it to rebuild the entire project.

    #219836 Reply

    Andrew Cheng
    Participant

    I checked all of them, but still no luck.

    #219838 Reply

    Andrew Cheng
    Participant

    I create another project, and import all the java and JSP files. The error goes away.
    I will see debug and autodeployment later today.
    The original project still in the puzzle.

    #219841 Reply

    Andrew Cheng
    Participant

    debug, and autodeploy work as well. you can close the case, but the puzzle still unsolved. At least,
    how to trouble shoot the problem.

    #219844 Reply

    Riyad Kalla
    Member

    This is very strange, but I am glad everything is working for you… I wonder if an Eclipse cache issue was the reason…. strange.

Viewing 9 posts - 16 through 24 (of 24 total)
Reply To: Autodeployement and stop on break point [Closed]

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