Old WebLogic Discussion#

This page contains discussion relating to running old versions of JSPWiki on Webloigic.

I have it running on WLS, actually I also work for BEA incidentally. Let me know if there are any issues - Dain Hansen

Tag Error with 5.1, 6.1, and possibly others:

weblogic.servlet.jsp.JspException: (line 5): Error in using tag library uri='/WEB-INF/jspwiki.tld'
prefix='wiki': The Tag class 'com.ecyrd.jspwiki.tags.AttachmentsIteratorTag' has no setter method
corresponding to TLD declared attribute 'page', (JSP 1.1 spec, 5.4.1)

To fix add the setPage and getPage methods to com.ecyrd.jspwiki.tags.IteratorTag, which is the parent file, from one of the other tag source files like IncludeTag.java.

Actually, the problem was that the attribute "page" in jspwiki.tld was extraneous (a cut-n-paste error). Fixed in 2.0.33.

-- JanneJalkanen

Sorry, but I'm still noticing this problem in 2.0.36 with AttachmentsIteratorTag, and also SearchResultIteratorTag, HistoryIteratorTag classes.

-- JeffPhillips

I must've been eating the wrong kind of mushrooms or something. It seems to be fixed in 2.1.x, but not in 2.0.x. The fix is really now in 2.0.41. I checked. Many times. A third release of the stable branch will be forthcoming. In the meanwhile, you can just remove the "page"-attribute totally from any conflicting TLD entries. For more information, see JSPWikiDownload.

-- JanneJalkanen

Unfortunately, this problem resurfaces in 2.1.115-alpha (on Weblogic 8.1). I solved it by adding four blank methods to IteratorTag.java:

  • public void setPage( String page ) { }
  • public void setAttribute( String attr ) { }
  • public String getPage( ) { return null; }
  • public String getAttribute( ) { return null; }
I am not sure whether I could just delete the attributes from jspwiki.tld or not, but adding blank methods seems to have worked -- Search works.

-- MikeTikilyaynen

There is still an error in de jspwiki.tld file (seems to already exist from version 2.1.134 and probably earlier), I m using 2.1.160 now:
In the 'Content' tag there is an empty tag, between 'error' and 'edit' (around line 150), you have to remove it.
Tomcat seems to have no problems with it, WL has.
However, after removing this it worked on WL 8.1 but 6.1 still gave me the same error, I still can not figure out why.

-- MP, 07-04-2005

CamelCase Not Working Problem

WebLogic contains the JakartaOro package in it's default weblogic.jar. This older version may cause the TranslatorReader to not match any CamelCase patterns. Confirmed the "broken" versions of Oro are 2.0 and 2.0.1. Versions 2.0.2 to 2.0.7 appear to work properly.

The workaround is to prepend the JSPWiki's oro.jar to the classpath before weblogic.jar in startWebLogic.sh. However, this may break other apps that depend on the other version of Oro.

-- JeffPhillips

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 08-Aug-2010 10:18 by 71.141.115.116