 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: MyEclipse Tomcat server class loading issue
Posted: Oct 02, 2008 - 07:58 PM
|
|

Joined: Dec 15, 2005
Posts: 25
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse Tomcat server class loading issue
Posted: Oct 03, 2008 - 08:47 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
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. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse Tomcat server class loading issue
Posted: Oct 06, 2008 - 02:39 PM
|
|

Joined: Dec 15, 2005
Posts: 25
|
|
Nipun,
Good to know -- though I was missing something.
Is it possible to set breakpoints and step through code with an externally launched server? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: MyEclipse Tomcat server class loading issue
Posted: Oct 06, 2008 - 08:27 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |