facebook

[Closed] Tomcat sysdeo project as MyEclipse WebProject

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #243491 Reply

    Steve Ryder
    Participant

    This problem was “solved” with email help, but at supports suggestion I am placing the conversation here so others may benefit from my error.

    Thank you. It appears the what I failed to do was (select project: reqs4.share.org) -> MyEclipse -> Add … Project Deployments -> … Tomcat5. I did that, and the project deployed (I allowed it to overlay).

    The reqs4.share.org.xml file is needed because of the MySQL connection pool:
    <Context path=”/reqs4.share.org” reloadable=”true”>
    <ResourceLink name=”jdbc/MySql” type=”javax.sql.DataSource” global=”jdbc/MySqlDB”/>
    </Context>
    <!– placed at <TOMCAT_HOME>/conf/Catalina/localhost/reqs4.share.org.xml –>

    —– Original Message —–
    From: MyEclipse Support
    To: Steve Ryder
    Sent: Tuesday, December 20, 2005 1:17 PM
    Subject: Re: Pages not updating on Tomcat side for sysdeo project converted to MyEclipse WebProject.

    Steve,

    I’ve got a few ideas, given the information you’ve provided.

    “I modified the xml file in Tomcat to the same format as the MyEclipse project, and the directory structure. ”

    You really shouldn’t have to make any Tomcat modifications to use it with MyEclipse. We built MyEclipse to work correctly with Tomcat “out of the box”, so I’m not entirely sure what you’re trying to do here. Our exploded deployer is set to deploy projects into the ‘auto deploy’ directory for Tomcat so if your changes alter where your application is deployed, that may be the cause of the issue.

    “I renamed the sysdeo project, created a new MyEclipse project with the old name, then copied the contents of the old project into the appropriate directories. … Everything appears to be working, EXCEPT when I make changes to jsp code or Java source, the jsp and/or class files do NOT get propagated to Tomcat, I have to copy them by hand.”

    I assume you’re using our exploded deployer for Tomcat? The update mechanism runs of the “builder” system in Eclipse so for it to work your project must be a MyEclipse Web project, so the appropriate builder is added, *and* you have to have the workspace set to “Build Automatically” on the Project menu. Given those two things, it should work fine.

    “The propagation is automatic for the project that was originally MyEclipse….I have been thru all the Project Properties and have set everything on the converted project to match the original MyEclipse project.”

    Interesting, but there must be *something* about the converted project that’s still different, although creating a new project then copying over your artifacts should do the trick.

    If these ideas didn’t help resolve the problem or you have any other questions or problems,
    since all of our support is
    forum-based the best way to proceed would be to open a discussion thread on
    the one of the MyEclipse Support forums
    (http://www.myeclipseide.com/PNphpBB2+file-index.html) with this information
    and your platform details. We have engineers that monitor our forums
    regularly and the thread you create will give us a conversation context to
    interact with you to solve the problem quickly.

    In addition, posting to the forums creates a searchable public record that
    can help all of our users. Please be sure to provide all the information we
    request in the ‘Posting Guidelines’ thread at the top of the forum so that
    we’ll be able to answer your question more quickly.

    –Scott
    MyEclipse Support

    —– Original Message —–
    From: Steve Ryder
    To: support@genuitec.com
    Sent: Tuesday, December 20, 2005 12:53 PM
    Subject: Pages not updating on Tomcat side for sysdeo project converted to MyEclipse WebProject.

    Pages not updating on Tomcat side for sysdeo project converted to MyEclipse WebProject.

    I recently installed Eclipse 3.1 and MyEclipse 4.x (whatever is most current).
    I had one project that was create as a MyEclipse Project, and another that was created via sysdeo before I got MyEclipse.
    I renamed the sysdeo project, created a new MyEclipse project with the old name, then copied the contents of the old project into the appropriate directories. I modified the xml file in Tomcat to the same format as the MyEclipse project, and the directory structure.

    Everything appears to be working, EXCEPT when I make changes to jsp code or Java source, the jsp and/or class files do NOT get propagated to Tomcat, I have to copy them by hand. The propagation is automatic for the project that was originally MyEclipse. It was moot for sysdeo because the Context.xml file pointed back to Eclipse directories so no copies were necessary.

    I have been thru all the Project Properties and have set everything on the converted project to match the original MyEclipse project.

    Any suggestions??? I also ran the -clean on my most recent startup of Eclipse 3.1

    #243861

    Riyad Kalla
    Member

    Steve,
    Thank you for posting your situation here for others, it always helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] Tomcat sysdeo project as MyEclipse WebProject

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