facebook

MyEclipse Tomcat server class loading issue

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #289663 Reply

    USDC-VT
    Member

    When attempting to run a jsf app using MyEclipse Tomcat server, I cannot seem to resolve classpath issues in making dependent jars/classes available to the ME Tomcat server.

    For instance, the mysql connector jar file is not visible to tomcat when placed in any tomcat lib dir — it is only found by using the Window -> Preferences -> MyEclipse Enterprise Workbench -> Servers -> Integrated Sandbox -> MyEclipse Tomcat 6 -> Paths
    and adding the specific jar file in ‘Append to classpath’.

    In fact, I have created a lib directory under <me workspace>/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat
    and placing jars in that dir, then adding the dir under the above preferences configuration to no avail. (yet I could add a jar IN the lib dir that would in turn be found).

    Guess I am confused as to where the common/lib tomcat jars should be placed.
    I would like to be able to debug/step through this project in the ide. Seemed like I was able to do this in previous versions…

    I had thought that the Project Deployments process would work for the MyEclipse Tomcat Server as it does for external deployments (which I have no problem with)…

    ME 6.5.1
    linux FC9

    Thanks

    #289685 Reply

    Loyal Water
    Member

    howardh,
    The MyEclipse Tomcat does not have all the Tomcat 6 functionality. It has the bare minimum functionality to run and test applications. If you want to append libraries and do other things, I would suggest you setup a separate Tomcat 6 server and you should not face any of these problems again.

    #289704 Reply

    USDC-VT
    Member

    Nipun,

    Good to know — though I was missing something.

    Is it possible to set breakpoints and step through code with an externally launched server?

    #289719 Reply

    Loyal Water
    Member
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: MyEclipse Tomcat server class loading issue

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