----- Message d'origine -----
De: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
Date: Mercredi, Juin 11, 2008 5:15 pm
Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1
À: XWiki Users <users(a)xwiki.org>
The only specificity of the page is that it
contains a "big"
attachment (around 500 kB).
impossible d'insérer NULL dans
("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
This remind me an Oracle mapping problem we had in older version that
should have been fixed If you try to re-import just
XemManager.Install, does it fail again ? If so, it would be great that
you create an issue on
http://jira.xwiki.org/jira/browse/XWIKI about
this importing bug on Oracle.
Anyway this page is not strongly needed (just contains a script to
create a default wiki template based on standard XE xar).
On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO
<gaetan.guyodo(a)lrb.aphp.fr> wrote:
Sorry, I made a mistake, I didn't imported
the XEM application
xar...> Now, I imported it, and I get an error on
XemManager.Install :
2008-06-11 16:30:10,125
[
https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=X…
[TP-Processor8] WARN util.JDBCExceptionReporter - SQL Error: 1400,
> SQLState: 23000
2008-06-11 16:30:10,125
[
https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=X…
[TP-Processor8] ERROR util.JDBCExceptionReporter - ORA-01400:
impossible d'insérer NULL dans
("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")>
2008-06-11 16:30:10,125
[
https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=X…
[TP-Processor8] ERROR .AbstractFlushingEventListener - Could not
synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not
insert:>
[com.xpn.xwiki.objects.BaseObject]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)> at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)> at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)>
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)>
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:816)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)> at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612)> at
com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:228)> at
com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:432)> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)>
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)> at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)> at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)>
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: ORA-01400:
impossible d'insérer
NULL> dans
("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)>
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)>
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3400)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:23)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2247)>
... 47 more
2008-06-11 16:30:10,140
[
https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=X…
[TP-Processor8] ERROR packaging.Package - Failed to save
document XemManager.Install
[ERROR] Left side ($request.withversions) of '==' operation has null
value. If a reference, it may not be in the context. Operation not
possible. /templates/importinline.vm [line 16, column 73]
Any idea ?
Gaëtan GUYODO a écrit :
> Thanks, doc is now more clear (for me...).
> I imported the XEM application xar (the one which only contains XEM
> specifics pages to be imported in an existing XE instance).
> After that, I try to go to
>
http://myserver/xwiki/bin/view/XWiki/XWikiServerXwiki
> and that page does not exists.
> Any reason ?
>
> Thomas Mortagne a écrit :
>> Hi,
>>
>> On Wed, Jun 11, 2008 at 3:05 PM, Gaëtan GUYODO
>> <gaetan.guyodo(a)lrb.aphp.fr> wrote:
>>> Hi again,
>>> I'm trying to add manager application to my XE 1.4.1 with the
procedure>>>> described here:
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertane…
>>> I did the 3 first points.
>>>
>>> My main wiki domain name doesn't start with "www", so I
"need
to create
>>> a wiki server descriptor for it: add
an XWiki.XWikiServerClass
object to
>>> XWiki.XWikiServerXWiki page."
>> As it is written in the documentation the easiest way is to
import XEM
>> xar which contains a default wiki
descriptor for the main wiki
(check>>> only XWiki.XWikiServerXwiki if you
don't want the whole XEM
>> application). I just modified the
documentation to be more
clear about
>> main wiki descriptor.
>>
>> By the way you can also always access your main wiki by IP or
>> "localhost" not only starting by "www".
>>
>>> but I don't really understand what I have to do ? How can I find
>>> XWiki.XWikiServerXWiki page ? I didn't find it.
>>>
>>> Can anyone help me ?
>>> --
>>> __________________________________________
>>> Gaëtan GUYODO
>>> Chargé de mission
>>> Centre Antipoison - Hôpital Fernand WIDAL
>>> 200, rue du faubourg St Denis
>>> 75475 PARIS Cedex 10
>>> Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
>>> __________________________________________
>>>
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>>
http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
--
__________________________________________
Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
200, rue du faubourg St Denis
75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
__________________________________________
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org