Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
howardh
Post subject: MyEclipse Tomcat server class loading issue  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: MyEclipse Tomcat server class loading issue  PostPosted: Oct 03, 2008 - 08:47 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
howardh
Post subject: RE: MyEclipse Tomcat server class loading issue  PostPosted: 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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: MyEclipse Tomcat server class loading issue  PostPosted: Oct 06, 2008 - 08:27 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Yes it is possible.
http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits