On Jun 15, 2009, at 7:37 PM, Brett M. Bergquist wrote:
Vincent, I am pretty much a newbie with SVN. I work with other projects with it, but still it is pretty new to me. I have TortiseSVN installed.
The problem that I am having is that I am trying to get just the head of say "platform", but I end up retrieving "trunk", "tags", branches". I get much more than I want. So if you could, what would the SVN checkout URL be? I tried:
http://svn.xwiki.org/svnroot/xwiki/platform
should this be:
Nope. You can try the URLs in your browser to test them easily too Platform has several trunks. If you want them all we have a trunks svn:externals defined here: http://svn.xwiki.org/svnroot/xwiki/platform/trunks/ so just svn checkout that URL and you'll be fine. Thanks -Vincent
Vincent Massol wrote:
Hi Brett,
On Jun 13, 2009, at 4:25 PM, Brett Bergquist wrote:
I figured the first problem out. The "web.xml" is specifying filter "dispatcher" elements but these are not valid for Servlet 2.3 specification. This comes with Servlet 2.4 specification. So I change web.xml to read:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="..." version="2.4">
and removed the DOCTYPE and now the wysiwyg editor is working correctly.
Now for the blog problem. This appears to have something to do with forward only scroll insensitive cursors and probably issuing a "resultSet.first" or something similar which is trying position a cursor. From the server log:
[#|2009-06-13T11:32:21.046-0400|INFO|sun-appserver2.1| javax.enterprise.system.stream.out| _ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|2009-06-13 11:32:21,046 [http://192.169.1.6:8080/xwiki/bin/view/Blog/] [httpSSLWorkerThread-8080-0] ERROR util.JDBCExceptionReporter - This method should only be called on ResultSet objects that are scrollable (type TYPE_SCROLL_INSENSITIVE). |#]
This might have something to do with the why hibernate is creating the result set. I could try to figure it out, but I am having problems trying to figure out what source code to pull out. I tried with SVC and pull out all but I ended up downloading all of the branches, all of the tags, etc. before I killed it. So if you could point me in the right direction with the SVN repository command to pull down, I could give it a look.
There are some information here: http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository
Thanks -Vincent
Thanks again for the help.
Brett
Ludovic Dubost wrote:
Brett M. Bergquist a écrit :
Environment:
* Glassfish 2.1ur2 * Windows XP * Apache Derby 10.4 * XWiki Enterprise 1.9.21179
-- I just installed this and got it up and running. I downloaded and installed: xwiki-enterprise-wiki-1.9.xar
When I try to use the WYSIWYG editor in Firefox 3, it comes up okay, but when I preview or save my pages, the page shows the HTML code, and not the wiki code. That is, I see something like this:
<P>test</P><H1 id=HHeading1><SPAN>Heading 1</SPAN></H1><P>test again</P><P></P><P>abcdef</P>
This shows the conversion mecanism is not triggered or failed. There is a filter for that in the web.xml. Maybe this is linked with the Glassfish config althout be have it working on Sun App Server env in one case.
in the page instead of the paragraph, heading, etc. If I don't use the WYSIWYG editor, it works fine. Any ideas of what I might have done wrong?
With IE 8, the WYSIWYG editor toolbar is just a bunch of mashed up icons also.
We haven't done any IE8 testing yet. Any feedback on what's working/failing would be great besides the icon issue. A bug report on jira.xwiki.org would be cool
[snip]