XWiki Instalation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XWiki Instalation

Maria Carolina Ramirez
Hi,

 

I'm trying to install xwiki following all the steps included in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL.

 

I'm working with jboss and MySQL.

 

*         First I download xwiki-enterprise-web-1.9.3.war then,

 

*         I installed MySQL 5.1 in this step I created the Data base

 

-    mysql -u root -e "create database xwiki"

 

-     mysql -u root -e "grant all privileges on xwiki.* to
xwiki@127.0.0.1 identified by 'xwiki'"

 

-          I included the MySQL JDBC Driver JAR in the WEB-INF/lib
folder

 

-          I changed hibernate.xml  with mysql properties

 

*         I installed jboss-4.0.5.GA

 

-          I tried to use a datasource but doesn't work for me, so I am
working without it.

 

As you see, I followed all the steps described in xwiki site, but I have
many errors and I haven't done nothing different

               

16:47:20,204 INFO  [DefaultLoadEventListener] Error performing load
command

org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#104408758]

 

16:47:20,375 WARN  [XWiki] Exception while getting wiki preference
[macros_languages]

java.lang.NullPointerException

 

16:47:20,469 WARN  [XWiki] Exception while getting wiki preference
[macros_velocity]

java.lang.NullPointerException

 

16:47:20,547 WARN  [XWiki] Exception while getting wiki preference
[macros_groovy]

java.lang.NullPointerException

 

16:47:42,032 WARN  [XWiki] Exception while getting wiki preference
[macros_mapping]

java.lang.NullPointerException

 

16:47:43,313 INFO  [DefaultLoadEventListener] Error performing load
command

org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.objects.classes.BaseClass#-629142642]

 

16:47:56,048 INFO  [DefaultLoadEventListener] Error performing load
command

org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#-1905796263]

 

16:47:56,439 WARN  [XWiki] Exception while getting wiki preference
[backlinks]

java.lang.NullPointerException

 

I supposed that all of this errors are happening because I have to
install the *.xar files

 

And then I got this error and that's all. I can't see nothing else.

 

16:48:03,158 INFO  [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME
as XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwik

idocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_, xwikidocum0_.XWD_CREATOR as
XWD13_0_0_, xwikidocum0_.XWD_WEB as XWD14_0_0_, xwikidocum0_.XWD_CONTENT
as XWD15_0_0_, xwikidocum0_.XWD_VERSION as XWD16_0_0_,
xwikidocum0_.XWD_CUSTOM_CLASS as XWD17_0_0_, xwikidocum0_.XWD_PARENT as
XWD18_0_0_, xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_,
xwikidocum0_.XWD_ELEMENTS as XWD20_0_0_,
xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_,
xwikidocum0_.XWD_COMMENT as XWD23_0

_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_, xwikidocum0_.XWD_HIDDEN as
XWD26_0_0_ from xwikidoc xwikidocum0_ where xwikidocum0_.XWD_ID=?

16:48:03,173 ERROR [[action]] Servlet.service() for servlet action threw
exception

java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lan
g/String;)Ljava/lang/Stri

        at
com.xpn.xwiki.plugin.watchlist.WatchListPlugin.globalSearchDocuments(Wat
chListPlugin.java:596)

        at
com.xpn.xwiki.plugin.watchlist.WatchListPlugin.sanitizeWatchlists(WatchL
istPlugin.java:629)

        at
com.xpn.xwiki.plugin.watchlist.WatchListPlugin.init(WatchListPlugin.java
:122)

        at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.ja
va:155)

        at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.jav
a:92)

        at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.ja
va:120)

        at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1022)

        at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:742)

        at com.xpn.xwiki.XWiki.<init>(XWiki.java:670)

        at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:317)

        at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:388)

        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)

        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)

        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)

        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)

        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

        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(Applica
tionFilterChain.java:252)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:155)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:175)

        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:74)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)

        at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnecti
onValve.java:156)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)

        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)

        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)

        at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
Thread.java:112)

        at java.lang.Thread.run(Thread.java:619)

16:48:13,001 INFO  [IndexUpdater] deleting 8 docs from lucene index

16:48:13,189 INFO  [IndexUpdater] deleted 8 docs from lucene index

16:48:13,220 INFO  [IndexUpdater] indexing 8 docs to lucene index

16:48:13,236 INFO  [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikid

idocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_, xwikidocum0_.XWD_CREATOR as
XWD13_0_0_, xwikidocum0_.XWD_WEB as XWD14_0_0_, xwikido

_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_, xwikidocum0_.XWD_HIDDEN as
XWD26_0_0_

16:48:13,251 INFO  [DefaultLoadEventListener] Error performing load
command

org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#723512152]

        at
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFact
oryImpl.java:375)

        at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventLi
stener.java:143)

        at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoad
EventListener.java:193)

        at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEvent
Listener.java:101)

        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)

        at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)

        at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore
.java:641)

        at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:20
9)

        at
com.xpn.xwiki.doc.XWikiDocument.getTranslatedDocument(XWikiDocument.java
:3676)

        at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:2
21)

        at
com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:117)

        at java.lang.Thread.run(Thread.java:619)

........

 

I hope that someone can help me!

 

Thanks in advance!

 

Carolina Ramirez P

 

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XWiki Instalation

xManish
Maria Carolina Ramirez wrote
I supposed that all of this errors are happening because I have to
install the *.xar files

 And then I got this error and that's all. I can't see nothing else.

16:48:03,158 INFO  [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME
as XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwik

idocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_, xwikidocum0_.XWD_CREATOR as
XWD13_0_0_, xwikidocum0_.XWD_WEB as XWD14_0_0_, xwikidocum0_.XWD_CONTENT
as XWD15_0_0_, xwikidocum0_.XWD_VERSION as XWD16_0_0_,
xwikidocum0_.XWD_CUSTOM_CLASS as XWD17_0_0_, xwikidocum0_.XWD_PARENT as
XWD18_0_0_, xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_,
xwikidocum0_.XWD_ELEMENTS as XWD20_0_0_,
xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_,
xwikidocum0_.XWD_COMMENT as XWD23_0

_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_, xwikidocum0_.XWD_HIDDEN as
XWD26_0_0_ from xwikidoc xwikidocum0_ where xwikidocum0_.XWD_ID=?
Hi,
I know this is the older post. But do you remember how you solved this issue? I am facing the similiar issue now.

Thanks,
Manish