With respect to issue #2, Tomcat uses commons.digester for processing various
XML files, including web.xml. Digester can handle namespaces if asked.
However, the Tomcat distributions have this feature turned off by default. You
can modify the Host element in the server.xml for the Tomcat server and change
the "xmlNamespaceAware" attribute from false to true to enable the feature.
This should allow the "web:" version of the web.xml to work. At least it did
for me.
Cheers,
Larry
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raev,
Kaloyan
Sent: Thursday, May 17, 2007 8:00 AM
To: General discussion of project-wide or architectural issues.
Cc: Chuck Bridgham
Subject: RE: [wtp-dev] JEE5 Status Call and Agenda for May 17 - Ands
UsecaseTest results
Hi Naci,
With the latest drop S-2.0RC0-200705170529 Servlet 2.5 creation is now
possible:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181385
However, there is some problem with the Tomcat 6.0 server adapter:
1) If you invoke 'Run on Server' on the servlet class the Internal
Browser tries to access:
http://localhost:8080/HelloWorldWeb/servlet/demo.HelloWorldServlet which leads
to 404 error.
2) At the moment when the Web 2.5 model saves in web.xml, it adds
"web:" prefix on every tag. This is still a valid web.xml, but it seems that
Tomcat 6.0 has problems with this.
If I remove the "web:" prefixes from the web.xml and access the servlet
via http://localhost:8080/HelloWorldWeb/helloworld everything is OK.
I am going to file some bugs about this.
Greetings,
Kaloyan
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Naci Dai
Sent: Thursday, May 17, 2007 2:29 PM
To: General discussion of project-wide or architectural issues.
Cc: Chuck Bridgham
Subject: [wtp-dev] JEE5 Status Call and Agenda for May 17 - Ands Use
caseTest results
Call info:
*Access code: 3500048#
*International Dial-in number: (702) 894-2358
*Tollfree in the US: (866) 484-4232
*Call Time:
http://www.timeanddate.com/worldclock/fixedtime.html?hour=11&min=0&sec=0&p1=179
Agenda:
1) Use Case Status:
The use cases case are being updated - The current finds are as follows
(Driver 05/11 ):
BASE USE CASES
PASS - UC-1(a) SIMPLE WEB APPLICATION USE CASE
FAIL- UC-1(b) ADD A SERVLET TO SIMPLE WEB APPLICATION USE CASE
PASS - UC-1(c) SIMPLE EJB3 APPLICATION USE CASE
PASS - UC-1(d) EJB3 WEB CLIENT USE CASE
PASS - UC-1(e) EAR5 Combining EJB3 /WEB CLIENT USE CASE
EXTENDED USE CASES (JPA 1.0 + JSF 1.2)
PASS - UC-2(a) EAR5 Combining JPA version of EJB3 /WEB CLIENT USE CASE
FAIL- UC-2(b) EAR5 Combining JPA version of EJB3 / JSF version WEB
CLIENT USE CASE
You can use the search: JEE5-UC
<https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&classification=WebTools&product=Web+Tools&status_whiteboard_type=allwordssubstr&status_whiteboard=JEE5-UC>
to list bugzilla items.
http://wiki.eclipse.org/index.php/WTP_JEE5_Test_Scenarios
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev