We try to move two Apps Within A Minute to another xwiki installation. The
files import properly but no icon appears on the left site under
applications. How can we achieve that the Apps Within A Minute will appear
as a real application and not only as pages.
Thank you!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Moving-Apps-within-a-minute-to-another-Xw…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
Yesterday I was testing my java component and after I have deleted some
pages from my wiki (I am running XWiki Enterprise 7.3) I started to get
some errors and malfunctioning such as: I don't see anymore any pages under
the "Deleted pages" index and when I try to delete some nested pages the
wiki is telling me that the deletion would affect several childern even if
those children are not diplayed anywhere. If I agree I got errors becase "I
don't have the permission to delete them" even if I am logged as
administrator.
When I see that I am not even able to call the methods from my java
component through the script service,( those method are in charge of
creating new pages as well XClasses and XObjects) I have decided to
unistall XWiki Enterprise and re-install it. Unfortunately I see that I
have the same errors.
Moreover after I have started the XWiki, before I click on the "XWiki Home"
icon on my desktop, I have noticed in the terminal the following warnings:
*[main] WARN ltInstalledExtensionRepository - Invalid extension
[org.xwiki.platform:xwiki-platform-wiki-ui-common-7.3] on namespace
[wiki:WIKINAME] (InvalidExtensionException: No compatible extension is
installed for dependency
[org.xwiki.platform:xwiki-platform-wiki-ui-common-7.3]*
And I get this warning for each wiki that I have created BEFORE I
UNISTALLED IT.
After I try to call my methods (that should creates wiki pages Xclasses and
Xobjects) it start working until I get a bunch of Exceptions and some ERROR
3002 and some ERROR 2002. The strange thing is that a couple of days ago it
worked fine.
So finally my question is how can I COMPLETELY delete everything that is
related to XWiki Enterprise in my computer and then perform a clean XWiki
Enterprise installation?
I hope to get a quick answer because this is my master thesis project and I
only need to perform some final testing as I am graduating in 40 days.
Please help me in find a solution
Giordano.
Hi
Which versions of Wildfly has Xwiki been tested on, if any?
I'm trying to deploy on 9.0.2 and am getting the following error - and it
fails to deploy:
17:19:23,505 ERROR [io.undertow.request] (
http://localhost:8080/xwiki/bin/view/Main/) UT005023: Exception handling
request to /xwiki/bin/view/Main/: javax.servlet.ServletException:
com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
Entity Resource Reference from URL [
http://localhost:8080/xwiki/bin/view/Main/]
at
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL [
http://localhost:8080/xwiki/bin/view/Main/]
at com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:808)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:752)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:236)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:191)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
... 55 more
Caused by: java.lang.RuntimeException: Failed to locate wiki descriptor for
alias [localhost]
at
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:80)
at
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
at
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
at
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
at
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
at
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
at
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
at
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
at
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:64)
at
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
at
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
at
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
at com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:805)
... 59 more
Caused by: org.xwiki.wiki.manager.WikiManagerException: Failed to locate
XWiki.XWikiServerClass document for wiki alias [localhost]
at
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:128)
at
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
at
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
at
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
... 71 more
Caused by: org.xwiki.query.QueryException: Exception while translating
[where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name
like 'XWikiServer%'] XWQL query to the [hql] language. Query statement =
[where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name
like 'XWikiServer%']
at
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:123)
at
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
at
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
... 74 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception
while reading document [xwiki:XWiki.XWikiServerClass]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:989)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680)
at com.xpn.xwiki.XWiki.getXClass(XWiki.java:5890)
at com.xpn.xwiki.XWiki.getClass(XWiki.java:5903)
at
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)
at
org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
at
org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
at
org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
at org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
at
org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
at
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:90)
... 77 more
Caused by: org.hibernate.HibernateException: Could not create a DBCP pool.
There is an error in the Hibernate configuration file, please review it.
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:232)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853)
... 89 more
Caused by: java.sql.SQLException: Cannot load JDBC driver class
'org.hsqldb.jdbcDriver'
at
org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2139)
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
... 99 more
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at org.xwiki.classloader.URIClassLoader$1.run(URIClassLoader.java:193)
at org.xwiki.classloader.URIClassLoader$1.run(URIClassLoader.java:180)
at java.security.AccessController.doPrivileged(Native Method)
at org.xwiki.classloader.URIClassLoader.findClass(URIClassLoader.java:179)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at
org.xwiki.classloader.xwiki.internal.ContextNamespaceURLClassLoader.loadClass(ContextNamespaceURLClassLoader.java:176)
at
org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2131)
... 102 more
Thanks
--
Anton Hughes
I started out with my system configured to use the hibernate attachment
storage and then later converted it to file storage using the Database to
Filesystem porter in the Admin Tools extension. Initially everything
appeared to work fine. Attached images reappeared on the pages after I ran
the porter. But now I'm finding that, if I load a new version of an
attachment image, the page continues to display the old version of the image
instead of the new one. If I edit the page, delete the image and then
reinsert it, the updated version is displayed in the WYSIWYG view. But after
I Save & View the page, the old version of the image is displayed. Even if I
delete the attachment completely from the list of attachments and the page
and then reload the new version (so that the old version is no longer
listed) and add it back to the page, the old version is still displayed.
My environment is as follows:
Debian 8, Java openjdk-7-jre-headless, postgresql 9.4.6, tomcat8
The problem occurs in both my production system on 7.4.1 and a new VM
created from scratch with 7.4.2.
Note that, in order to get the porter to work, I had to replace the groovy
script with the new version provided by Caleb as per
http://xwiki.475771.n2.nabble.com/Admin-Tools-database-to-filesystem-porter…
--
View this message in context: http://xwiki.475771.n2.nabble.com/New-versions-of-attachments-not-recognize…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
I'm trying new ways to spread the word about XWiki. One approach that seems
to be popular right now are review websites such as Getapp and G2Crowd. For
instance Drupal has a page on G2Crowd
<https://www.g2crowd.com/products/drupal/reviews>, so I thought it could be
interesting to try it out too.
In order to see whether this could work well for XWiki, I have created a
page on G2Crowd: *https://www.g2crowd.com/products/xwiki/reviews
<https://www.g2crowd.com/products/xwiki/reviews>*
It would be very cool if you could spend a bit of time to add a review of
your experience with XWiki there!
Thanks and happy XWikiing,
Guillaume
Hi all,
In various web applications these days it is now possible to copy and paste images into web pages which makes the process of adding an image to a document online so much easier as you do not need to save it off somewhere, then upload it. Copy and paste makes the process so much more efficient.
See the upload feature on http://imgur.com/ for example, where they also support drag and drop.
Thanks,
Stuart
Disclaimer: The contents of this E-mail plus any attachment is intended for the use of the addressee only and is confidential, proprietary and may be privileged. It will not be binding upon Trace Group or any group company (Trace). Opinions, conclusions, contractual obligations and other information in this message in so far as they relate to the official business of Trace must be specifically confirmed in writing by Trace. If you are not the intended recipient you must not copy this message or attachment, use or disclose the contents to any other person, but are requested to telephone or E-mail the sender and delete the message and any attachment from your system. Trace takes all reasonable precautions to ensure that no virus or defect is transmitted via this e mail, however Trace accepts no responsibility for any virus or defect that might arise from opening this E-mail or attachments.
Hi,
We use version 7.1.2. We created some groups in xwiki. And set up them in
LDAP menu. For example, perform next actions:
1. Create xwiki group `test`.
2. In LDAP menu in group mapping section input group name `xwiki.test` and
group in LDAP for mapping `CN=test.... `
It works, users login and appear in group, but after few weeks we see many
duplicated entries in group. If really in group must be ~200 users then
today I see ~4000. This problem exist almost in all LDAP groups.
Why xwiki duplicate user entries in groups? How to delete duplicated entries
in groups ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Duplicated-entries-in-group-from-LDAP-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
The login page of XWiki is situated in the XWiki space. From this space
it is not possible to load pages with a XMLHttpRequest in javascript. I
want to work around this by creating a seperate login page with exactly
the same content as the current XWiki login page.
I would like to know if this will pose a security risk or not. I do not
understand why it should but I am asking you to make sure I am not
forgetting anything.
If you like I can share the procedure with you because I think it can be
an improvement over the current situation.
Kind regards,
Jan-Paul Kleijn