You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2002/12/06 01:59:53 UTC

DO NOT REPLY [Bug 15129] New: - Distribution of this CTLX is unuseable

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15129

Distribution of this CTLX is unuseable

           Summary: Distribution of this CTLX is unuseable
           Product: Taglibs
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Ultradev 4 CTLX
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: rbrown@CeltCorp.com


Dreamweaver version: Dreamweaver Ultradev 4
Tomcat Version: Tomcat 4.1, using default port 8080

Folowing the instructions given in the documentation for this component, I 
downloaded all appropriate applications, placed the CTLX WAR files in the 
Tomcat directory (including ultradev4-tutorial.war and TLDParser.war), and set 
all the necessary environment variables on my machine. I also ran the 
extension ctlx.mxp in order to place the extension in Dreamweaver.

Over the course of testing the CTLX, I discovered the following inadequacies 
in the distribution:

1: Tomcat is unable to run http://localhost:8080/ultradev4-tutorial/ctl-
message.jsp. It returns an error 404. After some work, I discovered that the 
reason for its failure is that the web.xml file has the following tag library 
reference:

  <taglib>
    <taglib-uri>/WEB-INF/app.tld</taglib-uri>
    <taglib-location>/WEB-INF/app.tld</taglib-location>
  </taglib>

The app.tld file is not included in the ultradev4-tutorial.war file (and 
consequently not in the application when Tomcat runs), so Tomcat fails to 
access the application. The only way to get around this problem is to 
eliminate the taglib reference.

2: The web.xml file for the ultradev4-tutorial application also contains 
taglib references to several standard struts tld files that are also missing 
from ultradev4-tutorial.war. In order for the application to work properly in 
Tomcat, these files must be included in the WEB-INF directory, or the taglib 
references must be removed.

3: The tutorial instructs us to Copy the struts.tld, struts-bean.tld and 
struts-logic.tld files from TOMCAT_HOME/webapps/ultradev4-tutorial/WEB-INF/ to
TOMCAT_HOME/webapps/TLDParser/tlds". After doing this, restarting Tomcat, and 
following the instructions for creating a "site" in Ultradev, I attempted to 
access the tag libraries as instructed in the tutorial:

"Open the extension's 'Use a Custom Tag Library' floater by selecting 
Window|Use Custom Tags."

Unfortunately, no tag libraries appear in the Custom Tag Library floater. 
Instead there is a great deal of HTML indicating that an error occurred. The 
documentation suggests that the floater behaves in this way when required 
javabeans are missing from the custom tag. According to the documentation:

"Many custom tag libraries include tags that require the presence of beans or 
variables to compile correctly. If one of these requirements is not met, the 
server will return an error message that will be displayed in Live Data Mode. 
To avoid such errors, make sure the all necessary beans are deployed on the 
server, and all necessary variables have been set before enabling Live Data 
Mode"

Upon checking all "variables", I was able to determine that they were properly 
set. Furthermore, since I was only using the struts tag libraries, I made sure 
that the ultradev4-tutorial application had the struts.jar file in its 
library. I used no other tag libraries; consequently I required no other 
Javabeans for the application. Apparently, something required is missing from 
the distribution that is required in order to allow Dreamweaver to properly 
access the Struts tag libraries.

Obviously, for the reasons given above, the Ultradev 4 CTLX is completely 
unusable as it is currently being distributed. Someone please fix the 
inadequacies described in this report -- and please test it in order to make 
sure that it has everything that it needs so that someone running the tutorial 
can actually do what the instructions say???

Thank you.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>