LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2007, 08:18 PM   #1
fjd
Member
 
Registered: Apr 2006
Distribution: Ubuntu 10.10
Posts: 39

Rep: Reputation: 15
Eclipse 3.2 Tomcat5 Plugin issue (Suse 10.2)


I've read a ton of links on this issue but still can't solve this. I'm trying to deploy JPS's to Tomcat5 using eclipse 3.2 and the Sedeo Eclipse/Tomcat plug in (versio Beta v3.2 Beta 3) and having difficulty. Individually Tomcat runs fine with all the example JSP's in the tomcat5 base directory located
/usr/share/tomcat5/webapps/jsp-examples (minus the webapps dir)

My eclipse uses the default hidden director in my local home directory for projects. That dir is: /home/fjd/.eclipse

My question is what URL should I use for my browser to run the files in my ~fjd/.eclipse directory? Am I missing a link file or a config parameter?

The URL: http://localhost:8080/jsp-examples/JSPDemo.jsp works fine because I copied the JSPDemo.jsp file into the directory /usr/share/tomcat5/webapps/jsp-examples.

Any thoughts or help would be appreciated
FJD
 
Old 04-09-2007, 08:10 PM   #2
fjd
Member
 
Registered: Apr 2006
Distribution: Ubuntu 10.10
Posts: 39

Original Poster
Rep: Reputation: 15
Here is the solution to the eclipse tomcat integration problem I was experiencing. I had read the article in the URL a number of times but for whatever reason I was using a JRE and the integration requires a JDK. The article calls it out very explicitly, but I didn't notice the full JDK wasn't installed. That's was solution to problem 1. (and the entire JDK installed into /opt/jdk1.5.0_11) The Java 1.5 JDK I installed is at http://java.sun.com/javase/downloads/index_jdk5.jsp

A Great Article on Eclipse-Tomcat integration: The Power of Three - Eclipse, Tomcat, and Struts
http://javaboutique.internet.com/tutorials/three/

Problem 2 solution:
I read a few other articles that said to blank out the parameter for tomcat home in the eclipse plug-in. Bad idea - it needs to be specified.
In Eclipse 3.2. Go to Window->Preferences then go to the Tomcat Section->Advanced and make sure tomcat base is set. Since I run Suse 10.2 mine is installed in /usr/share/tomcat5

Problem 3 Solution:
An easy way to update the Eclipse and plug-ins is within Eclipse itself (not Yast). In Eclipse - go to Help->Software updates and you can manage all the eclipse plug-ins from here. I hadn't realized that one.

If your reading this article - Hopefully this solution works for you as well.

Good luck,
FJD

Last edited by fjd; 04-09-2007 at 08:57 PM.
 
  


Reply

Tags
eclipse, tomcat



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat plugin for Eclipse paraiso Programming 2 05-12-2006 12:46 AM
Tomcat plugin for eclipse, help! paraiso Linux - Software 0 03-17-2006 05:52 AM
PERL plugin for ECLIPSE!! Azzath Linux - Software 0 02-24-2005 07:42 PM
JSP plugin for Eclipse csfalcon Linux - Software 2 12-25-2004 11:23 AM
Eclipse plugin for Ant csfalcon Programming 0 07-13-2004 05:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration