Hi all,
I have to setup a XWiki installation that uses Oracle as RDBMS. I configured
the hibernate.cfg and inserted the Oracle JAR in the lib folder.
I get an exception in by tomcat. My "xwiki.log" says:
16:24:33,567 [http-38080-Processor25] WARN util.JDBCExceptionReporter
- SQL Error: 17070, SQLState: null
16:24:33,582 [http-38080-Processor25] ERROR util.JDBCExceptionReporter
- La dimensione dei dati è superiore alla dimensione massima per questo
tipo: 14255
16:24:33,582 [http-38080-Processor25] ERROR .AbstractFlushingEventListener
- Could not synchronize database state with session
The database tables have been created.
Can someone help me? Do you need additional informations?
Thanks,
Loris
I have just installed the XWiki Enterprise Manager (XEM) and having
difficulty creating a wiki from a template. I already have a template
created but within the From wiki Template dropdown box it is displaying
$wikimanager.getWikiName($template) instead of the template's wiki name.
If I create a new template the dropdown list just displays another entry
of $wikimanager.getWikiName($template).
When I create a wiki from this template entry I get the following error
summary:
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Invocation of method
'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with sql [] Wrapped Exception: Error number 3301 in
3: Exception while switching to database
$wikimanager.getWikiName($template) Wrapped Exception: Incorrect
database name '$wikimanager.getwikiname($template)' @
WikiManager.CreateNewWiki[25,31?]
<http://wiki.thelearningbusiness.com/xwiki/bin/view/WikiManager/CreateNe
wWiki?action=create&wikiname=test2&XWiki.XWikiServerClass_0_description=
%24wikimanager.getWikiName%28%24template%29&XWiki.XWikiServerClass_0_ser
ver=test2.wiki.thelearningbusiness.com&XWiki.XWikiServerClass_0_owner=XW
iki.Admin&XWiki.XWikiServerClass_0_owner=&XWiki.XWikiServerClass_0_visib
ility=public&XWiki.XWikiServerClass_0_visibility=&XWiki.XWikiServerClass
_0_state=active&XWiki.XWikiServerClass_0_state=&wikitemplate=%24wikimana
ger.getWikiName%28%24template%29&wikipackage=>
Any assistance would be much appreciated
Thanks,
Andy
Hi folks,
On the panel menus when you click on a menu option the menu option is
'greyed' to indicate its been clicked on - only 'greying' it makes the menu
option difficult to read - can how much they are 'greyed' be adjusted? If so
can some one tell me how - some of users have complained about it - so I
want to keep them happy!!
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Artamonov, Juri
Sent: 17 October 2007 08:04
To: XWiki Users
Subject: Re: [xwiki-users] WYSIWYG editor and velocity
I can confirm since I had the same issue. Moreover sometimes when you
work with bullets it's also ok in wiki-mode but when you switch
WYSIWYG-mode it can easily disappear. Currently it looks like
showstopper for me for xwiki usage.
Best regards,
Juri.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Vitantonio Messa
Sent: Wednesday, October 17, 2007 8:36 AM
To: XWiki Users
Subject: [xwiki-users] WYSIWYG editor and velocity
Hi everyone,
I wrote a page with some code in it:
....SOME TEXT...
#foreach ($docum in $xwiki.getSpaceDocsName("workgroups"))
#set ($name = $xwiki.split($docum,"_"))
#set ($isMeeting = 0)
#set ($i = 0)
#foreach ($word in $name)
#set ($i = $i+1)
#if (($i == 1) && ($word == "MT"))
#set ($isMeeting = 1)
#elseif ($i == 2)
#set ($date = $word)
#elseif (($i == 3) && (("WG_"+$word) == $doc.getName()))
Meeting [$date>workgroups.$docum] <br/>
#end
#end
#end
....SOME TEXT...
If I edit the page in wiki-mode, no problem. But if I edit the page in
WYSIWYG-mode, and then save it, the code is not working anymore.
Actually the same section become:
....SOME TEXT...
#foreach ($docum in $xwiki.getSpaceDocsName("workgroups"))
#set ($name = $xwiki.split($docum,"_"))
#set ($isMeeting = 0)
#set ($i = 0)
#foreach ($word in $name)
#set ($i = $i+1)
#if (($i == 1) && ($word == "MT"))
#set ($isMeeting = 1)
#elseif ($i == 2)
#set ($date = $word)
#elseif (($i == 3) && (("WG_"+$word) == $doc.getName()))
Meeting [$date>workgroups.$docum] \\
#end
#end
#end
....SOME TEXT...
So, the character '_' is replace by '_'.
Any solution to this problem? Thanks!
Vito
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi everyone,
I wrote a page with some code in it:
....SOME TEXT...
#foreach ($docum in $xwiki.getSpaceDocsName("workgroups"))
#set ($name = $xwiki.split($docum,"_"))
#set ($isMeeting = 0)
#set ($i = 0)
#foreach ($word in $name)
#set ($i = $i+1)
#if (($i == 1) && ($word == "MT"))
#set ($isMeeting = 1)
#elseif ($i == 2)
#set ($date = $word)
#elseif (($i == 3) && (("WG_"+$word) == $doc.getName()))
Meeting [$date>workgroups.$docum] <br/>
#end
#end
#end
....SOME TEXT...
If I edit the page in wiki-mode, no problem. But if I edit the page in
WYSIWYG-mode, and then save it, the code is not working anymore.
Actually the same section become:
....SOME TEXT...
#foreach ($docum in $xwiki.getSpaceDocsName("workgroups"))
#set ($name = $xwiki.split($docum,"_"))
#set ($isMeeting = 0)
#set ($i = 0)
#foreach ($word in $name)
#set ($i = $i+1)
#if (($i == 1) && ($word == "MT"))
#set ($isMeeting = 1)
#elseif ($i == 2)
#set ($date = $word)
#elseif (($i == 3) && (("WG_"+$word) == $doc.getName()))
Meeting [$date>workgroups.$docum] \\
#end
#end
#end
....SOME TEXT...
So, the character '_' is replace by '_'.
Any solution to this problem? Thanks!
Vito
I can confirm since I had the same issue. Moreover sometimes when you
work with bullets it's also ok in wiki-mode but when you switch
WYSIWYG-mode it can easily disappear. Currently it looks like
showstopper for me for xwiki usage.
Best regards,
Juri.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Vitantonio Messa
Sent: Wednesday, October 17, 2007 8:36 AM
To: XWiki Users
Subject: [xwiki-users] WYSIWYG editor and velocity
Hi everyone,
I wrote a page with some code in it:
....SOME TEXT...
#foreach ($docum in $xwiki.getSpaceDocsName("workgroups"))
#set ($name = $xwiki.split($docum,"_"))
#set ($isMeeting = 0)
#set ($i = 0)
#foreach ($word in $name)
#set ($i = $i+1)
#if (($i == 1) && ($word == "MT"))
#set ($isMeeting = 1)
#elseif ($i == 2)
#set ($date = $word)
#elseif (($i == 3) && (("WG_"+$word) == $doc.getName()))
Meeting [$date>workgroups.$docum] <br/>
#end
#end
#end
....SOME TEXT...
If I edit the page in wiki-mode, no problem. But if I edit the page in
WYSIWYG-mode, and then save it, the code is not working anymore.
Actually the same section become:
....SOME TEXT...
#foreach ($docum in $xwiki.getSpaceDocsName("workgroups"))
#set ($name = $xwiki.split($docum,"_"))
#set ($isMeeting = 0)
#set ($i = 0)
#foreach ($word in $name)
#set ($i = $i+1)
#if (($i == 1) && ($word == "MT"))
#set ($isMeeting = 1)
#elseif ($i == 2)
#set ($date = $word)
#elseif (($i == 3) && (("WG_"+$word) == $doc.getName()))
Meeting [$date>workgroups.$docum] \\
#end
#end
#end
....SOME TEXT...
So, the character '_' is replace by '_'.
Any solution to this problem? Thanks!
Vito
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi all,
I am able to change preferences of the entire wiki and a space. Can I make
preference changes to a specific page ? For example, if I do not want the
comments and attachments boxes to appear in some pages, the right/left menu
to be present in some other pages, etc. ? How do I do that ?
Harikrishnan Nair
--
View this message in context: http://www.nabble.com/Page-preferences-tf4632206.html#a13227393
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I would like to have a "discussion" tab, similar to how wikipedia has
one. Is there a configuration option to turn this on? Or a plugin I can
install?
Thanks in advance,
Josh
Hi
During import of a Backup.xar, I got the following error:
Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'getAttachmentRevision' in class
com.xpn.xwiki.api.Attachment threw exception com.xpn.xwiki.XWikiException:
Error number 3004 in 3: Exception while manipulating the archive for file
Backup.xar Wrapped Exception: Error number 3231 in 3: Exception while
loading attachment Backup.xar of document XWiki.Import Wrapped Exception:
exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive @ [16,31]
What do I have to do to fix it? I need to migrate an existing XWiki
installation to another server and database. I already tried moving the
database directly, but since I use two different rdbms', this gives me
errors as well.
Thanks,
Tobias
Hi all,
I am trying to customized the servlet context name to modify xwiki -> wiki
I am using the war package to deploy xwiki. I ve change the xwiki
archive name to wiki.war and have some look at WEB-INF/web.xml. I ve
some issues with the resources' URLs which still start with 'xwiki'.
is it easy to fix the URL ?
thanks a lot in advance,
Thomas
hi all.
My wiki was working fine until today when I discovered that I couldn't
find any of the spaces that I had created and also I couldn't login even as
the superadmin. I also found that Xwiki Guest has been admin privileges
inspite of me having denied them. Can anyone help ?
Also, from where can I get information about the file system ? That is,
where the usernames/passwords are stored and so on for any backing up when
necessary.
Harikrishnan Nair
--
View this message in context: http://www.nabble.com/XWiki-filing-system-tf4627232.html#a13212223
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm new at xwiki.org and I want to use it with an external datasource in jboss seam with Oracle 10g Database.
I have done the tasks that paged on http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss
I.) I've uncomment the resource-ref section in web.xml and copied the jboss-web.xml from XWiki.org in the WEB-INF dir.
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
II.) I' create a datasource (xwiki_ds.xml) that is similar to this one:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/XWikiDS</jndi-name>
<connection-url>jdbc:oracle:thin:@myserver.net:1521:XWIKITEST</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>myname</user-name>
<password>mypass</password>
<metadata>
<type-mapping>Oracle10g</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
III.) JBoss load and found the datasource via JNDI and I can get connection to it - I've testet it with JBossTest.jsp (fragment shown below)
<%@ page import="javax.naming.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="javax.sql.*" %>
<%! private String connectionInfo = null; %>
<%! private Connection con = null; %>
<%! private Statement stmt = null; %>
<%! private ResultSet resultSet = null; %>
<%
try {
InitialContext ctxt = new InitialContext();
DataSource ds = (DataSource) ctxt.lookup("java:/jdbc/XWikiDS");
con = ds.getConnection();
DatabaseMetaData metaData = con.getMetaData();
connectionInfo = "Database Name: " + metaData.getDatabaseProductName() + "<BR>" +
"Database Version: " + metaData.getDatabaseProductVersion() + "<BR>" +
"Driver Name: " + metaData.getDriverName() + "<BR>" +
"Driver Version: " + metaData.getDriverVersion() + "<BR>" +
"URL: " + metaData.getURL();
%>
<H1>Connected to Database</H1>
<P><%= connectionInfo%></P>
IV.) I've modified the hibernate.cfg.xml to
<hibernate-configuration>
<session-factory>
<property name="show_sql">true</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>
<property name="connection.datasource">java:/jdbc/XWikiDS</property>
<property name="dialect">org.hibernate.dialect.OracleDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
</session-factory>
</hibernate-configuration>
but that didn't work. How I've to change the hibernate.cfg.xml the xwiki found the jndi external datasource?
I use another databaseuser than xwiki and that works if I put the database connection parameter in the hibernate.cfg.xml directly.
I get the following ErrorMessage:
09:13:33,000 INFO [STDOUT] 09:13:33,000 FATAL http-127.0.0.1-8080-1 http://localhost:8080/xwiki/bin/view/Main/ DBCPConnectionProvider:configure:189 -
Could not create a DBCP pool
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:100)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:140)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:408)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:1747)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2114)
at com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:200)
at com.xpn.xwiki.plugin.lucene.IndexRebuilder.indexWiki(IndexRebuilder.java:116)
at com.xpn.xwiki.plugin.lucene.IndexRebuilder.rebuildIndex(IndexRebuilder.java:92)
at com.xpn.xwiki.plugin.lucene.IndexRebuilder.<init>(IndexRebuilder.java:57)
at com.xpn.xwiki.plugin.lucene.LucenePlugin.init(LucenePlugin.java:361)
at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:130)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:69)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:95)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:754)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:708)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:611)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:238)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
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:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
09:13:33,015 INFO [STDOUT] 09:13:33,015 ERROR http-127.0.0.1-8080-1 http://localhost:8080/xwiki/bin/view/Main/ IndexRebuilder:indexWiki:118 - error g
etting document names for wiki xwiki
09:13:33,015 ERROR [STDERR] com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with sql []
Wrapped Exception: Could not create a DBCP pool
Thanks for helping
Christian
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
Hi
I have a couple of pages with strange names such as:
"sse String pour les op+�rateurs + et +=^M^J* lvalue^M^J* alias, aliasing^M^J*
passage par valeur (copie)/WebHome"
It looks like the name is the result of some unintended action. The question
now is how do I remove this page (or space)?
I have a hard time doing it from the wiki with the scriptlet provided to
delete spaces (the parser is fooled by the special characters).
Note that it does not matter that much. I am upgrading the wiki, therefore if
I could remove that from the backup.xar it would be satisfactory.
For now I get an error which I assume is due to these weird names (the zip
file opens correctly):
I am upgrading to 1.1.1 and I used the 1.1rc1 export script to create the xar
file (from a database based on some old 0.9 schema modified manually as per
instructions on the wiki).
00:51:55,259 INFO [STDOUT] 00:51:55,239 WARN ajp-127.0.0.1-8009-11
http://www.lijour.net/xwiki/bin/import/XWiki/Import?action=getPackageInfos&…
XWikiAction:execute:183 - Uncaught exception: Error number 11015 in 11:
Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
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:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested exception: Premature end of file.
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2307)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:697)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:384)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
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:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.dom4j.DocumentException: Error on line -1 of document : Premature end of
file. Nested exception: Premature end of file.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2305)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:697)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:384)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
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:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.
00:51:55,289 INFO [STDOUT]
tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Nested exception:
org.xml.sax.SAXParseException: Premature end of file.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2305)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:697)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:384)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
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:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Hi all,
I get the exception below after a clean installation. It occures when I try
the "concluding step -> import feature ->
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences. The database
creation worked.
More details:
apache-tomcat-6.0.14 inside Eclipse 3.3 with Derby (network mode) on Win XP.
------------------ Java Information ------------------
Java Version: 1.6.0_02
Java Vendor: Sun Microsystems Inc.
Java home: C:\Programme\Java\jre1.6.0_02
Java classpath:
D:\workspace\xwiki\WebContent\WEB-INF\classes;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derby.jar;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbyclient.jar;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbytools.jar;C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbynet.jar;C:\Programme\apache-tomcat-6.0.14\lib\annotations-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina-ant.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina-ha.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina-tribes.jar;C:\Programme\apache-tomcat-6.0.14\lib\catalina.jar;C:\Programme\apache-tomcat-6.0.14\lib\derby.jar;C:\Programme\apache-tomcat-6.0.14\lib\derbyclient.jar;C:\Programme\apache-tomcat-6.0.14\lib\el-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\jasper-el.jar;C:\Programme\apache-tomcat-6.0.14\lib\jasper-jdt.jar;C:\Programme\apache-tomcat-6.0.14\lib\jasper.jar;C:\Programme\apache-tomcat-6.0.14\lib\jsp-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\servlet-api.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-coyote.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-dbcp.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-i18n-es.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-i18n-fr.jar;C:\Programme\apache-tomcat-6.0.14\lib\tomcat-i18n-ja.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\activation-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ant-1.6.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\antlr-2.7.6rc1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\asm-1.5.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\avalon-framework-4.1.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\axis-1.4.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\backport-util-concurrent-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-awt-util-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-bridge-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-css-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-dom-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-ext-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-gvt-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-parser-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-rasterizer-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-script-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-svg-dom-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-svggen-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-transcoder-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-util-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\batik-xml-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\cglib-2.1_3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-beanutils-1.7.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-codec-1.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-collections-3.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-dbcp-1.2.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-digester-1.6.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-fileupload-1.1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-httpclient-3.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-io-1.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-lang-2.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-logging-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-net-1.4.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-pool-1.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\commons-validator-1.1.4.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\css4j-0.4.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\dom4j-1.6.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ecs-1.4.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ehcache-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.commons-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.container-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.service.database.api-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.service.organization.api-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\exo-platform.service.security.api-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\flickrapi-1.0a7.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\fop-0.93.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\googleapi-UNKNOWN-xwiki.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\graffito-jcr-mapping-1.0-a1-amelentev-dev.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\groovy-all-1.0-jsr-06.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\gwt-servlet-1.3.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\hibernate-3.1.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ical4j-0.9.19.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jackrabbit-core-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jaxrpc-api-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jcaptcha-all-1.0-RC3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jclf-2.3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jcommon-1.0.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jcr-1.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jdom-1.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jfreechart-1.0.0-rc1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jgroups-2.2.9.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jmock-1.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jrcs.diff-0.4.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jrcs.rcs-0.4.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jta-1.0.1B.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\jtidy-8.0-20060801.131059-3-dev.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\junit-3.8.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ldap-UNKNOWN.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\log4j-1.2.13.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\logkit-1.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\lucene-core-2.0.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\mail-1.4.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\oro-2.0.8.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\oscache-2.3.2-xwiki.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\pdfbox-0.7.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\picocontainer-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-classworlds-1.2-alpha-9.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-component-api-1.0-alpha-31.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-container-default-1.0-alpha-31.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-servlet-1.0-beta-9.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\plexus-utils-1.4.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\poi-3.0-FINAL.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\portlet-api-1.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\radeox-1.0-b2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\rome-0.8.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\rome-fetcher-0.7.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\securityfilter-2.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\servlet-api-2.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\struts-1.2.9.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\swizzle-confluence-1.1-20070908-xwiki.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\velocity-1.5.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\velocity-tools-1.3.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\ws-commons-util-1.0.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xalan-2.5.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xercesImpl-2.0.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xml-apis-1.0.b2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlParserAPIs-2.0.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlgraphics-commons-1.1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlrpc-client-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlrpc-common-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xmlrpc-server-3.0.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xpp3-1.1.3.4-RC8.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xstream-1.0.2.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-action-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-component-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-container-api-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-container-servlet-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-plexus-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-core-url-1.2-milestone-1.jar;D:\workspace\xwiki\WebContent\WEB-INF\lib\xwiki-web-gwt-1.2-milestone-1.jar
OS name: Windows XP
OS architecture: x86
OS version: 5.1
Java user name: don
Java user home: C:\Dokumente und Einstellungen\don
Java user dir: D:\workspace\xwiki
java.specification.name: Java Platform API Specification
java.specification.version: 1.6
--------- Derby Information --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derby.jar]
10.3.1.4 - (561794)
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbytools.jar]
10.3.1.4 - (561794)
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbynet.jar]
10.3.1.4 - (561794)
[C:\Programme\eclipse\plugins\org.apache.derby.core_10.3.1\derbyclient.jar]
10.3.1.4 - (561794)
[C:\Programme\apache-tomcat-6.0.14\lib\derby.jar] 10.3.1.4 - (561794)
[C:\Programme\apache-tomcat-6.0.14\lib\derbyclient.jar] 10.3.1.4 - (561794)
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------
The Exception:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find a getter for archive in class
com.xpn.xwiki.doc.XWikiDocumentArchive
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:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find a getter for archive in class
com.xpn.xwiki.doc.XWikiDocumentArchive
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
I did the same installation with Tomcat running as a Windows service with
exact the same result. Any idea?
Another strange thing is a problem with a wrong UTF-8 character inside the
xhtml.xsl reported by eclipse. Don't know, if this has any importance or if
it is an eclipse issue.
Invalid byte 1 of 1-byte UTF-8 sequence.
<xsl:template match="li">
<fo:list-item>
<fo:list-item-label start-indent="0.1in">
<fo:block>�</fo:block> <!-- invalid byte -->
</fo:list-item-label>
<fo:list-item-body start-indent="0.25in">
<fo:block space-after="3pt">
<xsl:apply-templates select="a|b|i|ul|text()"/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>
I looked throu the mailing list archive, but did not see similar problems. I
just tried to install xwiki, so I still have no experience. Sorry, if I
missed something very basic.
Regards
Stefan
--
View this message in context: http://www.nabble.com/Could-not-find-a-getter-for-archive-in-class-com.xpn.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I need to clarify whether I need a wiki farm for my office intranet or not
and I am asking you to give me solutions to some problems that I've
mentioned.
The scenario so far-
[1.] I downloaded xwiki-enterprise-installer-windows-1.2-milestone-1.exe and
installed the wiki into my computer.
[2.] I am using it to share data such as discussion topics, links to office
software tools and links to official documents.
[3.] I am using my computer as a server for access by other employees where
the wiki is running.
[4.] My access to the wiki pages is through 'localhost:8080' while others
are accessing it through the ip address (which when I enter in my own
machine gives me a page error). Now, when I make changes, I don't want to
always convert the ip address in the url into 'localhost' in the url bar...
so how I go about making changes more conveniently ?
[5.] Employees are registering themselves into the wiki but do not have the
edit privilege to edit specific pages where the documents are pasted. I do
not know how to go about doing that either...
Please give as much help as possible.
regards,
V. Harikrishnan Nair
--
View this message in context: http://www.nabble.com/Use-of-Wiki-farm-tf4611518.html#a13169385
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Don't know about using wiki farms, but I can access my wiki using my ip
address logged onto my Windows PC where the wiki is running - anyone else?
You need to read the admin guide to set access rights so your users can
access those specific pages that you mentioned.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of V. Harikrishnan Nair
Sent: 12 October 2007 06:31
To: users(a)xwiki.org
Subject: [xwiki-users] Use of Wiki farm
Hi all,
I need to clarify whether I need a wiki farm for my office intranet or not
and I am asking you to give me solutions to some problems that I've
mentioned.
The scenario so far-
[1.] I downloaded xwiki-enterprise-installer-windows-1.2-milestone-1.exe and
installed the wiki into my computer.
[2.] I am using it to share data such as discussion topics, links to office
software tools and links to official documents.
[3.] I am using my computer as a server for access by other employees where
the wiki is running.
[4.] My access to the wiki pages is through 'localhost:8080' while others
are accessing it through the ip address (which when I enter in my own
machine gives me a page error). Now, when I make changes, I don't want to
always convert the ip address in the url into 'localhost' in the url bar...
so how I go about making changes more conveniently ?
[5.] Employees are registering themselves into the wiki but do not have the
edit privilege to edit specific pages where the documents are pasted. I do
not know how to go about doing that either...
Please give as much help as possible.
regards,
V. Harikrishnan Nair
--
View this message in context:
http://www.nabble.com/Use-of-Wiki-farm-tf4611518.html#a13169385
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
hi...
The XWiki page has a registration link through which I registered a new
user. But when I log in with that username and password, I get a message
saying that name/password is incorrect.
How do I rectify it and allow a large number of users (say 100) to use it ?
Thanks,
Harikrishnan
--
View this message in context: http://www.nabble.com/User-Registration-tf4606440.html#a13153351
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
We are trying to migrate XWiki in our company from 0.9.840 to XWiki 1.1.x.
What is the best way to approach the migration? I have done some googling
but there is no obvious migration guidelines available.
We have created a new database and deployed the latest XWiki to the new
database. However now we have to export the data from 0.9.840 (which does
not have a export tool) to this new database (which I assume the database
schema is different from 0.9.840).
Just wondering if anyone can provide us some insights? If anyone has any
scripts written to export the data out from 0.9.840 (as a XAR or others),
that will be really helpful.
Thanks.
Regards,
Zhao
For the Page class in XML-RPC setContent() takes a string? What if I want to
pass it a file so that the contents of a file are uploaded into XWiki? How
or can I do that?
(PS. I'm writing the program in Java)
Thanks.
Hello,
In the Blog.Macros, I would like to test whether the content area ($content)
is empty. If the content is empty, I would like to make the content area
invisible. If it is not empty, I would like to make this area visible.
Is there a way to do this in xwiki?
Thank you for your time and help in advance!
Hande
Hi ,
I have downloaded the latest Xwiki source code and build it using mvn.
I have deployed the .war file (which was generated in xwiki-platform-web/
folder) into weblogic server and i have changed the hibernate-cfg.xml file
in web-inf/ folder, and i placed the oracle driver in lib.
then i stared the server and run the url http://localhost:70001/xwiki/ and
clicked on "Xwiki home page" link then its giving the following error.
Error 500--Internal Server Error
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3005 in 3: Migration failed
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Unknown entity:
com.xpn.xwiki.store.migration.XWikiDBVersion
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
please help me out to solve this issue.
Thanks in Advance,
SAi kumar
--
View this message in context: http://www.nabble.com/Xwiki-%2B-Oracle-10g-tf4607796.html#a13157689
Sent from the XWiki- Users mailing list archive at Nabble.com.
I once pasted an article from MS Word to the WYSIWYG editor. I found all the
tab-spaces replaced by some unwanted characters. It was a real pain to
format the page after that.
Can there be a facility to allow formatting like MS Office or create a
plug-in for Open Office or something ?
--
View this message in context: http://www.nabble.com/WYSIWYG-editor-tf4606439.html#a13153345
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
This new 1.1 feature has been largely appreciated for our users! Thank
you so much.
But we are facing a situation I am not able to explain. In the same
XWiki installation (1.1 running on SuSE OES1 Linux and/or Mac OS X
10.4.10) some virtual wikis show the blue button at the top right of the
edition box correctly, thus Full Screen Editing Mode is available, but
other don't. The same is true while working with 1.2M1 installations.
I am not able remember/reproduce the steps causing this problem, but I
am pretty sure that all the wikis have shown this botton correctly when
created.
Please, could you figure out what is going wrong here? Are we changing
something, somewhere, affecting the availability of this button?
Thank you,
--
Ricardo Rodríguez
Your XEN ICT Team
Would anyone have an example of using XML-RPC in Java to create a new page
in XWiki? I found an example that uses swizzle and Confluence shown below
import org.codehaus.swizzle.confluence.Confluence;
import org.codehaus.swizzle.confluence.Page;
import java.util.HashMap;
public class AddPageExample {
public static void main(String[] args) throws Exception {
String username = "david";
String password = "snarf";
String endpoint = "http://docs.codehaus.org/rpc/xmlrpc";
Confluence confluence = new Confluence(endpoint);
confluence.login(username, password);
Page page = new Page(new HashMap());
page.setSpace("SWIZZLE");
page.setTitle("Test Page");
page.setContent("This is a test");
confluence.storePage(page);
confluence.logout();
}
}
How different would the implementation for XWiki be?
Thanks.