Archived from the Feedback page:
An update on the release plans for JAMWiki 0.1.2 - it will probably go out shortly after the issue with non-ASCII characters being corrupted with some browsers is resolved. Unfortunately it seems that a non-English operating system is necessary to reproduce the issue, so I'm unable to test and progress is kind of slow. As of 2:57 AM on 02-Aug a new fix is out on jamwiki.org, but who knows if this will fix the problem. Testing is encouraged, and once a fix is verified then JAMWiki 0.1.2 will go out. I appreciate everyone's patience while this issue gets resolved. -- Ryan 02-Aug-2006 02:44 PDT
The non-ASCII bug is now (hopefully) fixed, so JAMWiki 0.1.2 will probably be released tomorrow. NickJ has reported some new cross-site scripting issues, so I'd also like to get those fixed, and once that's done the new version should be ready for release. -- Ryan 04-Aug-2006 01:13 PDT
Is there an easy way to obtain the source for 0.1.2 (without subversion)? Maybe you could post a gz of the source every time you post a new release? I'm getting an error that I want to troubleshoot. Here's the stack trace (feel free to delete it from here, if this isn't the appropriate location). Maybe you can point me in the right direction with this error, I'm not sure where to look first. (I'm running Resin, by the way).
2006-08-04 14:50:25,500 [tcpConnection-14609-0] ERROR [jsp] Error in JSP page org.apache.taglibs.standard.tag.common.core.NullAttributeException: The "value" attribute illegally evaluated to "null" or "" in <link>
at org.apache.taglibs.standard.tag.el.core.ExpressionUtil.evalNotNull(ExpressionUtil.java:88)
at org.jamwiki.tags.LinkTag.doEndTag(LinkTag.java:45)
at _WEB_22dINF._jsp._wiki__jsp._jspService(Unknown Source)
stack trace trimmed
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:595)
In looking at the log, I just noticed that what I posted was the last in a series of errors, below is what happened first. You may recall that I am the one who asked you to move the SQL into properties files (which you did. thanks!). I believe my problem may be related to accessing my database. Any thoughts? (And thanks again for posting the source ... oops, I get a 404 when I click that link to the source.)
2006-08-04 14:50:25,198 [tcpConnection-14609-0] ERROR [JAMWikiServlet] Servlet error java.lang.NullPointerException
at org.jamwiki.servlets.JAMWikiServlet.viewTopic(JAMWikiServlet.java:361)
at org.jamwiki.servlets.TopicServlet.viewTopic(TopicServlet.java:113)
at org.jamwiki.servlets.TopicServlet.handleRequestInternal(TopicServlet.java:55)
stack trace trimmed
at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at org.jamwiki.servlets.JAMWikiFilter.doFilter(JAMWikiFilter.java:56)
at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
I decided to start from scratch with a clean install. Right out of the box, the setup screen looks like this: http://jamwiki.org/wiki/en/Image:jamwiki-setup.jpg
I'm running Resin 2.1.16. Yeah, the resin user has full permissions. There was no problem with version 0.1.1.
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
<param-value>ApplicationResources</param-value>
</context-param>
No problem, adding the context-param did the trick for now. However, I think I've found the root cause of my database problems. When starting from scratch, and submitting the setup, I get the below error. It seems that the SQL statements are not getting set and it's attempting to execute a null query.
2006-08-04 17:44:37,963 [tcpConnection-14609-3] INFO [DatabaseConnection] Executing SQL: null
2006-08-04 17:44:37,965 [tcpConnection-14609-3] ERROR [DatabaseHandler] Unable to set up database tables
java.lang.Exception: Failure while executing null
at org.jamwiki.persistency.db.DatabaseConnection.executeUpdate(DatabaseConnection.java:186)
at org.jamwiki.persistency.db.DefaultQueryHandler.createTables(DefaultQueryHandler.java:112)
at org.jamwiki.persistency.db.DatabaseHandler.initialize(DatabaseHandler.java:293)
at org.jamwiki.WikiBase.reset(WikiBase.java:247)
stack trace trimmed
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:353)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
Yup, ansi. I'm using (stuck with) MS SQL Server. I won't be back on this until Monday, please don't rush out a new build on my account.
JAMWiki 0.1.3 is now out. I tested using Resin 2.1.17 but couldn't reproduce the problem you reported with the ApplicationResources.properties not loading translation values - please let me know if you still see that with the new version. I did run into a lot of other problems with Resin that should be fixed - Resin is stricter in its adherence to the JSP taglib standards, so I've cleaned up my taglib code to follow the standard. Also, Resin didn't like the way response encoding was being set, so that should also be fixed. The database bug you reported when trying to set up in "ansi" mode should also be resolved (I was able to install into a Postgres database using "ansi" mode), and an unrelated issue I found when testing with WebSphere should now also be resolved. Please let me know if you have any additional issues.
Source code for the new release will be available shortly from http://jamwiki.org/jamwiki-0.1.3-src.zip. -- Ryan 05-Aug-2006 14:43 PDT