Hi,
I haven't been able to install xwiki due to issues with hibernate. I'm
running CentOS 4.4, Jboss 4.0.5.GA, Postgres 8.1.5, xWiki.0.9.840, j2sdk
1.4.2_13 and postgresql-8.1-407.jdbc3.jar.
I configured my hibernate.cfg.xml for postgres, put the necessary postgres
jdbc jar file in the server/default/lib directory. The hibernate
configuration is working because it successfully starts reading from the
postgres database, until this call - see stack trace is made and I get a
objectnotfoundexception: no row with the given identifier exists. I enabled
sql statement logging, so the sql statement is shown above the stack trace.
I applied the:
xwiki.pg.dml.sql
xwiki.pg.ddl.sql
xwiki-db-0.9.2-pgsql.sql
files with the psql -f filename xwiki
This is my postgres schema:
xwiki=# \d
List of relations
Schema | Name | Type | Owner
--------+-------------------------+-------+----------
public | xwikiattachment | table | postgres
public | xwikiattachment_archive | table | postgres
public | xwikiattachment_content | table | postgres
public | xwikibooleanclasses | table | postgres
public | xwikiclasses | table | postgres
public | xwikiclassesprop | table | postgres
public | xwikidateclasses | table | postgres
public | xwikidates | table | postgres
public | xwikidblistclasses | table | postgres
public | xwikidoc | table | postgres
public | xwikidouble | table | postgres
public | xwikidoubles | table | postgres
public | xwikifloats | table | postgres
public | xwikiintegers | table | postgres
public | xwikilargestrings | table | postgres
public | xwikilistitems | table | postgres
public | xwikilists | table | postgres
public | xwikilock | table | postgres
public | xwikilongs | table | postgres
public | xwikinumberclasses | table | postgres
public | xwikiobjects | table | postgres
public | xwikiproperties | table | postgres
public | xwikislistclasses | table | postgres
public | xwikistatsdoc | table | postgres
public | xwikistatsreferer | table | postgres
public | xwikistatsvisit | table | postgres
public | xwikistringclasses | table | postgres
public | xwikistrings | table | postgres
(28 rows)
Anybody know what is wrong here?
Thanks in advance!
-matt
20:32:48,335 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_LANGUAGE as XWD4_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD5_0_0_, xwikidocum0_.XWD_TRANSLATION
as XWD6_0_0_, xwikidocum0_.XWD_DATE as XWD7_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD8_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD9_0_0_, xwikidocum0_.XWD_CREATOR as XWD10_0_0_, xwikidocum0_.XWD_WEB as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT as XWD12_0_0_, xwikidocum0_.XWD_ARCHIVE
as XWD13_0_0_,xwikidocum0_.XWD_VERSION as XWD14_0_0_,
xwikidocum0_.XWD_PARENT as XWD15_0_0_ from xwikidoc xwikidocum0_ where
xwikidocum0_.XWD_ID=?
20:32:48,339 INFO [DefaultLoadEventListener] Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#-1363070189]
at org.hibernate.ObjectNotFoundException.throwIfNull(
ObjectNotFoundException.java:27)
at org.hibernate.event.def.DefaultLoadEventListener.load(
DefaultLoadEventListener.java:118)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(
DefaultLoadEventListener.java:167)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(
DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(
XWikiHibernateStore.java:575)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(
XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:617)
at com.xpn.xwiki.plugin.TablePlugin.init(TablePlugin.java:82)
at com.xpn.xwiki.plugin.TablePlugin.<init>(TablePlugin.java:53)
at jrockit.reflect.NativeConstructorInvoker.newInstance([
Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;J)Ljava.lang.Object;(Unknown
Source)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(
XWikiPluginManager.java:58)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(
XWikiPluginManager.java:77)
at com.xpn.xwiki.plugin.XWikiPluginManager.<init>(
XWikiPluginManager.java:41)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:422)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:397)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
20:32:48,346 INFO [DBCPConnectionProvider] active: 0 (max: 50) idle:
1(max: 5)
20:32:48,415 INFO [DBCPConnectionProvider] active: 1 (max: 50) idle:
0(max: 5)
--
--
Matthew Ma
http://www.lightspoke.com
Lightspoke Web Based Database
Hi,
I haven't been able to install xwiki due to issues with hibernate. I'm running CentOS 4.4, Jboss 4.0.5.GA, Postgres 8.1.5, xWiki.0.9.840, j2sdk 1.4.2_13 and postgresql-8.1-407.jdbc3.jar.
I configured my hibernate.cfg.xml for postgres, put the necessary postgres jdbc jar file in the server/default/lib directory. The hibernate configuration is working because it successfully starts reading from the postgres database, until this call - see stack trace is made and I get a objectnotfoundexception: no row with the given identifier exists. I enabled sql statement logging, so the sql statement is shown above the stack trace.
I applied the:
xwiki.pg.dml.sql
xwiki.pg.ddl.sql
xwiki-db-0.9.2-pgsql.sql
files with the psql -f filename xwiki
This is my postgres schema:
xwiki=# \d
List of relations
Schema | Name | Type | Owner
--------+-------------------------+-------+----------
public | xwikiattachment | table | postgres
public | xwikiattachment_archive | table | postgres
public | xwikiattachment_content | table | postgres
public | xwikibooleanclasses | table | postgres
public | xwikiclasses | table | postgres
public | xwikiclassesprop | table | postgres
public | xwikidateclasses | table | postgres
public | xwikidates | table | postgres
public | xwikidblistclasses | table | postgres
public | xwikidoc | table | postgres
public | xwikidouble | table | postgres
public | xwikidoubles | table | postgres
public | xwikifloats | table | postgres
public | xwikiintegers | table | postgres
public | xwikilargestrings | table | postgres
public | xwikilistitems | table | postgres
public | xwikilists | table | postgres
public | xwikilock | table | postgres
public | xwikilongs | table | postgres
public | xwikinumberclasses | table | postgres
public | xwikiobjects | table | postgres
public | xwikiproperties | table | postgres
public | xwikislistclasses | table | postgres
public | xwikistatsdoc | table | postgres
public | xwikistatsreferer | table | postgres
public | xwikistatsvisit | table | postgres
public | xwikistringclasses | table | postgres
public | xwikistrings | table | postgres
(28 rows)
Anybody know what is wrong here?
Thanks in advance!
-matt
20:32:48,335 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as XWD1_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as XWD3_0_0_, xwikidocum0_.XWD_LANGUAGE as XWD4_0_0_, xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD5_0_0_, xwikidocum0_.XWD_TRANSLATION as XWD6_0_0_, xwikidocum0_.XWD_DATE as XWD7_0_0_, xwikidocum0_.XWD_CREATION_DATE as XWD8_0_0_, xwikidocum0_.XWD_AUTHOR as XWD9_0_0_, xwikidocum0_.XWD_CREATOR as XWD10_0_0_, xwikidocum0_.XWD_WEB as XWD11_0_0_, xwikidocum0_.XWD_CONTENT as XWD12_0_0_, xwikidocum0_.XWD_ARCHIVE as XWD13_0_0_,xwikidocum0_.XWD_VERSION as XWD14_0_0_, xwikidocum0_.XWD_PARENT as XWD15_0_0_ from xwikidoc xwikidocum0_ where xwikidocum0_.XWD_ID=?
20:32:48,339 INFO [DefaultLoadEventListener] Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiDocument#-1363070189]
at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:575)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:617)
at com.xpn.xwiki.plugin.TablePlugin.init(TablePlugin.java:82)
at com.xpn.xwiki.plugin.TablePlugin.<init>(TablePlugin.java:53)
at jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;J)Ljava.lang.Object;(Unknown Source)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:58)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:77)
at com.xpn.xwiki.plugin.XWikiPluginManager.<init>(XWikiPluginManager.java:41)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:422)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:397)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
20:32:48,346 INFO [DBCPConnectionProvider] active: 0 (max: 50) idle: 1(max: 5)
20:32:48,415 INFO [DBCPConnectionProvider] active: 1 (max: 50) idle: 0(max: 5)
Is there a way to continue the numbered list? For example the result I want
to achieve is something is:
1. Step A
some text goes here
2. Step B
3. Step C
with the wiki syntax below:
1. Step A
some text goes here
1. Step B
1. Step C
would produce
1. Step A
some text goes here
1. Step B
2. Step C
Any ideas?
Thanks
Duke
Hi,
I just got the latest snapshot from the public SVN site and try to build
it via maven. However I keep getting messages like the following:
I am not sure if you guys have run into the same issue. Manually
downloading the jars from these sites seems to be a daunting task.
I also tried to build via ant but I started to get class version mismatch
error. Does xwiki require java 5 now? I am still using java 1.4.2
My 3rd question is whether there are some feature descriptions of the
latest public xwki? There is a feature list in xwiki.org but I am not sure
if they are all available in a specific version. We need to show the
available features in a stable version of xwiki to our clients before they
choose xwiki.
btw, I don't have any problem in building xwiki 0.9.841
Thanks!
-Jimmy
--------------------------------------------
20) com.google:googleapi:jar:xwiki:UNKNOWN
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google -DartifactId=googleapi \
-Dversion=UNKNOWN -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) com.xpn.xwiki:xwiki-core:jar:0.9-SNAPSHOT
2) com.google:googleapi:jar:xwiki:UNKNOWN
Hi All,
Has anyone tried integrating Acegi's SSO and CAS Filter to XWiki?
If so, can i ask for some reference on how this could be done on the XWiki side?
Thank you,
Rodi
In a sane world, this would serve as just one more reason not to click
on the blue 'e'. In my world, however, it threatens to scuttle a
project to re-host an enterprise-wide reference web site, so I'm hoping
someone else has seen this. Considering how little I have to go on, I'm
embarassed to share it with the list, but I'm approaching desparation.
The evidence I have is sketchy, so the characterization is a bit thin,
but here goes:
On XWiki 0.9.840, IE occasionally crashes while reloading a document
after saving it. The save succeeds, and reloading the doc again causes
no problems. I don't yet have a handle on the browser's memory use or
anything characterizing the other docs the users have visited, but it
appears to be unrelated to the specific document. At the moment I'm not
aware of crashes at any other times, so I'm grateful for that much,
being the firmest bit of evidence I've got.
Anyone had any similar experiences that might shed light on the subject?
brain[sic]
Well, here's an interesting bit of news in response to my plea for help
locally from a coworker who is a web developer.
Any clues on where to go to remove this offending bit of code as a test,
or reasons it should be there? Brandon: does this ring any bells?
brain[sic]
-----Original Message-----
...
I know of no clever IE debugging techniques.
In my experience, however, IE's crashes normally occur when loading
embedded objects like applets, Flash, SVG, fonts, etc, or when people do
some unorthodox trickery in CSS or scripting. So when troubleshooting
problems like this, my instinct is to dig through the source to see if
there's anything odd going on.
(Having validating markup and CSS helps this process.)
My first observation is that the page is written in XHTML, and IE
doesn't support XHTML[1]. This isn't normally a problem, necessarily,
if the page is delivered as text/html (as these pages are), because IE
will look at it and treat it as HTML "tag soup", and ignore the non-HTML
XHTML stuff as bad markup to work around.
However, the site is also emitting an <?xml ... ?> prolog at the start
of the page. This has traditionally caused problems with IE in my
experience, because IE isn't sure if it should look at it as a raw XML
document or HTML. This issue is compounded by the fact that the page
isn't well-formed XML at all. (There are HTML-style <BR> tags in there,
for example.)
Hi All,
Is there an existing implementation on creating a new space through xmlrpc?
If not, can i ask for some reference that can guide me in trying to do one?
Thank you,
Rodi