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