Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
txt
1Test.txt 40.6 kB 1 28-Nov-2007 05:57 204.254.175.249
policy
jspwiki.policy 2.9 kB 1 15-Feb-2006 20:45 198.102.62.250

This page (revision-55) was last changed on 17-Aug-2008 19:20 by LTietze  

This page was created on 25-Feb-2003 19:08 by JeffPhillips

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
JSPWiki is developed and run on Tomcat 3.2 and above Servlet Container. For various reasons, someone might want to use alternative Java implementations. Please list your experiences here.
JSPWiki is developed and run on Tomcat 4.0 and above Servlet Container. For various reasons, someone might want to use alternative Java implementations. Please list your experiences here.
At line 3 added 2 lines
[{TableOfContents }]
At line 4 removed one line
Please list your experiences here.
At line 6 changed 4 lines
! [Jo|http://www.tagtraum.com]
It works very good, versioning is working, too.\\
At the moment I have only a problem on attaching files.\\
--[RimElrey]
JSPWiki is developed on Tomcat, so all versions since 4.0 should work.
At line 11 changed one line
! [Bea WebLogic | http://www.bea.com]
![WebLogic]
At line 13 changed one line
I have it running on WLS, actually I also work for BEA incidentally. Let me know if there are any issues - [Dain Hansen]
There are some issues on the 2.4 series, pre-2.4.51 on WebLogic 9, so please upgrade.
At line 15 changed one line
__Tag Error with 5.1, 6.1, and possibly others:__
! [IBM WebSphere | http://www.ibm.com/websphere]
It runs well on WebSphere Application Server V5.0. The Versioning File provider is working too. Have not tested file attachments yet.
--Joneses
![Resin|http://www.caucho.com]
Resin 2.1.6 (and 2.1.7, at least, perhaps other versions) cannot use UTF-8 encoding (for Chinese/Japanese/etc characters), unless you add the following on top of every JSP page:
At line 17 changed 4 lines
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)
}}}
<%@ page contentType="text/html; charset=utf8" %>
}}}
At line 22 changed one line
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.
This is being tracked as [bug #983|http://www.caucho.com/quercus/bugtrack/view.xtp?bugreport_id=983] at the Resin website.
At line 24 changed one line
Actually, the problem was that the attribute "page" in jspwiki.tld was extraneous (a cut-n-paste error). Fixed in 2.0.33.
Unfortunately, we can't add that to the distribution, because if we do, then changing into ISO-8859-1 requires ''deleting'' that line. One possibility would be to move completely into UTF-8 in the distro.
At line 26 changed one line
-- JanneJalkanen
(Thanks to [Kaichao])
At line 28 changed one line
Sorry, but I'm still noticing this problem in 2.0.36 with ~AttachmentsIteratorTag, and also ~SearchResultIteratorTag, ~HistoryIteratorTag classes.
JSPWiki 2.2.33 and below works great with Resin 3.0.9 & 3.0.17. Unfortuantly at present the 2.3.x releases of JSPWiki don't work with Resin. It appears to ignore the policy files, even when supplied on the command line. This means that out of the box the Wiki always goes to the login screen.
At line 30 changed one line
-- JeffPhillips
-- RobertMcGovern
At line 32 changed one line
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].
We've been trying to get Resin 3 working with the 2.3.x releases of JSPWiki and we are running into the same issue Robert ran into. With the [security manager] enabled <security-manager/> on the resin.conf, then doing httpd.exe -Djava.security.policy="path_to_security_policy" - it reads the security policy file just fine, but simply ignores the SignedBy grants. (the keystore file is in the same location as the policy file) but doesn't have a problem enforcing other grants on the security policy file. I believe it's a problem with Resin 3's implementation of its classloader.
At line 34 changed one line
-- JanneJalkanen
I've attached the security policy file we were using.
At line 36 changed 6 lines
Unfortunately, this problem resurfaces in 2.1.115-alpha. 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.
I tested JSPWiki 2.4.6 with resin 3.x and after some modifications , we could able to configure JAAS .
At line 43 changed one line
-- MikeTikilyaynen
-- __Kishore__
At line 45 changed one line
__CamelCase Not Working Problem__
This bug is being tracked on Resin, as [bug id #1008|http://bugs.caucho.com/view.php?id=1008]. A fix is to be expected soon for Resin 3.
At line 47 removed one line
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.''
At line 49 changed one line
The workaround is to pre-append 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.
I've tested Resin 3.0.22[http://www.caucho.com/download/resin-3.0.22.zip] released on 2006/11/13, seems works fine now, yet i'm not doing fully test of this.
-- __Jacky Liu__ 2006/12/16
At line 51 changed one line
-- JeffPhillips
Jacky, good to hear that it's working for you. The first bug Caucho closed did not actually fix the issue, so [I opened a second bug report|http://bugs.caucho.com/view.php?id=1333] and submitted a patch. They did something a little differently from the patch I proposed. But what they did should have done the trick -- I just haven't had time to verify it. But if you've been able to get security features working, then all should be well. Could you please add some suitable documentation for Resin on [the 2.4 documentation page | http://doc.jspwiki.org/2.4/wiki/InstallingJSPWiki]? Thanks.
-- Andrew Jaquith, 16-Dec-2006
At line 53 changed 2 lines
! [IBM WebSphere | http://www.ibm.com/websphere]
It runs well on WebSphere Application Server V5.0. The Versioning File provider is working too. Have not tested file attachments yet.
![Jetty|http://jetty.mortbay.org/jetty/]
At line 56 changed one line
-- Tricker
Anyone able to get JSPWiki running on Jetty?
At line 58 changed one line
I have developed instructions for [assembling JSPWiki into a WebSphere Enterprise Archive (EAR)|AssemblingJSPWikiIntoAWebSphereEnterpriseArchive], and for [installing a JSPWiki EAR into WebSphere|InstallingAJSPWikiEnterpriseApplicationIntoWebSphere]. These instructions are suitable for a WebSphere novice, but may not be suitable for a production deployment.
Yes, using jetty-5.1.6 and 5.1.10. Version 5.1.7 and later requires a symlink in <jetty_dir>/ext to log4j.jar of JSPWiki (or you may also copy log4j.jar into <jetty_dir>/ext).
At line 60 changed one line
--[Lance Bader|ldbader]
-- Alexander, 26-01-2006; Updated 04-03-2006
At line 60 added one line
JSPWiki 2.4 also runs nicely on Jetty 6.
At line 63 changed one line
![Resin|http://www.caucho.com]
-- JanneJalkanen
At line 65 changed one line
Resin 2.1.6 (and 2.1.7, at least, perhaps other versions) cannot use UTF-8 encoding (for Chinese/Japanese/etc characters), unless you add the following on top of every JSP page:
Hi I'm getting attachment issues with Jetty 6.1.3
At line 67 changed 2 lines
<%@ page contentType="text/html; charset=utf8" %>
}}}
java.lang.NoSuchMethodError:
java.lang.String.contains(Ljava/lang/CharSequence;)
at com.ecyrd.jspwiki.attachment.AttachmentServlet.validateNextPage(AttachmentServlet.java:522)
}}}
Anybody have any ideas?
At line 70 changed one line
This is being tracked as [bug #983|http://www.caucho.com/quercus/bugtrack/view.xtp?bugreport_id=983] at the Resin website.
-- FL
At line 72 changed one line
Unfortunately, we can't add that to the distribution, because if we do, then changing into ISO-8859-1 requires ''deleting'' that line. One possibility would be to move completely into UTF-8 in the distro.
answer: I think your JSPWiki has been compiled with JDK 5, and your runtime is JDK 1.4 .
At line 74 changed one line
(Thanks to [Kaichao])
--HarryMetske
![Oracle Containers for Java EE|http://www.oracle.com/technology/tech/java/oc4j/index.html]
JSPWiki 2.2 runs well on Oracle Application Server 10g (9.04).
--[Lutz Tietze|mailto://lutz.tietze@tietzenet.de]
Unfortunately, there is a known problem with JSPWiki 2.4 security and OC4J, which we don't expect to fix very soon. More information is [in this mailing list thread|http://www.nabble.com/Permission-problems-with-OC4J-standalone-t3939568.html].
Installed JSPWiki 2.6.3 on OC4J 10.1.3.1. Needs some [changes|OC4J].
--[Lutz Tietze|mailto://lutz.tietze@tietzenet.de]
!Winstone
[Winstone|http://winstone.sourceforge.net] is a free Java Servlet Container. I am running JSPWiki since version 2.0.52 on it.
--[ElRey], 04.Mrz.06
Version Date Modified Size Author Changes ... Change note
55 17-Aug-2008 19:20 4.848 kB LTietze to previous
54 17-Aug-2008 13:24 4.928 kB LTietze to previous | to last
53 19-Jan-2008 19:12 4.906 kB LTietze to previous | to last
52 18-Dec-2007 19:19 4.772 kB HarryMetske to previous | to last answered question of FL
51 18-Dec-2007 14:40 4.663 kB 81.149.202.230 to previous | to last
50 26-Sep-2007 23:18 4.388 kB JanneJalkanen to previous | to last
49 26-Sep-2007 02:07 4.41 kB 216.23.162.164 to previous | to last
48 26-Sep-2007 02:07 4.397 kB 161.200.255.162 to previous | to last
47 06-Sep-2007 00:54 4.388 kB JanneJalkanen to previous | to last
46 16-Dec-2006 07:47 4.066 kB Andrew Jaquith to previous | to last Updated Resin compatibility note
45 16-Dec-2006 05:59 3.441 kB Jacky Liu to previous | to last
44 06-Nov-2006 05:31 3.47 kB Jacky Liu to previous | to last
43 06-Nov-2006 05:30 3.394 kB Jacky Liu to previous | to last
42 09-Sep-2006 18:36 3.251 kB JanneJalkanen to previous | to last Added note on Resin
41 14-Jul-2006 18:48 5.378 kB 199.43.48.87 to previous | to last
« This page (revision-55) was last changed on 17-Aug-2008 19:20 by LTietze