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 6 removed 32 lines
\\
With Tomcat 5.0.28, I get an NPE which is caused by a null value passed to the setPage() method in the IncludeTag.\\
By watching the logs in detail, I get:\\ \\
2006-06-24 21:44:40,683 [http-8080-Processor24] DEBUG com.ecyrd.jspwiki.auth.AuthorizationManager JSPWiki:Main
- Page defines no permissions for manuel, checking defaults.\\
2006-06-24 21:44:40,683 [http-8080-Processor24] DEBUG com.ecyrd.jspwiki.auth.AuthorizationManager JSPWiki:Main
- No defaults exist, falling back to hardcoded permissions.\\
2006-06-24 21:44:40,683 [http-8080-Processor24] DEBUG com.ecyrd.jspwiki.auth.AuthorizationManager JSPWiki:Main
- Permission ViewPermission for user UserProfile: 'manuel' is 1\\
2006-06-24 21:44:40,715 [http-8080-Processor24] DEBUG com.ecyrd.jspwiki.WikiEngine JSPWiki:Main - Servlet path
is: /Error.jsp\\
2006-06-24 21:44:40,715 [http-8080-Processor24] DEBUG com.ecyrd.jspwiki.WikiEngine JSPWiki:Main - Mapped to nul
l\\
2006-06-24 21:44:40,722 [http-8080-Processor24] DEBUG JSPWiki JSPWiki:Main JSPWiki:Main - Error.jsp exceptio
n is:\\
java.lang.NullPointerException\\
at com.ecyrd.jspwiki.TemplateManager.findJSP(TemplateManager.java:155)\\
at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:66)\\
at org.apache.jsp.wiki2.Wiki_jsp._jspService(Wiki_jsp.java:147)\\
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)\\
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)\\
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)\\
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)\\
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)\\
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)\\
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)\\
...\\
\\
\\
Ok, I just found the root cause: it was in com.ecyrd.jspwiki.TemplateManager, the "DIRECTORY" was set to "templates" whereas my files are in a subdir called "wiki2". An improvement could be to have this kind of non-root paths configurable in jspwiki.properties\\
\\
--[Manu]
At line 7 added one line
JSPWiki is developed on Tomcat, so all versions since 4.0 should work.
At line 40 removed 5 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]
At line 11 added one line
There are some issues on the 2.4 series, pre-2.4.51 on WebLogic 9, so please upgrade.
At line 14 added one line
At line 51 removed one line
[Sphere Training| http://www.training-co.info]
At line 53 removed one line
At line 43 added 9 lines
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.
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
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 87 changed 2 lines
![Oracle Application Server|http://www.oracle.com/appserver/index.html]
It runs well on Oracle Application Server 10g (9.04). The Versioning File provider and attachments are working too.
JSPWiki 2.4 also runs nicely on Jetty 6.
At line 62 added 20 lines
-- JanneJalkanen
Hi I'm getting attachment issues with Jetty 6.1.3
{{{
java.lang.NoSuchMethodError:
java.lang.String.contains(Ljava/lang/CharSequence;)
at com.ecyrd.jspwiki.attachment.AttachmentServlet.validateNextPage(AttachmentServlet.java:522)
}}}
Anybody have any ideas?
-- FL
answer: I think your JSPWiki has been compiled with JDK 5, and your runtime is JDK 1.4 .
--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).
At line 84 added 6 lines
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]
At line 91 added one line
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