Re: [xwiki-users] Tagging user to get their attention.

2017-03-08 Thread Oliver Angélil
Hi Vincent,

This is getting closer to what I had in mind but not exactly. What I am
suggesting is the ability to tag a user's name anywhere on the xwiki\. It
would work as follows:

   - type "@"
   - a dropdown menu appears with all usernames
   - select a username
   - that user will then be notified that his/her name has been mentioned,
   with the link the the location of the mention.

For example I could write in the comment section:
"John, should we meet tomorrow to discuss this page?"

The tagged name "John" could appear in a different colour being a link to
his profile; and he will somehow be notified of this comment when he logs
in. Without this feature, he may not notice my comment.

Thanks,
Oliver


On 8 March 2017 at 18:59, Vincent Massol <vinc...@massol.net> wrote:

> Hi Oliver,
>
> > On 6 Mar 2017, at 21:58, Oliver Angélil <molofi...@gmail.com> wrote:
> >
> > I feel it would be extremely handy to be able to tag someone's name in
> the
> > xwiki and the next time that person logs in, he/she will be notified and
> > directed to the page/comment where that happened. Perhaps a feature
> request
> > :)
>
> We also have the ability to send messages to people in the wiki, see:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Message%20Stream%
> 20Application/
>
> This should provide a feature similar to the one you wish I believe, WDYT?
>
> Thanks
> -Vincent
>
> > Thanks,
> > Oliver
> >
> > On 6 March 2017 at 19:16, Marius Dumitru Florea <
> > mariusdumitru.flo...@xwiki.com> wrote:
> >
> >> We have
> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/
> >> Share%20Page%20Application
> >> . The user gets notified through mail.
> >>
> >> On Sun, Mar 5, 2017 at 10:55 AM, Oliver Angélil <molofi...@gmail.com>
> >> wrote:
> >>
> >>> Is it possible to do this on a page to alert a user if you would like
> to
> >>> get them to view some page/comment? I.e. this is a useful feature on
> >>> Facebook, but then I guess most of don't use Facebook. ;)
> >>>
> >>> Thanks,
> >>> Oliver
> >>>
> >>
> >
> >
> >
> > --
> > *Oliver Marc Angélil*
> > PhD Candidate at the University of New South Wales, Australia
> > *http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*
> > <http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html>
>
>


-- 
*Oliver Marc Angélil*
PhD Candidate at the University of New South Wales, Australia
*http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*
<http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html>


Re: [xwiki-users] Tagging user to get their attention.

2017-03-06 Thread Oliver Angélil
I feel it would be extremely handy to be able to tag someone's name in the
xwiki and the next time that person logs in, he/she will be notified and
directed to the page/comment where that happened. Perhaps a feature request
:)

Thanks,
Oliver

On 6 March 2017 at 19:16, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> We have
> http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Share%20Page%20Application
> . The user gets notified through mail.
>
> On Sun, Mar 5, 2017 at 10:55 AM, Oliver Angélil <molofi...@gmail.com>
> wrote:
>
> > Is it possible to do this on a page to alert a user if you would like to
> > get them to view some page/comment? I.e. this is a useful feature on
> > Facebook, but then I guess most of don't use Facebook. ;)
> >
> > Thanks,
> > Oliver
> >
>



-- 
*Oliver Marc Angélil*
PhD Candidate at the University of New South Wales, Australia
*http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*
<http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html>


[xwiki-users] Tagging user to get their attention.

2017-03-05 Thread Oliver Angélil
Is it possible to do this on a page to alert a user if you would like to
get them to view some page/comment? I.e. this is a useful feature on
Facebook, but then I guess most of don't use Facebook. ;)

Thanks,
Oliver


[xwiki-users] How to use PDF viewer macro

2017-02-23 Thread Oliver Angélil
Hi all,

I'm using xwiki enterprise 8.4.4.

I've installed the PDF view macro
extension
(it appears as "installed" in the extensions manager).

How do I now view a PDF using it? See the attached screenshot. When I click
on the PDF, the file is downloaded locally. How can I view the PDF in the
browser?

Oliver


Re: [xwiki-users] Tomcat Error number 11007

2017-02-08 Thread Oliver Angélil
Here are the mysql database creation instructions on FreeBSD that finally
worked for me:

*In the mysql console...*
*mysql -u root -p *
(enter password in *.mysql_secret* file)
*SET PASSWORD = PASSWORD('my_new_password');*
*exit*


*In the FreeBSD command line...*
*mysql -u root -p -e "create database xwiki default character set utf8
collate utf8_bin"**mysql -u root -p -e "grant all privileges on *.*
to xwiki@192.168.1.8 <xwiki@192.168.1.8> identified by 'xwiki'" **(Where
192.168.1.8 is the local IP. Replacing "192.168.1.8" with "localhost" did
not work for me.)*
*mysql -u root -p -e "flush privileges"*


*Check what things look like...**mysql -u root -p -e "select host from
mysql.user where user = 'xwiki'"*

+--+
| host |
+--+
| 192.168.1.8 |
+--+

On 9 February 2017 at 07:08, Oliver Angélil <molofi...@gmail.com> wrote:

> Could someone with a working version of xwiki please execute the following
> command in mysql and let me know what is returned.
>
> *SELECT host FROM mysql.user WHERE User = 'xwiki';*
>
> Thanks,
> Oliver
>
> On 8 February 2017 at 02:39, Sergiu Dumitriu <ser...@xwiki.org> wrote:
>
>> On 02/07/2017 12:32 AM, Oliver Angélil wrote:
>> > Thanks Sergiu,
>> >
>> > Seems I had misunderstood the "replace the matching properties with the
>> > following ones" in the xwiki mysql installation instructions. I think I
>> > have done this part correctly now. Unfortunately I have encountered
>> another
>> > exception (pasted below).
>> >
>> > I am guessing the following is the problem: message from server: *"Host
>> > 'kokopu.ddns.net <http://kokopu.ddns.net>' is not allowed to connect to
>> > this MySQL server". *
>> >
>> > I'm doing this on FreeBSD. The main host is "kokopu" (192.168.1.7) and
>> the
>> > entire xwiki installation is in a FreeBSD jail (192.168.1.8).
>> >
>> > Oliver
>> >
>> > *type* Exception report
>> >
>> > *message* *com.xpn.xwiki.XWikiException: Error number 11007 in 0:
>> Failed to
>> > extract Entity Resource Reference from URL
>> > [http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/
>> > <http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/>]*
>> >
>> > *description* *The server encountered an internal error that prevented
>> it
>> > from fulfilling this request.*
>> >
>>
>> > *root cause*
>> >
>> > java.sql.SQLException: null,  message from server: "Host
>> > 'kokopu.ddns.net' is not allowed to connect to this MySQL server"
>>
>> This is no longer related to XWiki, but to security rules on the
>> operating system. I'm not familiar with FreeBSD, but I'd investigate
>> either mysql access rules ("grant" commands) or firewall rules.
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu
>>
>
>
>
> --
> *Oliver Marc Angélil*
> PhD Candidate at the University of New South Wales, Australia
> *http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*
> <http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html>
>



-- 
*Oliver Marc Angélil*
PhD Candidate at the University of New South Wales, Australia
*http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*
<http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html>


Re: [xwiki-users] Tomcat Error number 11007

2017-02-08 Thread Oliver Angélil
Could someone with a working version of xwiki please execute the following
command in mysql and let me know what is returned.

*SELECT host FROM mysql.user WHERE User = 'xwiki';*

Thanks,
Oliver

On 8 February 2017 at 02:39, Sergiu Dumitriu <ser...@xwiki.org> wrote:

> On 02/07/2017 12:32 AM, Oliver Angélil wrote:
> > Thanks Sergiu,
> >
> > Seems I had misunderstood the "replace the matching properties with the
> > following ones" in the xwiki mysql installation instructions. I think I
> > have done this part correctly now. Unfortunately I have encountered
> another
> > exception (pasted below).
> >
> > I am guessing the following is the problem: message from server: *"Host
> > 'kokopu.ddns.net <http://kokopu.ddns.net>' is not allowed to connect to
> > this MySQL server". *
> >
> > I'm doing this on FreeBSD. The main host is "kokopu" (192.168.1.7) and
> the
> > entire xwiki installation is in a FreeBSD jail (192.168.1.8).
> >
> > Oliver
> >
> > *type* Exception report
> >
> > *message* *com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed
> to
> > extract Entity Resource Reference from URL
> > [http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/
> > <http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/>]*
> >
> > *description* *The server encountered an internal error that prevented it
> > from fulfilling this request.*
> >
>
> > *root cause*
> >
> > java.sql.SQLException: null,  message from server: "Host
> > 'kokopu.ddns.net' is not allowed to connect to this MySQL server"
>
> This is no longer related to XWiki, but to security rules on the
> operating system. I'm not familiar with FreeBSD, but I'd investigate
> either mysql access rules ("grant" commands) or firewall rules.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu
>



-- 
*Oliver Marc Angélil*
PhD Candidate at the University of New South Wales, Australia
*http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*
<http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html>


Re: [xwiki-users] Tomcat Error number 11007

2017-02-06 Thread Oliver Angélil
Ignore the "kokopu". The exception should actually be *Host ''192.168.1.8'
is not allowed to connect to this MySQL server. *I had *1**92.168.1.8
kokopu.ddns.net <http://kokopu.ddns.net> kokopu* in /etc/hosts (in the
jail) for no good reason.

On 7 February 2017 at 16:32, Oliver Angélil <molofi...@gmail.com> wrote:

> Thanks Sergiu,
>
> Seems I had misunderstood the "replace the matching properties with the
> following ones" in the xwiki mysql installation instructions. I think I
> have done this part correctly now. Unfortunately I have encountered another
> exception (pasted below).
>
> I am guessing the following is the problem: message from server: *"Host
> 'kokopu.ddns.net <http://kokopu.ddns.net>' is not allowed to connect to
> this MySQL server". *
>
> I'm doing this on FreeBSD. The main host is "kokopu" (192.168.1.7) and the
> entire xwiki installation is in a FreeBSD jail (192.168.1.8).
>
> Oliver
>
> *type* Exception report
>
> *message* *com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed
> to extract Entity Resource Reference from URL
> [http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/
> <http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/>]*
>
> *description* *The server encountered an internal error that prevented it
> from fulfilling this request.*
>
> *exception*
>
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 
> 11007 in 0: Failed to extract Entity Resource Reference from URL 
> [http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/]
>   
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
>   
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
>   
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
>   
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>   org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>   
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>   
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>   
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>   
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
>
> *root cause*
>
> com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract 
> Entity Resource Reference from URL 
> [http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/]
>   com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:926)
>   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
>   
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>   
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
>   
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>   org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>   
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>   
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>   
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>   
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
>
> *root cause*
>
> java.lang.RuntimeException: Failed to locate wiki descriptor for alias 
> [192.168.1.8]
>   
> org.xwiki.url.internal.standard.AbstractWikiReferenc

Re: [xwiki-users] Tomcat Error number 11007

2017-02-06 Thread Oliver Angélil
ava:6065)
com.xpn.xwiki.XWiki.getClass(XWiki.java:6078)

com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)

org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)

org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)

org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)

org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)

org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)

org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)

org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)

org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)

org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)

org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)

org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)

org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)

org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)

org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)

org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)

org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)

org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)

org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)

org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)

org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)

org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/8.0.39 logs.*


On 7 February 2017 at 15:29, Sergiu Dumitriu <ser...@xwiki.org> wrote:

> On 02/06/2017 09:26 PM, Oliver Angélil wrote:
> > The full exception report is pasted below.
> >
> > I've followed the tomcat
> > <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat>
> >  and mysql
> > <http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL>
> > installation
> > instructions. I can see the tomcat homepage

[xwiki-users] Tomcat Error number 11007

2017-02-06 Thread Oliver Angélil
The full exception report is pasted below.

I've followed the tomcat

 and mysql

installation
instructions. I can see the tomcat homepage when navigating to h
ttp://192.168.1.8:8080/ in my browser, however
http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main results in
the error attached.

The output of *SELECT User FROM mysql.user; *in mysql is:

+---+

| User  |

+---+

| mysql.sys |

| root  |

| xwiki |

+---+

Although I'm not sure if this is a mysql problem. I'm running tomcat
v8.0.39 and mysql57-server v5.7.15_1

Thanks,
Oliver
--

*type* Exception report

*message* *com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL
[http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/
]*

*description* *The server encountered an internal error that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 11007 in 0: Failed to extract Entity Resource Reference from
URL [http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/]

org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)

*root cause*

com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL
[http://192.168.1.8:8080/xwiki-enterprise-web-8.4.4/bin/view/Main/]
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:926)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)

org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)

*root cause*

java.lang.RuntimeException: Failed to locate wiki descriptor for alias
[192.168.1.8]

org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:80)

org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)

org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)

org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)


Re: [xwiki-users] Xwiki in FreeBSD jail?

2017-01-31 Thread Oliver Angélil
Thanks Vincent and Patrick,

Maybe I'll try this docker thing that Vincent provided. Installing all the
components separately before installing the Xwiki .war seems laborious.

Now I wish I had Ubuntu so I could use app-get to install Xwiki ;)

Oliver

On 31 January 2017 at 20:41, Vincent Massol  wrote:

>
> > On 31 Jan 2017, at 08:50, Patrick M. Hausen  wrote:
> >
> > Hello,
> >
> >> I am reading these
> >> 
> >> installation instructions. Is installing Xwiki inside a freebsd jail
> >>  the recommended method?
> I.e.
> >> is it "strongly" recommend or is there not much to gain either way.
> >
> > Jails are just a form of leightweight VMs or containers (the new
> buzzword)
> > and I'd recommend using one to "contain" the application even if you do
> > not need it right now. At any time in the future you can e.g. just
> archive
> > the entire jail, transfer it to a different machine and just boot it ...
> >
> > The problem with the cited document is different:
> >
> > It's completely outdated! Neither is diablo-caffe-freebsd7-amd64-1.
> 6.0_07-b02.tar.bz2
> > a recommended current JRE nor is Tomcat 6 a recommended version
> > of Tomcat to run a current Xwiki.
> >
> > And the document doesn't even mention ZFS which gives so much
> > more power to the jail architecture. And iocage ... and ...
> >
> > If you are familiar with FreeBSD, I'd recommend setting up a
> > jail on FreeBSD 11 or 10.3, installing Tomcat and MySQL and then
> > trying to follow a generic "how to deploy Xwiki in Tomcat" document.
> >
> > Personally, even though we are running our entire hosting on
> > FreeBSD, set up single application servers on whatever
> > is best supported and requires the least work. And since
> > apt based installation of Xwiki is so much simpler, I run it on
> > Ubuntu.
>
> Yes apt is most likely the simplest solution, even though installing XWiki
> is also quite easy if you know how to install a servlet container (such as
> Tomcat) + a database (such as MySQL).
>
> FTR I’ve also published recently a docker container that contains
> everything setup, including a libreoffice server for office imports/view.
> See https://hub.docker.com/r/xwiki/xwiki-mysql-tomcat/
>
> I’ll soon document that on xwiki.org.
>
> Thanks
> -Vincent
>
>
> >
> > HTH,
> > Patrick
>
>


-- 
*Oliver Marc Angélil*
PhD Candidate at the University of New South Wales, Australia
*http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*



[xwiki-users] Xwiki in FreeBSD jail?

2017-01-30 Thread Oliver Angélil
Dear all,

I am reading these

installation instructions. Is installing Xwiki inside a freebsd jail
 the recommended method? I.e.
is it "strongly" recommend or is there not much to gain either way.

Thanks,
Oliver