Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 39937

Summary: Configuring Tomcat
Product: [Eclipse Project] JDT Reporter: Peter Kidson <peter_kidson-Eclipse8141>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
log file with npe none

Description Peter Kidson CLA 2003-07-11 11:09:41 EDT
Release 2.1.1
Attempting to create a Tomcat project
Comment 1 Peter Kidson CLA 2003-07-11 11:17:51 EDT
Created attachment 5425 [details]
log file with npe

Creating a new tomcat project with 2.1.1, you get to the Finish button but it
never finishes,  you have to Cancel out.   2.1 did not do this.
Comment 2 Peter Kidson CLA 2003-07-11 11:29:35 EDT
Errors in the task window:-

The project was not built due to classpath errors (incomplete or involved in 
cycle).

Unbound classpath variable: 'TOMCAT_HOME/common/lib/servlet.jar'.

Unbound classpath variable: 'TOMCAT_HOME/lib/jasper-runtime.jar'.

Unbound classpath variable: 'TOMCAT_HOME'.


Clearly a problem with TOMCAT_HOME, but what? I don't recall doing anything 
about this in 2.1.   

From http://www.sysdeo.com/eclipse/releaseNotesV21.txt:-
Version 0.98
------------

New features :
- tomcat project properties are saved in a file named .tomcatplugin in each 
tomcat project.
- use a Classpath Variable to initialize tomcat project build path (this 
variable is named TOMCAT_HOME)

Comment 3 Peter Kidson CLA 2003-07-11 11:40:40 EDT
Apologies, tomcat now configured.
But don't forget the orginal npe.
Comment 4 Debbie Wilson CLA 2003-07-14 11:05:18 EDT
Transferring to JDT UI as that appears to be where the exception is coming 
from.  
Comment 5 Dirk Baeumer CLA 2003-07-14 11:14:01 EDT
Peter, I can't find any NPE in the log. Do you have more details ?
Comment 6 Peter Kidson CLA 2003-07-16 10:35:24 EDT
Sorry, I didn't mean npe.  Just the exception in the log file.

I admit I was an idiot not for not first configuring Tomcat, but I still think 
it should fail a bit more gracefully.
Comment 7 Dirk Baeumer CLA 2003-07-16 10:41:34 EDT
Please report the problem to the provider of the tomcat plug-in (e.g. sysdeo). 
They have to handle this case since it is their property page.
Comment 8 Peter Kidson CLA 2003-07-17 05:31:33 EDT
Done.