i'm trying to create the official 4.1.3 stable build by building from
source code. but couldn't find the correct source code revision for
official 4.1.3 stable
Source code location: https://github.com/xwiki/xwiki-platform
branch: stable-4.1.x
Actually, i was trying to find a branch or tag that contains
stable-4.1.3, stable-4.1.x is the closest thing i can find in github
The content of jar file are very different between what i built from
4.1.x and what was distribued in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip
For example:
the jar file name of oldcore is called
xwiki-platform-legacy-oldcore-4.1.3.jar in
xwiki-enterprise-jetty-hsqldb-4.1.3.zip, and it has compatibility sub
folder
the name is called xwiki-platform-oldcore-4.1-SNAPSHOT.jar, when
compiled from stable-4.1.x, and it does have compatibility sub
folder. this is just one of the differences
Thank you very much
Ray
I am trying to upgrade from 3.0 rc1 to something more current. I have
tried to go from 3.0 -> 3.5 and from 3.0 -> 4.1.3 both times I lost the
ability to see my user rights and my document index.
I was just trying to upgrade the core components so I was not importing the
default xar, although I did try that too following the precautions not to
import Preferences and Rights pages.
Do I need to go sequentially through all versions or is there a suggestion
on how I may accomplish this? My wiki currently is not that big but we are
getting prepared to rollout to larger audience and I would like to upgrade
before.
Thanks for any advice,
Bob
Hello,
after setting up the basic xwiki(4.3.1)/db stuff i went on and installed some of the features from the xar file.
Afterwards I was asked to authenticate, but every page I tried to load just never ended loading. After restarting tomcat and waiting for some minutes I was able to reach both the Main page as well as the Login page and successfully logged in as Admin. Now the pages won't load again.
Is that a known problem? Any ideas on what i could try to get the system running again?
Thilo
Vincent, you're a star! It's working fine now; many thanks! =)
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: 24 August 2012 16:38
To: XWiki Users
Subject: Re: [xwiki-users] Form content size problem
Hi Ian,
On Aug 23, 2012, at 2:15 PM, Higginson Ian (WIRRAL PCT) <ian.higginson(a)nhs.net> wrote:
> Hi,
>
> I'm having trouble getting the Jetty database to allow me to put content in that's bigger than 20kb. I've modified the start_xwiki.bat file (pasted below) but it still comes up saying I have the same content size limitation. Have I done anything wrong in the file below? I'm using jetty-7.4.5.v20110725
I think I know the problem... :)
See http://wiki.eclipse.org/Jetty/Howto/Configure_Form_Size
Basically the system param name is org.eclipse.jetty.server.Request.maxFormContentSize for Jetty7 and no longer org.mortbay.jetty.Request.maxFormContentSize
Since we've changed that a while again you have probably kept an older start_xwiki.bat file
Thanks
-Vincent
> Many thanks!
> Ian.
>
> @echo off
> REM -------------------------------------------------------------------------
> REM See the NOTICE file distributed with this work for additional
> REM information regarding copyright ownership.
> REM
> REM This is free software; you can redistribute it and/or modify it
> REM under the terms of the GNU Lesser General Public License as
> REM published by the Free Software Foundation; either version 2.1 of
> REM the License, or (at your option) any later version.
> REM
> REM This software is distributed in the hope that it will be useful,
> REM but WITHOUT ANY WARRANTY; without even the implied warranty of
> REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> REM Lesser General Public License for more details.
> REM
> REM You should have received a copy of the GNU Lesser General Public
> REM License along with this software; if not, write to the Free
> REM Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> REM 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> REM -------------------------------------------------------------------------
>
> set JETTY_HOME=jetty
> set JETTY_PORT=8080
> set XWIKI_OPTS=-Xmx512m -XX:MaxPermSize=128m
>
> REM Ensure the logs directory exists as otherwise Jetty reports an error
> if not exist %JETTY_HOME%\logs mkdir %JETTY_HOME%\logs
>
> REM Ensure the work directory exists so that Jetty uses it for its temporary files.
> if not exist %JETTY_HOME%\work mkdir %JETTY_HOME%\work
>
> REM Ensure the data directory exists so that XWiki can use it for storing permanent data.
> if not exist data mkdir data
>
> REM Specify port on which HTTP requests will be handled
> set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.port=%JETTY_PORT%
>
> REM Specify Jetty's home directory
> set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.home=%JETTY_HOME%
>
> REM Specify port and key to stop a running Jetty instance
> set XWIKI_OPTS=%XWIKI_OPTS% -DSTOP.KEY=xwiki -DSTOP.PORT=8079
>
> REM Specify the encoding to use
> set XWIKI_OPTS=%XWIKI_OPTS% -Dfile.encoding=UTF8
>
> REM In order to avoid getting a "java.lang.IllegalStateException: Form too large" error
> REM when editing large page in XWiki we need to tell Jetty to allow for large content
> REM since by default it only allows for 20K. We do this by passing the
> REM org.mortbay.http.HttpRequest.maxFormContentSize property.
> REM Note that setting this value too high can leave your server vulnerable to denial of
> REM service attacks.
> set XWIKI_OPTS=%XWIKI_OPTS% -Dorg.mortbay.jetty.Request.maxFormContentSize=4000000
>
> java %XWIKI_OPTS% %2 %3 %4 %5 %6 %7 %8 %9 -jar %JETTY_HOME%/start.jar
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
2012/8/28 <users-request(a)xwiki.org>:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. custom athentication issues. (Bob Egolf)
> 2. Start point to update the XWiki Editor in XWiki
> (Boudjelda Mohamed Said)
> 3. Re: Start point to update the XWiki Editor in XWiki
> (Marius Dumitru Florea)
> 4. selected the informations tab as default on every pages
> (Joseph-Andre Guaragna)
> 5. Re: selected the informations tab as default on every pages
> (Vincent Massol)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Aug 2012 08:20:48 -0400
> From: Bob Egolf <egolfb(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] custom athentication issues.
> Message-ID:
> <CAMH_rHihMREAZtjy890af7Z1ETp9QiWU4xQ6X3aEvKhEbsKkPg(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Good morning,
>
> This is a duplicate post of one I sent to the devs list in case this is a
> better place for the question.
>
> I am writing a custom authentication class following notes from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
> and the sample given in
> http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle…
>
>
> The class is written and I can see the Remote Authentication is called and
> returns just fine and my method returns a new XWikiUser
>
> however, in my logs I see the checkAuth being fired twice, once with the
> j_username = entered username... but the second time it is fired set to null
> and is always returning a login failure.
>
> Here is my checkAuth method:
> public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
>
> log.debug("ARFSSOAuthServiceImpl.checkAuth");
>
> String user = getRemoteUser(context);
>
> if (user==null || user.equals("")){
> log.error("SSOAuthServiceImpl: User cannot be authenticated
> (REMOTE_USER is null)");
> // TODO: redirect login.
> return null;
> }else{
> log.warn("ARFSSOAuthServiceImpl: User " + user + " has been authenticated");
> this.createUser(user, context);
> user = "XWiki." + user;
> }
> log.warn("SSOAuthServiceImpl: authentication successful context.setUser " +
> user);
> context.setUser(user);
> return new XWikiUser(user);
>
> }
>
>
> Here is the log from a single post of the credentials:
> 2012-08-25 11:11:30,285 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - sso Auth check auth before super
> 2012-08-25 11:11:30,287 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - request j_username = testuser
> 2012-08-25 11:11:30,287 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - request j_password = testpwd
> 2012-08-25 11:11:30,287 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - processLogin j_username = testuser
> 2012-08-25 11:11:30,288 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - processLogin j_password = testpwd
> 2012-08-25 11:11:30,289 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> net.ARFHttpClient - ARFHttpClient post request to:
> http://localhost.com/test.php
> 2012-08-25 11:11:30,417 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> net.ARFHttpClient - ARFHttpClient response string:
> status=0|firstname=Test|lastname=User
> 2012-08-25 11:11:30,418 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - processLogin... webresponse status = 0
> 2012-08-25 11:11:30,421 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFWebAuthenticator - convertARFResponseToUsername token =
> TestUser
> 2012-08-25 11:11:30,421 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl: User TestUser has
> been authenticated
> 2012-08-25 11:11:30,422 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl.createUser: User
> TestUser before find.
> 2012-08-25 11:11:30,427 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl.createUser:
> XwikiUser XWiki.TestUser after find.
> 2012-08-25 11:11:30,427 [
> http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
> sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: authentication
> successful context.setUser XWiki.TestUser
> 2012-08-25 11:11:31,080 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFSSOAuthServiceImpl - sso Auth check auth before super
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFSSOAuthServiceImpl - request j_username = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFSSOAuthServiceImpl - request j_password = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFWebAuthenticator - processLogin j_username = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFWebAuthenticator - processLogin j_password = null
> 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN net.ARFHttpClient - ARFHttpClient post request to:
> http://localhost.com/test.php
> 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN net.ARFHttpClient - ARFHttpClient response string:
> status=100
> 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> WARN sso.ARFWebAuthenticator - processLogin... webresponse status
> = 100
> 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa]
> ERROR sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: User cannot be
> authenticated (REMOTE_USER is null)
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFSSOAuthServiceImpl - sso Auth check auth before super
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFSSOAuthServiceImpl - request j_username = null
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFSSOAuthServiceImpl - request j_password = null
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFWebAuthenticator - processLogin j_username = null
> 2012-08-25 11:11:31,810 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFWebAuthenticator - processLogin j_password = null
> 2012-08-25 11:11:31,811 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN net.ARFHttpClient - ARFHttpClient post request to:
> http://localhost.com/test.php
> 2012-08-25 11:11:31,877 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN net.ARFHttpClient - ARFHttpClient response string:
> status=100
> 2012-08-25 11:11:31,878 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN sso.ARFWebAuthenticator - processLogin... webresponse status
> = 100
> 2012-08-25 11:11:31,878 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> ERROR sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: User cannot be
> authenticated (REMOTE_USER is null)
> 2012-08-25 11:11:32,041 [
> http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2F…]
> WARN internal.DefaultVelocityEngine - Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33
>
>
>
> Any help is appreciated,
> Bob
>
> XWiki Version: XWiki Enterprise 3.0-rc-1.35909
>
> Do I need to upgrade to get this functionality?
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Aug 2012 23:48:53 +0100
> From: Boudjelda Mohamed Said <bmscomp(a)gmail.com>
> To: users(a)xwiki.org
> Subject: [xwiki-users] Start point to update the XWiki Editor in XWiki
> Message-ID:
> <CAO60PA2Q-sj0cz715D+JwrMQdveOJCGqtnDb77dSwSVE4WxWtQ(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Every one
> I need to update XWiki Editor , but I cannot find a starting point for
> that, how shall I do it, just to enable the tabulation coz when I press tab
> key the focus is changed to the save buttons
>
> Thanks
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 28 Aug 2012 08:55:11 +0300
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Start point to update the XWiki Editor in
> XWiki
> Message-ID:
> <CALZcbBaK3ZG6MFQpX+S9bUEogHUp8RCt=VGWHDFXPqPYaK2qsw(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I suppose you are referring to the WYSIWYG editor and by "update" you
> mean taking the editor from a newer version of XWiki Enterprise and
> using it on an older version. Is that so? Then it might not work
> because the newer version of the editor requires sometimes newer APIs
> that are provided only by the newer version of XWiki Enterprise.
> Anyway, are you sure the tab issue is fixed in the newer version? I
> see http://jira.xwiki.org/browse/XWIKI-6123 is still open, for Chrome,
> and I didn't commit any fix for it. So unless the browser behaviour
> has changed, in which case you don't need to upgrade the editor, the
> problem should still be present in the last version of XWiki
> Enterprise.
>
> But for the record, upgrading the WYSIWYG editor code has two steps:
> * upgrade the WYSIWYG editor jars in WEB-INF/lib (xwiki-platform-wysiwyg-*)
> * replace the resources/js/xwiki/wysiwyg/xwe folder (delete and copy
> the new one)
>
> Hope this helps,
> Marius
>
> On Tue, Aug 28, 2012 at 1:48 AM, Boudjelda Mohamed Said
> <bmscomp(a)gmail.com> wrote:
>> Hi Every one
>> I need to update XWiki Editor , but I cannot find a starting point for
>> that, how shall I do it, just to enable the tabulation coz when I press tab
>> key the focus is changed to the save buttons
>>
>> Thanks
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 28 Aug 2012 09:10:41 +0200
> From: Joseph-Andre Guaragna <joseph-andre(a)rdmo.com>
> To: users(a)xwiki.org
> Subject: [xwiki-users] selected the informations tab as default on
> every pages
> Message-ID:
> <CAMGKkWU4E9Fc84V887PPvLnQHVmzyERx_o=Z5WELNQh63xgx7g(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> I just start using xwiki and as every beginers I am stuck on seting up
> a tiny detail.
>
> My problem is the following: I would like the tab informations on
> every page to be the default selected tab.
> I try to look at the forum, and other related pages concerning xwiki
> configuration and all I founded is how to disable tabs but not modify
> the basic selected tab.
>
> I sure it is simple, but I don not know where to add the modification.
> Thanks for the help.
>
>
> Best regards
>
> Joseph-Andr? GUARAGNA
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 28 Aug 2012 09:37:50 +0200
> From: Vincent Massol <vincent(a)massol.net>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] selected the informations tab as default on
> every pages
> Message-ID: <4B705ED4-6CD0-4FEC-8F32-7B86BEB6F6EF(a)massol.net>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi Joseph-Andr?,
>
> On Aug 28, 2012, at 9:10 AM, Joseph-Andre Guaragna <joseph-andre(a)rdmo.com> wrote:
>
>> Hello all,
>>
>> I just start using xwiki and as every beginers I am stuck on seting up
>> a tiny detail.
>>
>> My problem is the following: I would like the tab informations on
>> every page to be the default selected tab.
>> I try to look at the forum, and other related pages concerning xwiki
>> configuration and all I founded is how to disable tabs but not modify
>> the basic selected tab.
>>
>> I sure it is simple, but I don not know where to add the modification.
>> Thanks for the help.
>
> It's not that simple because we don't have a configuration option to set which tab is the selected one by default.
>
> Thus ATM I think you'll need to edit docextra.vm and make some changes there, but I'm not sure what to change exactly. Maybe others can help.
>
> Thanks
> -Vincent
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 61, Issue 37
> *************************************
thanks for the help I ll have look
Hi Every one
I need to update XWiki Editor , but I cannot find a starting point for
that, how shall I do it, just to enable the tabulation coz when I press tab
key the focus is changed to the save buttons
Thanks
Hi Every body
I have to create an application upon XWiki, I have a this model , Person
-> Contact (Person is a Contact ) and Also Customer - > Contact , How can I
make such implementation using XWiki Classes
Thank You
Hi,
I'm having trouble getting the Jetty database to allow me to put content in that's bigger than 20kb. I've modified the start_xwiki.bat file (pasted below) but it still comes up saying I have the same content size limitation. Have I done anything wrong in the file below? I'm using jetty-7.4.5.v20110725
Many thanks!
Ian.
@echo off
REM -------------------------------------------------------------------------
REM See the NOTICE file distributed with this work for additional
REM information regarding copyright ownership.
REM
REM This is free software; you can redistribute it and/or modify it
REM under the terms of the GNU Lesser General Public License as
REM published by the Free Software Foundation; either version 2.1 of
REM the License, or (at your option) any later version.
REM
REM This software is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
REM Lesser General Public License for more details.
REM
REM You should have received a copy of the GNU Lesser General Public
REM License along with this software; if not, write to the Free
REM Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
REM 02110-1301 USA, or see the FSF site: http://www.fsf.org.
REM -------------------------------------------------------------------------
set JETTY_HOME=jetty
set JETTY_PORT=8080
set XWIKI_OPTS=-Xmx512m -XX:MaxPermSize=128m
REM Ensure the logs directory exists as otherwise Jetty reports an error
if not exist %JETTY_HOME%\logs mkdir %JETTY_HOME%\logs
REM Ensure the work directory exists so that Jetty uses it for its temporary files.
if not exist %JETTY_HOME%\work mkdir %JETTY_HOME%\work
REM Ensure the data directory exists so that XWiki can use it for storing permanent data.
if not exist data mkdir data
REM Specify port on which HTTP requests will be handled
set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.port=%JETTY_PORT%
REM Specify Jetty's home directory
set XWIKI_OPTS=%XWIKI_OPTS% -Djetty.home=%JETTY_HOME%
REM Specify port and key to stop a running Jetty instance
set XWIKI_OPTS=%XWIKI_OPTS% -DSTOP.KEY=xwiki -DSTOP.PORT=8079
REM Specify the encoding to use
set XWIKI_OPTS=%XWIKI_OPTS% -Dfile.encoding=UTF8
REM In order to avoid getting a "java.lang.IllegalStateException: Form too large" error
REM when editing large page in XWiki we need to tell Jetty to allow for large content
REM since by default it only allows for 20K. We do this by passing the
REM org.mortbay.http.HttpRequest.maxFormContentSize property.
REM Note that setting this value too high can leave your server vulnerable to denial of
REM service attacks.
set XWIKI_OPTS=%XWIKI_OPTS% -Dorg.mortbay.jetty.Request.maxFormContentSize=4000000
java %XWIKI_OPTS% %2 %3 %4 %5 %6 %7 %8 %9 -jar %JETTY_HOME%/start.jar
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************