Hello,
The issue is that registration emails are not sent by XWiki, they get stuck
in 'prepare_success' status (seen in "Administration: Mail Sending Status").
No errors. Even in MySQL 'mail_errorDescription' and 'mail_errorSummary'
fields.
Similar issue was asked some time ago
<http://xwiki.475771.n2.nabble.com/Help-configuring-Email-Sending-for-User-v…>
by another user but with no resolution.
Some additional info:
I have a fresh install of XWiki Enterprise 8.4.4 under Apache Tomcat 7.0.73
(Oracle Java 1.8.0_112-b15) with MySQL 5.5 under Debian Wheezy.
Enterprise Flavor, no other addons or extensions were installed.
I have set some internal logging to TRACE level while trying to understand
the underlying reason. Filtered logging by 'mail' and enabled all 13
loggers. Still not that much useful info in logs.
I am pretty sure that email is configured properly (I can send page as an
email to myself using current SMTP setup and I receive it all right). Logs:
Logs look different when user is registering:
And that's it. These messages won't be sent, ever. 'Resend' button in admin
panel does not help either.
Please advise.
Also I can change almost everything as this is my personal dedicated server,
and I hope we can resolve this issue.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Email-Validation-stuck-in-prepare-success…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
We are (still) running xwiki 6.4.4 and last week we have switched from
ajp to http, because we have reasons to think it could solves our issue
at http://jira.xwiki.org/browse/XWIKI-12125
Now we run into the following side-effect as we run apache/tomcat with
http connector, it prevents us to upload files to wikis.
The error is when we try to upload a file to
https://mysite.ltd/bin/view/test/tutu (notice, https).
We get, in red, at the bottom "An error occurred while uploading
xxx.jpg" error when upload a file on page.
firebug says: Blocage du chargement du contenu mixte actif (mixed active
content) «
http://mysite.tld/bin/get/test/tutu?xpage=attachmentslist&forceTestRights=1
»
Sorry it's in French - but it basically says that mixed active content
loading has been blocked...
I don't understand why the URL /bin/get above have "http" instead of
"https".
The configuration is as follow,
apache:
<VirtualHost xxx:443>
ServerName ...
# SSL Config...
...
ProxyPreserveHost On
# This one has been disabled in favor to http
# to test if it solve XWIKI-12125
#ProxyPass / ajp://localhost:1234/ retry=5
#ProxyPassReverse / ajp://localhost:1234/
# This one fails with file upload to xwiki
ProxyPass / http://localhost:5678/ retry=5
ProxyPassReverse / http://localhost:5678/
</VirtualHost>
both tomcat connectors are like that:
<Connector port="5678" protocol="HTTP/1.1" URIEncoding="UTF-8"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="1234" protocol="AJP/1.3" redirectPort="8443"
connectionTimeout="10000" maxConnections="500"/>
What could be the issue ?
Cheers,
Martin
My learning environment for xwiki 8.4.3 involves sql server 2012 as the data
store. Apparently sql server is not officially supported by xwiki. It would
be interesting to hear if any xwiki deploys out there do use sql server as
the data store? If it's really rare I'll move to postgresql.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Anyone-using-xwiki-with-sql-server-tp7603…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am Sarthak Gupta, a first year undergraduate from Birla Institute of
Technology, Ranchi, India. I am looking forward to participate in GSoc17
with the organisation. I am good at several languages like HTML, CSS,
JavaScript and C. I have a basic knowledge of Java.
While going through the ideas page, I found that the project "Translation
in context" http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/#
HTranslationincontext
would be interesting for me to work on.
This is what I understood:
So, the X-wiki provides a 'translation macro' which is of course used to
translate content. So, as far as I think, this translation macro will be
used in a more better way to translate the content on the page. As given we
will be able to select and translate any given content on the webpage.
Using HTML5 renderer, I will be able to find the translation macro(how to
do that is my pain I guess :P). Then as given in examples (like
pantoon.mozilla.org), I should be able to incorporate it into the webpage.
Please correct me if something's wrong.
Also some guidance on the line "The idea is also to make easy to contribute
to http://l10n.xwiki.org from your local wiki by sending your corrections
to it." is required.
Sarthak Gupta
Hi,
I've created an issue on jira as XWIKI-14091. However, I would like to discuss about it here since I'm struggling whether I should use the default English language to maintain my wiki (the real content is not English) or wait for the bug fix.
Following is the step to reproduce the issue
1. In Administration: Localization section, change the MULTILINGUAL to TRUE , include English and other languages as SUPPORTED LANGUAGES and set a language other than English as DEFAULT LANGUAGE.
2. With default language not English, create a new page like "Test", add some contents in this page like "I'm using XWiki.".
3. Wait for a minute (in case that the new page is not yet indexed) and search for "XWiki".
4. The new page is not included in the search result as Rendered Document Content.
However, if I create a new page in English and the content is included in the search result. So I wonder if it is because the content in other languages is not indexed by Solr.
Hello All,
Is there an official way to customise the breadcrumb control?
I managed to sneak this css into the skin colour customise area, in the
advanced section, the house icon and first level has gone.
/* add here your custom rules */
ol#hierarchy > li.wiki {
display:none;
}
li.space:before {
content:"" !important;
}
Now I want the house back but going to the current wiki home page,
rather than the parent wiki home page.
Keith
On 8 Mar 2017, at 20:44, Keith H wrote:
> Hello,
>
> I have configured xwiki as a wikifarm serving several domains, and its
> great, but there is one particular anomaly.
>
> Most of my initial users will be using the top level wiki
>
> A - B
> - C
> - D
>
> Each of the wiki’s is not equal. The user using wiki C under one
> domain name, sees a breadcrumbs trail, and a little house icon that
> takes him to wiki A in a completely different domain, rather than to
> the Homepage of the domain she started in.
>
> Is there a simple fix?
>
> thanks in advance
>
> Keith
Hi,
i have the following problem. I wrote Wikipages (under Home) on my win10-machine and exported them via the admin menu. Then i imported them in out new 9.1.2 instance (same machine). I was able to open the pages but then i see only the blue spinning wheel. I always used the default Values fort he export/import. What was wong?
Br
Steffen
Hi,
In an XWiki Application I created I want to make sure documents created
within it get named in a specific pattern from the fields filled inside
them.
Currently I use a custom button to redirect the user to a new document with
a dummy name so he doesn't need to fill the name (that should get
overwritten anyway on saving) but only the relevant fields.
Something like
#set ( $createDocLink = $xwiki.getURL($document, 'inline',
"template=${escapetool.url($urlTemplate)}&parent=${escapetool.url($urlParent)}&title=${escapetool.url($urlTitle)}")
)
This leads to a new document as defined in the application sheet with the
name 'New document'.
Now I want the user to fill 3 fields ('freetext1', 'freetext2',
'dropdown1'), click 'Save & View' or a custom button. Then the document
should be saved as '<freetext1> - <freetext2> (<dropdown1>)' and the user
should be redirected to that page in view mode.
I've tried different approaches including a temporary creation page with
the 3 fields as HTML input fields (can't use the applications dropdown),
event listeners (the redirect after saving doesn't work) ...
Additionally the same must be done when a page is edited (one of the 3
fields is changed).
Please help me find a sane approach before I bite the table.
Regs, Dennis
Hi All,
Sorry for the dumb question. I've installed CentOS-7.2, Java-1.8, MySQL 5.7, Tomcat 9.0.0, XWiki 8.4.3. I've built jsvc and have created a startup script, catalina_start. But now I want a stop script, and to integrate with systemctl/systemd on CentOS-7. I see the page at https://www.weblab360.com/User:xltran/App/xWiki/Installation/CentOS_7 which shows the form of the systemd script /etc/systemd/system.xwiki.service:
-------------------------------------------------------
[Unit]
Description=xWiki Service
After=network.target
[Service]
Type=simple
User=root
ExecStart=/bin/bash /usr/local/xwiki/start_xwiki.sh -p 80
ExecStop=/bin/bash /usr/local/xwiki/stop_xwiki.sh -p 80
Restart=on-abort
[Install]
WantedBy=multi-user.target
-----------------------------------------------
But, I have no /usr/local/xwiki and thus no start-xwiki.sh and stop_xwiki.sh. I installed from .war and don't see those scripts in /opt/apache-tomcat-9.0.0.M15/webapps/xwiki/.
Okay, well, I have a catalina_start that works, so I can use that. But for the stop? When I say "$CATALINA_HOME/bin/catalina.sh stop" or "$CATALINA_HOME/bin/shutdown.sh", I get the following:
[root@pwswiki10 opt]# $CATALINA_HOME/bin/shutdown.sh
Using CATALINA_BASE: /opt/apache-tomcat-9.0.0.M15
Using CATALINA_HOME: /opt/apache-tomcat-9.0.0.M15
Using CATALINA_TMPDIR: /opt/apache-tomcat-9.0.0.M15/temp
Using JRE_HOME: /usr/java/jdk1.8.0_25
Using CLASSPATH: /opt/apache-tomcat-9.0.0.M15/bin/bootstrap.jar:/opt/apache-tomcat-9.0.0.M15/bin/tomcat-juli.jar
Mar 01, 2017 5:12:16 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Could not contact localhost:8005. Tomcat may not be running.
Mar 01, 2017 5:12:16 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:476)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:408)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:497)
What have I neglected to do?
Thanks in advance
Doug
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
We have a page that fails when we attempt to rollback, other pages seem to
work fine:
Detailed information:
Error number 0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:474)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
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:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of range: -29
at java.lang.String.substring(Unknown Source)
at org.xwiki.store.legacy.store.internal.FilesystemAttachmentRecycleBinStore.getDocumentReference(FilesystemAttachmentRecycleBinStore.java:472)
at org.xwiki.store.legacy.store.internal.FilesystemAttachmentRecycleBinStore.deletedAttachmentFromProvider(FilesystemAttachmentRecycleBinStore.java:445)
at org.xwiki.store.legacy.store.internal.FilesystemAttachmentRecycleBinStore.getAllDeletedAttachments(FilesystemAttachmentRecycleBinStore.java:295)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6560)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:68)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:446)
... 47 more
--
Keith Davis
214-906-5183