[xwiki-users] Xwiki templates

2015-09-27 Thread Mohit Gupta
Hi All, I want to develop website similar to http://www.artpal.com/ or any other art website. Basic requirements are :- 1)I can upload my painting images, 2)User can change the painting background if somebody want 3)Allow user to purchase painting using card payment like in any other site, 4)

Re: [xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-22 Thread Mohit Gupta
chemas > > > > Thanks > > -Vincent > > > > On 21 Sep 2015 at 07:22:37, Mohit Gupta (motgu...@gmail.com(mailto: > motgu...@gmail.com)) wrote: > > > >> Hi, > >> > >> Any help on above ? > >> > >> Thanks > >>

Re: [xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-22 Thread Mohit Gupta
tru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) > wrote: > > > >> On Sun, Sep 20, 2015 at 2:08 PM, Mohit Gupta wrote: > >> > looks like for generated urls xwiki not appending right application > context > >> > name i.e "myWiki&quo

Re: [xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-20 Thread Mohit Gupta
ocalhost:/myWiki/ xwiki.webapppath=myWiki On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta <motgu...@gmail.com> wrote: > Hi All, > > I switched to MySQL. Server starts without any error. But when i hit url > in browser. Page is stuck(looks like its refreshing but not proceeding) > &g

Re: [xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-20 Thread Mohit Gupta
onents/logging/logging.js HTTP/1.1" 404 1045 I am not getting what is missing here On Thu, Sep 17, 2015 at 3:20 PM, Clemens Klein-Robbenhaar < c.robbenh...@espresto.com> wrote: > Hi *, > > > Hi Mohit, > > > > > > On 1 Sep 2015 at 15:32:48, Mohit Gupta (mo

Re: [xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-20 Thread Mohit Gupta
Hi, Any help on above ? Thanks Mohit On Sun, Sep 20, 2015 at 4:38 PM, Mohit Gupta <motgu...@gmail.com> wrote: > looks like for generated urls xwiki not appending right application > context name i.e "myWiki" but instead using "xwiki" . it should be > /my

Re: [xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-16 Thread Mohit Gupta
> Hi Mohit, > > > On 1 Sep 2015 at 15:32:48, Mohit Gupta (motgu...@gmail.com(mailto: > motgu...@gmail.com)) wrote: > > > Hi Vincet, > > > > I took the latest war > file(xwiki-enterprise-web-7.2-20150828.151901-292.war > > ) > > from the link > >

[xwiki-users] Fwd: XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-09-01 Thread Mohit Gupta
Filter(SetCharacterEncodingFilter.java:111) org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137) If you can let me know, What is latest version that works well with oracle, it will be helpful so that i can start with that ? Thanks and Regards Mohit Gupta On Sun, Aug 30, 2015 at 3:23 PM, vinc...@mass

Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-30 Thread Mohit Gupta
/XWIKI-12425 it says fix version = 7.2-milestone-3 Thanks -Vincent PS: Please always reply to the list! On 27 Aug 2015 at 12:31:07, Mohit Gupta (motgu...@gmail.com(mailto: motgu...@gmail.com)) wrote: Thanks vincet. After applying your xwiki.oracle.hbm.xml in xwiki-platform-legacy

Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-23 Thread Mohit Gupta
thomas.morta...@xwiki.com wrote: XWiki require Java 7 since 6.0. On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta motgu...@gmail.com wrote: I download the xwiki war file i.e xwiki-enterprise-web-7.2-milestone-2 with db as Oracle. Here the configuration in hibernate.cfg.file property

Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-17 Thread Mohit Gupta
But this issue does not seems to be related to java 6/7. Looking at logs looks like its an issue related to database. Isn't it ? On Mon, Aug 17, 2015 at 11:52 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: XWiki require Java 7 since 6.0. On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta

[xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-16 Thread Mohit Gupta
I download the xwiki war file i.e xwiki-enterprise-web-7.2-milestone-2 with db as Oracle. Here the configuration in hibernate.cfg.file property name=connection.urljdbc:oracle:thin:@localhost :1521:orcl/property property name=connection.usernamexwiki/property property

Re: [xwiki-users] tutorial to develop full fledged websites on xwiki?

2013-09-21 Thread Mohit Gupta
Massol vinc...@massol.net wrote: On Jun 15, 2013, at 2:40 PM, Mohit Gupta motgu...@gmail.com wrote: If there is complete coding tutorial corresponding to any website example at http://www.xwiki.org/xwiki/bin/view/References/WebHome, it would be very helpful I don't think there's any

[xwiki-users] Hiding the Top Level Menu /Page Menu links?

2013-09-21 Thread Mohit Gupta
Hi All, If i want to hide top level menu(like Add,Space,Page,Wiki link) , i do not find any way except changing in code. Similarly if i want to disable the Page level menu(like Edit, Export,More Actions Link) for specific group/user, did not find any way. Are these configurable or code

[xwiki-users] Configuring Landing Page after login?

2013-09-21 Thread Mohit Gupta
Once user registers himself, registration gets successful and clicks login, he is navigated to Main space WebHome PageI want the user navigates to Webhome page of MySpace . For this i mentioned below config element in xwiki.cfg and restarted the server.

[xwiki-users] Getting Unknown database error with xwiki version 5.1?

2013-09-14 Thread Mohit Gupta
Hi All, I installed the xwiki latest version i.e 5.1 war file under tomcat. Here is my hibernate.cfg.xml to use MySQL as databse. I named the DB as IP. property name=connection.urljdbc:mysql://localhost/IP/property property name=connection.usernameroot/property property

Re: [xwiki-users] Getting Unknown database error with xwiki version 5.1?

2013-09-14 Thread Mohit Gupta
), it should be coming from there. Is n't it? xwiki.db=IP On Sat, Sep 14, 2013 at 5:56 PM, Mohit Gupta motgu...@gmail.com wrote: Hi All, I installed the xwiki latest version i.e 5.1 war file under tomcat. Here is my hibernate.cfg.xml to use MySQL as databse. I named the DB as IP

Re: [xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]

2013-09-10 Thread Mohit Gupta
Hi Vincent, This did not happen again as of now after restart. On Tue, Sep 10, 2013 at 12:15 PM, Vincent Massol vinc...@massol.net wrote: Hi Mohit, Does this happen again if you restart again XWiki or is it a fluke? Thanks -Vincent On Sep 9, 2013, at 4:40 PM, Mohit Gupta motgu

[xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]

2013-09-09 Thread Mohit Gupta
Hi, I installed the xwiki latest version i.e 5.1 war file under tomcat and getting the below error when i hit the deployed xwiki from browser. I am not sure what i missed here? java.lang.RuntimeException: Component manager has not been initialized before lookup for

Re: [xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]

2013-09-09 Thread Mohit Gupta
Folks Issue got resolved by deleting work folder under my tomcat directory. Looks like it was some cache issue. as i was upgrading it from 3.5 to 5.1. On Mon, Sep 9, 2013 at 8:10 PM, Mohit Gupta motgu...@gmail.com wrote: Hi, I installed the xwiki latest version i.e 5.1 war file under tomcat

Re: [xwiki-users] Uploading the file with message in Bulletin board?

2013-06-04 Thread Mohit Gupta
Thanks, Caty On Sat, Jun 1, 2013 at 6:06 AM, Mohit Gupta motgu...@gmail.com wrote: Folks i am planning to have bulletin board application on xwiki. I came across link http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Application and i loved it. Is there a way user can

[xwiki-users] Integration of RSS reader with xwiki?

2013-05-21 Thread Mohit Gupta
i am looking for integration of RSS reader with xwiki where i can subscribe to RSS feed to some external site( for example :-stackoverflow ) and get the updates. Any pointers in the direction will be great help? ___ users mailing list users@xwiki.org

Re: [xwiki-users] XWiki Integration with Active Directory

2013-05-11 Thread Mohit Gupta
Folks any pointers would be great help as Invalid Credentials is wrong error message (becoz i credentials). I am not sure where exactly a problem is. On Fri, May 10, 2013 at 8:18 PM, Mohit Gupta motgu...@gmail.com wrote: This issue is regarding my second try to integrate xwiki with my company

Re: [xwiki-users] XWiki Integration with Active Directory

2013-05-11 Thread Mohit Gupta
xwiki.authentication.My active directory administrator just asked me to mention the value i stated above? On Sat, May 11, 2013 at 4:20 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Sat, May 11, 2013 at 12:18 PM, Mohit Gupta motgu...@gmail.com wrote: Folks any pointers would be great help

Re: [xwiki-users] XWiki Integration with Active Directory

2013-05-11 Thread Mohit Gupta
Thanks Thomas. It seems to be working now. On Sat, May 11, 2013 at 8:13 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Sat, May 11, 2013 at 3:18 PM, Mohit Gupta motgu...@gmail.com wrote: Thanks Thomas. As per usecase link here is my updated configuration but still i get the same

[xwiki-users] Giving rights to LDAP(Active Directory) user on a specific space ?

2013-05-11 Thread Mohit Gupta
I am able to login with my windows(active directory credentials) but issue is ldap user does not have any rights on xwiki space. My question is : Is there a way i can give some rights(say view rights) on specific space(say Welcome Space) to all my ldap(active directory) users. I created the

[xwiki-users] XWiki Integration with Active Directory

2013-05-10 Thread Mohit Gupta
This issue is regarding my second try to integrate xwiki with my company active directory,but no success.I am getting the below issue com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException. Wrapped Exception: Invalid Credentials at

[xwiki-users] Integrating xwiki with active directory?

2013-04-08 Thread Mohit Gupta
I want to integrate xwiki login with my active directory login.Basically i want to use same credentials for xwiki that i am using for window login.Here is my ldap configuration(as per examples given at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication

Re: [xwiki-users] images are missing when running wiki in disk mode?

2012-10-29 Thread mohit gupta
contains the lucene folder which contains the files like _2.fdt,_2.fdx etc. On Mon, Oct 29, 2012 at 11:27 AM, mohit gupta motgu...@gmail.com wrote: Hi all, I log in to wiki with my admin credentials. Now navigate to administer wiki but i do not see the wiki default images like configuration.png

Re: [xwiki-users] images are missing when running wiki in disk mode?

2012-10-29 Thread mohit gupta
dir is not created, check the rights for that directory, and the logs. Good luck :-) Guillaume Fenollar 2012/10/29 mohit gupta motgu...@gmail.com i used the tool suggested at http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter . I am xwiki 3.5

Re: [xwiki-users] images are missing when running wiki in disk mode?

2012-10-29 Thread mohit gupta
Thanks. It is working now. I was running in dry mode. On Mon, Oct 29, 2012 at 7:50 PM, mohit gupta motgu...@gmail.com wrote: Thanks Guillaume. With setting of property environment.permanentDirectory in xwiki.properties, i see extension folder got created (at server start up )besides lucene

[xwiki-users] images are missing when running wiki in disk mode?

2012-10-28 Thread mohit gupta
Hi all, I log in to wiki with my admin credentials. Now navigate to administer wiki but i do not see the wiki default images like configuration.png,lf.png,usersgroups.png etc When i go to firebug and inspect that image , i see the path as /mywiki/bin/download/XWiki/AdminSheet/configuration.png

[xwiki-users] Inclusion of e-learning tutorial within wiki?

2012-09-10 Thread mohit gupta
I have one e-learning tutorial for my application created through articulate storyline. My question is is there any way i can include the e-learning application with in wiki page? I did not came across any kind of this utility. ___ users mailing list

[xwiki-users] Accessing the macro parameter in velocity code?

2012-08-09 Thread mohit gupta
Hi All, i am on xwiki 3.5. i have created a macro and included in my TestPage with below code *{{RecentChangesMacro rcSpace=MySpaceName}}{{/RecentChangesMacro}}* Now in RecentChangesMacro , i have below code , which tries to access the above passed parameter inside velocity template

Re: [xwiki-users] Accessing the macro parameter in velocity code?

2012-08-09 Thread mohit gupta
Thanks Thomas and Marius. It was typo mistake. On Thu, Aug 9, 2012 at 12:29 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Thu, Aug 9, 2012 at 8:42 AM, mohit gupta motgu...@gmail.com wrote: Hi All, i am on xwiki 3.5. i have created a macro and included in my TestPage with below

[xwiki-users] Hiding the History section from wiki?

2012-07-11 Thread mohit gupta
Hi All, I want to hide history section which i see between attachments and information section. As per link i tried using below code snippet at various places(like view.vm,menuview.vm and xwikivars.vm) but nothing worked. I am on wiki 3.5. #set ($showhistory = no) Could you point me how to

Re: [xwiki-users] Hiding the History section from wiki?

2012-07-11 Thread mohit gupta
(Valica) vali...@gmail.com wrote: Hi, Administration LookFeel Page Elements Document metadata visibility Show History should work. Thanks, Caty On Wed, Jul 11, 2012 at 12:32 PM, mohit gupta motgu...@gmail.com wrote: Hi All, I want to hide history section which i see between

Re: [xwiki-users] Hiding the History section from wiki?

2012-07-11 Thread mohit gupta
This is how i figured it out if we want to do it for all users except admin, open docextra.vm and replace #if ($showhistory) with #if ($xcontext.user==XWiki.Admin $showhistory). This will ensure history section shows up only for admin user. On Wed, Jul 11, 2012 at 3:37 PM, mohit gupta

[xwiki-users] Setting view deny permission on specific page?

2012-05-28 Thread mohit gupta
Hi All, I want to set the view deny permission on specific page for group XWikiAllGroup through groovy script. This is my groovy script i tried Document docSetSearchableRights=xwiki.getDocument(Xwiki.User1) if(docSetSearchableRights!=null) { com.xpn.xwiki.api.Object

[xwiki-users] xwiki-importexport-1.3 missing some pages like webhome?

2012-05-25 Thread mohit gupta
Hi Folks, i want to export the specific space.For this i was suggested xwiki-importexport-1.3 application at http://extensions.xwiki.org/xwiki/bin/view/Extension/Import+Export+Application. But as upload this application and go to export page. Then select the space , no page appears from selected

[xwiki-users] Process to bring the application developed thru wiki classes, objects on new wiki instance .

2012-05-24 Thread mohit gupta
Hi All, I created an application using xwiki classes and objects similar like FAQ application explained in wiki tutorial at http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial. I develop it on my local box. Now i want to take it this complete application to another instance of wiki on

[xwiki-users] Check for edit mode to exclude velocity macro?

2012-05-23 Thread mohit gupta
Hi i dont want to show a specific velocity macro when in edit mode. How should i check for edit mode on page? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] How end user can capitalize on groovy/velocity fscript in xwiki?

2012-05-18 Thread mohit gupta
Hi all, i have seen xwiki can do lot of stuff with groovy and velocity.I am new to groovy so trying to understand how groovy and velocty can benefit xwiki and ultimately end user. As most of the site says groovy and java are almost similar. so why xwiki is using groovy when it built upon java. As

Re: [xwiki-users] How end user can capitalize on groovy/velocity fscript in xwiki?

2012-05-18 Thread mohit gupta
such as the import keyword which are not available in velocity) Caleb On 05/18/2012 04:31 AM, mohit gupta wrote: Hi all, i have seen xwiki can do lot of stuff with groovy and velocity.I am new to groovy so trying to understand how groovy and velocty can benefit xwiki and ultimately end

[xwiki-users] Fwd: How end user can capitalize on groovy/velocity fscript in xwiki?

2012-05-18 Thread mohit gupta
it at run time. In fact thats why it is called scripting language and which seems to me the biggest advantage of groovy. Right? -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Fri, May 18, 2012 at 3:18 PM Subject: Re: [xwiki-users] How end user can capitalize

[xwiki-users] Not able to execute some groovy scrip even after given programming rights to admin user?

2012-05-17 Thread mohit gupta
I am trying to execute below groovy script thru one of the UI Page String xwikiUser = xwiki.getUser(Scott)//line1 executing String wikiname = xwiki.getXWiki().clearName(Scott, true, true, xcontext.getContext())//line2 // other code which is also not executing but line 2 never executes becoz i

Re: [xwiki-users] Not able to execute some groovy scrip even after given programming rights to admin user?

2012-05-17 Thread mohit gupta
, Sergiu Dumitriu ser...@xwiki.com wrote: On 05/17/2012 05:13 AM, mohit gupta wrote: I am trying to execute below groovy script thru one of the UI Page String xwikiUser = xwiki.getUser(Scott)//line1 executing String wikiname = xwiki.getXWiki().clearName(**Scott, true, true, xcontext.getContext

[xwiki-users] Exact Source code location for xwiki 3.5 version and issues?

2012-05-16 Thread mohit gupta
i have deployed the xwiki 3.5. I am trying to debug the com.xpn.xwiki.xwiki.java file(inside xwiki-platform-legacy-oldcore-3.5.jar file) but as soon as debugger comes to break point, it skips some line. Basically seems like i dont not have correct 3.5 source code for the classfile deployed .Then

[xwiki-users] Java api/method th get the text content of xwiki page?

2012-05-14 Thread mohit gupta
Hi All, i created a space i.e MySpace1. On WebHome, i put the some content i.e This is my latest content. Now in my java class, i want to get the content of MySpace1.WebHome page . Here is the code snippet i tried to get the content of page but i get the document1 as null though the page exists.

[xwiki-users] Configuration to restrict all activities including search on specific space?

2012-05-13 Thread mohit gupta
Hi All, I dont the *Invitation* space visible for any user . Basically i want no user should be able to do any operation*( including should not be able search any page inside invitation space) *on invitation space . *What i tried for this* ** I tried blacklisting the invitation space with

[xwiki-users] API/Configuration to refer the newly added property in xwiki.cfg without server restart?

2012-05-08 Thread mohit gupta
Whenever i add a new property in xwiki.cfg file, to refer that property in my java code, i need tomcat server restart otherwise that property is not visible. Is there a api/configuration can refer the newly added property in xwiki.cfg file without server restart? Here is how i get the newly added

[xwiki-users] check in the fixed version of tab extension

2012-05-01 Thread mohit gupta
Hi All, i imported the tab extension from http://extensions.xwiki.org/xwiki/bin/view/Extension/Tabs+Macro. But it does not work fine. Switch tab does not work and content of all tab shows under first tab. I have fixed the issue as it required the small modification. How should i check in the

Re: [xwiki-users] Configuration to use log4j instead of logback for xwiki 3.1 and beyond?

2012-04-29 Thread mohit gupta
wrote: On 04/28/2012 04:40 PM, Vincent Massol wrote: On Apr 28, 2012, at 8:48 PM, Sergiu Dumitriu wrote: On 04/28/2012 08:02 AM, Vincent Massol wrote: Hi Mohit, On Apr 28, 2012, at 1:34 PM, mohit gupta wrote: At http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging

[xwiki-users] Customizing xwiki to blog application/any website with these common features ?

2012-04-29 Thread mohit gupta
Hi All, I had a look on projects powered with xwiki. Really i am completely amazed!!!. Just to start with,I am planning to use the xwiki site to use it as my blog page.i have created the DivBlog space and gave Unregistered Users the view rights on DivBlog.Everything looks great here. But i want

Re: [xwiki-users] Configuration to use log4j instead of logback for xwiki 3.1 and beyond?

2012-04-29 Thread mohit gupta
Thanks Vincet, i will debug it :). On Sun, Apr 29, 2012 at 2:45 PM, Vincent Massol vinc...@massol.net wrote: On Apr 29, 2012, at 10:50 AM, mohit gupta wrote: Thanks Vincet and Sergiu. But After doing suggested steps and i hit the url https://localhost/mywiki/. I get http status 404 error

[xwiki-users] Configuration to use log4j instead of logback for xwiki 3.1 and beyond?

2012-04-28 Thread mohit gupta
At http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging, it is stated that By default XWiki is configured so that SLF4J uses Logback. XWiki's Logback configuration is located in the WEB-INF/classes/logback.xml file for For XWiki 3.1 and beyond. But if user want to use log4j instaed of

[xwiki-users] Inserting the image between macro

2012-04-27 Thread mohit gupta
Hi , How can insert the image between the macro. For example i want to display the image on the page just after login.e https://loaclhost/myWiki/bin/view/Main/WebHome. The location i want to display is along the side of welcome message. But as i click WYSIWYG. i see the velocity macro, and i

Re: [xwiki-users] BulletinBoard-Specific to each space

2012-04-26 Thread mohit gupta
, Apr 25, 2012 at 19:21, mohit gupta motgu...@gmail.com wrote: Hi All, This mail is regarding Bulletin Board application at http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Application . I successfully imported the application and worked great. But i want

Re: [xwiki-users] org.infinispan.jmx.JmxDomainConflictException: Domain already registered org.infinispan Exception?

2012-04-25 Thread mohit gupta
a warning). In you case I think the best is to have a different JMX domain for each instance of XWiki. You can configure it in WEB-INF/cache/infinispan/config.xml, search for JMX. On Tue, Apr 24, 2012 at 1:12 PM, mohit gupta motgu...@gmail.com wrote: Hi All, i have my application deployed

[xwiki-users] BulletinBoard-Specific to each space

2012-04-25 Thread mohit gupta
Hi All, This mail is regarding Bulletin Board application at http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Application. I successfully imported the application and worked great. But i want to configure it not at xwiki space level but under spaces i created manually like

[xwiki-users] org.infinispan.jmx.JmxDomainConflictException: Domain already registered org.infinispan Exception?

2012-04-24 Thread mohit gupta
Hi All, i have my application deployed as myApp1 on tomcat 6 service. Due to some requirement, i copied myApp1 and pasted under webapp as myApp2.Now i restarted tomcat and hit my url for myApp1. Worked fine . But on hitting the url for app2 , i get org.infinispan.jmx.JmxDomainConflictException:

Re: [xwiki-users] Fwd: Redirecting logs to a file instead of console on tomcat?

2012-04-21 Thread mohit gupta
Thanks Sergiu. On Thu, Apr 19, 2012 at 11:27 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/19/2012 01:51 PM, mohit gupta wrote: Now as per http://logback.qos.ch/manual/**joran.htmlhttp://logback.qos.ch/manual/joran.html, i tried to use file Appender to log the message to file

Re: [xwiki-users] Developing Discussion Forum using xwiki?

2012-04-19 Thread mohit gupta
Thanks Anca On Wed, Apr 18, 2012 at 2:39 PM, Anca Luca lu...@xwiki.com wrote: On 04/18/2012 08:13 AM, mohit gupta wrote: Seems great. *But looks one severity1 exist here. whenever i post any message i get below warning* Warning This request contains an invalid authentication information

[xwiki-users] Redirecting logs to a file instead of console on tomcat?

2012-04-19 Thread mohit gupta
I have gone thru http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging. As per logback.xml(inside in MyApp/WEB_INF/classes), looks like it relies on the fact that container will redirect all the console to logfile automaticcaly. But it is not happening. I am using tomcat 6. i want to put

[xwiki-users] Fwd: Redirecting logs to a file instead of console on tomcat?

2012-04-19 Thread mohit gupta
=ch.qos.logback.core.ConsoleAppendert Pattern%date %level [%thread] %logger{10} [%file:%line] %msg%n/Pattern /layout /appender root level=debug appender-ref ref=FILE / /root -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Thu, Apr 19, 2012 at 10:06 PM Subject: Redirecting logs

Re: [xwiki-users] Developing Discussion Forum using xwiki?

2012-04-18 Thread mohit gupta
you want to resend the request? If unsure, say *No*. *As for me i am not in any of the situation mentioned above?* On Tue, Apr 17, 2012 at 4:37 PM, Vincent Massol vinc...@massol.net wrote: Hi, On Apr 17, 2012, at 12:47 PM, mohit gupta wrote: Hi Folks, Looking at extensiility of xwiki

Re: [xwiki-users] On Space Created Event

2012-04-18 Thread mohit gupta
Just to give you heads up you can mention below property in xwiki.cfg file xwiki.authentication.authclass=com.MyAuthClass. Now in MyAuthClass you can check XWikiContext.getAction().equals(create)// it means user is creating some doc. I am not sure if we have some variable in XWikiContext thru

[xwiki-users] Developing Discussion Forum using xwiki?

2012-04-17 Thread mohit gupta
Hi Folks, Looking at extensiility of xwiki, i am looking to make a typical forum application on top of xwiki. The forum will be basically a discussion forum where each user will be given user id and password. There will be pre-defined topics like Realestate,Sale-Purchase,miscellaneous,etc . Each

Re: [xwiki-users] Looking for these xwiki java API'S or java class containing these functionality?

2012-04-08 Thread mohit gupta
, 2012 at 3:29 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 06 April 2012 19:42 To: XWiki Users Subject: [xwiki-users] Looking

[xwiki-users] Fwd: Looking for these xwiki java API'S or java class containing these functionality?

2012-04-08 Thread mohit gupta
instead of page level] Also i tried rightsObject.set(levels, view,comment,edit,delete,admin); instead of rightsObject.set(levels, admin); But still i do not see any rights assigned to mu user. -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Sun, Apr 8, 2012

[xwiki-users] Fwd: Looking for these xwiki java API'S or java class containing these functionality?

2012-04-08 Thread mohit gupta
all rights are revoked from MySpaceAdminUser and view right is assigned to MySpaceGeneralUser. Not sure why line 2 is revoking the rights given at line 1 -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Sun, Apr 8, 2012 at 7:34 PM Subject: Fwd: [xwiki-users

Re: [xwiki-users] Fwd: Looking for these xwiki java API'S or java class containing these functionality?

2012-04-08 Thread mohit gupta
Thanks sergiu. I just figured it out :) On Sun, Apr 8, 2012 at 9:15 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/08/2012 11:34 AM, mohit gupta wrote: I figured out what was the issue It needs to be Document doc=xwikiApi.getDocument(**MySpace. WebPreferences);* instead of* Document

Re: [xwiki-users] Looking for these xwiki java API'S or java class containing these functionality?

2012-04-07 Thread mohit gupta
wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 06 April 2012 19:42 To: XWiki Users Subject: [xwiki-users] Looking for these xwiki java API'S or java class containing

[xwiki-users] Configuration to user different database schema for a particular space?

2012-04-07 Thread mohit gupta
Hi Folks, i want to use different database schema for a particular space due to some requirement, though everything else will remain same.I am not sure how i can go for this.I mean is there a way among below options:- 1)Can I mention connection.url in xwikiContext at request level

[xwiki-users] Looking for these xwiki java API'S or java class containing these functionality?

2012-04-06 Thread mohit gupta
Hi Folks, I am looking for three xwiki java api's that do the following functionality 1) I give the space name to api and it creates the space with default home page . 2)I give userName,SpaceName and rightsName(like view,edit,delete,admin) to api and it gives these rights on given space name for

Re: [xwiki-users] How to the restrict the user name and group name serach?

2012-04-06 Thread mohit gupta
Thanks Recardo. On Sat, Mar 31, 2012 at 5:00 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! Sorry for being late at following this issue! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu

Re: [xwiki-users] How to the restrict the user name and group name serach?

2012-03-28 Thread mohit gupta
...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach

[xwiki-users] How to the restrict the user name and group name serach?

2012-03-27 Thread mohit gupta
Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert

[xwiki-users] How to capitalize on XWiki Classes, Objects, and Properties at presentation level?

2012-03-23 Thread mohit gupta
I went thru XWiki Classes, Objects, and Properties topic given at http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel. I understand the concept of Classes, Objects, and Properties as i am familiar with java. Here is the statement given at the same link *This area explains XWiki's data

[xwiki-users] Xwiki Enterprise Vs Platform

2012-03-22 Thread mohit gupta
At link http://www.xwiki.org/xwiki/bin/view/Main/Forge I see the XWiki Enterprise http://enterprise.xwiki.org/xwiki/bin/view/Main/WebHome and XWiki Platform http://platform.xwiki.org/xwiki/bin/view/Main/WebHome as two differnt projects. But features explained at below two links looks almost same

Re: [xwiki-users] Xwiki Enterprise Vs Platform

2012-03-22 Thread mohit gupta
Thanks Sergiu,Ricardo .It brings lot of clarity On Fri, Mar 23, 2012 at 9:41 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 03/22/2012 07:06 AM, mohit gupta wrote: At link http://www.xwiki.org/xwiki/**bin/view/Main/Forgehttp://www.xwiki.org/xwiki/bin/view/Main/Forge I see the XWiki

Re: [xwiki-users] Forgot Admin Password?

2012-03-20 Thread mohit gupta
! Vincent already gave the answer: You can also log as superadmin if you don't have any admin user set. Check this for details http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security Kind Regards, Dmitry Tue, 20 Mar 2012 09:42:54 +0530 от mohit gupta motgu...@gmail.com: *You can

Re: [xwiki-users] Forgot Admin Password?

2012-03-20 Thread mohit gupta
Hi paul, just wanted to confirm that user name is superadmin.Right? On Tue, Mar 20, 2012 at 12:48 PM, Paul Libbrecht p...@hoplahup.net wrote: Mohit, this surely appears as a bug. But I would attempt going elsewhere, it has a chance to work. paul Le 20 mars 2012 à 08:00, mohit gupta

Re: [xwiki-users] java heap out of memory error during import of 72MB XAR file?

2012-03-20 Thread mohit gupta
Of mohit gupta [motgu...@gmail.com] Sent: 18 March 2012 13:26 To: XWiki Users Subject: [xwiki-users] java heap out of memory error during import of 72MB XAR file? I have XAR file of 72MB . When i Import it thru XWI UI i get java heap out of memory error. I have mentioened the value

[xwiki-users] Forgot Admin Password?

2012-03-19 Thread mohit gupta
Hi All, i for got my 11 digit admin password. Kindly let me know how can i recover it ? Also want to know is there a way i can direct get from database in decrypted form. Thanks. ___ users mailing list users@xwiki.org

[xwiki-users] java heap out of memory error during import of 72MB XAR file?

2012-03-18 Thread mohit gupta
I have XAR file of 72MB . When i Import it thru XWI UI i get java heap out of memory error. I have mentioened the value of JAVA_OPTS as -Xms1024m -Xmx1024m. My hardware specification is 32 bit windows operating system and 4 GB RAM. and using the tomcat as webserver. If i increase the value

[xwiki-users] Fwd: How to support date format localization on xwiki?

2012-03-17 Thread mohit gupta
Hi Folks, It would be very helpful if you can answer below query as its really important to support localization.even if it is not possible to support local date format, please let me know.Thanks in advance. -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Fri

Re: [xwiki-users] How to make forgot Password link working?

2012-03-16 Thread mohit gupta
something completely different. Edo On Thu, Mar 15, 2012 at 6:05 PM, mohit gupta motgu...@gmail.com wrote: Hi Folks, On login page there is a link forgot username and forgot password. When i click nothing happens.Same page gets refreshed. I am not sure do we need to do any configuration

[xwiki-users] How to support date format localization on xwiki?

2012-03-16 Thread mohit gupta
i can change the date format thru localization. But this format is applicable to all locales. Is there a way i can configure the date format speific to locale. For example:- For US, i want to make define the date format as MM/dd/ and for UK want to define it dd/MM/. Is there a way i can do

[xwiki-users] How to provide the backlinks if user land up on accessdenied page. Question :- How to provide the backlinks if user land up on accessdenied page.

2012-03-09 Thread mohit gupta
I want to configure the accessdenied.vm( it is the page where i see the message You are not allowed to view this document or perform this action.). i want to provide the backlink on accessdenied.vm page which takes the user back to page where he is coming from. If it is not possible , even if

Re: [xwiki-users] Xwiki log4j setting

2012-03-09 Thread mohit gupta
Thanks Thomas and Recardo On Tue, Mar 6, 2012 at 3:33 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 05 March 2012 09:27

[xwiki-users] Xwiki log4j setting

2012-03-05 Thread mohit gupta
As of now all xwiki logs like log.error etc print the error on tomcat console. I want to redirect it to some file instead of server console.I don't see any setting in xwiki.cfg .Please let me know setting to redirect to some file. Thanks in advance. ___

[xwiki-users] Getting java.io.IOException: Server returned HTTP response code: 403 for URL… But thru browser it works fine?

2012-02-29 Thread mohit gupta
I have two web application hosted on two different tomcat instances say T1 and T2(xwiki is on T2). I am making below method in a java class on T1 to retrieve java xwikiUserObject named from T2 private Properties checkContentChanges() { Properties reply = null; try {

[xwiki-users] Fwd: Getting java.io.IOException: Server returned HTTP response code: 403 for URL… But thru browser it works fine?

2012-02-29 Thread mohit gupta
. -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Wed, Feb 29, 2012 at 3:28 PM Subject: Getting java.io.IOException: Server returned HTTP response code: 403 for URL… But thru browser it works fine? To: XWiki Users users@xwiki.org I have two web application hosted on two different

[xwiki-users] Fwd: How to set the max unsuccessful login attempts to some numbaer say 4?

2012-02-25 Thread mohit gupta
Hi Folks, Need help on below query. Thanks in advance. -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Fri, Feb 24, 2012 at 9:57 AM Subject: How to set the max unsuccessful login attempts to some numbaer say 4? To: XWiki Users users@xwiki.org I had put

[xwiki-users] How to import the XAR file greater than 32 MB?

2012-02-24 Thread mohit gupta
Hi When i try to import the XAR file of size 60MB i get below error message:- The wiki administrators have set a limit of 32.0Mb for attached files. Please make sure the size of the files you try to attach does not exceed this limit. I am not getting where to increase the size of XAR file to be

Re: [xwiki-users] How to import the XAR file greater than 32 MB?

2012-02-24 Thread mohit gupta
as Guillaume suggested you might have issues with the standard import tool with big xar. If if it does not work you should probably use the large xar import. On Fri, Feb 24, 2012 at 10:38 AM, mohit gupta motgu...@gmail.com wrote: Hi When i try to import the XAR file of size 60MB i get below

[xwiki-users] How to set the max unsuccessful login attempts to some numbaer say 4?

2012-02-23 Thread mohit gupta
I had put this question earlier too but knowing that its not configurable in xwiki as of now as OOB feature. So started implementing this feature myself with some modification in code. I did modifications in checkPassword method of XWikiAuthServiceImpl. Basically i want to put the

Re: [xwiki-users] custom index

2012-02-23 Thread mohit gupta
Hi Marius, Can i do similar kind of stuff to exclude a certain userfrom showing up in search results at all programmatically. Basically what i want is if the logged in user is A and belongs to GroupA only users under GroupA should appear on results not the users belong to any other group. On

[xwiki-users] How to rename the main space?

2012-02-21 Thread mohit gupta
I want to rename the main space to some other name but i dont fine a link which helps me to do that. I am on xwiki 3.2. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

  1   2   >