Results 1 to 6 of 6

Thread: Problem building Ajax

  1. #1
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default Problem building Ajax

    I am having a problem building the Ajax project. I set the deploy_dir, deploy_user, deploy_password, ant deploy from the FRANK tree.

    All goes well till I try to open the Xforms demo, then I get:
    Code:
    n
    
    org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
    	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
    	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:279)
    	org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:657)
    	org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:246)
    	org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
    	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
    	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
    	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556)
    	org.apache.jasper.compiler.Parser.parse(Parser.java:126)
    	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
    	org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
    	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
    	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    	org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    	org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
    	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    It appears the that JSTL.jar file is there. Anyone seen this before?

    Note, the exact same thing happens with head instead of Frank

    Note: Standard.jar does have the class:
    [josh@eponine lib]$ jar tvf standard.jar | grep jstlCoreTLV
    198 Tue Sep 23 16:17:00 PDT 2003 org/apache/taglibs/standard/tlv/JstlCoreTLV$1.class
    5321 Tue Sep 23 16:17:00 PDT 2003 org/apache/taglibs/standard/tlv/JstlCoreTLV$Handler.class
    1466 Tue Sep 23 16:17:00 PDT 2003 org/apache/taglibs/standard/tlv/JstlCoreTLV.class
    Last edited by JoshuaPrismon; 02-27-2007 at 02:33 PM.

  2. #2
    pshah is offline Zimbra Employee
    Join Date
    Sep 2005
    Location
    Sunnyvale, CA
    Posts
    269
    Rep Power
    9

    Default

    Its possible that the xforms demo has suffered from some code rot. Unfortunately, as we continually evolve the code base, the demo code gets left behind and seldom updated.

    I'll try finding someone who may be able to help but no guarantees :/
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by pshah View Post
    Its possible that the xforms demo has suffered from some code rot. Unfortunately, as we continually evolve the code base, the demo code gets left behind and seldom updated.

    I'll try finding someone who may be able to help but no guarantees :/
    Should have been more explicit, this also happens with several other examples, most notably the tree demo. It's more a issue of which jars are packaged, and how they are declared rather then code rot.

    Is the XFORMS code safe to use? I have been working on a very large zimlet fType or a while, and writing forms code is tedious, so I was looking at this.
    Last edited by JoshuaPrismon; 03-01-2007 at 01:48 PM. Reason: type after you think

  4. #4
    pshah is offline Zimbra Employee
    Join Date
    Sep 2005
    Location
    Sunnyvale, CA
    Posts
    269
    Rep Power
    9

    Default

    Yes its safe. In fact, the admin console is running off of the xforms codebase for over a year now so its very stable.

    Looks like this is more of a build issue which I'm not as familiar with. Hopefully, someone else will chime in and offer some help.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    SuperMario is offline Zimbra Employee
    Join Date
    Jan 2007
    Posts
    26
    Rep Power
    8

    Default

    What I've found around the Internet is that this looks like a mismatch error. Are you sure that you have all code from Frank or all code from head? Maybe you are mismatching some of the projects and it's causing this error.

  6. #6
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by monvural View Post
    What I've found around the Internet is that this looks like a mismatch error. Are you sure that you have all code from Frank or all code from head? Maybe you are mismatching some of the projects and it's causing this error.
    Yep. I started with head, gave up, nuked the directory and built from FRANK. Both had the same behavior. I can also try overwriting the versions I pulled from CVS, with the ones from the Tomcat implm.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra, WM5.0, AS + problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 7
    Last Post: 06-25-2007, 01:04 AM
  2. problem while building perl
    By ravinder in forum Developers
    Replies: 7
    Last Post: 05-29-2006, 09:38 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •