>
> >> 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
Hi everyone,
I installed the xwiki-1.0-beta-3 with the standalone distribution (tar.gz
package) on my Unix (Sun OS) server but I get some issues trying to access
it. The server starts without any problem, but when I try to access to
"http://localhost:8080/xwiki/bin/view/Main/WebHome" url, I get an "HTTP
ERROR: 500" on my browser and this error in my main log :
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store
class com.xpn.xwiki.store.XWikiHibernateStore
Wrapped Exception: java/util/concurrent/ConcurrentHashMap
Followed by several other stack traces. I checked and forced my classpath by
modifying the "start_server.sh" that way:
CLASSPATH=$CLASSPATH:\
$JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\
$JETTY_HOME/lib/javax.servlet.jar:\
$JETTY_HOME/ext/jasper-runtime.jar:\
$JETTY_HOME/ext/jasper-compiler.jar:\
$JETTY_HOME/ext/xercesImpl.jar:\
$JETTY_HOME/ext/xml-apis.jar:\
$JETTY_HOME/ext/xmlParserAPIs.jar
$JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1
-Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar
My java version:
java version "1.4.1_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
I encounter the same problem with this standalone installation on my Windows
PC. I would like to know what is my mistake.
Thanks in advance.
Regards,
Vincent.
--
View this message in context: http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf3149…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
We're happy to announce the 1.0 Beta 3 release. It's a bug fix release.
Release note on: http://www.xwiki.org/xwiki/bin/view/Main/
ReleaseNotesXWiki10Beta3
Thanks and enjoy
-The XWiki Team
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com
Hi
is it me or the import feature is broken?
I can upload packages and they are listed under "select the file you wish to
import" but I can't get further. Clicking on a file name would not help.
There is no feedback for the interface either.
http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…
Regards,
Marc