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 4 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.
At line 55 added 2 lines
At line 58 added one line
At line 63 added 2 lines
At line 66 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