Re: [xwiki-users] View rights and Edit rights... and some weird stuff

2010-12-10 Thread Sergiu Dumitriu
On Thu, Dec 9, 2010 at 23:46, Paul Harris harris...@gmail.com wrote:
 On 9 December 2010 22:30, Sergiu Dumitriu ser...@xwiki.com wrote:

 On 12/09/2010 02:28 AM, Paul Harris wrote:
  On 9 December 2010 09:21, Paul Harrisharris...@gmail.com  wrote:
 
  Hi again,
 
  I wanted to protect my Website Admin from any non-admins,
  So I edited the Rights to that space, and clicked the 'View' button on
  'XWikiAllGroup' until it was a red cross.
  Then I checked in the other webbrowser (logged in as a regular user),
 and
  sure enough, I couldn't view the page.
 
  However, I then went to this address:
  http://domain.com/xwiki/edit/Website+Admin/
  and the regular user was able to edit the page!  which also includes a
  'Preview' button, which shows them a View!
 
  not good.
 
 
  After I removed ALL the rights to the AllUsers group, I noticed that
  unregistered users are able to view the space.
 
  What happens when I add more groups to the wiki, will those users be able
 to
  view the space?  Or will they be covered by AllUsers?
 
  I don't find this intuitive... I haven't thought this through, but I
  would've preferred to be able to switch OFF all rights, and then switch
 on
  the rights to the users/groups I want to edit.

 Switching on some rights automatically has the effect of switching off
 the default rights, which means if a right is not explicitly granted, it
 is considered forbidden. Not very intuitive, I know.


 That doesn't seem to be the case, as I said, I turned off some of the rights
 (View), and yet another right (Edit) for the same bunch of users was still
 allowed.  Switching off some of the rights did *not* have the effect of
 switching off the default rights.

 Or do I have to switch on some rights in order to get the behaviour you are
 talking about?


Rights are not connected to each other, that means that no view
rights doesn't imply no other rights, even if logically edit is
stronger than view.

Also allow edit, admin, comment for the users that should have these rights.

Note that the rights implementation is going to change soon, see
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-security-rightservice/

-- 
http://purl.org/net/sergiu
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Confusion over XWord versions

2010-12-10 Thread Florin Ciubotaru
Hi Paul,

Indeed, if you want your custom build you will need you own .pfx.

Florin Ciubotaru

On Wed, Dec 8, 2010 at 2:39 PM, Paul Harris harris...@gmail.com wrote:

 On 8 December 2010 20:16, Paul Harris harris...@gmail.com wrote:

 
 
  On 7 December 2010 21:34, Paul Harris harris...@gmail.com wrote:
 
 
 
  On 11 November 2010 22:51, Vincent Massol vinc...@massol.net wrote:
 
 
  On Nov 11, 2010, at 3:42 PM, Florin Ciubotaru wrote:
 
   Hi,
  
   On Thu, Nov 11, 2010 at 12:55 PM, Vincent Massol vinc...@massol.net
 
  wrote:
  
  
   On Nov 11, 2010, at 11:50 AM, Florin Ciubotaru wrote:
  
   Hi Marius,
  
   On Thu, Nov 11, 2010 at 10:06 AM, Marius Dumitru Florea 
   mariusdumitru.flo...@xwiki.com wrote:
  
   Florin, I suspect you have to update the XHTML that XWord
 generates
  when
   the user inserts an image to match the rendering module
  expectations.
   See http://jira.xwiki.org/jira/browse/XWIKI-5554 . Starting with
 XE
  2.5
   image and link markers (the XHTML comments used by the rendering
  module)
   use the same syntax. Let me know if you need any help.
  
  
   Indeed, this could be the cause of the issue. I would have expected
  this
   behavior to be backwords compatible or having the old one
 deprecated
  for
   several XWiki versions as we receive this 'formated' XHTML trough
  public
   APIs. At this point the conversion will simply crash when used by
 an
   older
   client.
  
   IMO we should check the version of XE when XWord connects to it and
 if
  it's
   not compatible mention it.
  
  
   WDYT?
  
   XOffice already checks the XE version for several reasons. For this
   particular issue, I'd prefer to implement the fix it rather then
 saying
  it's
   incompatible. First thing to do until a release is done, is to at
 least
   document this on the wiki.
   The client relies on the XML-RPC and REST APIs which means that it
  should be
   compatible with the server as long as nothing changes in the API
 specs.
   I cannot confirm the exact cause of the issue yet. But based on the
  hint
   from Marius I could say that the xhtml parser should have accepted
 the
  old
   image marker for several versions. XML-RPC is a backwards compatible
  API,
   once we introduced the conversion methods, it means we commit to
 having
  them
   working properly across several XWiki versions.
 
  On the server side, in the rendering module, we have *voluntarily*
 broken
  several APIs. See the release notes for 2.5:
 
 
 http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise25#HAPIBreakages
 
  I don't know how this can affect you (i.e how this can affect the
 XMLRPC
  module).
 
  But if you produce XHTML on the XOffice side and if this XHTML contains
  markers then the marker syntax has changed in 2.5.
 
  Thanks
  -Vincent
 
 
 
  I'd like to get XWord working, even if it means hacking it myself.
  Can anyone give me some pointers on what has to be done?
 
  thanks
  Paul
 
 
 
  Hi again,
 
  I've downloaded the xoffice svn and am trying to build it with MS VC
 2010,
  but it says the .pfx files are password protected.   I tried to Install
 the
  PFX files, and its asking for a password.
 
  Whats the password?
  or, if you can't give that out, how can i create my own pfx files so I
 can
  build it?
 
 
 Never mind, I managed to create my own pfx
 ___
 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] [XWord] Can't create System log file

2010-12-10 Thread Florin Ciubotaru

Hi Paul,

I plan to spend a few days on XOffice later this month in order to bring it
up to date with the latest XWiki versions. Please submit your patched to
jira and I will apply them.

Thanks,
Florin Ciubotaru
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWord-Can-t-create-System-log-file-tp5822372p5822858.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [XWord] Can't create System log file

2010-12-10 Thread Florin Ciubotaru
On Fri, Dec 10, 2010 at 10:44 AM, Paul Harris harris...@gmail.com wrote:

 Hi again,

 I've been investigating problems with XWord.

 One of the big problems on Vista and Windows7 is this line in Log.cs

  EventLog.CreateEventSource(eventSource, logName);

This is a know issue. IIRC I didn't have an optimal solution for it, but the
logger should fall back to writing to a file is it doesn't have the rights
to create a Windows log.


 It can't create a system log at this point as that must be done as
 Administrator... and normally its the User running XWord/Word at this
 point.


 This sort of thing is supposed to be done at the point of installation, but
 I don't have any idea of how to do this yet.



 Does anyone know?  Can someone please explain how the XWord installer
 works?  The Setup XWord project appears to be completely empty to my
 untrained eye!

Setup XWord was used on an outdated build of XOffice. The advantage of using
it was that it allowed custom setup actions(extra screens, custom code like
registering log groups, etc). The issue is that is not well integrated with
VSTO and even with proper code/assembly signing the add-in will fail to
start on some custom Windows and Office distributions.

The current installer is ClickOnce based and is bundled in the XWord
project, unfortunately it's harder to customize it.

I guess the only quick  healthy solution to this issue is to remove the
system logging.

Florin Ciubotaru


 thanks
 Paul
 ___
 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] Include Macro failed in a page with annotation

2010-12-10 Thread Le Génie
Hi guys,

In fact, in the original source, the included page is present. But in the
generated source (the DOM as a result of the JS execution) the included page
is replaced by the Macro error message (with its stack trace).
Very strange ! If you have an idea, I would be very pleased to hear about
it.

Best regards,
Maxime

2010/12/8 Le Génie le.genie.logic...@gmail.com

 Hi Thomas,

 You are right, the exception is on the html source.
 And the verdict is :
 Caused by: org.xwiki.rendering.macro.MacroExecutionException: Current user
 doesn't have view rights on document [Outils.CommonScript]

 But it's a lie ! Of course, I have the right to view this page, in fact, I
 am the creator of this page and I can view (or edit) it directly.

 I can reproduce the problem with IE7 and Firefox3.6.
 The Wiki is included in a farm in path mode.

 Just to remember, if I include this page in a page without annotation, all
 is fine.

 Thank you for your help.
 Maxime


 org.xwiki.rendering.macro.MacroExecutionException: Failed to get content
 for Document [Outils.CommonScript] at
 org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
 at
 org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
 at
 org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:184)
 at
 org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:129)
 at
 org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:85)
 at
 org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:73)
 at
 org.xwiki.annotation.internal.DefaultAnnotationService.getAnnotatedRenderedContent(DefaultAnnotationService.java:135)
 at
 org.xwiki.annotation.rest.internal.AbstractAnnotationRESTResource.renderDocumentWithAnnotations(AbstractAnnotationRESTResource.java:209)
 at
 org.xwiki.annotation.rest.internal.AbstractAnnotationRESTResource.getSuccessResponseWithAnnotatedContent(AbstractAnnotationRESTResource.java:107)
 at
 org.xwiki.annotation.rest.internal.AnnotationsRESTResource.doGetAnnotatedContent(AnnotationsRESTResource.java:85)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597) at
 org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.internalInvoke(AbstractMethodWrapper.java:164)
 at
 org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(ResourceMethod.java:287)
 at
 org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:636)
 at org.restlet.ext.jaxrs.JaxRsRestlet.handle(JaxRsRestlet.java:380) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Router.handle(Router.java:504) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Guard.accept(Guard.java:198) at
 org.restlet.Guard.doHandle(Guard.java:354) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at
 com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
 at org.restlet.Application.handle(Application.java:341) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Router.handle(Router.java:504) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Router.handle(Router.java:504) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at
 org.restlet.Component.handle(Component.java:673) at
 org.restlet.Server.handle(Server.java:331) at
 com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at
 com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
 at
 

[xwiki-users] Installation Issue / FAQ Tutorial

2010-12-10 Thread mearvk01
Hello all.


1) Can we get the installer to run on 64-bit Windows?
2) Can we get the FAQ tutorial updated to reflect that 
a) You need to be logged in with administrative privileges
b) What the default admin username/password are


Thanks




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] new wiki request

2010-12-10 Thread v...@2luz.com
I would like to use the wiki to create an online volunteer signup sheet for 
jobs and commissions for a benefit music festival
(www.festivalatitlan.com). I 
want to display tasks involved for each job/commission, and have a space
for my 
users to sign up and enter their contact information, and to be able to see
who 
else has signed up in that section (though not necessarily the contact
info). 
My username is VioletaForegger, and the server name could be 
VoluntariosFestivalAtitlan2011(.myxwiki.org) 
Thanks 
Violeta Foregger Velasquez 



mail2web - Check your email from the web at
http://link.mail2web.com/mail2web


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] java.sql.SQLException PoolablePreparedStatment

2010-12-10 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Doing a bump if you will.  Does anyone know why I'm getting the below?

Lenny


-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Scardino,Leonard R Jr ERDC-ITL-MS Contractor
Sent: Thursday, December 09, 2010 5:05 PM
To: XWiki Users
Subject: [xwiki-users] java.sql.SQLException PoolablePreparedStatment

I have a new instance of XWiki running on Tomcat 5.5 / Mysql Server 5.1.

The wiki appears to be running fine, no errors being shown to the user.
However, in the tomcat log I'm getting a bunch of java.sql.SQLExceptions like
the following:

java.sql.SQLException: org.apache.commons.dbcp.PoolablePreparedStatement with
address: com.mysql.jdbc.preparedstatem...@1f07f48: insert into
activitystream_events (ase_requestid, ase_stream, ase_date, ase_priority,
ase_type, ase_application, ase_user, ase_wiki, ase_space, ase_page, ase_url,
ase_title, ase_body, ase_version, ase_param1, ase_param2, ase_param3,
ase_param4, ase_param5, ase_eventid) values (** NOT SPECIFIED **, ** NOT
SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **,
** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT
SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **,
** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT
SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **, ** NOT SPECIFIED **,
** NOT SPECIFIED **) is closed.

and :

java.sql.SQLException: org.apache.commons.dbcp.PoolablePreparedStatement with
address: com.mysql.jdbc.preparedstatem...@cbe525: update xwikiproperties set
XWP_CLASSTYPE=** NOT SPECIFIED ** where XWP_ID=** NOT SPECIFIED ** and
XWP_NAME=** NOT SPECIFIED ** is closed.



I looked around the archive and didn't see anything.  I'm concerned that this
is important even though it doesn't seem to be affecting the usability of the
XWiki.

Can anyone tell me what the deal is?  

Thanks,

Lenny
___
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] Tomcat BSD Nginx

2010-12-10 Thread Eric Tse
How can I change Tomcat to use port 80 instead of 8180? I tried changing the
connector port in the xml file then restarted but with no avail..

Also is there a benefit from using Nginx to proxy into Tomcat? If so how
would one do that?

Thanks :)
- Eric
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tomcat BSD Nginx

2010-12-10 Thread Paul Libbrecht

Le 10 déc. 2010 à 21:54, Eric Tse a écrit :

 How can I change Tomcat to use port 80 instead of 8180? I tried changing the
 connector port in the xml file then restarted but with no avail..

That's a tomcat question.
As far as I know you did the right thing.
Do restart tomcat and don't forget to be root (which is not really correct).

 Also is there a benefit from using Nginx to proxy into Tomcat? If so how
 would one do that?


I don't know about Nginx but we generally keep Tomcat on a high port and keep 
an Apache httpd on port 80 with a simple proxy. That works very well. Then only 
Apache needs root access and the latter takes care of changing the user after 
the restart (which no servlet container I know does, it's a native thing).

Proxies can become a lot more tuned if using mod_rewrite (e.g. to guarantee 
some short URLs in a very very flexible way, allow https, ...).

paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tomcat BSD Nginx

2010-12-10 Thread Eric Tse
Thanks but I don't plan on using Apache the only thing installed on my BSD
VPS is diablo jdk , tomcat and xwiki. I followed the tutorial on how to
install xwiki on FreeBSD on the dev page of xwiki.  Now that being said,  is
tomcat a httpd server? If not then I'm guessing I have to install nginx and
proxy it to tomcat.
Also since xwiki is java based,  I don't have to install pop? Unless I want
to serve php?
Also how well does PostgresSQL fair in large wikis
On Dec 10, 2010 1:33 PM, Paul Libbrecht p...@hoplahup.net wrote:

 Le 10 déc. 2010 à 21:54, Eric Tse a écrit :

 How can I change Tomcat to use port 80 instead of 8180? I tried changing
the
 connector port in the xml file then restarted but with no avail..

 That's a tomcat question.
 As far as I know you did the right thing.
 Do restart tomcat and don't forget to be root (which is not really
correct).

 Also is there a benefit from using Nginx to proxy into Tomcat? If so how
 would one do that?


 I don't know about Nginx but we generally keep Tomcat on a high port and
keep an Apache httpd on port 80 with a simple proxy. That works very well.
Then only Apache needs root access and the latter takes care of changing the
user after the restart (which no servlet container I know does, it's a
native thing).

 Proxies can become a lot more tuned if using mod_rewrite (e.g. to
guarantee some short URLs in a very very flexible way, allow https, ...).

 paul
 ___
 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] Tomcat BSD Nginx

2010-12-10 Thread Paul Libbrecht

Le 10 déc. 2010 à 22:40, Eric Tse a écrit :

 Thanks but I don't plan on using Apache the only thing installed on my BSD
 VPS is diablo jdk , tomcat and xwiki. I followed the tutorial on how to
 install xwiki on FreeBSD on the dev page of xwiki.  Now that being said,  is
 tomcat a httpd server?

It is.

 If not then I'm guessing I have to install nginx and proxy it to tomcat.
 Also since xwiki is java based,  I don't have to install pop?
 Unless I want to serve php?

XWiki or tomcat are independent of PHP.

 Also how well does PostgresSQL fair in large wikis

I think it can score well.

I encountered, however, a few issues while trying to get some applications 
based on xwiki in active use. The generated SQL was incompatible with 
PostgreSQL.

As a rule of the thumb, I think workability with MySQL is considerably more 
tested.

paul

 On Dec 10, 2010 1:33 PM, Paul Libbrecht p...@hoplahup.net wrote:
 
 Le 10 déc. 2010 à 21:54, Eric Tse a écrit :
 
 How can I change Tomcat to use port 80 instead of 8180? I tried changing
 the
 connector port in the xml file then restarted but with no avail..
 
 That's a tomcat question.
 As far as I know you did the right thing.
 Do restart tomcat and don't forget to be root (which is not really
 correct).
 
 Also is there a benefit from using Nginx to proxy into Tomcat? If so how
 would one do that?
 
 
 I don't know about Nginx but we generally keep Tomcat on a high port and
 keep an Apache httpd on port 80 with a simple proxy. That works very well.
 Then only Apache needs root access and the latter takes care of changing the
 user after the restart (which no servlet container I know does, it's a
 native thing).
 
 Proxies can become a lot more tuned if using mod_rewrite (e.g. to
 guarantee some short URLs in a very very flexible way, allow https, ...).
 
 paul
 ___
 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


Re: [xwiki-users] [XWord] Can't create System log file

2010-12-10 Thread Paul Harris
On 10 December 2010 20:30, Florin Ciubotaru florin.ciubot...@xwiki.comwrote:

 On Fri, Dec 10, 2010 at 10:44 AM, Paul Harris harris...@gmail.com wrote:

  Hi again,
 
  I've been investigating problems with XWord.
 
  One of the big problems on Vista and Windows7 is this line in Log.cs
 
   EventLog.CreateEventSource(eventSource, logName);
 
 This is a know issue. IIRC I didn't have an optimal solution for it, but
 the
 logger should fall back to writing to a file is it doesn't have the rights
 to create a Windows log.

 
  It can't create a system log at this point as that must be done as
  Administrator... and normally its the User running XWord/Word at this
  point.


  This sort of thing is supposed to be done at the point of installation,
 but
  I don't have any idea of how to do this yet.
 
 

  Does anyone know?  Can someone please explain how the XWord installer
  works?  The Setup XWord project appears to be completely empty to my
  untrained eye!
 
 Setup XWord was used on an outdated build of XOffice. The advantage of
 using
 it was that it allowed custom setup actions(extra screens, custom code like
 registering log groups, etc). The issue is that is not well integrated with
 VSTO and even with proper code/assembly signing the add-in will fail to
 start on some custom Windows and Office distributions.

 The current installer is ClickOnce based and is bundled in the XWord
 project, unfortunately it's harder to customize it.

 I guess the only quick  healthy solution to this issue is to remove the
 system logging.

 Florin Ciubotaru


I have patched a few things, including system logging - it now correctly
falls back to writing a file in a spot that it will be allowed to write to,
and if that is still not possible then it'll show a warning to the user
once.

What I'd like to know now is: where does the ClickOnce installer get built?
Where is the configuration for it?  And, were could i put some code to
create a system log?

I'm not familiar with C# etc so if you could just point me in the
potentially correct direction or tell me where the related projects/files
are, that would be appreciated.

thanks
Paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tomcat BSD Nginx

2010-12-10 Thread Eric Tse
So based on your experiences, or anyone else's is MySQL better, persay vs
PostgresSQL?

So since tomcat is a httpd server should I still use Ngninx as a proxy?
- Eric


On Fri, Dec 10, 2010 at 2:05 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Le 10 déc. 2010 à 22:40, Eric Tse a écrit :

  Thanks but I don't plan on using Apache the only thing installed on my
 BSD
  VPS is diablo jdk , tomcat and xwiki. I followed the tutorial on how to
  install xwiki on FreeBSD on the dev page of xwiki.  Now that being said,
  is
  tomcat a httpd server?

 It is.

  If not then I'm guessing I have to install nginx and proxy it to tomcat.
  Also since xwiki is java based,  I don't have to install pop?
  Unless I want to serve php?

 XWiki or tomcat are independent of PHP.

  Also how well does PostgresSQL fair in large wikis

 I think it can score well.

 I encountered, however, a few issues while trying to get some applications
 based on xwiki in active use. The generated SQL was incompatible with
 PostgreSQL.

 As a rule of the thumb, I think workability with MySQL is considerably more
 tested.

 paul

  On Dec 10, 2010 1:33 PM, Paul Libbrecht p...@hoplahup.net wrote:
 
  Le 10 déc. 2010 à 21:54, Eric Tse a écrit :
 
  How can I change Tomcat to use port 80 instead of 8180? I tried
 changing
  the
  connector port in the xml file then restarted but with no avail..
 
  That's a tomcat question.
  As far as I know you did the right thing.
  Do restart tomcat and don't forget to be root (which is not really
  correct).
 
  Also is there a benefit from using Nginx to proxy into Tomcat? If so
 how
  would one do that?
 
 
  I don't know about Nginx but we generally keep Tomcat on a high port and
  keep an Apache httpd on port 80 with a simple proxy. That works very
 well.
  Then only Apache needs root access and the latter takes care of changing
 the
  user after the restart (which no servlet container I know does, it's a
  native thing).
 
  Proxies can become a lot more tuned if using mod_rewrite (e.g. to
  guarantee some short URLs in a very very flexible way, allow https, ...).
 
  paul
  ___
  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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users