Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-27-2007, 01:20 PM
Zimlet Guru & Moderator
 
Posts: 467
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 01:33 PM..
Reply With Quote
  #2 (permalink)  
Old 03-01-2007, 09:34 AM
Zimbra Employee
 
Posts: 269
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!
Reply With Quote
  #3 (permalink)  
Old 03-01-2007, 10:04 AM
Zimlet Guru & Moderator
 
Posts: 467
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 12:48 PM.. Reason: type after you think
Reply With Quote
  #4 (permalink)  
Old 03-01-2007, 10:56 AM
Zimbra Employee
 
Posts: 269
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!
Reply With Quote
  #5 (permalink)  
Old 03-02-2007, 10:17 AM
Zimbra Employee
 
Posts: 26
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.
Reply With Quote
  #6 (permalink)  
Old 03-02-2007, 11:43 AM
Zimlet Guru & Moderator
 
Posts: 467
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.