[xwiki-users] Initial permissions for users - new users can't see anything

2017-06-01 Thread Douglas Landau
[[Note: The XWiki project is switching away from this mailing list and moving 
to a forum: https://discourse.xwiki.org. This list will be made readonly in a 
few days. Please post on the forum from now on. Thanks.]]

-
Greets,

In my XWiki installation, when regular users log in for the 1st time, they are 
greeted with a simple message:

   Error
You are not allowed to view this page or perform this action.

To be sure, the user has no rights at all.  However, the new user IS placed in 
the group "XWikiAllGroup", and that group DOES have all rights excelt Admin, 
Delete, and Program.  In other words, it has View, Comment, Edit, and Script, 
and Register.

1.  Is this correct?   Should the new user not have all rights except for 
Admin, Delete, and Program?

2.  The new user IS placed in the XWikiAllGroup.  So, why can the new user not 
see the Main page, and other pages?

3.  What have I done to get in this situation and what is the proper 
remediation?

Thanks!!!
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 
netad...@westmarine.com.


Re: [xwiki-users] Can't remove groups

2017-05-18 Thread Douglas Landau
[[Note: The XWiki project is switching away from this mailing list and moving 
to a forum: https://discourse.xwiki.org. This list will be made readonly in a 
few days. Please post on the forum from now on. Thanks.]]

-

>Creating a JIRA issue without more detail won't help since deleting groups 
>works well in a standard XWiki. Did you look at the log for errors ?

Yes.  I found this: CSRFToken: Secret token verification failed, token: 
"VuvtkWH4Qv1NiLvTaNoISw", stored token: "hbAO9bUvYVuJLFxM8Mud7Q"

Thank you for the reply.  The groups were gone the next morning!  :-)

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 
netad...@westmarine.com.


Re: [xwiki-users] Can't remove groups

2017-05-16 Thread Douglas Landau
[[Note: The XWiki project is switching away from this mailing list and moving 
to a forum: https://discourse.xwiki.org. This list will be made readonly in a 
few days. Please post on the forum from now on. Thanks.]]

-
Thanks.  But I have remove the mapping from xwiki.cfg and restarted and still 
have the same behavior.  There are no users in the group.  And this behavior 
also include the "foo" group which had no such mapping and never had any users.

When I remove the groups, they appear to be removed, until I refresh the page 
with Control-R, at which time they come back.  

Should I file a JIRA?  I searched for it there but did not find it.

Doug

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Tuesday, May 16, 2017 1:07 AM
To: XWiki Users
Cc: XWiki Developers
Subject: Re: [xwiki-users] Can't remove groups

You can remove the group but if you don't remove it from the LDAP mapping it 
will be automatically created each time a user authenticate.

On Tue, May 16, 2017 at 3:51 AM, Douglas Landau  wrote:
> Greets,
>
> Seems like I am no longer able to remove groups in one of my xwiki 
> installations.  I am still able to in another.  As seen in the excerpts below 
> from catalina.out, one such group in SplunkAdmins.  This group appears in 
> xwiki.cfg where it is mapped to an AD group and had been populated with one 
> member who I have removed.  The other group is “foo” and I created it just 
> now.
>
>
> I can’t remove either.  Any ideas why not?  Thanks!
>
>
> 2017-05-15 16:48:33,660 
> [http://dwswiki10.westmarine.net/xwiki/bin/admin/XWiki/XWikiPreferences?xpage=deleteuorg&docname=XWiki.SplunkAdmins&form_token=VuvtkWH4Qv1NiLvTaNoISw]
>  WARN  o.x.c.i.DefaultCSRFToken   - CSRFToken: Secret token verification 
> failed, token: "VuvtkWH4Qv1NiLvTaNoISw", stored token: 
> "hbAO9bUvYVuJLFxM8Mud7Q"
> 2017-05-15 16:48:41,026 
> [http://dwswiki10.westmarine.net/xwiki/bin/admin/XWiki/XWikiPreferences?xpage=deleteuorg&docname=XWiki.foo&form_token=VuvtkWH4Qv1NiLvTaNoISw]
>  WARN  o.x.c.i.DefaultCSRFToken   - CSRFToken: Secret token verification 
> failed, token: "VuvtkWH4Qv1NiLvTaNoISw", stored token: 
> "hbAO9bUvYVuJLFxM8Mud7Q"
>
>
>
> 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 netad...@westmarine.com.



--
Thomas Mortagne

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 
netad...@westmarine.com.


[xwiki-users] Can't remove groups

2017-05-15 Thread Douglas Landau
Greets,

Seems like I am no longer able to remove groups in one of my xwiki 
installations.  I am still able to in another.  As seen in the excerpts below 
from catalina.out, one such group in SplunkAdmins.  This group appears in 
xwiki.cfg where it is mapped to an AD group and had been populated with one 
member who I have removed.  The other group is “foo” and I created it just now. 
 


I can’t remove either.  Any ideas why not?  Thanks!


2017-05-15 16:48:33,660 
[http://dwswiki10.westmarine.net/xwiki/bin/admin/XWiki/XWikiPreferences?xpage=deleteuorg&docname=XWiki.SplunkAdmins&form_token=VuvtkWH4Qv1NiLvTaNoISw]
 WARN  o.x.c.i.DefaultCSRFToken   - CSRFToken: Secret token verification 
failed, token: "VuvtkWH4Qv1NiLvTaNoISw", stored token: "hbAO9bUvYVuJLFxM8Mud7Q"
2017-05-15 16:48:41,026 
[http://dwswiki10.westmarine.net/xwiki/bin/admin/XWiki/XWikiPreferences?xpage=deleteuorg&docname=XWiki.foo&form_token=VuvtkWH4Qv1NiLvTaNoISw]
 WARN  o.x.c.i.DefaultCSRFToken   - CSRFToken: Secret token verification 
failed, token: "VuvtkWH4Qv1NiLvTaNoISw", stored token: "hbAO9bUvYVuJLFxM8Mud7Q"



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 
netad...@westmarine.com.


[xwiki-users] NGINX behavior changes, stops redirecting

2017-05-08 Thread Douglas Landau
Greets,

For some reason NGINX sometimes stops serving my tomcat pages and starts 
wanting to serve pages from .../nginx/html/.

I don't get it.  On Friday, at 13:39, I was happily browsing my XWiki site, as 
you can see from the NGINX access_log.  Then from that log you see no activity 
until 10:31 this morning, at which time it no longer wants to redirect hits to 
port 8080 or to /xwiki, it just wants to serve from its own html/ subdir.  

When I come in this morning, When I go to hit the site NGINX shows me the 
placeholder page, .../nginx/html/index.html, which starts out "If you can see 
this page, ..."

I can still hit my xwiki at :8080/xwiki.   It has not been restarted, altho so 
what if it had?
NGINX has not been restarted, and the config files (conf/nginx.conf, 
conf.d/tomcat.conf) have not changed.

Anybody else seen this?  Why did it change behavior, and doe it have anything 
to do with the 
"signal process started" messages?

Thanks

NGINX Access log, showing a few hits to xwiki at 13:39 on 05/05, then 
non-redirected hits at 10:31-10:41 AM on 05/08
--
10.13.107.52 - - [05/May/2017:13:39:39 -0700] "GET 
/xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.WebHome
 HTTP/1.1" 200 1671 
"http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Project%20Budget/";
 "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [05/May/2017:13:39:41 -0700] "GET 
/xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.Projects.WebHome
 HTTP/1.1" 200 1178 
"http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Project%20Budget/";
 "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [05/May/2017:13:39:43 -0700] "GET 
/xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.Projects.Project+A.WebHome
 HTTP/1.1" 200 4330 
"http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Project%20Budget/";
 "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [05/May/2017:13:39:45 -0700] "GET 
/xwiki/bin/get/Portfolio%20Management/Project%20Budget/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&&data=children&id=document%3Axwiki%3APortfolio+Management.Projects.Project+A.Design.WebHome
 HTTP/1.1" 200 6935 
"http://dwswiki10.westmarine.net/xwiki/bin/view/Portfolio%20Management/Project%20Budget/";
 "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:30:44 -0700] "GET / HTTP/1.1" 200 612 "-" 
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:30:45 -0700] "GET /favicon.ico HTTP/1.1" 404 
571 "http://dwswiki10/"; "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:31:27 -0700] "GET /xwiki HTTP/1.1" 404 571 "-" 
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:31:44 -0700] "GET / HTTP/1.1" 200 612 "-" 
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:31:44 -0700] "GET /favicon.ico HTTP/1.1" 404 
571 "https://dwswiki10/"; "Mozilla/5.0 (Windows NT 6.1; WOW64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
10.13.107.52 - - [08/May/2017:10:41:26 -0700] "GET / HTTP/1.1" 200 612 "-" 
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; 
.NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 
6.0; .NET4.0C; .NET4.0E)"
10.13.107.52 - - [08/May/2017:10:41:26 -0700] "GET /favicon.ico HTTP/1.1" 404 
571 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; 
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center 
PC 6.0; .NET4.0C; .NET4.0E)"
10.13.107.52 - - [08/May/2017:10:41:29 -0700] "GET / HTTP/1.1" 304 0 "-" 
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; 
.NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 
6.0; .NET4.0C; .NET4.0E)"
10.13.107.52 - - [08/May/2017:10:41:29 -0700] "GET /favicon.ico HTTP/1

Re: [xwiki-users] Detailed XWiki Install Info For RPM-Based Systems

2017-04-28 Thread Douglas Landau
John,

As far as I know it might be my own instructions.  :-)   They will get you a 
successful install/running MySQL+XWiki-8.4.4(WAR)+Tomcat+NGINX on CentOS-7.   
But my own XWiki is still under construction and there are at least a few loose 
ends left to be addressed before I can announce it.  For example:

- I got LDAP auth working and yesterday I got, at length, 
XWiki-group-sync-from-AD working.  So now when I log in using my AD 
credentials, because I'm in the Admins AD group, I am a member of the 
XWikiAdminGroup group.  I don't know if there is anything special built-in to 
that group, or if it's just a name chosen as an example.  I see it has full 
rights to some pages and not others and now don't remember if I granted the 
ones that exist, or if it came that way.   In any case I made a lot of groups 
yesterday and now cannot remove some.  Maybe all, not sure.  I can add them but 
if I remove them and then refresh they come back, and I get this in the logs:

2017-04-28 12:31:41,492 
[http://dwswiki10.westmarine.net:8080/xwiki/bin/admin/XWiki/XWikiPreferences?xpage=deleteuorg&docname=XWiki.Application+Development&form_token=whLkhIQlmWnx4c7FHacGdA]
 WARN  o.x.c.i.DefaultCSRFToken   - CSRFToken: Secret token verification 
failed, token: "whLkhIQlmWnx4c7FHacGdA", stored token: "mdkkxCCQAFB4fwoqoceMYw"

- I don't have usable startup and shutdown scripts working.  The files are 
owned by the user xwiki and to run as the same user I've been starting and 
stopping it with "cd /data/tomcat;  sudo -u xwiki bin/startup.sh" and "sudo -u 
xwiki bin/shutdown.sh".   The Tomcat docs say to use jsvc but their example 
doesn't pick up bin/setenv.sh, and blah blah blah.  I guess I need to merge 
that script into the suggested jsvc usage, and then use the option that 
switches who it's running as, even tho I don't need to do this stuff to make it 
run on port 80, I just want it to run as xwiki.  I guess I'll just let NGINX 
run as root, not sure yet.

- The HTTP -> HTTPS redirection doesn't seem to work as I expected/would like 
and I'm not sure I'm doing it right.  I have this in my xwiki.cfg:   
xwiki.url.protocol=https  ...but I'm not sure that's the right way to go about 
it.  I see the bit on the XWiki InstallationTomcat page about Let's Encrypt but 
glanced at that page and it seemed like it was about creating certs and didn't 
understand how it relates.
Today my NGINX is not working; not sure why.  It -was-.  Last week I stuck this 
in there:  return 301 https://$host$request_uri;
... but now it's commented out.  Think I got it from 
https://www.bjornjohansen.no/redirect-to-https-with-nginx  which makes it sound 
great but I then commented it out and don't remember why.
Seems to me that the best place for the redirection to happen would be at the 
NGINX layer.

- There is a "server" section for port 80 and another for 443 in 
conf/nginx.conf.  As per the InstallationTomcat page I added the dir conf.d and 
inside it tomcat.conf, with similar sections.  I dunno if I should go and 
comment out the server sections in conf/nginx.conf.


- I get this error in catalina.out, and dunno why or what I'm going to do:
27-Apr-2017 19:00:57.513 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-XX:MaxPermSize=192m
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was 
removed in 8.0

... if I remember correctly, wherever it was I saw that, that place said it was 
important!  Oh yeah, it too was on this page:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat


- I get this message in the logs and dunno what to do about it:

27-Apr-2017 14:56:48.633 SEVERE [localhost-startStop-2] 
org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks 
The web application [xwiki] created a ThreadLocal with key of type 
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@38058fb1]) and a value of 
type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@c0f4827]]) 
but failed to remove it when the web application was stopped. Threads are going 
to be renewed over time to try and avoid a probable memory leak.

I get these in my logs and dunno what to do about it:
27-Apr-2017 22:02:09.501 INFO [localhost-startStop-1] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.


- I get this in my logs and don't understand it... I dunno what 
java.library.path is, all I know is this:

27-Apr-2017 14:43:24.720 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based 
Apache Tomcat Native library which allows optimal performance in production 
environments was not found on the java.library.path: 
/usr/java/packages/lib/amd64:/usr/lib64:/li

Re: [xwiki-users] LDAP Authenticator working but "You are not allowed to view this page or perform this action."

2017-04-27 Thread Douglas Landau
>> ERROR You are not allowed to view 
>> this page or perform this action.

>The error has nothing to do with the permanent directory. It's telling you 
>that the current user is not allowed to view the page >you are asking for.

>Maybe you just stayed in admin ? Can you go to your user profile ? Can you go 
>to the wiki home page ?

Thanks.  Yes, this error came from the xwiki/bin/view/Main/, which says Home at 
the top.  After I submitted the question, I noticed that I could hit Sandbox 
and then back to home and the problem was gone.

I went thru the drill again of recreating the table and going through the 
deployment wizard and got rid of the condition.  I also notice that if I forget 
to log out as admin before restarting Tomcat and redeploying, the browser still 
thinks I'm logged and whether a similar thing goes on on the back end, I know 
not.  I guess that's what you mean by stayed in admin.  So yea maybe all I 
needed was to log out  :-)

Thanks for the reply.


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 
netad...@westmarine.com.


[xwiki-users] LDAP Authenticator working but "You are not allowed to view this page or perform this action."

2017-04-26 Thread Douglas Landau
Greets,

I don’t get it.  
I moved my environment.permanentDirectory and got into a messed up state.
I started over:
I shut down tomcat
I said "mysql drop database xwiki" and recreated it and re-granted app privs on 
xwiki.*
I copy-n-pasted the LDAP settings from my previous installation, where LDAP 
auth was working
I started tomcat, wenth thru the distribution wizard, and then installe LDAP 
Authenticator
I stopped tomcat and restarted it
Now I can log in with my AD account, but instead of the main page, I see 
ERROR
You are not allowed to view this page or perform this action.

I don't get it.  I pasted the LDAP setting from a previous install, where LDAP 
seemed to be working fine.
I tried another LDAP account and got the same results.
What could I have done wrong?
I think that this time the LDAP settings were there before the LDAP 
authenticator was installed, could that be it?

Could it be that I need to open the perms on the permanent data dir?  It is 
writable to the xwiki user, and that is who is executing tomcat.

I see this in the catalina log:
2017-04-26 12:29:26,103 
[http://dwswiki10.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
ERROR o.x.c.l.XWikiLDAPConfig- Error parsing LDAP fields mapping 
attribute from configuration

... but as I said I didn't get the "You are not allowed..." bit last time 
around.  And the LDAP settings were pasted from there.


Thanks



-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol
Sent: Tuesday, April 25, 2017 4:19 AM
To: XWiki Users
Subject: Re: [xwiki-users] Maximum size of an attachment in subwiki

Hi Sebastien,

> On 25 Apr 2017, at 13:02, Sebastian Luna Valero 
>  wrote:
> 
> Hi All,
> 
> Thanks for releasing XWiki 8.4.5!
> 
> I am about to import content from the old to the new xwiki,

You should really consider using the recommended upgrade practice which is to 
use the Distribution Wizard, see 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade

If you really want to import content make sure you don’t include any default 
page at least. I’d still recommend using the DW.

Thanks
-Vincent

> but the .xar
> file is larger than the 32MB size limit. Previously I have followed 
> the instructions here:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
> 
> to increase the maximum size of the attachment. However, it seems to 
> work only for the main wiki but not for subwikis, is that true?
> 
> Best regards,
> Sebastian


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 
netad...@westmarine.com.


[xwiki-users] New installation: The requested page could not be found.

2017-04-05 Thread Douglas Landau
Still struggling with this several hours later.  I have xwiki + tomcat + mysql 
working perfectly at last in a practice VM.  Thought I've done verything 
exactly the same on the "real" machine.  But each time I get in this 
Distribution Wizard loop where it can’t get off step 1, the admin user.  I 
finally clicked "later" and get a blank Main page, with only "Notice" and "The 
requested page could not be found".

Seems like nothing is making it into the database.  I've dropped the xwiki 
database and recreated it and granted privileges again.

What am overlooking?

Thanks
 


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Wednesday, April 05, 2017 2:27 PM
To: XWiki Users
Subject: [xwiki-users] Distribution wizard loop

Greets,

I'm getting a loop in the distribution wizard.  Can't get past step 1.  (Admin 
user).   It is not password length.  But it is not telling me why.

I tried dropping the xwiki database and re-initializing. But I fall into this 
loop again.

Does anybody know/remember why this happens?

Thanks
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 netad...@westmarine.com.

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 
netad...@westmarine.com.


[xwiki-users] Distribution wizard loop

2017-04-05 Thread Douglas Landau
Greets,

I'm getting a loop in the distribution wizard.  Can't get past step 1.  (Admin 
user).   It is not password length.  But it is not telling me why.

I tried dropping the xwiki database and re-initializing. But I fall into this 
loop again.

Does anybody know/remember why this happens?

Thanks
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 
netad...@westmarine.com.


Re: [xwiki-users] Help Request! Running the Attachment Porter

2017-03-30 Thread Douglas Landau

>I’ve never used this code but shouldn’t it execute in a wiki page?

Thanks Vincent.  I finally figured out from Craig Wright's comment ("FOR THOSE 
NEW TO XWIKI") that a)there is such a thing [as a code snippet that runs in a 
page] and that this is one of them.  Being completely unaware of the existence 
of snippets, I would never have guessed that this was one.

I followed step 1:
Step 1: Switch to Filesystem attachments.
I followed step 2:
 Step 2: Add a new directory to your backup routine.
I read step 3:
Step 3: Copy attachments from database to filesystem.
Now you are ready to copy the data over from your database to the filesystem. 
It is prudent to leave the attachments in the database since in most situations 
the attachment data is not bothersome just sitting in the database (The only 
risk of attachments left in the database is that they will bloat the size of 
the database files). As such, this script contains no facility to delete 
entries from the database.
If anything goes wrong in this function, it will fail with an error message and 
you should get the stack trace, keep it to confuse and humiliate the developer 
with. No harm should be done since this only loads from the database and only 
saves to the filesystem.

I read step 4:
Step 4: Make sure everything is working.
Check to make sure your attachments are still there, if an attachment is 
broken, ... 

I felt quite sure that how to run the thing should be in step 3; 2 is too soon, 
and 4 is too late.  But how?  Nowhere in the text does it actually say how to 
run the thing!!!   So I googled looking for other's comments on forums, etc.  I 
YUM installed Groovy and tried running it on the commandline.  I removed the 
leading and trailing lines ("[[grovy]]") which caused errors.  I got class not 
found errors.  I read step 3 again.  I started reading the details of CLASSPATH 
and /bin/build-classpath.  With reluctance and just a little resentment.   It 
was an extwemewy fwustwating expewience.

That said, I realize it the mailing list is for questions, not complaints, and 
so apologize to all for this complaint, and will take it and my other such 
observations to Jira and log them as bugs.

dkl

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 
netad...@westmarine.com.


[xwiki-users] Help Request! Running the Attachment Porter

2017-03-22 Thread Douglas Landau
Folks,

I found the attachment porter but don’t know how to invoke it.  I am reading 
and re-reading the page about it, the page that has the download button.  But 
nowhere does it say how to use it.   

Now, I apologize sincerely for the dumb question.   But I am getting an error 
for every one of 15 or so import lines!   It -must- be necessary to set some 
CLASSPATH or something or specify some JARs on the groovy commandline or 
-some-thing it seems like there -must- be something here that everyone 
thinks is so obvious that it goes without saying...

Could someone please take pity on me and send me their command line that they 
used to run this sucker?

Thank You!
---
[root@dwswiki10 xwiki]# groovy p.groovy
/bin/build-classpath: Could not find ../../jvm/java/lib Java extension for this 
JVM
/bin/build-classpath: error: Some specified jars were not found
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/data/xwiki/p.groovy: 6: unable to resolve class 
com.xpn.xwiki.store.XWikiAttachmentStoreInterface
 @ line 6, column 1.
   import com.xpn.xwiki.store.XWikiAttachmentStoreInterface;
   ^

/data/xwiki/p.groovy: 8: unable to resolve class 
com.xpn.xwiki.store.AttachmentVersioningStore
 @ line 8, column 1.
   import com.xpn.xwiki.store.AttachmentVersioningStore;
   ^

/data/xwiki/p.groovy: 15: unable to resolve class 
org.xwiki.store.filesystem.internal.FilesystemStoreTools
 @ line 15, column 1.
   import org.xwiki.store.filesystem.internal.FilesystemStoreTools;
   ^

/data/xwiki/p.groovy: 12: unable to resolve class com.xpn.xwiki.XWikiContext
 @ line 12, column 1.
   import com.xpn.xwiki.XWikiContext;
   ^

/data/xwiki/p.groovy: 13: unable to resolve class com.xpn.xwiki.XWiki
 @ line 13, column 1.
   import com.xpn.xwiki.XWiki;
   ^

/data/xwiki/p.groovy: 16: unable to resolve class 
org.apache.commons.lang.exception.ExceptionUtils
 @ line 16, column 1.
   import org.apache.commons.lang.exception.ExceptionUtils;
   ^

/data/xwiki/p.groovy: 2: unable to resolve class 
com.xpn.xwiki.doc.XWikiAttachment
 @ line 2, column 1.
   import com.xpn.xwiki.doc.XWikiAttachment;
   ^

/data/xwiki/p.groovy: 4: unable to resolve class 
com.xpn.xwiki.doc.DeletedAttachment
 @ line 4, column 1.
   import com.xpn.xwiki.doc.DeletedAttachment;
   ^

...
...
...
...
...


 

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 
netad...@westmarine.com.


[xwiki-users] Standalone vs. production installs?

2017-03-22 Thread Douglas Landau
Greets,

This page :  
https://network.xwiki.com/xwiki/bin/view/DocXE51En/XWikiEnterpriseInstallation  
distinguishes between quick installs and production installs.  It lists the 
standalone in the former.

Is there anything unsuitable about the standalone install being used for 
production purposes?   I've been asked to make a server with 500GB for our new 
XWiki installation, in anticipation of organization-wide use.

After I hit a speedbump or two with the WAR installation, I concluded that by 
not using the standalone installer I was going against the flow, and would be 
better off doing as suggested, as stated on the AdminGuide Installation page:  
"This is the recommended option for first time XWiki users and for users who 
wish to quickly try out XWiki."

Should I go back to the WAR installation given the production nature of the 
requirement/anticipated use?

Related:  I see there is a .deb installer but none for YUM.  We use mostly 
CentOS.  Am I doing myself a dis-service by trying to use CerntOS for this, and 
would be better off using Ubuntu?

Thanks very much
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 
netad...@westmarine.com.


[xwiki-users] How do I run the attachment porter?

2017-03-21 Thread Douglas Landau
Greets,

I modified xwiki.properties and set:
xwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file
xwiki.store.attachment.recyclebin.hint = file

... and when I started XWiki I got the Java stacktrace below.   I don't see 
anything obvious in them that would explain, but figure that they are probably 
because I did not run the attachment porter script; after all, the instructions 
do say up front:
"If you're using the standalone packaging (the ZIP or EXE packagings) then you 
already have wiki pages and attachments in the database (since database is the 
default at the moment). Thus you'll need to apply the instructions for the next 
section and run the Filesystem Attachment Porter."

OK, I saved the Filesystem Attachment Porter to my install dir, /data/xwiki, as 
porter.groovy.   Then I installed groovy with "yum install groovy" on 
CentOS-7.3.   Then I said:
# groovy porter.groovy
.. and got this:

/bin/build-classpath: Could not find ../../jvm/java/lib Java extension for this 
JVM
/bin/build-classpath: error: Some specified jars were not found
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/data/xwiki/porter.groovy: 1: Ambiguous expression could be either a 
parameterless closure expression or an isolated open code block;
   solution: Add an explicit closure parameter list, e.g. {it -> ...}, or force 
it to be treated as an open block by giving it a label, e.g. L:{...} @ line 1, 
column 1.
   {{groovy}}
   ^

1 error


I am not familiar with Groovy.  What have I done wrong - am I invoking it wrong?

Thanks much
Doug





 stacktrace ---
javax.servlet.ServletException: org.xwiki.velocity.XWikiVelocityException: 
Failed to evaluate content with id [init.vm]
at 
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.Ht

[xwiki-users] environment.permanentDirectory default value: data/ or /var/local/xwiki ?

2017-03-21 Thread Douglas Landau
Interestingly, whereas it says below  "By default it's defined to be data", the 
commented-out line containing it in my unmodified xwiki.properties reads:
# environment.permanentDirectory=/var/local/xwiki/

I don't have a /var/local/xwiki.  I installed standalone 8.4.4 into /data, and 
do have a /data/xwiki/data/ with the expected contents.

Doug

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Tuesday, March 21, 2017 6:13 PM
To: XWiki Users
Subject: [xwiki-users] A question regarding attachment storage and 
environment.permanentDirectory

Greets,

I have a request for my new xwiki: please store attachments as files rather 
than in the DB.
OK, I found the instructions at: 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
I set these:
xwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file 
xwiki.store.attachment.recyclebin.hint = file

I don't have any attachments yet so think I don't need to run the Filesystem 
Attachment Porter.
My question is regarding this bit of advice:

The directory in which the attachments are stored in the filesystem is defined 
with the parameter environment.permanentDirectory in the  xwiki.properties 
file. By default it's defined to be data, which is a directory relative to 
where the Java Servlet Container was started. It's recommend to modify this 
value to be absolute sure that you can start the Servlet Container from any 
directory and still have XWiki find the attachments located in this work 
directory.
For example:
environment.permanentDirectory=/opt/tomcat6/data
---

OK.  My questions are:
- The comment above that variable in xwiki.properties says:
#-# Note if the system property xwiki.data.dir is set then this property is not 
used.

OK, so it's not quite that simple, I will also need to set xwiki.data.dir.  I 
don't see it occurring anywhere in any file other than in that comment, so I 
guess I'm not using it, and setting environment.PermanentDirectory won't take 
effect unless I do.
But wait a sec:  I thought this var WAS setting the location of "the data 
directory".  So:

1.  What is the difference between them?  Between xwiki.data.dir and 
environment.PermanentDirectory ?

2.  Should I do this?  I don't have any motivation to do so other than the 
warning above, which I do not understand.  How/why does moving the data dir 
allow one to start the servlet container from any directory and still have 
XWiki find the attachments?

Thanks much
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 netad...@westmarine.com.

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 
netad...@westmarine.com.


[xwiki-users] A question regarding attachment storage and environment.permanentDirectory

2017-03-21 Thread Douglas Landau
Greets,

I have a request for my new xwiki: please store attachments as files rather 
than in the DB.
OK, I found the instructions at: 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
I set these:
xwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file
xwiki.store.attachment.recyclebin.hint = file

I don't have any attachments yet so think I don't need to run the Filesystem 
Attachment Porter.
My question is regarding this bit of advice:

The directory in which the attachments are stored in the filesystem is defined 
with the parameter environment.permanentDirectory in the  xwiki.properties 
file. By default it's defined to be data, which is a directory relative to 
where the Java Servlet Container was started. It's recommend to modify this 
value to be absolute sure that you can start the Servlet Container from any 
directory and still have XWiki find the attachments located in this work 
directory.
For example:
environment.permanentDirectory=/opt/tomcat6/data
---

OK.  My questions are:
- The comment above that variable in xwiki.properties says:
#-# Note if the system property xwiki.data.dir is set then this property is not 
used.

OK, so it's not quite that simple, I will also need to set xwiki.data.dir.  I 
don't see it occurring anywhere in any file other than in that comment, so I 
guess I'm not using it, and setting environment.PermanentDirectory won't take 
effect unless I do.
But wait a sec:  I thought this var WAS setting the location of "the data 
directory".  So:

1.  What is the difference between them?  Between xwiki.data.dir and 
environment.PermanentDirectory ?

2.  Should I do this?  I don't have any motivation to do so other than the 
warning above, which I do not understand.  How/why does moving the data dir 
allow one to start the servlet container from any directory and still have 
XWiki find the attachments?

Thanks much
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 
netad...@westmarine.com.


[xwiki-users] Install XWiki as whom?

2017-03-21 Thread Douglas Landau

Thanks!   
I installed it (the standalone version) as root and ran it briefly a few times 
as root.  Now when I try to run it as myself it fails because I can't overwrite 
logs that have already been started.

Should start over and reinstall as myself?  Or rather, as the user as whom I 
wish to run?
Or maybe I should just chmod -R the whole thing and go with it?

Any other complications or steps I am not thinking of yet?

Thanks!!

rez_spb wrote:
>One more tip: you actually shouldn't run Tomcat as root, this could get messy 
>pretty fast.





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 
netad...@westmarine.com.


[xwiki-users] HTTPS: No ciphers offerred?

2017-03-20 Thread Douglas Landau
Greets,

I've enabled HTTPS on my XWiki.  But when I surf there, I get a failure with no 
explanation from Chrome, and this from IE:
--
Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting 
to https://pwswiki10.westmarine.net  again. If this error persists, it is 
possible that this site uses an unsupported protocol or cipher suite such as 
RC4 (link for the details), which is not considered secure. Please contact your 
site administrator.
--

When I hit the site with this nmap command to enumerate the available ciphers, 
I get none.
# nmap --script ssl-enum-ciphers -p 443 pwswiki10


I googled it, and it looks like there was once some text about this problem on 
the XWiki site, something about re-enabling TLS, but when I click the link I 
land on the administration manual's Configuration page, which has a lot of good 
stuff but not the bit about re-enabling TLS.

I found the "ExcludeCipherSuites" section in jetty-ssl.xml, and tried 
commenting it out, but still get no ciphers. 
I tried adding the following section, but still get no ciphers:



  TLS_RSA_WITH_AES_128_CBC_SHA
  TLS_RSA_WITH_AES_256_CBC_SHA
  TLS_RSA_WITH_CAMELLIA_128_CBC_SHA
  TLS_RSA_WITH_CAMELLIA_256_CBC_SHA
  TLS_DHE_DSS_WITH_AES_128_CBC_SHA
  TLS_DHE_DSS_WITH_AES_128_CBC_SHA
  TLS_DHE_RSA_WITH_AES_128_CBC_SHA
  TLS_RSA_WITH_AES_128_CBC_SHA
  TLS_DHE_DSS_WITH_AES_256_CBC_SHA
  TLS_DHE_RSA_WITH_AES_256_CBC_SHA
  TLS_RSA_WITH_AES_256_CBC_SHA
  TLS_RSA_WITH_CAMELLIA_128_CBC_SHA
  TLS_RSA_WITH_CAMELLIA_256_CBC_SHA
  TLS_RSA_WITH_AES_128_CBC_SHA
  TLS_RSA_WITH_AES_128_CBC_SHA256
  TLS_RSA_WITH_AES_128_GCM_SHA256
  TLS_RSA_WITH_AES_256_CBC_SHA
  TLS_RSA_WITH_AES_256_CBC_SHA256
  TLS_RSA_WITH_AES_256_GCM_SHA384

  
--

Seems like maybe I need to find the equivalent of this line from httpd.conf:
SSLProtocol -ALL +TLSv1.1 +TLSv1.2

I am searching the archives.  Meanwhile can anyone point me to what I am doing 
wrong /, or to an example of how that IncludeCipherSuites block should be?


Thanks
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 
netad...@westmarine.com.


Re: [xwiki-users] What version of Jetty am I running?

2017-03-17 Thread Douglas Landau
Okay, I see that this is the response on xwiki-9.1.2/standalone.On 
xwiki-8.4.4/standalone it says:
[root@dwswiki9 jetty]#  java -jar start.jar  --version

Jetty Server Classpath:
---
Version Information on 6 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
  changes to the --module=name command line options will be reflected here.
 0:3.1.0 | ${jetty.base}/lib/javax.servlet-api-3.1.0.jar
 1: 9.2.13.v20150730 | ${jetty.base}/lib/jetty-http-9.2.13.v20150730.jar
 2: 9.2.13.v20150730 | 
${jetty.base}/lib/jetty-server-9.2.13.v20150730.jar
 3: 9.2.13.v20150730 | ${jetty.base}/lib/jetty-xml-9.2.13.v20150730.jar
 4: 9.2.13.v20150730 | ${jetty.base}/lib/jetty-util-9.2.13.v20150730.jar
 5: 9.2.13.v20150730 | ${jetty.base}/lib/jetty-io-9.2.13.v20150730.jar

I wrote:
>However, on my installation, that fails, saying: 
>
>Jetty Server Classpath:
>---
>No classpath entries and/or version information available show.



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 
netad...@westmarine.com.


[xwiki-users] What version of Jetty am I running?

2017-03-17 Thread Douglas Landau
Greets,

This page warns about Jetty 7 and 8:
https://wiki.eclipse.org/Jetty/Howto/Configure_SSL

I googled how to determine, and found the answer:  java -jar start.jar --version

However, on my installation, that fails, saying: 

Jetty Server Classpath:
---
No classpath entries and/or version information available show.

Any suggestions?  Thank you!
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 
netad...@westmarine.com.


[xwiki-users] XWiki + HTTPS : are there current instructions available?

2017-03-17 Thread Douglas Landau
Greets,

I want to enable https on my new xwiki installation.  I see this in the 
administrators guide:

Security configuration
See the Security Guide.

If the users will be accessing XWiki using SSL (https) then you will have to 
change the way links are created so that external links do not redirect users 
back to the http page. This is accomplished by setting the xwiki.url.protocol 
property in xwiki.cfg.
---

... but I don't see any further detail on this page or on the Security 
Configuration page.   I googled and found some how-to's , but they appear to be 
years old and I am not sure if they are current.

I see, in the jetty dir, jetty-https.xml, jetty-ssl.xml, and jetty-xml.  But I 
am not sure which to modify, and thought I saw on some 3rd-party page that you 
should leave jetty-ssl alone and add the configuration directly to jetty-xml.  
OK, here is where I saw that - but it's from 2010:   
http://xwiki.475771.n2.nabble.com/Setting-up-Xwiki-for-HTTPs-td5663073.html
--
You don't need a jetty-ssl.xml file at all. If the document that you 
were reading is 
http://docs.codehaus.org/display/JETTY/How+to+configure+SSL , then just 
read step 4 and add the new connector configuration inside 
jetty/etc/jetty.xml, under the existing connector (line 57).
---

Also, that link on codehaus is no longer found.I googled it and found this 
page:
http://xwiki.475771.n2.nabble.com/Setting-up-Xwiki-for-HTTPs-td5663073.html

Now, on that page, it says to use this paragraph:
The following is an example of an SslSelectChannelConnector configuration. You 
can configure an SslSocketConnector the same way–just change the value of the 
class to org.eclipse.jetty.server.ssl.SslSocketConnector.
   
 
   
 
   
 /etc/keystore
 OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
 OBF:1u2u1wml1z7s1z7a1wnl1u2g
 /etc/keystore
 OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
   
 
 8443
 3
   
 
   

Interestingly, it doesn't actually say where to put it.  Does that look current 
and if so, in which .xml should I place it? 

Can anyone point me to current instructions which I should follow?

Aha:  Here are some more recent instructions, from 2014:  
http://docs.sdl.com/LiveContent/content/en-US/SDL%20LiveContent%20full%20documentation-v1/GUID-3B4D2EFC-603C-4A46-A897-589D7FF8DD6C
Do those look current?
Interestingly, that page does not mention setting xwiki.url.protocol.  Is that 
an oversight, and it should be done anyway?

Thank you!!!
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 
netad...@westmarine.com.


Re: [xwiki-users] LDAP port: 389 vs 3389

2017-03-16 Thread Douglas Landau
Thank you.  This of course was why I was unsuccessful with 8.4.4.

Thanks again.


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Thursday, March 16, 2017 1:42 AM
To: XWiki Users
Subject: Re: [xwiki-users] LDAP port: 389 vs 3389

The application has priority over xwiki.cfg so make sure you did not put 3389 
on wiki side.

On Thu, Mar 16, 2017 at 1:23 AM, Douglas Landau  wrote:
> In my xwiki.cfg I have:
> xwiki.authentication.ldap.port=389
>
> So why do I see this in the console output?
> 2017-03-15 17:10:00,209 
> [http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
> DEBUG o.x.c.l.XWikiLDAPConnection- Connection to LDAP server 
> [pwsdc03.westmarine.net:3389]
>
> Thanks
>
>
> 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 netad...@westmarine.com.



--
Thomas Mortagne

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 
netad...@westmarine.com.


[xwiki-users] Success with Xwiki 9. 8.4.4 broken.

2017-03-15 Thread Douglas Landau
I finally had success.  How?  I stopped trying with 8.4.4.  I replicated the 
config that I've been tearing my hair out over, on XWiki 9.1.2, and boom.  



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 
netad...@westmarine.com.


[xwiki-users] LDAP port: 389 vs 3389

2017-03-15 Thread Douglas Landau
In my xwiki.cfg I have:
xwiki.authentication.ldap.port=389

So why do I see this in the console output?
2017-03-15 17:10:00,209 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConnection- Connection to LDAP server 
[pwsdc03.westmarine.net:3389]

Thanks


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 
netad...@westmarine.com.


Re: [xwiki-users] LDAP Auth again

2017-03-15 Thread Douglas Landau
What does this mean?
#-# LDAP credentials, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
#xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
#xwiki.authentication.ldap.bind_pass={1}

Does this mean that {0} is going to be replaced at runtime, or that I should 
replace it?

Thanks


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Wednesday, March 15, 2017 1:44 PM
To: XWiki Users
Subject: Re: [xwiki-users] LDAP Auth again

Hmm.  I've set these two lines to:

xwiki.authentication.ldap.bind_DN=cn={0},dc=westmarine,dc=net
xwiki.authentication.ldap.bind_pass={1}

... and still get a Java stacktrace surrounded by these:

2017-03-15 13:39:12,357 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 DEBUG x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try 
to authenticate, it probably means the user is in non logged mode.
2017-03-15 13:39:12,357 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 DEBUG x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null

I don't understand why the provided user is null. 

Does Anybody?  I apologize for the dumb question.  But I have no idea where to 
go from here.

Thanks
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 netad...@westmarine.com.

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 
netad...@westmarine.com.


[xwiki-users] LDAP server == localhost ?

2017-03-15 Thread Douglas Landau

Greets,

Looking at this:
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
#-# The default host is localhost
xwiki.authentication.ldap.server=pwsdc03.westmarine.net

Why is the default localhost?  Would it not be quite rare that the AD server is 
also running the XWiki?  Is it not most always the case the localhost here 
should be replaced by the name of the AD server?

Thanks


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 
netad...@westmarine.com.


Re: [xwiki-users] LDAP Auth again

2017-03-15 Thread Douglas Landau
Hmm.  I've set these two lines to:

xwiki.authentication.ldap.bind_DN=cn={0},dc=westmarine,dc=net
xwiki.authentication.ldap.bind_pass={1}

... and still get a Java stacktrace surrounded by these:

2017-03-15 13:39:12,357 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 DEBUG x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try 
to authenticate, it probably means the user is in non logged mode.
2017-03-15 13:39:12,357 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 DEBUG x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null

I don't understand why the provided user is null. 

Does Anybody?  I apologize for the dumb question.  But I have no idea where to 
go from here.

Thanks
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 
netad...@westmarine.com.


Re: [xwiki-users] LDAP Auth again

2017-03-15 Thread Douglas Landau
Greets,

I am getting the same results no matter what I set as the value for:
xwiki.authentication.ldap.bind_DN=cn=sa-douglasl

I see it says that LDAP auth failed for douglasl, which I don’t understand yet, 
but whu then is the XWikiUser null?

Thanks


2017-03-15 13:13:03,767 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG x.c.l.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB
2017-03-15 13:13:03,775 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG x.c.l.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user 
[douglasl]
2017-03-15 13:13:03,775 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null
2017-03-15 13:13:04,304 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 TRACE x.c.l.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2017-03-15 13:13:04,304 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 DEBUG x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try 
to authenticate, it probably means the user is in non logged mode.
2017-03-15 13:13:04,304 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]
 DEBUG x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null


Am I setting the wrong thing?   Thanks


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 
netad...@westmarine.com.


Re: [xwiki-users] LDAP Auth again

2017-03-15 Thread Douglas Landau
That's it, the LDAP authenticator is used as authenticator and you have what is 
described on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Application/
when you do to the administration -> LDAP.

>If you think you configured LDAP authenticator with the right values and login 
>still fail then you should do what is explained on 
>>http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HEnableLDAPdebuglog
>and you will have all the details to see why it fails.

Great!  Thanks.  Did so.  Now I get a whole lot of copies of the 1st message 
below:  " The provided user is null. We don't try to authenticate, it probably 
means the user is in non logged mode."

But I did provide a user, in this line: 
xwiki.authentication.ldap.bind_DN=cn=sa-douglasl,ou=SystemsEngineering,dc=westmarine,dc=net

...and I see that that line has been seen:
2017-03-15 12:42:30,422 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConnection- Binding to LDAP server with credentials 
login=[cn=sa-douglasl,ou=SystemsEngineering,dc=westmarine,dc=net]
2017-03-15 12:42:30,537 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG x.c.l.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.


Was I suppose to specifiy the/a user on some other line?  
Thanks

-
2017-03-15 12:42:30,231 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try 
to authenticate, it probably means the user is in non logged mode.
2017-03-15 12:42:30,231 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
TRACE x.c.l.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2017-03-15 12:42:30,232 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConfig- remoteUserParser: null
2017-03-15 12:42:30,271 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConfig- ldap_group_classes: [groupofnames, 
posixgroup, apple-group, groupofuniquenames, dynamicgroup, 
groupwisedistributionlist, group, dynamicgroupaux]
2017-03-15 12:42:30,271 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConfig- ldap_group_memberfields: [uniquemember, 
memberuid, member]
2017-03-15 12:42:30,382 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConnection- Connection to LDAP server 
[pwsdc03.westmarine.net:389]
2017-03-15 12:42:30,422 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG o.x.c.l.XWikiLDAPConnection- Binding to LDAP server with credentials 
login=[cn=sa-douglasl,ou=SystemsEngineering,dc=westmarine,dc=net]
2017-03-15 12:42:30,537 
[http://dwswiki9.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] 
DEBUG x.c.l.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
failed with LDAPException.
at 
org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
at 
org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:515)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:331)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:267)
at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
at 
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:163)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3776)
at 
org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:242)
at 
org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:272)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3794)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4844)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:364)
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(Req

[xwiki-users] XWiki 9 admin account

2017-03-14 Thread Douglas Landau
Greets,

I've installed Xwiki 9.1.2, but can't log in as Admin/admin.  Did it change, or 
do I have capslock on?

Thanks
Doug


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Tuesday, March 14, 2017 8:48 PM
To: XWiki Users
Subject: [xwiki-users] XWiki 9 Java errors

Greets,
I've installed xwiki 9.1.2 in a new VM.  I am using Java 1.8.0_25.
I ran the standalone installer and said start_xwiki.sh and it started, and I 
got the java stacktraces below.   I have not modified xwiki.cfg or anything 
else.

Can anyone shed some light on these errors?   Thanks!

Doug

[root@dwswiki10 data]# xwiki/start_xwiki.sh Starting Jetty on port 8080, please 
wait...
2017-03-14 20:36:56.714:INFO::main: Logging initialized @1077ms
2017-03-14 20:36:57.507:INFO:oejs.Server:main: jetty-9.2.13.v20150730
2017-03-14 20:36:57.531:INFO:oejs.AbstractNCSARequestLog:main: Opened 
/data/xwiki/data/logs/2017_03_15.request.log
2017-03-14 20:36:57.534:INFO:oejdp.ScanningAppProvider:main: Deployment monitor 
[file:/data/xwiki/jetty/contexts/] at interval 0
2017-03-14 20:36:57.916:INFO:oejsh.ContextHandler:main: Started 
o.e.j.w.WebAppContext@3cbbc1e0{/,file:/data/xwiki/webapps/root/,AVAILABLE}{/root}
2017-03-14 20:36:58.866:WARN:oeja.AnnotationConfiguration:main: 
ServletContainerInitializers: detected. Class hierarchy: empty
2017-03-14 20:37:18,206 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Starting 
embedded Solr server...
2017-03-14 20:37:18,228 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using 
Solr home directory: [data/solr]
2017-03-14 20:37:20,598 [coreLoadExecutor-6-thread-1] WARN  
o.a.s.c.SolrResourceLoader - Solr loaded a deprecated plugin/analysis class 
[solr.SynonymFilterFactory]. Please consult documentation how to replace it 
accordingly.
2017-03-14 20:37:24,370 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started 
embedded Solr server.
2017-03-14 20:37:25.459:INFO:oejsh.ContextHandler:main: Started 
o.e.j.w.WebAppContext@185d8b6{/xwiki,file:/data/xwiki/webapps/xwiki/,AVAILABLE}{/xwiki}
2017-03-14 20:37:25.489:INFO:oejs.ServerConnector:main: Started 
ServerConnector@209b4b35{HTTP/1.1}{0.0.0.0:8080}
2017-03-14 20:37:25.490:INFO:oejs.Server:main: Started @29854ms
2017-03-14 20:37:25.490:INFO:oxtjl.NotifyListener:main: 
--
2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: Server started, you can 
now open http://dwswiki10.westmarine.net:8080/ in your browser to access your 
wiki.
2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: 
--
2017-03-14 20:39:13,763 [XWiki initialization] INFO  
.HibernateDataMigrationManager - Storage schema updates and data migrations are 
enabled
2017-03-14 20:39:14,064 [XWiki initialization] INFO  
.HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] 
currently in version [9]
2017-03-14 20:39:14,064 [XWiki initialization] INFO  
.HibernateDataMigrationManager - Checking Hibernate mapping and updating schema 
if needed for wiki [xwiki]
2017-03-14 20:39:21,490 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with 
identifier [[solr, indexer]]
2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - 814 documents added, 0 deleted and 0 updated 
during the synchronization of the Solr index.
2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with 
identifier [[solr, indexer]]
2017-03-14 20:40:02,431 [http://dwswiki10:8080/xwiki/bin/view/Main/] ERROR 
.o.i.DefaultObservationManager - Failed to send event [class 
org.xwiki.bridge.event.ActionExecutedEvent (view)] to listener 
[com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl@65741976]
java.lang.IllegalStateException: Response is committed
at org.eclipse.jetty.server.Request.getSession(Request.java:1399)
at org.eclipse.jetty.server.Request.getSession(Request.java:1377)
at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
at 
com.xpn.xwiki.stats.impl.StatsUtil.getRecentActionFromSessions(StatsUtil.java:281)
at 
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.onEvent(XWikiStatsServiceImpl.java:160)
at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:549)
at com.xpn.xwiki.web.XWik

[xwiki-users] XWiki 9 Java errors

2017-03-14 Thread Douglas Landau
Greets,
I've installed xwiki 9.1.2 in a new VM.  I am using Java 1.8.0_25.
I ran the standalone installer and said start_xwiki.sh and it started, and I 
got the java stacktraces below.   I have not modified xwiki.cfg or anything 
else.

Can anyone shed some light on these errors?   Thanks!

Doug

[root@dwswiki10 data]# xwiki/start_xwiki.sh
Starting Jetty on port 8080, please wait...
2017-03-14 20:36:56.714:INFO::main: Logging initialized @1077ms
2017-03-14 20:36:57.507:INFO:oejs.Server:main: jetty-9.2.13.v20150730
2017-03-14 20:36:57.531:INFO:oejs.AbstractNCSARequestLog:main: Opened 
/data/xwiki/data/logs/2017_03_15.request.log
2017-03-14 20:36:57.534:INFO:oejdp.ScanningAppProvider:main: Deployment monitor 
[file:/data/xwiki/jetty/contexts/] at interval 0
2017-03-14 20:36:57.916:INFO:oejsh.ContextHandler:main: Started 
o.e.j.w.WebAppContext@3cbbc1e0{/,file:/data/xwiki/webapps/root/,AVAILABLE}{/root}
2017-03-14 20:36:58.866:WARN:oeja.AnnotationConfiguration:main: 
ServletContainerInitializers: detected. Class hierarchy: empty
2017-03-14 20:37:18,206 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Starting 
embedded Solr server...
2017-03-14 20:37:18,228 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using 
Solr home directory: [data/solr]
2017-03-14 20:37:20,598 [coreLoadExecutor-6-thread-1] WARN  
o.a.s.c.SolrResourceLoader - Solr loaded a deprecated plugin/analysis class 
[solr.SynonymFilterFactory]. Please consult documentation how to replace it 
accordingly.
2017-03-14 20:37:24,370 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started 
embedded Solr server.
2017-03-14 20:37:25.459:INFO:oejsh.ContextHandler:main: Started 
o.e.j.w.WebAppContext@185d8b6{/xwiki,file:/data/xwiki/webapps/xwiki/,AVAILABLE}{/xwiki}
2017-03-14 20:37:25.489:INFO:oejs.ServerConnector:main: Started 
ServerConnector@209b4b35{HTTP/1.1}{0.0.0.0:8080}
2017-03-14 20:37:25.490:INFO:oejs.Server:main: Started @29854ms
2017-03-14 20:37:25.490:INFO:oxtjl.NotifyListener:main: 
--
2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: Server started, you can 
now open http://dwswiki10.westmarine.net:8080/ in your browser to access your 
wiki.
2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: 
--
2017-03-14 20:39:13,763 [XWiki initialization] INFO  
.HibernateDataMigrationManager - Storage schema updates and data migrations are 
enabled
2017-03-14 20:39:14,064 [XWiki initialization] INFO  
.HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] 
currently in version [9]
2017-03-14 20:39:14,064 [XWiki initialization] INFO  
.HibernateDataMigrationManager - Checking Hibernate mapping and updating schema 
if needed for wiki [xwiki]
2017-03-14 20:39:21,490 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with 
identifier [[solr, indexer]]
2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - 814 documents added, 0 deleted and 0 updated 
during the synchronization of the Solr index.
2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with 
identifier [[solr, indexer]]
2017-03-14 20:40:02,431 [http://dwswiki10:8080/xwiki/bin/view/Main/] ERROR 
.o.i.DefaultObservationManager - Failed to send event [class 
org.xwiki.bridge.event.ActionExecutedEvent (view)] to listener 
[com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl@65741976]
java.lang.IllegalStateException: Response is committed
at org.eclipse.jetty.server.Request.getSession(Request.java:1399)
at org.eclipse.jetty.server.Request.getSession(Request.java:1377)
at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
at 
com.xpn.xwiki.stats.impl.StatsUtil.getRecentActionFromSessions(StatsUtil.java:281)
at 
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.onEvent(XWikiStatsServiceImpl.java:160)
at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:549)
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.Actio

[xwiki-users] LDAP Auth again

2017-03-14 Thread Douglas Landau
OK, now I'm -totally- confused.  :-) I am looking for the LDAP Application 
form.

I started over with the standalone installer.
I installed the LDAP Authenticator using the built-in (pre-installed?) admin 
application
I tried adding the LDAP settings found here to xwiki.cfg: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/
Therefore I have "xwiki.authentication.ldap=1"
I also set a value/server-hostname for "xwiki.authentication.ldap.server="
I left these two lines uncommented, hoping for anonymous LDAP binding, which I 
am told we offer.

xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}

I have a value for "xwiki.authentication.ldap.base_DN="
I stopped XWiki by pressing Control-C twice in the window in which I started it 
using start_xwiki.sh, since I never got a prompt back.
I modified my xwiki.cfg but am not able to log in using LDAP.
I saw where it says "if you are not using the LDAP application, you will have 
to redeploy".   But I don’t know what that means or see it explained anywhere.
So I installed the LDAP Application.  Version 9.2.3.   The version of the LDAP 
Authenticator is also 9.2.3.  I installed XWiki 8.4.4.
I finally got to a known point!   PHEW!   I go to here, 
from the LDAP Application page:
---
Enabling LDAP authentication on a wiki
The LDAP application assumes LDAP is enabled as the main authenticator via the 
bundled XWiki LDAP authenticator. If it's not the case, you will be "welcomed" 
with the following warning message:

ldap-authenticator-warning.png

In the event you encounter this message, please report to Authenticator 
documentation in order to enable the LDAP authenticator on your wiki.

You need to make sure you have have the following in your xwiki.cfg file:

xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
since LDAP Application 8.3 or if you are using older version of the application:

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
Uncomment it and then restart XWiki.
-

Okay  Right ON.   Now, it says "Since LDAP Application 8.3 or if you are 
using an older version of the application."
This is confusing to me.  Since 8.3 I ought to use that line, and also if I am 
using an older version?!?   OK, I'll try that, since I am using 9.2.3, and it 
sounds like I ought be using that ever since 8.3.  And I got Java errors when I 
tried to start xwiki again. 
Okay.  I guess that is not going to work.  I'll try the other line, the first 
one suggested.  That time I got no Java errors.
Now I have this: 
xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl

Okay.  After setting that to that, I was able to start xwiki again.   I logged 
in as Admin and went to the LDAP Application.  The page is titled "LDAP Admin 
sheet".   There is some whitespace.  The in large font is the work 
"Configuration".  There is a pencil on the far right.  Below that is the word 
"Miscellaneous".  Another pencil on the far right.  Below that is a button 
"Reset group cache".  I pressed it.  I then clicked the pencil to the right of 
"Configuration".  There is nothing there.

Where is the form I see on this page: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Application/   ???
I see no error msgs or guidance of any sort going to the window in which I 
started xwiki.
I still can't log in using LDAP credentials.

OK Now I've uncommeted out these two lines and removed their values:
xwiki.authentication.ldap.bind_DN=
xwiki.authentication.ldap.bind_pass=

Same story.  Maybe I'll give up on anonymous binding.  OK, now I've filled 
those in.  I've restarted and same story - cant auth using LDAP and can't find 
the form, just a pencil on the LDAP Admin sheet.  Not sure what to do next 
except start over with XWiki 9.  Guess I'll get that going in another VM.

Help?

Thanks.  



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 
netad...@westmarine.com.


Re: [xwiki-users] Redeploy the XWiki webapp ?

2017-03-14 Thread Douglas Landau
Sometimes - maybe every time, not sure - that I start xwiki, I get "XWiki 
initializing (12%)" 
Is that re-deploying?

Thanks

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Tuesday, March 14, 2017 4:04 PM
To: XWiki Users
Subject: [xwiki-users] Redeploy the XWiki webapp ?

Greets,

The LDAP Authenticator extension webpage says "Unlike editing xwiki.cfg, which 
requires you to redeploy the XWiki webapp, ..."

How does one redeploy the app?

Thanks
Doug


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: Tuesday, March 14, 2017 3:11 PM
To: XWiki Users
Subject: Re: [xwiki-users] CKEditor and Lightbox Macro Issue

On Tue, Mar 14, 2017 at 4:57 PM, Mahomed Hussein 
wrote:

> Hi
>
> We’ve come across a slight issue with the Lightbox macro when using 
> CKEditor 1.12. I thought I’d post to the group before logging it on Jira.
>
> Basically, the issue is that when you go into CKEditor, the Macro 
> encompasses all the text that follows it [1]. I have marked up all the 
> images so please look at them as it should make it easier to see what 
> I mean. Looking at the source, it appears that the closing DIV for the 
> macro is being put at the end of all the following content [2].
>
>

> If you then go into Source view, it deletes all the text after the 
> lightbox macro [3]. If you edit using the original Wiki editor, you 
> can see all the text is there correctly [4]
>

This sounds like http://jira.xwiki.org/browse/CKEDITOR-131 and the problem (see 
my comment to the linked issue) is probably that the LightBox Macro generates 
invalid HTML. It may look good in view mode, but usually that is because the 
browser fixes the invalid HTML on the fly. And this fixing on the fly messes up 
the macro rendering markers. Of course, the rendering markers should be made 
more robust, but that requires more changes. The easies solution is to make 
sure the macro generates valid HTML (e.g all tags are properly closed so that 
the browser doesn't have to close the DIV itself).

Hope this helps,
Marius


>
> You can put in a terrible workaround (this was more an experiment than 
> a solution to be honest) by going into Wiki edit mode, and adding 2 
> extra line breaks and a closing DIV tag inside the HTML tags [5]. This 
> then allows CKEditor to render correctly and you can view/edit the 
> content after the light box without any issues. [6]. Sadly this isn’t 
> a solution and I hope someone can help with a proper solution.
>
> It seems to me that this is something that needs changing in CKEditor, 
> rather than in the Lightbox Macro as rendering of the images and 
> lightbox is fine when viewing the documents, and it seems the Macro JS 
> code does not get executed when editing in CKEditor.
>
> Please let me know if you need any other info and I hope someone can help.
> Thanks.
>
>
> [1] - http://pasteboard.co/JljtnBA9U.png
> [2] - http://pasteboard.co/JlFkCTN8k.png
> [3] - http://pasteboard.co/JlG6J0k5E.png
> [4] - http://pasteboard.co/JlGsIdGZK.png
> [5] - http://pasteboard.co/JlHgakjs2.png
> [6] - http://pasteboard.co/JlHCxvOC8.png
>
>
>
> Kind regards,
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: maho...@custodiandc.com
> http://www.CustodianDC.com
>

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 netad...@westmarine.com.

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 
netad...@westmarine.com.


[xwiki-users] Starting and stopping again

2017-03-14 Thread Douglas Landau
Greets,
I've started over using the standard installation.  I now have start_xwiki.sh 
and stop_xwiki.sh.  But start_wiki.sh never returns.   Sorry for the dumb 
question, but I guess one is expected to actually say "start_xwiki.sh &", is 
that correct?   I don't see anything in the output that explains the failure to 
exit.

Thanks


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Tuesday, March 14, 2017 4:04 PM
To: XWiki Users
Subject: [xwiki-users] Redeploy the XWiki webapp ?

Greets,

The LDAP Authenticator extension webpage says "Unlike editing xwiki.cfg, which 
requires you to redeploy the XWiki webapp, ..."

How does one redeploy the app?

Thanks
Doug


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: Tuesday, March 14, 2017 3:11 PM
To: XWiki Users
Subject: Re: [xwiki-users] CKEditor and Lightbox Macro Issue

On Tue, Mar 14, 2017 at 4:57 PM, Mahomed Hussein 
wrote:

> Hi
>
> We’ve come across a slight issue with the Lightbox macro when using 
> CKEditor 1.12. I thought I’d post to the group before logging it on Jira.
>
> Basically, the issue is that when you go into CKEditor, the Macro 
> encompasses all the text that follows it [1]. I have marked up all the 
> images so please look at them as it should make it easier to see what 
> I mean. Looking at the source, it appears that the closing DIV for the 
> macro is being put at the end of all the following content [2].
>
>

> If you then go into Source view, it deletes all the text after the 
> lightbox macro [3]. If you edit using the original Wiki editor, you 
> can see all the text is there correctly [4]
>

This sounds like http://jira.xwiki.org/browse/CKEDITOR-131 and the problem (see 
my comment to the linked issue) is probably that the LightBox Macro generates 
invalid HTML. It may look good in view mode, but usually that is because the 
browser fixes the invalid HTML on the fly. And this fixing on the fly messes up 
the macro rendering markers. Of course, the rendering markers should be made 
more robust, but that requires more changes. The easies solution is to make 
sure the macro generates valid HTML (e.g all tags are properly closed so that 
the browser doesn't have to close the DIV itself).

Hope this helps,
Marius


>
> You can put in a terrible workaround (this was more an experiment than 
> a solution to be honest) by going into Wiki edit mode, and adding 2 
> extra line breaks and a closing DIV tag inside the HTML tags [5]. This 
> then allows CKEditor to render correctly and you can view/edit the 
> content after the light box without any issues. [6]. Sadly this isn’t 
> a solution and I hope someone can help with a proper solution.
>
> It seems to me that this is something that needs changing in CKEditor, 
> rather than in the Lightbox Macro as rendering of the images and 
> lightbox is fine when viewing the documents, and it seems the Macro JS 
> code does not get executed when editing in CKEditor.
>
> Please let me know if you need any other info and I hope someone can help.
> Thanks.
>
>
> [1] - http://pasteboard.co/JljtnBA9U.png
> [2] - http://pasteboard.co/JlFkCTN8k.png
> [3] - http://pasteboard.co/JlG6J0k5E.png
> [4] - http://pasteboard.co/JlGsIdGZK.png
> [5] - http://pasteboard.co/JlHgakjs2.png
> [6] - http://pasteboard.co/JlHCxvOC8.png
>
>
>
> Kind regards,
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: maho...@custodiandc.com
> http://www.CustodianDC.com
>

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 netad...@westmarine.com.

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 
netad...@westmarine.com.


[xwiki-users] Redeploy the XWiki webapp ?

2017-03-14 Thread Douglas Landau
Greets,

The LDAP Authenticator extension webpage says 
"Unlike editing xwiki.cfg, which requires you to redeploy the XWiki webapp, ..."

How does one redeploy the app?

Thanks
Doug


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: Tuesday, March 14, 2017 3:11 PM
To: XWiki Users
Subject: Re: [xwiki-users] CKEditor and Lightbox Macro Issue

On Tue, Mar 14, 2017 at 4:57 PM, Mahomed Hussein 
wrote:

> Hi
>
> We’ve come across a slight issue with the Lightbox macro when using 
> CKEditor 1.12. I thought I’d post to the group before logging it on Jira.
>
> Basically, the issue is that when you go into CKEditor, the Macro 
> encompasses all the text that follows it [1]. I have marked up all the 
> images so please look at them as it should make it easier to see what 
> I mean. Looking at the source, it appears that the closing DIV for the 
> macro is being put at the end of all the following content [2].
>
>

> If you then go into Source view, it deletes all the text after the 
> lightbox macro [3]. If you edit using the original Wiki editor, you 
> can see all the text is there correctly [4]
>

This sounds like http://jira.xwiki.org/browse/CKEDITOR-131 and the problem (see 
my comment to the linked issue) is probably that the LightBox Macro generates 
invalid HTML. It may look good in view mode, but usually that is because the 
browser fixes the invalid HTML on the fly. And this fixing on the fly messes up 
the macro rendering markers. Of course, the rendering markers should be made 
more robust, but that requires more changes. The easies solution is to make 
sure the macro generates valid HTML (e.g all tags are properly closed so that 
the browser doesn't have to close the DIV itself).

Hope this helps,
Marius


>
> You can put in a terrible workaround (this was more an experiment than 
> a solution to be honest) by going into Wiki edit mode, and adding 2 
> extra line breaks and a closing DIV tag inside the HTML tags [5]. This 
> then allows CKEditor to render correctly and you can view/edit the 
> content after the light box without any issues. [6]. Sadly this isn’t 
> a solution and I hope someone can help with a proper solution.
>
> It seems to me that this is something that needs changing in CKEditor, 
> rather than in the Lightbox Macro as rendering of the images and 
> lightbox is fine when viewing the documents, and it seems the Macro JS 
> code does not get executed when editing in CKEditor.
>
> Please let me know if you need any other info and I hope someone can help.
> Thanks.
>
>
> [1] - http://pasteboard.co/JljtnBA9U.png
> [2] - http://pasteboard.co/JlFkCTN8k.png
> [3] - http://pasteboard.co/JlG6J0k5E.png
> [4] - http://pasteboard.co/JlGsIdGZK.png
> [5] - http://pasteboard.co/JlHgakjs2.png
> [6] - http://pasteboard.co/JlHCxvOC8.png
>
>
>
> Kind regards,
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: maho...@custodiandc.com
> http://www.CustodianDC.com
>

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 
netad...@westmarine.com.


Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-09 Thread Douglas Landau
Thanks.   Sorry to continue with the dumb questions, but that said,:
- I see that I don't have the ability to run Tomcat as myself, having installed 
it as root and not changed any permissions.I spose that most people create 
a new, local, user "xwiki" or "tomcat_user", and install and run the software 
as that user?
- Do most people run Tomcat or something else?
- Do most people install Xwiki from WAR or using the standalone?

Thinkin I should start over ..

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Wednesday, March 08, 2017 11:47 PM
To: XWiki Users
Subject: Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with 
systemctl

On Thu, Mar 9, 2017 at 12:11 AM, Douglas Landau  wrote:
>
>>One more tip: you actually shouldn't run Tomcat as root, this could get messy 
>>pretty fast.
> Thanks!
>
> - In fact I installed Tomcat and xwiki as root.  I guess someone else should 
> own the files?

> - I would like to run tomcat/xwiki on port 80.  Do I need to run as root to 
> do that?  Do I need to set up some privsep user such that it starts as root 
> and then SU's to a lesser user, like ssh does?

It's indeed possible Tomcat require root to use port 80. At least on Linux. 
Usually what most people do is put Apache on Nginx in front of Tomcat on port 
80 and keep Tomcat on port 8080.

>
> Thx again.
> Doug
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Stopping-Xwiki-8-4-3-Tomcat-9-0-and-
> integrating-with-systemctl-tp7602905p7602907.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> 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 netad...@westmarine.com.



--
Thomas Mortagne

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 
netad...@westmarine.com.


Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-08 Thread Douglas Landau

>One more tip: you actually shouldn't run Tomcat as root, this could get messy 
>pretty fast.
Thanks!

- In fact I installed Tomcat and xwiki as root.  I guess someone else should 
own the files?
- I would like to run tomcat/xwiki on port 80.  Do I need to run as root to do 
that?  Do I need to set up some privsep user such that it starts as root and 
then SU's to a lesser user, like ssh does?

Thx again.
Doug



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Stopping-Xwiki-8-4-3-Tomcat-9-0-and-integrating-with-systemctl-tp7602905p7602907.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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 
netad...@westmarine.com.


[xwiki-users] LDAP Authentication extension config

2017-03-06 Thread Douglas Landau
Hi,

Another dumb question, apologies in advance.
I'm running Tomcat 9.0 + mysql 5.7 + XWiki 8.4.3 installed from WAR.
I installed the LDAP authentication thru the extensions manager, at least I 
think I did, but don't see the installed package files anywhere.  Nor do I see 
anything about it in the GUI.  Except in the extensions manager, that it was 
installed to Farm.   

This page:
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HGenericLDAPconfiguration
says to edit your xwiki.cfg as follows.  But I don't see the lines below in my 
xwiki.cfg.  I am supposed to add them, I guess?  Or was there some step I was 
supposed to take to get me from "Installed on Farm" to "Installed on Xwiki" ?

Thanks!
Doug



 Generic LDAP configuration
In order to enable the LDAP support you have to change the authentication 
method in WEB-INF/xwiki.cfg as follows:

#-# LDAP authentication service
xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap=1
You can setup the LDAP configuration in the xwiki.cfg file by filling the 
following properties:

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap=1

#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
#-# The default host is localhost
xwiki.authentication.ldap.server=localhost
#-# The default port is 389 (636 if xwiki.authentication.ldap.ssl is enabled)
# xwiki.authentication.ldap.port=389

#-# LDAP credentials, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Monday, March 06, 2017 1:44 PM
To: XWiki Users
Subject: Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with 
systemctl


>Port in  property is a Tomcat system port used for shutdown, it should 
>not be confused with a port Tomcat service connector listens on (client 
>connection port like 80, 8080, 443 etc). So changing it to 8080 is not what 
>you should've done, I think.

Thanks.  I changed it back to 8005.  But when I start up it is still not 
listening on 8005, and so the shutdown script does not work.  What have I 
overlooked/do I have to do to enable port 8005 shutdown?

Thanks
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 
netad...@westmarine.com.

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 
netad...@westmarine.com.


Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-06 Thread Douglas Landau

>Port in  property is a Tomcat system port used for shutdown, it should 
>not be confused with a port Tomcat service connector listens on (client 
>connection port like 80, 8080, 443 etc). So changing it to 8080 is not what 
>you should've done, I think.

Thanks.  I changed it back to 8005.  But when I start up it is still not 
listening on 8005, and so the shutdown script does not work.  What have I 
overlooked/do I have to do to enable port 8005 shutdown?

Thanks
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 
netad...@westmarine.com.


Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-01 Thread Douglas Landau
Okay.  I found the line with port 8005 in server.xml:
./conf/server.xml:

... and changed it to 8080.   However, altho $CTALINA_HOME/bin/shutdown.sh now 
runs, it doesn't seem to shut it down.  Furthermore there are two of them 
running. PIDs 1597 and 1598.  Is that correct?TIA.  
/var/run/jsvc.pid shows only 1598.

root  1597  0.0  0.0   8560   336 ?Ss   17:30   0:00 jsvc.exec 
-classpath 
/opt/apache-tomcat-9.0.0.M15/bin/bootstrap.jar:/opt/apache-tomcat-9.0.0.M15/bin/tomcat-juli.jar
 -outfile /opt/apache-tomcat-9.0.0.M15/logs/catalina.out -errfile 
/opt/apache-tomcat-9.0.0.M15/logs/catalina.err 
-Dcatalina.home=/opt/apache-tomcat-9.0.0.M15 
-Dcatalina.base=/opt/apache-tomcat-9.0.0.M15 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.util.logging.config.file=/opt/apache-tomcat-9.0.0.M15/conf/logging.properties
 org.apache.catalina.startup.Bootstrap

root  1598 71.2  2.0 2986964 80708 ?   Sl   17:30   0:02 jsvc.exec 
-classpath 
/opt/apache-tomcat-9.0.0.M15/bin/bootstrap.jar:/opt/apache-tomcat-9.0.0.M15/bin/tomcat-juli.jar
 -outfile /opt/apache-tomcat-9.0.0.M15/logs/catalina.out -errfile 
/opt/apache-tomcat-9.0.0.M15/logs/catalina.err 
-Dcatalina.home=/opt/apache-tomcat-9.0.0.M15 
-Dcatalina.base=/opt/apache-tomcat-9.0.0.M15 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.util.logging.config.file=/opt/apache-tomcat-9.0.0.M15/conf/logging.properties
 org.apache.catalina.startup.Bootstrap
root  1613  0.0  0.0 161352  1884 pts/0R+   17:31   0:00 ps -auxww
[root@pwswiki10 opt]# more catalina_start
CATALINA_BASE=$CATALINA_HOME
CATALINA_OPTS="-Xmx1024m -XX:MaxPermSize=192m"

export JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true"

cd $CATALINA_HOME
./bin/jsvc \
-classpath $CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/tomcat-juli.j
ar \
-outfile $CATALINA_BASE/logs/catalina.out \
-errfile $CATALINA_BASE/logs/catalina.err \
-Dcatalina.home=$CATALINA_HOME \
-Dcatalina.base=$CATALINA_BASE \
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties \
org.apache.catalina.startup.Bootstrap
export PERL_MB_OPT="--install_base /root/perl5";
export PERL_MM_OPT="INSTALL_BASE=/root/perl5";
[root@pwswiki10 opt]#



-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Wednesday, March 01, 2017 5:14 PM
To: XWiki Users
Subject: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with 
systemctl

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

[xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-01 Thread Douglas Landau
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.(Socket.java:434)
at java.net.Socket.(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 
netad...@westmarine.com.


Re: [xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Douglas Landau
Ha-HA  :-)  Thank you again sir!  I am past the errors and on to the 
Distribution Wizard.

Fantastic.

> It looks like I did copy the MySQL-connector jar to 
> tomcat/webapps/xwiki/WEB_INF.

It’s WEB-INF/lib. Could you check that?


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 
netad...@westmarine.com.


Re: [xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Douglas Landau
>This means that you’ve modified hibernate.cfg.xml but you’re added elements at 
>the wrong place in the XML, not following the DTD at 
>http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd.
...
>I think that'd the error is here and those mappings need to be commented out 
>too since they’re defined in the mysql section but you made them be out of 
>order and come before properties…

Thanks, Vincent!!  I commented out the mappings and am no longer getting the 
error at line 244.
I don't see a specific line number in hibernate.cfg.xml this time.  I see this 
at line 80: (of catalina.err):

Caused by: org.hibernate.HibernateException: Could not create a DBCP pool. 
There is an error in the Hibernate configuration file, please review it.

...and I see this at line 92:
Caused by: java.sql.SQLException: Cannot load JDBC driver class 
'com.mysql.jdbc.Driver'

It looks like I did copy the MySQL-connector jar to 
tomcat/webapps/xwiki/WEB_INF.

I don't know what to make of either msg, and am going back to the archives 
looking for those.  I guess even before those I don't know what to make of this:
org.xwiki.query.QueryException: Exception while executing query. Query 
statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as 
panel WHERE 1=1  and doc.fullName=panel.name and 
panel.className='Panels.PanelClass' ]



--
[root@dwiki01 ~]# cd /opt
[root@dwiki01 opt]# find . | grep mysql-connector-java-5.1.40-bin.jar
./apache-tomcat-9.0.0.M15/webapps/xwiki/WEB-INF/mysql-connector-java-5.1.40-bin.jar

[root@dwiki01 opt]# cat catalina.err
06-Jan-2017 12:33:01.915 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version:
Apache Tomcat/9.0.0.M15
06-Jan-2017 12:33:01.916 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:  
Dec 5 2016 13:44:25 UTC
06-Jan-2017 12:33:01.916 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server number: 
9.0.0.0
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:   
Linux
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
3.10.0-327.36.3.el7.x86_64
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:  
amd64
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home: 
/usr/java/jdk1.8.0_25/jre
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:   
1.8.0_25-b17
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Oracle Corporation
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: 
/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: 
/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.home=/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.base=/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.config.file=/opt/apache-tomcat-9.0.0.M15/conf/logging.properties
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.process.id=3733
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.process.parent=3732
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.version=1.0.15-dev
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
abort
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based 
Apache Tomcat Native library which allows optimal performance in production 
environments was not found on the java.library.path: 
/usr/java/jdk1.8.0_25/jre/lib/amd64/server:/usr/java/jdk1.8.0_25/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
06-Jan-2017 12:33:02.163 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["http-nio-8080"]
06-Jan-2017 12:33:02.194 INFO [main] 
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared

[xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Douglas Landau
Greetings,

Another one of these.  A Java stacktrace looking very very much like the one 
reported Aug 10 2016 by Tom Neumann on the Forum, 
http://dev.xwiki.org/xwiki/bin/view/Community/Forum

However, his error was at line 233 of hibernate.cfg.xml, whereas mine is at 
line 244:

Caused by: org.xml.sax.SAXParseException; lineNumber: 244; columnNumber: 21; 
The content of element type "session-factory" must match 
"(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)".

The thing is, the file is only 245 lines long.  I don't see the error.  I have 
commented out the hsqldb section at line 90.  I have uncommented the MySQL 
section by moving the closing comment from line 138 to line 124.

Can anyone see what I've done wrong?  Many thanks-

#cat hibernate.cfg.xml




http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd";>

  





false
true


false


false
50
5
3
com.xpn.xwiki.store.DBCPConnectionProvider


















jdbc:mysql://localhost/xwiki?useSSL=false
xwiki
xwiki
com.mysql.jdbc.Driver
org.hibernate.dialect.MySQL5InnoDBDialect
true
20
















  






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 
netad...@westmarine.com.


[xwiki-users] xwiki mysql user password complexity

2017-01-06 Thread Douglas Landau
Greetings,

I am trying to install XWiki 8.4.3 in Tomcat 9.0.0.M15.
The instructions at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL say :
mysql -u root -e "grant all privileges on *.* to xwiki@localhost identified by 
'xwiki'"

This was failing for me with a message about password complexity until I said, 
in mysql, "uninstall plugin validate_password;"

Apologies if this has already been raised here; I don't see a way to search the 
archives yet.

Thanks
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 
netad...@westmarine.com.