This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse/Tomcat/Sysdeo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse/Tomcat/Sysdeo" Watch "Eclipse/Tomcat/Sysdeo" New topic
Author

Eclipse/Tomcat/Sysdeo

Jaya Nettem
Greenhorn

Joined: May 10, 2005
Posts: 24
Hi,

I am trying to integrate Eclipse with Tomcat using Sysdeo.
With different versions of each of these softwares,
I am unsure which set (versions) works well. Could somebody advise please.

Thanks,
Jaya
[ August 30, 2006: Message edited by: Jaya Nettem ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I'm thinking you might have better luck with this question in our IDEs forum.
Say the word and I'll move it over ther for you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jaya Nettem
Greenhorn

Joined: May 10, 2005
Posts: 24
Please go ahead and move it.
Thanks,
Jaya
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

Originally posted by Jaya Nettem:

I am unsure which set (versions) works well. Could somebody advise please.


I've just set this up yesterday and working with no problems:

eclipse: 3.2.0
tomcat: 5.5.17
sysdeo eclipse plugin: 3.1.0

This is on a windows XP machine. You will also need Java 1.5 installed (not 1.4.2). My version is 1.5.0_08.

Let me know how you get on.

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
Stephen Paulsen
Greenhorn

Joined: Sep 11, 2006
Posts: 9
This is exactly the setup I am using too:
eclipse 3.2.0
sysdeo tomcat plugin 3.1.0
tomcat 5.5.17
But I'm running on Linux. The install all seems ok, but I'm having what I believe are permission problems starting/stopping tomcat and deploying to the tomcat directories. I don't want to just blindly give all permissions throughout, or change all the owner/groups on dirs and files.

Is there a guide that addresses required permissions on Linux to use this setup for JSP + Servlet development?
Thanks,
Stephen




Originally posted by Jared Cope:
Hi,



I've just set this up yesterday and working with no problems:

eclipse: 3.2.0
tomcat: 5.5.17
sysdeo eclipse plugin: 3.1.0

This is on a windows XP machine. You will also need Java 1.5 installed (not 1.4.2). My version is 1.5.0_08.

Let me know how you get on.

Cheers, Jared.
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

Originally posted by Stephen Paulsen:

The install all seems ok, but I'm having what I believe are permission problems starting/stopping tomcat and deploying to the tomcat directories.


Usually you need to be root to start and stop tomcat. On a dev box, I would just give myself all privileges (or develop as root). You aren't developing on a production box are you?

Moving into a production environment is a different story with permissions. But that is the deployment stage, not development -- I treat them differently.

Cheers, Jared.
David Gallardo
Author
Greenhorn

Joined: Jul 07, 2003
Posts: 18
You don't need to be logged in as root to install/develop/start/stop Tomcat. In fact, running as root is never a good idea.

For development, a regular account is preferable. You can either create a regular user account for Tomcat and use that, or you can use your own account. Either way, install Tomcat in a subdirectory of the user's home directory.

The only difficulty is that you will have to use a port above 1024, such as the default Tomcat port, 8080. If you want to use the standard HTTP port 80, you can get around this by starting Tomcat with sudo.
[ September 12, 2006: Message edited by: David Gallardo ]

Co-author: "Eclipse in Action: A guide for the Java developer"<br />Author: "Java Oracle Database Development"
 
Consider Paul's rocket mass heater.
 
subject: Eclipse/Tomcat/Sysdeo
 
Similar Threads
Best IDE for Struts
ANT and Eclipse "Java Build Path"
tomcat did not get started from eclipse
How to for Tomcat, Eclipse, Sysdeo
tomcat server not available in Myeclipse