This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 250459 - "Project facet wst.jsdt.web has not been defined..." error on J2ee smoke test
Summary: "Project facet wst.jsdt.web has not been defined..." error on J2ee smoke test
Status: CLOSED DUPLICATE of bug 263865
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tim deBoer CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords:
: 262098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-10 11:59 EDT by kiril mitov CLA
Modified: 2011-01-20 10:23 EST (History)
6 users (show)

See Also:


Attachments
Error log (2.90 KB, text/plain)
2008-10-10 11:59 EDT, kiril mitov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kiril mitov CLA 2008-10-10 11:59:44 EDT
Created attachment 114809 [details]
Error log

Executing smoke test for 
http://build.eclipse.org/webtools/committers/wtp-R3.1-I/20081010055538/I-3.1-20081010055538/

Smoke test is 
http://wiki.eclipse.org/J2EE_Smoke_Test_(WTP_3.0)

On the first Create Web 24 project step.
I am starting the Dynamic Web Project errors are logged in the error log. Will attach the error log.
Comment 1 kiril mitov CLA 2008-10-10 12:00:45 EDT
There are a number of exception for wst and for jst. But for jst they are more so I am setting in J2ee Standard Tools component
Comment 2 Larry Isaacs CLA 2008-10-10 14:08:49 EDT
The Error Log suggests that the JSDT plug-ins haven't been included in the test Eclipse, or for some reason, they aren't running.  Specifically the "wst.jsdt.web" facet declared in the plugin.xml from org.eclipse.wst.jsdt.web.core plug-in has not been registered.  I believe all of the errors in the log are a side effect of that.  I've checked the <facet> element for org.eclipse.jst.server.tomcat.core and it has the required id attribute, whose value happens to be "wst.jsdt.web".

I'm not seeing this problem in my test environment using the I-3.1-20081010055538 build.  Specifically, I'm using the wtp-sdk zip.
Comment 3 Larry Isaacs CLA 2008-10-10 14:27:35 EDT
Oops, spoke too soon.  I am seeing this problem with this build once I try to create a dynamic web project.  Closer inspection shows that the facet declaration for "wst.jsdt.web" has been commented out per Bug 243183.  Some changes for Bug 221928 may need to be redone.
Comment 4 kiril mitov CLA 2008-10-31 13:46:46 EDT
Executing the smoke test for 
http://build.eclipse.org/webtools/committers/wtp-R3.1-I/20081030163955/I-3.1-20081030163955/ 
and verifying that the problem is reproducible.
Comment 5 kiril mitov CLA 2008-11-21 07:54:33 EST
Executing the smoke test for 
http://build.eclipse.org/webtools/committers/wtp-R3.1-I/20081120084906/I-3.1-20081120084906/
and verifying that the problem is reproducible.

Comment 6 Tim deBoer CLA 2008-12-09 17:53:28 EST
While this is ugly and needs to be fixed ASAP, I do not think .log errors with no runtime failure qualify as "major" and am lowering severity.

There are two separate issues in the .log here:

Brad - Based on comment #3 and the associated bugzillas, it looks like the JSDT facet was backed out?? Please let me know if I should back out the changes made in bug 221928.

Konstantin - Can you confirm that 'id' was made a required attribute of the facet extension points in 3.1? If so, I'll fix the server extensions.
Comment 7 Konstantin Komissarchik CLA 2008-12-09 19:14:09 EST
> Konstantin - Can you confirm that 'id' was made a required attribute of the
> facet extension points in 3.1? If so, I'll fix the server extensions

There used to be a problem in the logging code for this error scenario that caused bogus messages to be logged. The problem it is trying to report has nothing to do with the missing id attribute. The logging code has since been fixed to log the correct "facet not defined" message. 
Comment 8 Kaloyan Raev CLA 2009-01-15 12:57:50 EST
Fine, the error message in the log is fixed in the latest I-build. 
Now, it is full with "Project facet wst.jsdt.web has not been defined. "

Let's find the reason for this. 
Brad?
Comment 9 Konstantin Komissarchik CLA 2009-01-22 22:37:31 EST
*** Bug 262098 has been marked as a duplicate of this bug. ***
Comment 10 Nitin Dahyabhai CLA 2009-04-29 22:46:27 EDT
Fixed, or at least no longer happening?
Comment 11 Tim deBoer CLA 2009-04-30 11:01:24 EDT
Yes, this was fixed via bug 263865 adding the facet back.

*** This bug has been marked as a duplicate of bug 263865 ***
Comment 12 Tim deBoer CLA 2011-01-20 10:23:31 EST
Closing old bugs.