> Which IDE are you using? I've planned to write documentation on how to
> debug XWiki from within IntelliJ IDEA. If you need it I can do it
> sooner rather than later.
Right now I am not using an IDE. Pure text viewers and editing ;-)
If you can it would be great, but unfortunately I cannot spend too much
time figuring out what is wrong, being at work they only give me a
certain amount of time to get this thing moving and I've been working on
this for almost 2 weeks now.
I think I should try to find a way to extract the posts from the old
xwiki DB and get it to insert into the new xwiki DB through an app or
something. Maybe that is a good short-term solution. It should work,
right? Unless there are too many dependencies to insert and keep track of.
Thanks
Regards,
Dandre
> I just did that, running on Tomcat 5.5 against a MySQL 5.0.21 server.
> I loaded the database dump from the old xwiki app.
> Unfortunately, still the same error, see below.
I use MySQL 5.0.22 and it works great.
I think XWiki might have a problem with porting from the old xwiki with
Postgres and not the JDBC driver or the Hibernate thing.
Hi ,
I am New to XWIki.
I want to Create Menu for My XWiki Appalication , the Help DOc said I have
to create a Page called Menu in a Space , then it will automatically
DIsplay it in all the pages in that Space.
I have create the Page called Menu In a Space , But the Menu is not at all
Loaded in any page . If I open the3 Menu page I can See the Content Only
Once But as per the Help Doc it should Show 2 time.
I am using XWiki 1.0 Beta 2
Pl. let me know how to get the Menu is Left or in Right Side .
--
View this message in context: http://www.nabble.com/How-to-Create-Menu-in-XWiki-tf3148965.html#a8729694
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
It's probably me, but I can't seem to find a way to export specific spaces.
In earlier version of the import/export there was a drop down and you
could select specific spaces & pages to export... now it seems to only
export the entire wiki.
I had a nasty problem with my wiki (some pages were "bad" and when I
tried to delete them I got told they didn't exist) and thought... I
know, I'll just export the good stuff and drop the db then import my
good pages back in... I couldn't becuase export seems to be exporting
the whole wiki (despite a space parameter in the url).
So, question is can I export specific pages / spaces only & if so any hints :)
Thanks,
Dan
>
> >> Is there a way to get the numbered list (i.e . 1.) to continue the
> >> numbering instead of restarting if the list item is separated by some
> >> text, paragraph, etc?
>
It's on my todo list.
Could we imagine a carriage return character as like as for properties
> files which could be used for both list and table?
Try \\
--
http://purl.org/net/sergiu
Hi Everyone,
I was trying to upgrade from 0.984 to 1.0B3, but to no avail.
I found this thread:
http://mail-archive.objectweb.org/xwiki-users/2006-12/msg00106.html
But there are no answers there.
If I just run 1.0B3 on the existing database, I get an exception (trace
below).
Somewhere i read that this could mean the database is corrupted.
But I don't think so, it works fine with release 0.984.
So, is there an official way to upgrade the database so I can keep all
the articles ?
Thanks,
Lukas
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:223)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:303)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
On Mar 9, 2007, at 2:30 AM, Duke Tantiprasut wrote:
> Is there a way to get the numbered list (i.e. 1.) to continue the
> numbering instead of restarting if the list item is separated by
> some text, paragraph, etc?
Not that I know of. That would be nice and useful to have but I'm not
sure about the algorithm to use. I guess we could introduce a {list}
macro to delimitate the list section. Without this it's hard to guess
if it should be one list or 2 lists.
In any case could you add this as an improvement in JIRA and if you
want to see it implemented quickly, could you submit a patch for it?
(otherwise it'll have to wait for some time as we're currently busy
trying to fix the maximum number of bugs for the 1.0 release).
Thanks
-Vincent
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com
I have a old xwiki deploied with tomcat + postgresql:
tomcat 5.5.20-r7
postgresql 8.0.9-r1
and I did a migrate from 0.9.840 to 1.0b3 using war package and I have
meet following exception when load the page:
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading
document XWiki.XWikiPreferences
Wrapped Exception: Could not parse configuration:
jndi:/localhost/xwiki/WEB-INF/hibernate.cfg.xml
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading
document XWiki.XWikiPreferences
Wrapped Exception: Could not parse configuration:
jndi:/localhost/xwiki/WEB-INF/hibernate.cfg.xml
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:266)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:346)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
here is the hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Uncomment if you want to use HSQLDB.
Note that the database will be created automatically if it doesn't
already exist.
<property
name="connection.url">jdbc:hsqldb:file:/some/path/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property
name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
-->
<!-- Default MySQL configuration
<property name="connection.url">jdbc:mysql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
-->
<!-- Default MySQL configuration -->
<property
name="connection.url">jdbc:postgresql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnecti$
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<!-- Mapping files -->
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
</session-factory>
</hibernate-configuration>
I see that it cannot parse the hibernate.cfg.xml through jndi, where I
did wrong? how to let it parse the configuration file through jndi.
kind regards,
- Muzi