[xwiki-users] Error when converting SVG to PDF
Hi all, I have been embedding svg inside html macro like this: {{html}} ... {{/html}} and usually I can convert the resulting page to PDF without any problem. However if I use *xmln:href* in the svg, the PDF converter throws an error and renders a blank PDF. Here's an example svg: https://jsfiddle.net/9dt5guab/1/ Here's the stack trace: ERROR o.a.f.a.FOUserAgent- SVG graphic could not be built. Reason: org.apache.batik.bridge.BridgeException: file:/opt/web/base/./:-1 The attribute "xlink:href" of the element is required org.apache.batik.bridge.BridgeException: file:/opt/web/base/./:-1 The attribute "xlink:href" of the element is required at org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(Unknown Source) at org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) at org.apache.batik.bridge.GVTBuilder.build(Unknown Source) at org.apache.fop.render.pdf.PDFImageHandlerSVG.handleImage(PDFImageHandlerSVG.java:104) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:249) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:205) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:170) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:319) at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:286) at org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1314) at org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:862) at org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:832) at org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:864) at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:715) at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:928) at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:690) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:572) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557) at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:457) at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:785) at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:434) at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:358) at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:305) at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:739) at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:270) at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:243) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:587) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:315) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:216) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:140) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at
Re: [xwiki-users] Document macro doesn't display all documents
Thanks, I figured it out as well! On Mon, Oct 24, 2016 at 1:18 PM, Vincent Massol <vinc...@massol.net> wrote: > > > On 24 Oct 2016, at 19:15, Vincent Massol <vinc...@massol.net> wrote: > > > > > >> On 24 Oct 2016, at 19:14, Dibyendu Das <dibyendu@gmail.com> wrote: > >> > >> Thanks for the suggestion. But I am need a livetable display, how would > I > >> go about that? > > > > You can use the {{documents/}} macro and the “location” parameter. > > Ah actually this is what you were using, I misread :) > > So you need to use the “location” parameter instead of the “parent” one. > > See http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro > (I’ve updated it). > > Thanks > -Vincent > > > > > Thanks > > -Vincent > > > >> On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vinc...@massol.net> > wrote: > >> > >>> Hi, > >>> > >>>> On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu@gmail.com> > wrote: > >>>> > >>>> Hi, > >>>> > >>>> I am using this macro in one of my pages: > >>>> > >>>> {{velocity}} > >>>> {{documents parent="$doc.fullName"/}} > >>>> {{/velocity}} > >>>> > >>>> However, it doesn't display all child documents of this page. Why is > >>> that? > >>> > >>> The doc is here: > >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/ > Document+Tree+Macro# > >>> HParameters > >>> > >>> As you can see the “parent’ parameter doesn’t seem to exist.. > >>> > >>> If you wish to display children ,you could use the {{children/}} macro > if > >>> you’re using XWiki 8.3+, see: > >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/ > >>> > >>> Otherwise you can use: > >>> > >>> {{velocity}} > >>> {{documentTree root="document:$doc.documentReference" /}} > >>> {{/velocity}} > >>> > >>> Thanks > >>> -Vincent > >>> > >>>> Thanks > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Document macro doesn't display all documents
Thanks for the suggestion. But I am need a livetable display, how would I go about that? On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vinc...@massol.net> wrote: > Hi, > > > On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu@gmail.com> wrote: > > > > Hi, > > > > I am using this macro in one of my pages: > > > > {{velocity}} > > {{documents parent="$doc.fullName"/}} > > {{/velocity}} > > > > However, it doesn't display all child documents of this page. Why is > that? > > The doc is here: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro# > HParameters > > As you can see the “parent’ parameter doesn’t seem to exist.. > > If you wish to display children ,you could use the {{children/}} macro if > you’re using XWiki 8.3+, see: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/ > > Otherwise you can use: > > {{velocity}} > {{documentTree root="document:$doc.documentReference" /}} > {{/velocity}} > > Thanks > -Vincent > > > Thanks > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Document macro doesn't display all documents
Hi, I am using this macro in one of my pages: {{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}} However, it doesn't display all child documents of this page. Why is that? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki migration and extensions
Hi, I have XWiki running in a test environment, and want to move to another server for production. Currently I have deployed it by extracting the war file in a jetty server and a mysql database, and there are some extensions installed using the extension manager. To migrate to another server, is it sufficient to migrate the database and use a new war file in the new server, do I need to use the same xwiki folder inside webapps? In other words, does installing extensions add files to the file system? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Attachment naming convention
Hi all, Is it possible to enforce naming conventions on file attachments in XWiki? Let's say I want all files attached under a certain space to have a prefix added to their name, can that be done? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Ldap authentication
I was able to get the LDAP working using the GUI of ldap application finally. However, if I uninstall both the LDAP Authenticator and the LDAP Application extensions from the extensions manager, the LDAP application still remains in the XWiki Administration page, and I am able to use the GUI to set the values. Is this expected? Thanks On Sat, Sep 10, 2016 at 2:53 AM, Thomas Mortagne <thomas.morta...@xwiki.com> wrote: > On Fri, Sep 9, 2016 at 10:22 PM, Dibyendu Das <dibyendu@gmail.com> > wrote: > > Hi, > > > > I am trying to set up Ldap integration, and have installed both LDAP > > Authenticator and LDAP Application. > > I am using XWiki 8.2.1. > > > > In my xwiki.cfg file I have the following settings in the LDAP section: > > > > #-# LDAP authentication service > > > > xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP. > XWikiLDAPAuthServiceImpl > > xwiki.authentication.ldap=1 > > xwiki.authentication.ldap.server=the.ldap.server > > xwiki.authentication.ldap.port=389 > > xwiki.authentication.ldap.bind_DN=cn={0},ou=something1, > ou=something2,ou=something3,dc=something4,dc=something5, > dc=something6,dc=something7 > > xwiki.authentication.ldap.bind_pass={1} > > xwiki.authentication.ldap.base_DN= > > xwiki.authentication.ldap.fields_mapping=last_name=sn, > first_name=givenName,email=mail > > xwiki.authentication.ldap.update_user=1 > > xwiki.authentication.ldap.trylocal=1 > > If you plan to setup LDAP using xwiki.cfg, you can get rid of the > "LDAP Application" which only job is to help set fields in > XWikiPreferences. If you remove the application empty all the fields > you set with it since they overwrite xwiki.cfg. > > Also you are using core LDAP authentication configuration here so you > don't need to install "LDAP Authenticator" extension. See > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication# > HLDAPAuthentication. > > > > > Rest of the lines are commented. Note that there's nothing in base_DN > > field. I have provided the same values > > in bin/admin/XWiki/XWikiPreferences?editor=globaladmin=LDAP& > space=XWiki. > > > But the page shows ldap.missingLdapService at the top of the page. > > There seems to be an issue with the translation associated to key > "ldap.missingLdapService" which should display: "LDAP service is not > available. Please verify your installation." which mean the > application cannot find the LDAP script service (used by the > application to retrieve values from the LDAP server). It has nothing > do to with whatever field you set and have nothing to do with the > authentication itself, it just reduce a bit the features of the UI > which become the static form you see. > > > > > Any ideas why this is happening? > > > > Thanks > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki Ldap authentication
Hi, I am trying to set up Ldap integration, and have installed both LDAP Authenticator and LDAP Application. I am using XWiki 8.2.1. In my xwiki.cfg file I have the following settings in the LDAP section: #-# LDAP authentication service xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=the.ldap.server xwiki.authentication.ldap.port=389 xwiki.authentication.ldap.bind_DN=cn={0},ou=something1,ou=something2,ou=something3,dc=something4,dc=something5,dc=something6,dc=something7 xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.base_DN= xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail xwiki.authentication.ldap.update_user=1 xwiki.authentication.ldap.trylocal=1 Rest of the lines are commented. Note that there's nothing in base_DN field. I have provided the same values in bin/admin/XWiki/XWikiPreferences?editor=globaladmin=LDAP=XWiki. But the page shows ldap.missingLdapService at the top of the page. Any ideas why this is happening? Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configuring CKEditor Plugins
Thanks the replies. I am able to use the plugins in GWT, however one thing I noticed is that no matter what font and fontsize I choose, it forces me to write in a standard font and size. Is it because of the format plugin? On Thu, Sep 1, 2016 at 5:42 AM, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > On Thu, Sep 1, 2016 at 10:34 AM, Vincent Massol <vinc...@massol.net> > wrote: > > > Hi, > > > > > On 31 Aug 2016, at 17:32, Dibyendu Das <dibyendu@gmail.com> wrote: > > > > > > Hi, > > > > > > How do I add the font color option to the WYSIWYG editor (CKEditor)? > > > > I don’t know; I’ll let Marius answer this one. > > > > @Marius: Do we have documentation for the CKEditor WYSIWYG for > configuring > > it or extending it? (I’m seeing several questions on the lists on these > > topics and it would be good to have something as we had for the GWT one). > > > > Yes, > http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration > > > > > > > I > > > included the plugin color in Wiki Administration -> Applications -> > > WYSIWYG > > > Editor and added color to toolbar, but it doesn't show up. Similarly I > > > added the plugins font and justify, and added them to the toolbar, but > > they > > > don't show up either. > > > > I think the WYSIWYG editor entry in the Admin UI is for the old WYSIWYG > > (the GWT one) and thus doesn’t affect the CKEditor one. > > > > What we discussed doing is to make this admin section support both > WYSIWYG > > editor in the near future. > > > > @Marius: do we have a jira issue for this? If not, could you create one? > > > > Yes, http://jira.xwiki.org/browse/XWIKI-13654 > > > > > > ATM we still don’t have an Admin UI for CKEditor, see > > http://jira.xwiki.org/browse/CKEDITOR-32 > > > > @Marius: any idea when this is planned (AFAIR we had this planned for the > > previous releases but it skipped). I know that the focus for this release > > is Nested Pages for you. I’m wondering when we’ll be able to fit this > one. > > We can brainstorm offline about it. > > > > It's not on the roadmap but it is on my TODO list. If we start simple with > just a plain text area where you can edit the JSON configuration for the > editor then I should be able to include it in 8.3. This is also the most > flexible solution as there are a lot of configuration options available. > Otherwise, if we want a fancy UI then it requires more work and I'm not > sure it will fit in 8.3 > > Thanks, > Marius > > > > > > Thanks > > -Vincent > > > > > Thanks > > > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Configuring CKEditor Plugins
Hi, How do I add the font color option to the WYSIWYG editor (CKEditor)? I included the plugin color in Wiki Administration -> Applications -> WYSIWYG Editor and added color to toolbar, but it doesn't show up. Similarly I added the plugins font and justify, and added them to the toolbar, but they don't show up either. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Enabling Statistics in XWiki
Thanks, installing the statistics application did the work. On Wed, Aug 31, 2016 at 5:00 AM, Vincent Massol <vinc...@massol.net> wrote: > FWIW I’ve also modified the xwiki.cfg file we generate and it now contains > some more info: > https://github.com/xwiki/xwiki-platform/blob/master/ > xwiki-platform-tools/xwiki-platform-tool-configuration- > resources/src/main/resources/xwiki.cfg.vm#L524 > > I hope it’ll help a little bit in the future… > > Thanks > -Vincent > > > On 30 Aug 2016, at 19:40, Vincent Massol <vinc...@massol.net> wrote: > > > > Hi, > > > >> On 30 Aug 2016, at 19:17, Dibyendu Das <dibyendu@gmail.com> wrote: > >> > >> Hi, > >> > >> I am trying to enable statistics in XWiki without any success. My > xwiki.cfg > >> for the settings look like this: > >> > >> *#-# Stats configuration allows to globally activate/deactivate stats > >> module (launch storage thread, register events...).* > >> *#-# Enabled by default.* > >> *xwiki.stats=1* > >> *#-# When statistics are globally enabled, storage can be > enabled/disabled > >> by wiki using the XWikiPreference property* > >> *#-# "statistics".* > >> *#-# Note: Statistics are disabled by default for improved > >> performances/space.* > >> *xwiki.stats.default=1* > > > > This enables statistics, which means stats are stored in the DB and an > API allow to query them. > > > >> I have restarted my server after changing this but to no effect. The > >> statistics application still says it is disabled. Anyone knows why? > > > > You need to install the statistics application if you wish to have some > UI to query the stats in the DB, see: > > http://extensions.xwiki.org/xwiki/bin/view/Extension/ > Statistics+Application > > > > The reason you’re confused is probably because it was previously bundled > by default: > > "Bundled by default in XWiki Enterprise from XWiki 1.2-rc-1 till XWiki > 7.4.x (not bundled anymore by default in XWiki 8.0+)" > > > > Thanks > > -Vincent > > > >> XWiki 8.2.1 on Jetty 9.3.11 and Java 8 > >> > >> Thanks, > >> Dib > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Enabling Statistics in XWiki
Hi, I am trying to enable statistics in XWiki without any success. My xwiki.cfg for the settings look like this: *#-# Stats configuration allows to globally activate/deactivate stats module (launch storage thread, register events...).* *#-# Enabled by default.* *xwiki.stats=1* *#-# When statistics are globally enabled, storage can be enabled/disabled by wiki using the XWikiPreference property* *#-# "statistics".* *#-# Note: Statistics are disabled by default for improved performances/space.* *xwiki.stats.default=1* I have restarted my server after changing this but to no effect. The statistics application still says it is disabled. Anyone knows why? XWiki 8.2.1 on Jetty 9.3.11 and Java 8 Thanks, Dib ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki behind proxy
Hi Vincent, thanks for pointing out the documentation. For the record I used the following command to start jetty with proxy options: java -jar start.jar -Dhttp.proxyHost=my.proxy.ip.addr -Dhttp.proxyPort=proxy_port -Dhttps.proxyHost=my.proxy.ip.addr -Dhttps.proxyPort=proxy_port --exec Regards, Dib On Fri, Aug 26, 2016 at 3:10 PM, Vincent Massol <vinc...@massol.net> wrote: > Hi, > > Have you checked http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ > Installation#HRunningXWikibehindproxy-server ? > > Thanks > -Vincent > > > On 26 Aug 2016, at 20:51, Dibyendu Das <dibyendu@gmail.com> wrote: > > > > Hi, > > > > I tried running XWiki on a Jetty server on a Windows box behind a proxy > > server and get the following error. I have configured the environment > > variables http_proxy and https_proxy correctly. Anyone knows why this > error > > is showing? > > > > 2016-08-26 14:41:43,973 [Core extension repository updater] ERROR > > aultExtensionRepositoryManager - Unexpected error when trying to find > > extension > > [org.xwiki.platform:xwiki-platform-search-solr-server-plugin-8.2.1] in > > repository [maven-xwiki:maven:http://nexus.xwiki.org/ > > nexus/content/groups/public] > > org.xwiki.extension.ResolveException: Failed to resolve artifact > > [org.xwiki.platform:xwiki-platform-search-solr-server-plugin:jar:8.2.1] > > descriptor > >at > > org.xwiki.extension.repository.aether.internal. > AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:398) > >at > > org.xwiki.extension.repository.aether.internal. > AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:381) > >at > > org.xwiki.extension.repository.aether.internal. > AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:375) > >at > > org.xwiki.extension.repository.aether.internal. > AetherExtensionRepository.resolve(AetherExtensionRepository.java:192) > >at > > org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMana > ger.resolve(DefaultExtensionRepositoryManager.java:212) > >at > > org.xwiki.extension.repository.internal.core. > DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner. > java:213) > >at > > org.xwiki.extension.repository.internal.core. > DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository > .java:136) > >at java.lang.Thread.run(Unknown Source) > > Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: > Could > > not transfer artifact > > org.xwiki.platform:xwiki-platform-search-solr-server-plugin:pom:8.2.1 > > from/to maven-xwiki (http://nexus.xwiki.org/nexus/content/groups/public > ): > > Connect to nexus.xwiki.org:8 > > 0 timed out > >at > > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve( > DefaultArtifactResolver.java:444) > >at > > org.eclipse.aether.internal.impl.DefaultArtifactResolver. > resolveArtifacts(DefaultArtifactResolver.java:246) > >at > > org.eclipse.aether.internal.impl.DefaultArtifactResolver. > resolveArtifact(DefaultArtifactResolver.java:223) > >at > > org.xwiki.extension.repository.aether.internal. > AetherExtensionRepository.loadPom(AetherExtensionRepository.java:509) > >at > > org.xwiki.extension.repository.aether.internal. > AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:392) > >... 7 common frames omitted > > Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could > not > > transfer artifact > > org.xwiki.platform:xwiki-platform-search-solr-server-plugin:pom:8.2.1 > > from/to maven-xwiki (http://nexus.xwiki.org/nexus/content/groups/public > ): > > Connect to nexus.xwiki.org:80 ti > > med out > >at > > org.eclipse.aether.connector.basic.ArtifactTransportListener. > transferFailed(ArtifactTransportListener.java:43) > >at > > org.eclipse.aether.connector.basic.BasicRepositoryConnector$ > TaskRunner.run(BasicRepositoryConnector.java:355) > >at > > org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run( > RunnableErrorForwarder.java:67) > >at > > org.eclipse.aether.connector.basic.BasicRepositoryConnector$ > DirectExecutor.execute(BasicRepositoryConnector.java:581) > >at > > org.eclipse.aether.connector.basic.BasicRepositoryConnector.get( > BasicRepositoryConnector.java:249) > >at > > org.eclipse.aether.internal.impl.DefaultArtifactResolver. > p
[xwiki-users] XWiki behind proxy
Hi, I tried running XWiki on a Jetty server on a Windows box behind a proxy server and get the following error. I have configured the environment variables http_proxy and https_proxy correctly. Anyone knows why this error is showing? 2016-08-26 14:41:43,973 [Core extension repository updater] ERROR aultExtensionRepositoryManager - Unexpected error when trying to find extension [org.xwiki.platform:xwiki-platform-search-solr-server-plugin-8.2.1] in repository [maven-xwiki:maven:http://nexus.xwiki.org/ nexus/content/groups/public] org.xwiki.extension.ResolveException: Failed to resolve artifact [org.xwiki.platform:xwiki-platform-search-solr-server-plugin:jar:8.2.1] descriptor at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:398) at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:381) at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:375) at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolve(AetherExtensionRepository.java:192) at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:212) at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.java:213) at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository.java:136) at java.lang.Thread.run(Unknown Source) Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.xwiki.platform:xwiki-platform-search-solr-server-plugin:pom:8.2.1 from/to maven-xwiki (http://nexus.xwiki.org/nexus/content/groups/public): Connect to nexus.xwiki.org:8 0 timed out at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223) at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.loadPom(AetherExtensionRepository.java:509) at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:392) ... 7 common frames omitted Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.xwiki.platform:xwiki-platform-search-solr-server-plugin:pom:8.2.1 from/to maven-xwiki (http://nexus.xwiki.org/nexus/content/groups/public): Connect to nexus.xwiki.org:80 ti med out at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355) at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) ... 11 common frames omitted Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to nexus.xwiki.org:80 timed out at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:122) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:164) at org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:318) at org.eclipse.aether.transport.http.HttpTransporter.implGet(HttpTransporter.java:274) at
Re: [xwiki-users] Add new user behavior
Thanks, just to add, this happened on XWiki 7.4.4. On Wed, Aug 24, 2016 at 3:27 PM, Vincent Massol <vinc...@massol.net> wrote: > Hi, > > > On 24 Aug 2016, at 21:19, Dibyendu Das <dibyendu@gmail.com> wrote: > > > > Hi, > > > > I am testing XWiki enterprise and noticed the following behavior: if I > > click on *Add new user* in the *Administration: Users* section, a user > > registration form comes up. If I click on *Cancel* now, it redirects to > the > > url. > > > > http://localhost:8080/bin/view/XWiki/XWikiPreferences? > xpage=registerinline > > > > which contains the registration form but without any layout or style > > information. If I click on *Cancel* again, it doesn't redirect anywhere. > Is > > this an expected behavior? > > No it’s not (but it won’t cause any problem). > > You could create a jira issue if you want it fixed in the future: > http://jira.xwiki.org > > Thanks! > -Vincent > > > Note that XWiki is in the root folder in the server. > > > > Thanks > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Add new user behavior
Hi, I am testing XWiki enterprise and noticed the following behavior: if I click on *Add new user* in the *Administration: Users* section, a user registration form comes up. If I click on *Cancel* now, it redirects to the url. http://localhost:8080/bin/view/XWiki/XWikiPreferences?xpage=registerinline which contains the registration form but without any layout or style information. If I click on *Cancel* again, it doesn't redirect anywhere. Is this an expected behavior? Note that XWiki is in the root folder in the server. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users