[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

jdbc:oracle:thin:@localhost
:1521:orcl
xwiki
xwiki
oracle.jdbc.driver.OracleDriver
org.hibernate.dialect.Oracle10gDialect
true
0
false
true
20






But when i hit the url in browser i get below error




XWiki initialization failed!

Exception thrown during job execution
class java.lang.AbstractMethodError: null
at
org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
at
org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
at
org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
at
org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
at
org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
at
org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:842)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1562)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1609)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:209)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:219)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
at
org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:272)
at
org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120)
at
org.xwiki.annotation.internal.AnnotationClassDocumentInitializer.getDocumentReference(AnnotationClassDocumentInitializer.java:67)
at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1042)
at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1021)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:966)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:887)
at com.xpn.xwiki.XWiki.(XWiki.java:876)
at
com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
at
org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
at java.lang.Thread.run(Thread.java:724)


I am using jdk 6, tomcat 7


I am not sure what is missing here ?

Thanks and Regards
Mohit
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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  wrote:

> XWiki require Java 7 since 6.0.
>
> On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta  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
> >
> > jdbc:oracle:thin:@localhost
> > :1521:orcl
> > xwiki
> > xwiki
> >  > name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> >  > name="dialect">org.hibernate.dialect.Oracle10gDialect
> > true
> > 0
> > false
> > true
> > 20
> > 
> > 
> > 
> > 
> > 
> >
> > But when i hit the url in browser i get below error
> >
> >
> >
> >
> > XWiki initialization failed!
> >
> > Exception thrown during job execution
> > class java.lang.AbstractMethodError: null
> > at
> >
> org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
> > at
> >
> org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
> > at
> >
> org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
> > at
> >
> org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
> > at
> >
> org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
> > at
> >
> org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
> > at
> >
> org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
> > at
> >
> org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
> > at
> >
> com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
> > at
> >
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
> > at
> >
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> > at
> >
> org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
> > at
> > org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
> > at
> >
> org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
> > at
> > org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
> > at
> >
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
> > at
> >
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
> > at
> >
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
> > at
> >
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:842)
> > at
> >
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
> > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1562)
> > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1609)
> > at
> >
> org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:209)
> > at
> >
> org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:219)
> > at
> >
> org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
> > at
> >
> org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:272)
> > at
> >
> org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120)
> > at
> >
> org.xwiki.annotation.internal.AnnotationClassDocumentInitializer.getDocumentReference(AnnotationClassDocumentInitializer.java:67)
> > at
> com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1042)
> > at
> com.xpn.xwiki.XWiki.initializeMandatory

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

2015-08-23 Thread Mohit Gupta
Thanks Thomas and Clemens.

I moved to java 7 and using ojdbc6.jar instead of  ojdbc14.jar. But i am
getting below error when i hit url http://localhost:/wiki/ in browser
after my tomcat start

Failed to extract Entity Resource Reference from URL [
http://localhost:/wiki/bin/view/Main/]] with root cause
java.sql.SQLException: ORA-01408: such column list already indexed

at
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)


On Mon, Aug 17, 2015 at 2:46 PM, Thomas Mortagne 
wrote:

> Yes the exact error looks more like jdbc issue but the first thing is
> to move to Java 7 instead of Java 6 in any case. I'm even surprised it
> went as far as trying to initialize the DB.
>
> On Mon, Aug 17, 2015 at 10:57 AM, Clemens Klein-Robbenhaar
>  wrote:
> >
> > Alternatively it might have something to do with the JDBC driver.
> >
> > XWiki wants a JDBC-4 driver for the 7.x series
> > (This information can be found somewhere in the release notes for 7.0:
> >
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0
> )
> >
> > Maybe you have a somewhat "older" Oracle JDBC driver?
> >
> > (Somehow your tomcat must have found a new java version, btw, or it
> would fail to start up with a different error message than what you got:
> >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUnsupportedmajor.minorversion51.0
> )
> >
> >
> > just a guess
> > Clemens
> >
> >
> >> 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 
> 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
> >>>>
> >>>> jdbc:oracle:thin:@localhost
> >>>> :1521:orcl
> >>>> xwiki
> >>>> xwiki
> >>>>  >>>>
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> >>>>  >>>> name="dialect">org.hibernate.dialect.Oracle10gDialect
> >>>> true
> >>>> 0
> >>>> false
> >>>> true
> >>>> 20
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>>
> >>>> But when i hit the url in browser i get below error
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> XWiki initialization failed!
> >>>>
> >>>> Exception thrown during job execution
> >>>> class java.lang.AbstractMethodError: null
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
> >>>> at
> >>>>
> >>>
> org.apache.commons.dbcp2.BasicDataSource.createDataSo

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

2015-08-30 Thread Mohit Gupta
Hi Vincet,

Which location i will get the 7.2-milestone-3 war file. i went to
http://enterprise.xwiki.org/xwiki/bin/view/Main/Download but latest version
to download is still xwiki-enterprise-web-7.2-milestone-2.war
<http://www.xwiki.org/xwiki/bin/view/DownloadCode/DownloadFeedback?downloadLink=http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-7.2-milestone-2.war&projectType=Development&projectVersion=7.2-milestone-2&projectID=1>

On Thu, Aug 27, 2015 at 4:33 PM, vinc...@massol.net 
wrote:

> Hi Mohit,
>
> My fix is NOT in 7.2-milestone-2!
>
> See http://jira.xwiki.org/browse/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-oldcore-7.2-milestone-2 .jar that problem went away
> But i am getting below error
> >
> >
> > root cause
> >
> > org.xwiki.query.QueryException: Exception while executing query. Query
> statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as
> _o1 where ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias and
> doc.name(http://doc.name) like 'XWikiServer%' ) and doc.fullName=_o1.name(
> http://o1.name) and _o1.className='XWiki.XWikiServerClass' ]
> >
> com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:160)
> >
> org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> > org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
> >
> org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
> >
> org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> > org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
> >
> org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
> >
> org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
> >
> org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
> >
> org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
> >
> org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
> >
> org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
> >
> org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
> >
> org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:87)
> >
> org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
> >
> org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
> >
> org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
> >
> org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:64)
> >
> org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
> >
> org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
> >
> org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
> > com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:742)
> > com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688)
> > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229)
> > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
> >
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> >
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
> > 

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

2015-09-01 Thread Mohit Gupta
stractSessionImpl.java:135)
org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)

com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.createHibernateQuery(HqlQueryExecutor.java:208)

com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:147)

com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:142)

com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299)

com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)

com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:742)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)

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

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

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

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

com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)

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

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

org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java: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...@massol.net 
wrote:

>
> On 30 Aug 2015 at 11:51:01, Mohit Gupta (motgu...@gmail.com(mailto:
> motgu...@gmail.com)) wrote:
>
> > Vincet,
> >
> > I believe i need take "7.2-SNAPSHOT/" from "
> http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/?C=N;O=A";.
> Is that correct ?
>
> Yes, if you need t

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

2015-09-16 Thread Mohit Gupta
Yes Vincet,

I am still facing this issue and not able to start with wiki. Here is the
required info

oracle version :-11.2.0
jdbc driver :- oracle.jdbc.driver.OracleDriver
jar file :- ojdbc6

Thanks
Mohit

On Mon, Sep 14, 2015 at 12:29 PM, vinc...@massol.net 
wrote:

> 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
> >
> http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7.2-SNAPSHOT/
> > but getting exception when i hit the wiki url in browser. Here is the
> full
> > stack trace
>
> [snip]
>
> > java.lang.NullPointerException
> > org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
>
> Strange, I don’t remember seeing this error before. It looks like an
> Hibernate bug.
>
> The query we send is:
>
> "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name
> like 'XWikiServer%’"
>
> Do you still have the problem?
>
> Could you provide the exact JDBC driver and Oracle versions you use?
>
> Thanks
> -Vincent
>
> [snip]
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2015-09-20 Thread Mohit Gupta
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)

XWiki is initializing (12%)...


Here are the logs from localhost_access_log.2015-09-20 file


0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
/myWiki/bin/view/Main/ HTTP/1.1" 503 2823
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
HTTP/1.1" 404 1015
0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
/xwiki/resources/uicomponents/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 (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
> >>
> http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7.2-SNAPSHOT/
> >> but getting exception when i hit the wiki url in browser. Here is the
> full
> >> stack trace
> >
> > [snip]
> >
> >> java.lang.NullPointerException
> >> org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
> >
> > Strange, I don’t remember seeing this error before. It looks like an
> Hibernate bug.
> >
>
> Has been reported as such, and usually rejected, e.g.:
>   https://hibernate.atlassian.net/browse/HHH-3715
>
> I feel that the problem is that the XWQL-Query is not translated to HQL
> properly
>
> > The query we send is:
> >
> > "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and
> doc.name like 'XWikiServer%’"
> >
>
> This is a XWQL query, however, and the HQL that is created from it (I
> guess its created from the query, as that is what is shown in the error
> message):
>
> select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where (
> doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias
>and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and
> _o1.className='XWiki.XWikiServerClass'
>
> Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not
> proper HQL, something must have gone amiss when translating the XWQL to HQL.
>
> What puzzles me is why this has something to do with the Oracle driver (It
> is no general bug for sure, otherwise it would have blocked any development
> ...)
> I just checked and I get basically the same error message when I try to
> execute the generated HQL "manually" (from a groovy script in a page),
> but of course no such error when executing the XWQL (would not have been
> able to start the server then).
>
>
> Is it possible to direct the installation temporarily to e.g. HSQL-DB
> (something along
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL )
>  - just for testing if the issue goes away then? (It is sure not useful
> for production use that way until switched back to Oracle ...)
> If the issue does not go away, then it must be something else ...
>
>
> > Do you still have the problem?
> >
> > Could you provide the exact JDBC driver and Oracle versions you use?
> >
> > Thanks
> > -Vincent
> >
> > [snip]
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2015-09-20 Thread Mohit Gupta
looks like for generated urls xwiki not appending right application context
name i.e  "myWiki" but instead using "xwiki" . it should be
/myWiki/resources/uicomponents/logging/logging.js


i tried below configuration in xwiki.cfg but it did not help

xwiki.home=http://localhost:/myWiki/
xwiki.webapppath=myWiki

On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta  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)
>
> XWiki is initializing (12%)...
>
>
> Here are the logs from localhost_access_log.2015-09-20 file
>
>
> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
> /myWiki/bin/view/Main/ HTTP/1.1" 503 2823
> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
> /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
> HTTP/1.1" 404 1015
> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
> /xwiki/resources/uicomponents/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 (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
>> >>
>> http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7.2-SNAPSHOT/
>> >> but getting exception when i hit the wiki url in browser. Here is the
>> full
>> >> stack trace
>> >
>> > [snip]
>> >
>> >> java.lang.NullPointerException
>> >>
>> org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
>> >
>> > Strange, I don’t remember seeing this error before. It looks like an
>> Hibernate bug.
>> >
>>
>> Has been reported as such, and usually rejected, e.g.:
>>   https://hibernate.atlassian.net/browse/HHH-3715
>>
>> I feel that the problem is that the XWQL-Query is not translated to HQL
>> properly
>>
>> > The query we send is:
>> >
>> > "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and
>> doc.name like 'XWikiServer%’"
>> >
>>
>> This is a XWQL query, however, and the HQL that is created from it (I
>> guess its created from the query, as that is what is shown in the error
>> message):
>>
>> select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where (
>> doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias
>>and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and
>> _o1.className='XWiki.XWikiServerClass'
>>
>> Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not
>> proper HQL, something must have gone amiss when translating the XWQL to HQL.
>>
>> What puzzles me is why this has something to do with the Oracle driver
>> (It is no general bug for sure, otherwise it would have blocked any
>> development ...)
>> I just checked and I get basically the same error message when I try to
>> execute the generated HQL "manually" (from a groovy script in a page),
>> but of course no such error when executing the XWQL (would not have been
>> able to start the server then).
>>
>>
>> Is it possible to direct the installation temporarily to e.g. HSQL-DB
>> (something along
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL )
>>  - just for testing if the issue goes away then? (It is sure not useful
>> for production use that way until switched back to Oracle ...)
>> If the issue does not go away, then it must be something else ...
>>
>>
>> > Do you still have the problem?
>> >
>> > Could you provide the exact JDBC driver and Oracle versions you use?
>> >
>> > Thanks
>> > -Vincent
>> >
>> > [snip]
>> >
>> > ___
>> > users mailing list
>> > users@xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>> >
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] 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  wrote:

> looks like for generated urls xwiki not appending right application
> context name i.e  "myWiki" but instead using "xwiki" . it should be
> /myWiki/resources/uicomponents/logging/logging.js
>
>
> i tried below configuration in xwiki.cfg but it did not help
>
> xwiki.home=http://localhost:/myWiki/
> xwiki.webapppath=myWiki
>
> On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta  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)
>>
>> XWiki is initializing (12%)...
>>
>>
>> Here are the logs from localhost_access_log.2015-09-20 file
>>
>>
>> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
>> /myWiki/bin/view/Main/ HTTP/1.1" 503 2823
>> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
>> /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
>> HTTP/1.1" 404 1015
>> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
>> /xwiki/resources/uicomponents/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 (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
>>> >>
>>> http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7.2-SNAPSHOT/
>>> >> but getting exception when i hit the wiki url in browser. Here is the
>>> full
>>> >> stack trace
>>> >
>>> > [snip]
>>> >
>>> >> java.lang.NullPointerException
>>> >>
>>> org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
>>> >
>>> > Strange, I don’t remember seeing this error before. It looks like an
>>> Hibernate bug.
>>> >
>>>
>>> Has been reported as such, and usually rejected, e.g.:
>>>   https://hibernate.atlassian.net/browse/HHH-3715
>>>
>>> I feel that the problem is that the XWQL-Query is not translated to HQL
>>> properly
>>>
>>> > The query we send is:
>>> >
>>> > "where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and
>>> doc.name like 'XWikiServer%’"
>>> >
>>>
>>> This is a XWQL query, however, and the HQL that is created from it (I
>>> guess its created from the query, as that is what is shown in the error
>>> message):
>>>
>>> select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where
>>> ( doc.object ( XWiki.XWikiServerClass ) . server = :wikiAlias
>>>and doc.name like 'XWikiServer%' ) and doc.fullName=_o1.name and
>>> _o1.className='XWiki.XWikiServerClass'
>>>
>>> Of course the "( doc.object ( XWiki.XWikiServerClass ) . server" is not
>>> proper HQL, something must have gone amiss when translating the XWQL to HQL.
>>>
>>> What puzzles me is why this has something to do with the Oracle driver
>>> (It is no general bug for sure, otherwise it would have blocked any
>>> development ...)
>>> I just checked and I get basically the same error message when I try to
>>> execute the generated HQL "manually" (from a groovy script in a page),
>>> but of course no such error when executing the XWQL (would not have been
>>> able to start the server then).
>>>
>>>
>>> Is it possible to direct the installation temporarily to e.g. HSQL-DB
>>> (something along
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL )
>>>  - just for testing if the issue goes away then? (It is sure not useful
>>> for production use that way until switched back to Oracle ...)
>>> If the issue does not go away, then it must be something else ...
>>>
>>>
>>> > Do you still have the problem?
>>> >
>>> > Could you provide the exact JDBC driver and Oracle versions you use?
>>> >
>>> > Thanks
>>> > -Vincent
>>> >
>>> > [snip]
>>> >
>>> > ___
>>> > users mailing list
>>> > users@xwiki.org
>>> > http://lists.xwiki.org/mailman/listinfo/users
>>> >
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2015-09-22 Thread Mohit Gupta
Hi

Here is my relevant code snippter fro hibernate,cfg , my user name is
my_wiki

jdbc:mysql://localhost:3306/my_wiki
my_wiki
my_wiki
com.mysql.jdbc.Driver
org.hibernate.dialect.MySQL5InnoDBDialect
true
20







Here is the code snippet from xwiki.cfg

xwiki.db=my_wiki
xwiki.home=http://localhost:/myWiki/
xwiki.webapppath=myWiki


I used to work xwiki around 2 years back, it used to work like charm. But
with latest version , i am not able to start xwiki. First i tried with
oracle . Now i am trying with mysql.


Thanks
Mohit

On Mon, Sep 21, 2015 at 1:15 PM, Thomas Mortagne 
wrote:

> He is using a different app name, not database name. And according to
> his mail he is setting the right property (xwiki.webapppath,
> xwiki.home is not used for this try disabling it back).
>
> Are you sure you removed the # and that it's the right xwiki.cfg you
> are modifying (sometimes in the battle... :)). If all is right then it
> looks like there is a bug somewhere in the URL factory.
>
> On Mon, Sep 21, 2015 at 8:33 AM, vinc...@massol.net 
> wrote:
> > Hi Mohit,
> >
> > Not sure why you needed to use a different database name for the main
> wiki but in case you need this you can configure xwiki to use this new
> name, see
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigurethenamesofdatabaseschemas
> >
> > 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
> >> Mohit
> >>
> >> On Sun, Sep 20, 2015 at 4:38 PM, Mohit Gupta wrote:
> >>
> >> > looks like for generated urls xwiki not appending right application
> >> > context name i.e "myWiki" but instead using "xwiki" . it should be
> >> > /myWiki/resources/uicomponents/logging/logging.js
> >> >
> >> >
> >> > i tried below configuration in xwiki.cfg but it did not help
> >> >
> >> > xwiki.home=http://localhost:/myWiki/
> >> > xwiki.webapppath=myWiki
> >> >
> >> > On Sun, Sep 20, 2015 at 4:19 PM, Mohit Gupta 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)
> >> >>
> >> >> XWiki is initializing (12%)...
> >> >>
> >> >>
> >> >> Here are the logs from localhost_access_log.2015-09-20 file
> >> >>
> >> >>
> >> >> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
> >> >> /myWiki/bin/view/Main/ HTTP/1.1" 503 2823
> >> >> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
> >> >>
> /xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js
> >> >> HTTP/1.1" 404 1015
> >> >> 0:0:0:0:0:0:0:1 - - [20/Sep/2015:16:14:26 +0530] "GET
> >> >> /xwiki/resources/uicomponents/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 (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
> >> >>> >>
> >> >>>
> http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-web/7.2-SNAPSHOT/
> >> >>> >> but getting exception when i hit the wiki url in browser. Here
> is the
> >> >>> full
> >> >>> >> stack trace
> >> >>> >
> >> >>> > [snip]
> >> >>> >
> >> >>> >> java.lang.NullPointerException
> >>

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

2015-09-22 Thread Mohit Gupta
Yes its hardcoded in init.vm. It works fine after installing 7.2 version.
But looks like some issue is there with Admin rights as I installed one
application i.e bulletin board but when i try to add category it gives me
below error



Failed to execute the [velocity] macro. Click on this message for details.

org.xwiki.rendering.macro.MacroExecutionException: You don't have the right
to execute the script macro [velocity]
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor635.invoke(Unknown Source)


Do i need to modify some right or some configuration is required here.



On Tue, Sep 22, 2015 at 2:20 PM, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> On Tue, Sep 22, 2015 at 11:41 AM, vinc...@massol.net 
> wrote:
> >
> >
> >
> > On 22 Sep 2015 at 10:33:40, Marius Dumitru Florea (
> mariusdumitru.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" but instead using "xwiki" . it should be
> >> > /myWiki/resources/uicomponents/logging/logging.js
> >>
> >> If you're using XWiki 7.2M1+ then the right context path should be
> >> used. Sergiu fixed this with
> >>
> https://github.com/xwiki/xwiki-platform/commit/58295a36aa61a2a99956093b9571f033aecde912
> >
> > This commit seems to have be committed in 7.1 according to the JIRA
> issue: http://jira.xwiki.org/browse/XWIKI-12155
> >
>
> > Thus this commit should in 7.2M1+. Is the JIRA fix version wrong?
>
> Indeed, it has been committed in both 7.1 and 7.2 (master). I didn't
> check the jira, I just did a git blame.
>
> >
> >> . You can check init.vm to see whether the 'xwiiki' context path is
> >> hardcoded or not for logging.js .
> >>
> >> Note that 7.2 final is not released yet so I wouldn't recommend using
> >> 7.2M1/M2/M3/RC1 expect for testing because they are development
> >> versions. Moreover, during 7.2 we did a lot of changes required to add
> >> support for nested spaces/documents and thus the milestones are less
> >> stable than usual.
> >
> > I agree.
> >
> > OTOH it’s very good that you’re trying it and provide feedback for us
> since this allows us to fix things to release an as-stable-as-possible 7.2
> version :)
> >
> > Just don’t put it in production!
> >
> > Now we need to check if your problem still exist on 7.2RC1 and fix it. I
> don’t have the time right now but I’ll try to reproduce this week and fix
> the problem if I can. I’ll post back my findings.
> >
> > Thanks a lot for your help!
> > -Vincent
> >
> >>
> >> Hope this helps,
> >> Marius
> >>
> >> >
> >> >
> >> > i tried below configuration in xwiki.cfg 

[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) categorize different type of painting.


Are there some readymade template available which i can use as base and
then quickly develop on that? Just for info I am a java resource having
around 10 years of exp.

Thanks and Regards
Mohit
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Unsubscribe from the group

2016-06-11 Thread Mohit Gupta
Hi All,

I want to unsubscribe from this group. I have tried below link, entered my
email id and click unsubscribe, But i never got  confirmation email for
unsubscription,

http://lists.xwiki.org/mailman/options/users

Can admin unsubscribe me from this group.

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


[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
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases
)

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=10.215.30.20
xwiki.authentication.ldap.port=389
// all other values i have kept default
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=
xwiki.authentication.ldap.UID_attr=cn

But when i login to xwiki with my window credentials , i get below
error(though i am able to ping
10.215.30.20 server):-

com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
Wrapped Exception: Invalid Credentials


Any idea what can be probable reason for this?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
~[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
~[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-legacy-oldcore-3.5.jar:na]

I contacted  my company ActiveDirectory Administrator and provided me the
deatils required in xwiki.cfg file
Here is my my configuration in xwiki.cfg file

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=int.myCompany.net
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net

for below below attribute, i was told "New account will be created". Though
i am ot sure what does it mean. So i tried both the
options i.e keeping them default and also commented them out, but no help
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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  wrote:

> 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
> com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
> ~[xwiki-platform-legacy-oldcore-3.5.jar:na]
>  at
> com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
> ~[xwiki-platform-legacy-oldcore-3.5.jar:na]
> at
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
> [xwiki-platform-legacy-oldcore-3.5.jar:na]
>  at
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
> [xwiki-platform-legacy-oldcore-3.5.jar:na]
>
> I contacted  my company ActiveDirectory Administrator and provided me the
> deatils required in xwiki.cfg file
> Here is my my configuration in xwiki.cfg file
>
>
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> xwiki.authentication.ldap=1
> xwiki.authentication.ldap.server=int.myCompany.net
> xwiki.authentication.ldap.port=389
> xwiki.authentication.ldap.UID_attr=sAMAccountName
>
> xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
> xwiki.authentication.ldap.update_user=1
> xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net
>
> for below below attribute, i was told "New account will be created".
> Though i am ot sure what does it mean. So i tried both the
> options i.e keeping them default and also commented them out, but no help
>
> xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
> xwiki.authentication.ldap.bind_pass={1}
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2013-05-11 Thread Mohit Gupta
Thanks Thomas. As per usecase link here is my updated configuration but
still i get the same issue i.e

com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
Wrapped Exception: Invalid Credentials

Here is my configuration

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=int.myCompany.net
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net
xwiki.authentication.ldap.bind_DN=int{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn

i am not sure , Am i still  missing  something?
I am also not sure value given against 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
wrote:

> On Sat, May 11, 2013 at 12:18 PM, Mohit Gupta  wrote:
> > 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  wrote:
> >
> >> 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
> >>
> com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
> >> ~[xwiki-platform-legacy-oldcore-3.5.jar:na]
> >>  at
> >>
> com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
> >> ~[xwiki-platform-legacy-oldcore-3.5.jar:na]
> >> at
> >>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
> >> [xwiki-platform-legacy-oldcore-3.5.jar:na]
> >>  at
> >>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
> >> [xwiki-platform-legacy-oldcore-3.5.jar:na]
> >>
> >> I contacted  my company ActiveDirectory Administrator and provided me
> the
> >> deatils required in xwiki.cfg file
> >> Here is my my configuration in xwiki.cfg file
> >>
> >>
> >>
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> >> xwiki.authentication.ldap=1
> >> xwiki.authentication.ldap.server=int.myCompany.net
> >> xwiki.authentication.ldap.port=389
> >> xwiki.authentication.ldap.UID_attr=sAMAccountName
> >>
> >>
> xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
> >> xwiki.authentication.ldap.update_user=1
> >> xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net
> >>
> >> for below below attribute, i was told "New account will be created".
> >> Though i am ot sure what does it mean. So i tried both the
> >> options i.e keeping them default and also commented them out, but no
> help
> >>
> >>
> xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
> >> xwiki.authentication.ldap.bind_pass={1}
>
> This setup means that XWiki will access the LDAP server with the
> following user:
>
> "cn={whateveryouputintheloginform},department=USER,department=INFORMATIK,department=1230,o=MP"
> and the password you indicate in the login form. This does not looks
> like proper setup for AD, expecially the cn since as you indicated
> yourself in xwiki.authentication.ldap.UID_attr the uid is in the field
> sAMAccountName.
>
> Did ou tried what's on
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HActiveDirectory
> ? It generally working well.
>
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] 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
wrote:

> On Sat, May 11, 2013 at 3:18 PM, Mohit Gupta  wrote:
> > Thanks Thomas. As per usecase link here is my updated configuration but
> > still i get the same issue i.e
> >
> > com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
> > bind failed with LDAPException.
> > Wrapped Exception: Invalid Credentials
> >
> > Here is my configuration
> >
> >
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> > xwiki.authentication.ldap=1
> > xwiki.authentication.ldap.server=int.myCompany.net
> > xwiki.authentication.ldap.port=389
> > xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net
>
> > xwiki.authentication.ldap.bind_DN=int{0}
>
> Shouldn't it be xwiki.authentication.ldap.bind_DN=int\\{0} instead ?
>
> The best you can do right now is to get a LDAP client an try various
> bind DN/password with it, when you find what is working then you can
> use that to setup XWiki.
>
> > xwiki.authentication.ldap.bind_pass={1}
> > xwiki.authentication.ldap.UID_attr=sAMAccountName
> >
> xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
> >
> > i am not sure , Am i still  missing  something?
> > I am also not sure value given against 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
> > wrote:
> >
> >> On Sat, May 11, 2013 at 12:18 PM, Mohit Gupta 
> wrote:
> >> > 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 
> wrote:
> >> >
> >> >> 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
> >> >>
> >>
> com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
> >> >> ~[xwiki-platform-legacy-oldcore-3.5.jar:na]
> >> >>  at
> >> >>
> >>
> com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
> >> >> ~[xwiki-platform-legacy-oldcore-3.5.jar:na]
> >> >> at
> >> >>
> >>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
> >> >> [xwiki-platform-legacy-oldcore-3.5.jar:na]
> >> >>  at
> >> >>
> >>
> com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
> >> >> [xwiki-platform-legacy-oldcore-3.5.jar:na]
> >> >>
> >> >> I contacted  my company ActiveDirectory Administrator and provided me
> >> the
> >> >> deatils required in xwiki.cfg file
> >> >> Here is my my configuration in xwiki.cfg file
> >> >>
> >> >>
> >> >>
> >>
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> >> >> xwiki.authentication.ldap=1
> >> >> xwiki.authentication.ldap.server=int.myCompany.net
> >> >> xwiki.authentication.ldap.port=389
> >> >> xwiki.authentication.ldap.UID_attr=sAMAccountName
> >> >>
> >> >>
> >>
> xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
> >> >> xwiki.authentication.ldap.update_user=1
> >> >> xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net
> >> >>
> >> >> for below below attribute, i was told "New account will be created".
> >> >> Though i am ot sure what does it mean. So i tried both the
> >> >> options i.e keeping them default and also commented them out, but no
> >> help
> >>

[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 welcome space and navigated to administer Space, then to
rights, but do not see any way to give rights to all my active directory
user.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2013-05-13 Thread Mohit Gupta
Thanks again Thomas


On Mon, May 13, 2013 at 12:10 PM, Thomas Mortagne  wrote:

> First it's weird since all users in XWiki are in the group
> XWiiAllGroup and this group has read right on this space by default,
> you probably removed that.
>
> Do you really need it to be for only for LDAP users ? All XWiki users
> (included LDAP users) are in the group XWikiAllGroup so the simplest
> is to give the rights you need to this group.
>
> If you absolutely need LDAP user to be in a specific group you can use
> LDAP group membership (see
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HIwanttobeabletoreuseLDAPusersmembershipinXWiki
> )
> to have then automatically added to a group of your choice and then
> you set the right you want for this group.
>
> On Sun, May 12, 2013 at 5:52 AM, Mohit Gupta  wrote:
> > 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 welcome space and navigated to administer Space, then to
> > rights, but do not see any way to give rights to all my active directory
> > user.
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] 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
http://lists.xwiki.org/mailman/listinfo/users


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

2013-05-31 Thread Mohit Gupta
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 also upload files while posting
his message on bulletin board.


Are there some other bulletin board applications also(apart from the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Application)
for xwiki
so that i can select awhich serves best for my requirements?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2013-06-03 Thread Mohit Gupta
Thanks  Ecaterina Moraru.

The link you posted also does not have way to attach the file  while
creating/replying to any topic which i am looking for.

 I think forum application available at both the links below are more or
less same. Is it n't?

http://extensions.xwiki.org/xwiki/bin/view/Extension/SimpleForumApplication
http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Application



On Mon, Jun 3, 2013 at 2:15 PM, Ecaterina Moraru (Valica)  wrote:

> You can also check out
> http://extensions.xwiki.org/xwiki/bin/view/Extension/SimpleForumApplication
>
> Thanks,
> Caty
>
>
> On Sat, Jun 1, 2013 at 6:06 AM, Mohit Gupta  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 also upload files while posting
> > his message on bulletin board.
> >
> >
> > Are there some other bulletin board applications also(apart from the
> >
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Application
> > )
> > for xwiki
> > so that i can select awhich serves best for my requirements?
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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 [org.xwiki.model.reference.DocumentReferenceResolver<
java.lang.String >] for hint [currentmixed]
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
at com.xpn.xwiki.XWikiContext.(XWikiContext.java:151)
at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
at
com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:418)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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  wrote:

> 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 [org.xwiki.model.reference.DocumentReferenceResolver<
> java.lang.String >] for hint [currentmixed]
>  at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
> at com.xpn.xwiki.XWikiContext.(XWikiContext.java:151)
>  at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
> at
> com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:418)
>  at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>  at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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  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  wrote:
>
> > 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 [org.xwiki.model.reference.DocumentReferenceResolver<
> > java.lang.String >] for hint [currentmixed]
> > at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
> > at com.xpn.xwiki.XWikiContext.(XWikiContext.java:151)
> > at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
> > at
> >
> com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:418)
> > at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)
> > at
> >
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> > at
> >
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> > at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at
> >
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at
> >
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at
> >
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at
> >
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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.


jdbc:mysql://localhost/IP
root
sa1234

Now,when i startup my tomcat container, it gives below error

INFO: SessionListener: contextInitialized()
Sep 14, 2013 5:35:56 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
*com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
database 'IP'*

Then i created the empty mysql database with name as 'IP' from command
prompt, then it gives below error. i am not sure why its looking for
database 'xwiki' instead of 'IP'. Do i need to change some other config
file also apart from hibernate.cfg.xml ?



 INFO: SessionListener: contextInitialized()
Sep 14, 2013 5:35:56 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
*com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
database 'xwiki'*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2013-09-14 Thread Mohit Gupta
I could resolve this issue by uncomment and setting below property to  IP
in xwiki.cfg. I don't is it really required as i never set it for
previously installed version i.e xwiki 3.5?
As i have already mentioned in hibernate.cfg.xml (jdbc:mysql://localhost/IP ), it should be
coming from there. Is n't it?

xwiki.db=IP


On Sat, Sep 14, 2013 at 5:56 PM, Mohit Gupta  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.
>
>
> jdbc:mysql://localhost/IP
> root
> sa1234
>
> Now,when i startup my tomcat container, it gives below error
>
> INFO: SessionListener: contextInitialized()
> Sep 14, 2013 5:35:56 PM org.apache.catalina.core.StandardWrapperValve
> invoke
> SEVERE: Servlet.service() for servlet action threw exception
> *com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
> database 'IP'*
>
> Then i created the empty mysql database with name as 'IP' from command
> prompt, then it gives below error. i am not sure why its looking for
> database 'xwiki' instead of 'IP'. Do i need to change some other config
> file also apart from hibernate.cfg.xml ?
>
>
>
>  INFO: SessionListener: contextInitialized()
> Sep 14, 2013 5:35:56 PM org.apache.catalina.core.StandardWrapperValve
> invoke
> SEVERE: Servlet.service() for servlet action threw exception
> *com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
> database 'xwiki'*
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2013-09-21 Thread Mohit Gupta
Skin is good . But I always look to see xwiki to be competitive with
wordpresss where user can play a lot with UI.  So if there is brief
tutorial where we can see what are all common needs of any CMS site and how
xwiki handles that, it would be great.


On Sat, Sep 21, 2013 at 7:49 PM, Vincent Massol  wrote:

>
> On Jun 15, 2013, at 2:40 PM, Mohit Gupta  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 but someone ought to write one :)
>
> The easiest for you is to use a skin for a web site, for example:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Leiothrix+Skin
>
> Thanks
> -Vincent
>
> > On Sat, Jun 15, 2013 at 6:08 PM, Mohit Gupta  wrote:
> >
> >> I know xwiki has lot of potential. i am looking forward to develop the
> >> full fledged website like
> >> http://www.albertdemun.net/xwiki/bin/view/NBSitePublic/. It would be
> >> helpful to know if there is some tutorial exists explaining how we can
> >> develop the full website  (For example website i pointed above) where we
> >> can separate type of UI components most of the website usually have. I
> know
> >> probably there are some different extension/plugin existing at different
> >> places but if we can have single page explaining how we can develop full
> >> fledged website it would be great. Thanks in advance.
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] 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
modification is only way?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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.authentication.defaultpage=/bin/view/MySpace/WebHome

But it did not help. Still user is navigated to "Main" space  "WebHome"
Page once user clicks the login after successful regstration?
Am i missing something here?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
i have my banking webapplication on tomcat. i want to host my application
help on xwiki which will sit on another server(probably
xwiki will be having its on app server). Basically what i have to do is i
want to provide a link on my banking application on click of which
i want to take it to wiki help(help shoud not ask any credentialsat
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
 though it should ask for credential if i hit my xwiki URL directly.i am
not getting how to start it?i have gone thru xwiki devguide but could
not get much out of it. It would be great if somebody can give me heads up
how can i can i start it at high level, it would be a great help.
As xwiki site states many tools to download like
manager,enterprise,platform. which tool one i shoud start with and what
should be the starting point
in that?
i want to give the users to modify the wiki page on the basis of roles in
my banking application. So my application and xwiki has to interact a lot.
looking for how we can proceed for this. My application is using struts 2.

Another question i have is once i dowload xwiki enterprsise, should i host
in seperate tomcat or downloaded xwiki application will have its own
webserver.

Its really urgent for me. Looking for quick reply

Thanks in advance
Mohit GUpta
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
Thanks Edo for quick reply. its not an intranet application. Let me
explain what my intention is

i have a full fledged banking web application (say App1) developed in
java using struts 2 hosted on tomcat. Now i am planning to develop a
different web application  (App2) help content for my App1. For this i
downloaded xwiki enterprise. Looks like xwiki is hosted on jetty
webserver. Right?  Now i want to introduce a hyperlink on some jsp
page on App1 which will take me to my xwiki help application i.e
App2.I am assuming right now App2 will ask me some user credentials
i.e username and password. Right? so what i want to to do here is when
i click on hyperlink it should take me to some servlet lying in App2
with some userid . Then with this user id App2(i.e xwiki application)
again talks to some servlet lying on App1(i.e my banking application)
which checks whether user exist in database or not . if yes it gives
green signal to servlet in xwiki application(App2) and it shows the
home page of wiki help otherwise throw some exception.

Above is the crux of work what i am planning to do.


What i want to know

What are xwiki modules and tools i need to download?
Which xwiki  java classes and servlets i need to explore so that i can
proceed in right direction?
how my banking webapplication and newly developed xwiki application
will interact each other?
Can i host xwiki application on tomcat instead of jetty webserver
which seeems to be default server where xwiki application will be
hosted?
How will i get the source code of xwiki application?
which specific developer guide/'topic i need to go thru in detail .
Though i went thru developer guide on xwiki site but could not get
much out of it.

I am in urgent need of this so that i can start upon at
earliest.Thanks in Advance.


On 12/2/11, Edo Beutler  wrote:
> Hi Mohit
>
> I am not sure I completely understand what your intention is. But as I
> understand it, two solutions come to mind:
> 1. If it is an intranet application in an organisation you could think
> about using LDAP and SSO (xwiki external), which would not exactly
> match your example, but can remove the need to login separately.
> 2. A virtual wiki environment (would probably be used also for 1.)
> with all the users on the main wiki. And the xwiki "internal SSO"
> activated. So you could create your two applications in separate
> virtual wikis and logging in to one would also log you in to the other
> application.
>
> Hope this helps
> Edo
>
> On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta  wrote:
>> i have my banking webapplication on tomcat. i want to host my application
>> help on xwiki which will sit on another server(probably
>> xwiki will be having its on app server). Basically what i have to do is i
>> want to provide a link on my banking application on click of which
>> i want to take it to wiki help(help shoud not ask any credentialsat
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
>>  though it should ask for credential if i hit my xwiki URL directly.i am
>> not getting how to start it?i have gone thru xwiki devguide but could
>> not get much out of it. It would be great if somebody can give me heads up
>> how can i can i start it at high level, it would be a great help.
>> As xwiki site states many tools to download like
>> manager,enterprise,platform. which tool one i shoud start with and what
>> should be the starting point
>> in that?
>> i want to give the users to modify the wiki page on the basis of roles in
>> my banking application. So my application and xwiki has to interact a lot.
>> looking for how we can proceed for this. My application is using struts 2.
>>
>> Another question i have is once i dowload xwiki enterprsise, should i host
>> in seperate tomcat or downloaded xwiki application will have its own
>> webserver.
>>
>> Its really urgent for me. Looking for quick reply
>>
>> Thanks in advance
>> Mohit GUpta
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
Thanks Edo. I am going thru the link you have given. In the meanwhile
Can you just point me what are xwiki  tools/modules i have to download
to make my xwiki application as explained in below mail. Along with
how i will get java source code with of downloaded xwiki module so
that i can make change in them.

can i host downloaded xwiki module with tomcat instance and
relational database.Thanks.

On 12/2/11, Edo Beutler  wrote:
> Hi Mohit
>
> I think I understood now what you try to do. So App 1 is not an XWiki,
> and only App 2 is XWiki. In that case I think you will have to write
> your own authenticator. Since I never had the need to do that I can't
> tell you how, just point you to the XWiki documentation on
> authentication. There you can find also a chapter on custom
> authentications.
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
>
> I hope you can find what you need there
> Edo
>
> On Fri, Dec 2, 2011 at 4:53 PM, mohit gupta  wrote:
>> Thanks Edo for quick reply. its not an intranet application. Let me
>> explain what my intention is
>>
>> i have a full fledged banking web application (say App1) developed in
>> java using struts 2 hosted on tomcat. Now i am planning to develop a
>> different web application  (App2) help content for my App1. For this i
>> downloaded xwiki enterprise. Looks like xwiki is hosted on jetty
>> webserver. Right?  Now i want to introduce a hyperlink on some jsp
>> page on App1 which will take me to my xwiki help application i.e
>> App2.I am assuming right now App2 will ask me some user credentials
>> i.e username and password. Right? so what i want to to do here is when
>> i click on hyperlink it should take me to some servlet lying in App2
>> with some userid . Then with this user id App2(i.e xwiki application)
>> again talks to some servlet lying on App1(i.e my banking application)
>> which checks whether user exist in database or not . if yes it gives
>> green signal to servlet in xwiki application(App2) and it shows the
>> home page of wiki help otherwise throw some exception.
>>
>> Above is the crux of work what i am planning to do.
>>
>>
>> What i want to know
>>
>> What are xwiki modules and tools i need to download?
>> Which xwiki  java classes and servlets i need to explore so that i can
>> proceed in right direction?
>> how my banking webapplication and newly developed xwiki application
>> will interact each other?
>> Can i host xwiki application on tomcat instead of jetty webserver
>> which seeems to be default server where xwiki application will be
>> hosted?
>> How will i get the source code of xwiki application?
>> which specific developer guide/'topic i need to go thru in detail .
>> Though i went thru developer guide on xwiki site but could not get
>> much out of it.
>>
>> I am in urgent need of this so that i can start upon at
>> earliest.Thanks in Advance.
>>
>>
>> On 12/2/11, Edo Beutler  wrote:
>>> Hi Mohit
>>>
>>> I am not sure I completely understand what your intention is. But as I
>>> understand it, two solutions come to mind:
>>> 1. If it is an intranet application in an organisation you could think
>>> about using LDAP and SSO (xwiki external), which would not exactly
>>> match your example, but can remove the need to login separately.
>>> 2. A virtual wiki environment (would probably be used also for 1.)
>>> with all the users on the main wiki. And the xwiki "internal SSO"
>>> activated. So you could create your two applications in separate
>>> virtual wikis and logging in to one would also log you in to the other
>>> application.
>>>
>>> Hope this helps
>>> Edo
>>>
>>> On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta  wrote:
>>>> i have my banking webapplication on tomcat. i want to host my
>>>> application
>>>> help on xwiki which will sit on another server(probably
>>>> xwiki will be having its on app server). Basically what i have to do is
>>>> i
>>>> want to provide a link on my banking application on click of which
>>>> i want to take it to wiki help(help shoud not ask any credentialsat
>>>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
>>>>  though it should ask for credential if i hit my xwiki URL directly.i am
>>>> not getting how to start it?i have gone thru xwiki devguide but could
>>>> not get much out of it. It would be great if somebody can give me heads
>>>> up
>>>> how can i can i start it at

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-02 Thread mohit gupta
Thanks Andreas a lot for sharing the information. Let me explain what got
from the links you have mentioned above.

i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in
address bar. Both link took me to http://www.teamsched.com/docs/info/
which seems to be a xwiki site based on java classes which must be hosted
on some webserver(can you name the webserver which you used for this). Now
i click the hyperlink getting started given on this site which takes me to
another web application  i.e http://shept.org/docs/Shept/(which is again
some java application hosted on another instance of webserver ). Is that
correct? If yes i  also need to do same kind of stuff. Thanks.

On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn  wrote:

> Hi mohit,
>
> I think I have done something similar a while ago.
> Look at http://www.teamsched.com.
>
> The explanatory stuff is hosted on an xwiki that is identified by the
> http://www.teamsched.com/docs
> part of the url.
> The real application based on shept.org (spring, hibernate, e.t.c.) (when
> you press 'Gettings started')
> http://www.teamsched.com/app
>
> It works more or less seamless yet the level of integration of both apps
> is a little shaky.
> There are no user accounts handed over from one to the other app.
> That should be possible but I hesitated to invest the necessary effort to
> figure it out.
> If that's what you are looking for I'll try to provide details.
>
> good luck
>
> Andreas
>
>
>
> Am 02.12.2011 11:31, schrieb mohit gupta:
>
>> i have my banking webapplication on tomcat. i want to host my application
>> help on xwiki which will sit on another server(probably
>> xwiki will be having its on app server). Basically what i have to do is i
>> want to provide a link on my banking application on click of which
>> i want to take it to wiki help(help shoud not ask any credentialsat
>> http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHome<http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome>
>> )
>>  though it should ask for credential if i hit my xwiki URL directly.i am
>> not getting how to start it?i have gone thru xwiki devguide but could
>> not get much out of it. It would be great if somebody can give me heads up
>> how can i can i start it at high level, it would be a great help.
>> As xwiki site states many tools to download like
>> manager,enterprise,platform. which tool one i shoud start with and what
>> should be the starting point
>> in that?
>> i want to give the users to modify the wiki page on the basis of roles in
>> my banking application. So my application and xwiki has to interact a lot.
>> looking for how we can proceed for this. My application is using struts 2.
>>
>> Another question i have is once i dowload xwiki enterprsise, should i host
>> in seperate tomcat or downloaded xwiki application will have its own
>> webserver.
>>
>> Its really urgent for me. Looking for quick reply
>>
>> Thanks in advance
>> Mohit GUpta
>> __**_
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
>>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
 hi i  downloaded xwiki war and extracted the same war to my tomcat
directory under webapps folder.Now i am hitting the xwiki url  and was
expecting welcome page or login page  but got below exception
message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml . Not
getting what i am missing here.


*root cause*

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in
the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)

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

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)

org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)

com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)

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

org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-10 Thread mohit gupta
Thanks all for sharing the information. I started working on the xwiki
project.

I downloaded the war file xwiki-enterprise-web-3.2 and started  working on
that. I have got some questions/issues  while working
on this. These are:-

1) Is it possible to  get the source code of xwiki java files so that if
want have some understanding/or modification as per my
requirements i can go ahead?

2) As i said earlier too, i want my customer authentication. So i explored
the downloaded war file and found there is a property
   xwiki.authentication.authclass inside xwiki.cfg file against which file
name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
   is written. So i can provide my own customer class say
MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
   my question is in which library it should be packed with and what are
interfaces/parent class it should extend how i can find
   it out?

it would be a great help if you some one can brief about each point?


On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta  wrote:


> Thanks Andreas a lot for sharing the information. Let me explain what got
> from the links you have mentioned above.
>
> i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in
> address bar. Both link took me to http://www.teamsched.com/docs/info/
> which seems to be a xwiki site based on java classes which must be hosted
> on some webserver(can you name the webserver which you used for this). Now
> i click the hyperlink getting started given on this site which takes me to
> another web application  i.e http://shept.org/docs/Shept/(which is again
> some java application hosted on another instance of webserver ). Is that
> correct? If yes i  also need to do same kind of stuff. Thanks.
>
>
> On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn  wrote:
>
>
>> Hi mohit,
>>
>> I think I have done something similar a while ago.
>> Look at http://www.teamsched.com.
>>
>> The explanatory stuff is hosted on an xwiki that is identified by the
>> http://www.teamsched.com/docs
>> part of the url.
>> The real application based on shept.org (spring, hibernate, e.t.c.)
>> (when you press 'Gettings started')
>> http://www.teamsched.com/app
>>
>> It works more or less seamless yet the level of integration of both apps
>> is a little shaky.
>> There are no user accounts handed over from one to the other app.
>> That should be possible but I hesitated to invest the necessary effort to
>> figure it out.
>> If that's what you are looking for I'll try to provide details.
>>
>> good luck
>>
>> Andreas
>>
>>
>>
>> Am 02.12.2011 11:31, schrieb mohit gupta:
>>
>>
>>> i have my banking webapplication on tomcat. i want to host my application
>>> help on xwiki which will sit on another server(probably
>>> xwiki will be having its on app server). Basically what i have to do is i
>>> want to provide a link on my banking application on click of which
>>> i want to take it to wiki help(help shoud not ask any credentialsat
>>> http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHome<http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome>
>>> )
>>>  though it should ask for credential if i hit my xwiki URL directly.i am
>>> not getting how to start it?i have gone thru xwiki devguide but could
>>> not get much out of it. It would be great if somebody can give me heads
>>> up
>>> how can i can i start it at high level, it would be a great help.
>>> As xwiki site states many tools to download like
>>> manager,enterprise,platform. which tool one i shoud start with and what
>>> should be the starting point
>>> in that?
>>> i want to give the users to modify the wiki page on the basis of roles in
>>> my banking application. So my application and xwiki has to interact a
>>> lot.
>>> looking for how we can proceed for this. My application is using struts
>>> 2.
>>>
>>> Another question i have is once i dowload xwiki enterprsise, should i
>>> host
>>> in seperate tomcat or downloaded xwiki application will have its own
>>> webserver.
>>>
>>> Its really urgent for me. Looking for quick reply
>>>
>>> Thanks in advance
>>> Mohit GUpta
>>>
>>> __**_
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>>
>>>
>>>
>>  __**_
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
>>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
i reason i can think of it is in hibernate.cfg.xml i can see entry of three
hbm files i.e




but i dont find them in downloaded war file.If these files does not exist
in downloaded war file then why these entries are provided here.Should i
remove these entirely or download them from other repository.

On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta  wrote:

>  hi i  downloaded xwiki war and extracted the same war to my tomcat
> directory under webapps folder.Now i am hitting the xwiki url  and was
> expecting welcome page or login page  but got below exception
> message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml . Not
> getting what i am missing here.
>
>
> *root cause*
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
> XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: Could not create a DBCP pool. There is an error in the 
> hibernate configuration file, please review it.
>   com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
>   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>   
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>   
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>   
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>   
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>   
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>   
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>
>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
even if i commen out these 3 entries iam getting same error. not sure how
to get rid of this.

On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta  wrote:

>  hi i  downloaded xwiki war and extracted the same war to my tomcat
> directory under webapps folder.Now i am hitting the xwiki url  and was
> expecting welcome page or login page  but got below exception
> message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml . Not
> getting what i am missing here.
>
>
> *root cause*
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
> XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: Could not create a DBCP pool. There is an error in the 
> hibernate configuration file, please review it.
>   com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
>   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>   
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>   
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>   
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>   
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>   
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>   
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>
>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
a:886)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)*
**



On Sun, Dec 11, 2011 at 3:55 AM, Maxime Sinclair
wrote:

> Generally, this kind of error comes from a syntax error in the xml file.
> Hope this helps.
> Maxime
>
> 2011/12/10 mohit gupta :
> > even if i commen out these 3 entries iam getting same error. not sure how
> > to get rid of this.
> >
> > On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta 
> wrote:
> >
> >>  hi i  downloaded xwiki war and extracted the same war to my tomcat
> >> directory under webapps folder.Now i am hitting the xwiki url  and was
> >> expecting welcome page or login page  but got below exception
> >> message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml .
> Not
> >> getting what i am missing here.
> >>
> >>
> >> *root cause*
> >>
> >> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
> main XWiki context
> >> Wrapped Exception: Error number 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
> param xwiki.store.migration.manager.class
> >> Wrapped Exception: Error number 0 in 3: Exception while hibernate
> execute
> >> Wrapped Exception: Could not create a DBCP pool. There is an error in
> the hibernate configuration file, please review it.
> >>   com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> >>   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> >>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> >>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> >>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >>   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >>   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> >>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> >>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> >>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> >>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> >>
> >>
> >>
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Need Help rgarding customization of xwiki to suit my needs

2011-12-10 Thread mohit gupta
As i earlier said i have my project web application on one tomcat instance
and xwiki application on another tomcat instance.
So when  i click help link on my project web application it should take me
to xwiki webapplication and whatever class
i mentioned against xwiki.authentication.authclass should do the custom
authentication.

So,I downloaded the war file xwiki-enterprise-web-3.2 and started  working
on that. I have got some questions/issues  while working
on this. These are:-

 1) Is it possible to  get the source code of xwiki java files so that if
want have detailed some understanding/or modification as per my
requirements i can go ahead? After modification i will pack it with
existing jar file and deploy it.
 2) As i said in the begining i want custom authentication .So my question
is what are interfaces/parent class my custome class
   should extend and with which library(jar file ) it should be packed with
.how i can find   it out? Is there any api doc like
   standard java docs something like this?


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


Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
on exploring further i found that table i.e *xwikistrings* defined in
xwiki.hbm.xml did not get created somehow., though all other tables got
created in my databse. *Is it a know bug or i am missing something here?
*
On Sun, Dec 11, 2011 at 10:28 AM, mohit gupta  wrote:

> Thanks Maxime. I got the issue. I looked it in to detailed log under
> tomcat directory and found driver is missing. Resolved the issue but got
> new error and looked in to detailel logs too.Here is the stack trace.
> Looking for quick help. This xwikistrings is getting reffered from inside
> xwiki acion class.Not getting how to get rid of this. Dying to see the
> welcome page of xwiki.
>
>
> Wrapped Exception:
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
> saving document xwiki:XWiki.XWikiPreferences
> Wrapped Exception: could not execute query
>  at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:690)
>  at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
>  at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)
>  at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1406)
>  at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362)
>  at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357)
>  at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3260)
>  at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:842)
>  at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:817)
>  at com.xpn.xwiki.XWiki.(XWiki.java:743)
>  at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405)
>  at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>  at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
>  at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>  at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>  at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>  at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>  at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>  at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>  at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>  at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoE

Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
Thanks vincet for replying.i am microsoft sql server.  Yes i got the that
issue.  Below is the new findings

on exploring further i found that table i.e xwikistrings defined in
xwiki.hbm.xml did not get created somehow., though all other tables got
created in my databse. Is it a know bug or i am missing something here?

On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol  wrote:

>
> On Dec 10, 2011, at 7:44 PM, mohit gupta wrote:
>
> > i reason i can think of it is in hibernate.cfg.xml i can see entry of
> three
> > hbm files i.e
> >
> >
> >
>
> You absolutely need those declarations. Nothing will work if you don't
> have them.
>
> what DB are you using?
>
> Thanks
> -Vincent
>
> > but i dont find them in downloaded war file.If these files does not exist
> > in downloaded war file then why these entries are provided here.Should i
> > remove these entirely or download them from other repository.
> >
> > On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta 
> wrote:
> >
> >> hi i  downloaded xwiki war and extracted the same war to my tomcat
> >> directory under webapps folder.Now i am hitting the xwiki url  and was
> >> expecting welcome page or login page  but got below exception
> >> message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml .
> Not
> >> getting what i am missing here.
> >>
> >>
> >> *root cause*
> >>
> >> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
> main XWiki context
> >> Wrapped Exception: Error number 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
> param xwiki.store.migration.manager.class
> >> Wrapped Exception: Error number 0 in 3: Exception while hibernate
> execute
> >> Wrapped Exception: Could not create a DBCP pool. There is an error in
> the hibernate configuration file, please review it.
> >>  com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> >>  com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> >>  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> >>  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> >>
>  
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >>
>  org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >>
>  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >>
>  org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >>  javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >>  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>  com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> >>
>  
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> >>
>  com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> >>
>  
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> >>
>  
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> >>
> >>
> >>
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server

2011-12-10 Thread mohit gupta
Hi vincet , i did not remove those mapping lines, these are intact. what
iam saying is i am  saying is there is a entry of  table i.e xwikistrings
defined in  xwiki.hbm.xml and table did not get created somehow., though
all other tables mentioned in hbm file got
created successfully in my database. Any idea why that table is not getting
created .*Is it a know bug or i am missing something here?
*

On Sun, Dec 11, 2011 at 12:24 PM, Vincent Massol  wrote:

>
> On Dec 11, 2011, at 7:51 AM, mohit gupta wrote:
>
> > Thanks vincet for replying.i am microsoft sql server.  Yes i got the that
> > issue.  Below is the new findings
> >
> > on exploring further i found that table i.e xwikistrings defined in
> > xwiki.hbm.xml did not get created somehow., though all other tables got
> > created in my databse. Is it a know bug or i am missing something here?
>
> Well if you removed the mapping lines there's no way it'll get created! :)
>
> -Vincent
>
> > On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol 
> wrote:
> >
> >>
> >> On Dec 10, 2011, at 7:44 PM, mohit gupta wrote:
> >>
> >>> i reason i can think of it is in hibernate.cfg.xml i can see entry of
> >> three
> >>> hbm files i.e
> >>>   
> >>>   
> >>>   
> >>
> >> You absolutely need those declarations. Nothing will work if you don't
> >> have them.
> >>
> >> what DB are you using?
> >>
> >> Thanks
> >> -Vincent
> >>
> >>> but i dont find them in downloaded war file.If these files does not
> exist
> >>> in downloaded war file then why these entries are provided here.Should
> i
> >>> remove these entirely or download them from other repository.
> >>>
> >>> On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta 
> >> wrote:
> >>>
> >>>> hi i  downloaded xwiki war and extracted the same war to my tomcat
> >>>> directory under webapps folder.Now i am hitting the xwiki url  and was
> >>>> expecting welcome page or login page  but got below exception
> >>>> message. Though i have not modified  xwiki.cfg and hibernate.cfg.xml .
> >> Not
> >>>> getting what i am missing here.
> >>>>
> >>>>
> >>>> *root cause*
> >>>>
> >>>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
> initialize
> >> main XWiki context
> >>>> Wrapped Exception: Error number 3001 in 3: Cannot load class
> >> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
> from
> >> param xwiki.store.migration.manager.class
> >>>> Wrapped Exception: Error number 0 in 3: Exception while hibernate
> >> execute
> >>>> Wrapped Exception: Could not create a DBCP pool. There is an error in
> >> the hibernate configuration file, please review it.
> >>>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> >>>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> >>>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
> >>>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> >>>>
> >>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
> >>>>
> >>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
> >>>>
> >> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> >>>>
> >> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>>> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> >>>>
> >>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
> >>>>
> >>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> >>>>
> >>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
> >>>>
> >>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> >>>>
> >>>>
> >>>>
> >>>>
> >>> ___
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-12 Thread mohit gupta
Thanks  Thomas Mortagne and Vincent a lot  for pointing out to repository.
One question on Repository structure. i downloaded the
xwiki-enterprise-web-3.2.war file and found out that
XWikiAuthServiceImpl.class lies under  jar
xwiki-platform-legacy-oldcore-3.2.jar
 and path is
xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But in
the repository you guys pointed out same file
 lies under
xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
But in my dowloaded war file
 there is no jar by the name of  xwiki-platform-core or
xwiki-platform-oldcore. There is jar file with the name
xwiki-platform-legacy-oldcore-3.2.jar.
could you brief about this discrepency?

On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol  wrote:

>
> On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:
>
> > Thanks all for sharing the information. I started working on the xwiki
> > project.
> >
> > I downloaded the war file xwiki-enterprise-web-3.2 and started  working
> on
> > that. I have got some questions/issues  while working
> > on this. These are:-
> >
> > 1) Is it possible to  get the source code of xwiki java files so that if
> > want have some understanding/or modification as per my
> >requirements i can go ahead?
>
> See
> http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
> (I've updated the page with more information)
>
> Thanks
> -Vincent
>
> > 2) As i said earlier too, i want my customer authentication. So i
> explored
> > the downloaded war file and found there is a property
> >   xwiki.authentication.authclass inside xwiki.cfg file against which file
> > name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
> >   is written. So i can provide my own customer class say
> > MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
> >   my question is in which library it should be packed with and what are
> > interfaces/parent class it should extend how i can find
> >   it out?
> >
> > it would be a great help if you some one can brief about each point?
> >
> >
> > On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta  wrote:
> >
> >
> >> Thanks Andreas a lot for sharing the information. Let me explain what
> got
> >> from the links you have mentioned above.
> >>
> >> i typed the URL http://www.teamsched.com/docs or
> http://www.teamsched.com in
> >> address bar. Both link took me to http://www.teamsched.com/docs/info/
> >> which seems to be a xwiki site based on java classes which must be
> hosted
> >> on some webserver(can you name the webserver which you used for this).
> Now
> >> i click the hyperlink getting started given on this site which takes me
> to
> >> another web application  i.e http://shept.org/docs/Shept/(which is
> again
> >> some java application hosted on another instance of webserver ). Is that
> >> correct? If yes i  also need to do same kind of stuff. Thanks.
> >>
> >>
> >> On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn  wrote:
> >>
> >>
> >>> Hi mohit,
> >>>
> >>> I think I have done something similar a while ago.
> >>> Look at http://www.teamsched.com.
> >>>
> >>> The explanatory stuff is hosted on an xwiki that is identified by the
> >>> http://www.teamsched.com/docs
> >>> part of the url.
> >>> The real application based on shept.org (spring, hibernate, e.t.c.)
> >>> (when you press 'Gettings started')
> >>> http://www.teamsched.com/app
> >>>
> >>> It works more or less seamless yet the level of integration of both
> apps
> >>> is a little shaky.
> >>> There are no user accounts handed over from one to the other app.
> >>> That should be possible but I hesitated to invest the necessary effort
> to
> >>> figure it out.
> >>> If that's what you are looking for I'll try to provide details.
> >>>
> >>> good luck
> >>>
> >>> Andreas
> >>>
> >>>
> >>>
> >>> Am 02.12.2011 11:31, schrieb mohit gupta:
> >>>
> >>>
> >>>> i have my banking webapplication on tomcat. i want to host my
> application
> >>>> help on xwiki which will sit on another server(probably
> >>>> xwiki will be having its on app server). Basically what i have to do
> is i
> >>>> want to provide a link on my banking application on click of which
> >>>> i want to take

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-13 Thread mohit gupta
Thanks thomas for bringing clarity.

 i am trying to build the xwiki source in eclipse as per the instructions
given at

http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject.

 i have given the repository location as below in setting.xml in eclispe

* 
   
 fip
 xwiki Archiva Repository
 https://github.com/xwiki/xwiki-platform
 
   true
 
 
   true
 
   
 *

 But after updating the setting.xml(lying under .m2 folder) to above
location  i get  below message on eclipse console

* 12/13/11 5:28:54 PM IST: Unable to update index for fip|
https://github.com/xwiki/xwiki-platform*

 And when i try to build the  project in eclipse, eclipse console shows
the below error message

* Project build error: Non-resolvable parent POM for
org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT:
 Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in *
*https://github.com/xwiki/xwiki-platform*<https://github.com/xwiki/xwiki-platform>
* was cached in the local repository, resolution will not be
reattempted until the update interval of fip has elapsed
 or updates are forced and 'parent.relativePath' points at wrong local
POM pom.xml /xwiki-platform-action line 1 Maven Problem*

* i am not getting what is the problem here. Please provide your
valuable inputs.
*
On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne
wrote:

> On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta  wrote:
> > Thanks  Thomas Mortagne and Vincent a lot  for pointing out to
> repository.
> > One question on Repository structure. i downloaded the
> > xwiki-enterprise-web-3.2.war file and found out that
> > XWikiAuthServiceImpl.class lies under  jar
> > xwiki-platform-legacy-oldcore-3.2.jar
> >  and path is
> > xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But
> in
> > the repository you guys pointed out same file
> >  lies under
> >
> xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
> > But in my dowloaded war file
> >  there is no jar by the name of  xwiki-platform-core or
> > xwiki-platform-oldcore. There is jar file with the name
> > xwiki-platform-legacy-oldcore-3.2.jar.
> > could you brief about this discrepency?
>
> xwiki-platform-legacy-oldcore is actually a bit special: it's
> repackaging xwiki-platform-oldcore and inject some deprecated APIs to
> it.
>
> >
> > On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol 
> wrote:
> >
> >>
> >> On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:
> >>
> >> > Thanks all for sharing the information. I started working on the xwiki
> >> > project.
> >> >
> >> > I downloaded the war file xwiki-enterprise-web-3.2 and started
>  working
> >> on
> >> > that. I have got some questions/issues  while working
> >> > on this. These are:-
> >> >
> >> > 1) Is it possible to  get the source code of xwiki java files so that
> if
> >> > want have some understanding/or modification as per my
> >> >requirements i can go ahead?
> >>
> >> See
> >>
> http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources
> >> (I've updated the page with more information)
> >>
> >> Thanks
> >> -Vincent
> >>
> >> > 2) As i said earlier too, i want my customer authentication. So i
> >> explored
> >> > the downloaded war file and found there is a property
> >> >   xwiki.authentication.authclass inside xwiki.cfg file against which
> file
> >> > name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl)
> >> >   is written. So i can provide my own customer class say
> >> > MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So
> >> >   my question is in which library it should be packed with and what
> are
> >> > interfaces/parent class it should extend how i can find
> >> >   it out?
> >> >
> >> > it would be a great help if you some one can brief about each point?
> >> >
> >> >
> >> > On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta 
> wrote:
> >> >
> >> >
> >> >> Thanks Andreas a lot for sharing the information. Let me explain what
> >> got
> >> >> from the links you have mentioned above.
> >> >>
> >> >> i typed the URL http://www.teamsched.com/docs or
> >> http://www.teamsched.com in
> >

Re: [xwiki-users] Integration of my webapplication with xwiki.

2011-12-13 Thread mohit gupta
one new development on below error

i updated the repository location to new one as shown below as it took the
code from
https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform-core/


   
 fip
 xwiki Archiva Repository
 
https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform-core/xwiki-platform-oldcore

 
   true
 
 
   true
 
   
 

 But after updating the setting.xml(lying under .m2 folder) to above
location  i get  below message on eclipse console

*12/13/11 5:48:14 PM IST: Unable to update index for fip-plugin|
https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform
 -core/xwiki-platform-oldcore*

 And when i try to build the  project in eclipse, eclipse console shows
the below error message

*   Project build error: Non-parseable POM
C:\Users\mgupta\.m2\repository\org\xwiki\platform\xwiki-platform\3.2-SNAPSHOT\xwiki-platform-3.2-SNAPSHOT.pom:

   end tag name  must be the same as start tag  from
line 26 (position: TEXT seen ...i-platform:stable-3.2.x"
type="application/atom+xml" />
\n\n  ... @31:10)
 pom.xml /xwiki-platform-annotation-maintainer line 1 Maven Problem*

**
*Looks like wrong pom file in repository. Not sure what is the issue here?*
*

*

On Tue, Dec 13, 2011 at 5:37 PM, mohit gupta  wrote:

> Thanks thomas for bringing clarity.
>
>  i am trying to build the xwiki source in eclipse as per the instructions
> given at
>
> http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject.
>
>  i have given the repository location as below in setting.xml in eclispe
>
> * 
>
>  fip
>  xwiki Archiva Repository
>  https://github.com/xwiki/xwiki-platform
>  
>true
>  
>  
>true
>  
>
>  *
>
>  But after updating the setting.xml(lying under .m2 folder) to above
> location  i get  below message on eclipse console
>
> * 12/13/11 5:28:54 PM IST: Unable to update index for fip|
> https://github.com/xwiki/xwiki-platform*
>
>  And when i try to build the  project in eclipse, eclipse console
> shows the below error message
>
> * Project build error: Non-resolvable parent POM for
> org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT:
>  Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in
> **https://github.com/xwiki/xwiki-platform*<https://github.com/xwiki/xwiki-platform>
> * was cached in the local repository, resolution will not be
> reattempted until the update interval of fip has elapsed
>  or updates are forced and 'parent.relativePath' points at wrong local
> POM pom.xml /xwiki-platform-action line 1 Maven Problem*
>
> * i am not getting what is the problem here. Please provide your
> valuable inputs.
> *
> On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne <
> thomas.morta...@xwiki.com> wrote:
>
>> On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta  wrote:
>> > Thanks  Thomas Mortagne and Vincent a lot  for pointing out to
>> repository.
>> > One question on Repository structure. i downloaded the
>> > xwiki-enterprise-web-3.2.war file and found out that
>> > XWikiAuthServiceImpl.class lies under  jar
>> > xwiki-platform-legacy-oldcore-3.2.jar
>> >  and path is
>> > xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki.
>> But in
>> > the repository you guys pointed out same file
>> >  lies under
>> >
>> xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki.
>> > But in my dowloaded war file
>> >  there is no jar by the name of  xwiki-platform-core or
>> > xwiki-platform-oldcore. There is jar file with the name
>> > xwiki-platform-legacy-oldcore-3.2.jar.
>> > could you brief about this discrepency?
>>
>> xwiki-platform-legacy-oldcore is actually a bit special: it's
>> repackaging xwiki-platform-oldcore and inject some deprecated APIs to
>> it.
>>
>> >
>> > On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol 
>> wrote:
>> >
>> >>
>> >> On Dec 10, 2011, at 7:30 PM, mohit gupta wrote:
>> >>
>> >> > Thanks all for sharing the information. I started working on the
>> xwiki
>> >> > project.
>> >> >
>> >> > I downloaded the war file xwiki-enterprise-web-3.2 and started
>>  working
>> >> on
>> >> > that. I have got some questions/issues  wh

[xwiki-users] Not getting logout from xwiki application

2011-12-18 Thread mohit gupta
i have implemented the single sign on of xwiki with my web application.
Basically when i click xwiki hyperlink on  my webapplication it takes me to
xwiki site hosted on another port
 without asking the credentials. Behind the scenes it  creates an empty
user in xwiki databse with no password. Till here its perfect.But when i
click on logout on right top of the page it does not do logout. it brings
me on the same page.I tried debugging the issue whole day but could not
find any concrete finding.

when i do the login on xwiki site directly  with some created credentials(i
mean in giving address in address bar directly)and do the logout it does
the log out. I found the major difference is when we do the login manually
it sets the username and password in cookies and sets some other stuff too
like user principal in request and onlogout it retrieves the same info from
cookie and gets successfully logout.But in my case as it creates the empty
user i.e with no password  it does not set the above stuff in cookie and
when i click on logout it stays on the same page.i am not getting how to
get thru this. Any help would be highly appreciated.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Not getting logout from xwiki application

2011-12-19 Thread mohit gupta
Folks

Please let me know the inputs from your side on below issue. I tried many
things from my side but did not work out . latest is below one but still i
am not able to logout. What iam trying to do below is if action is logout
then redirecting to default page i.e /bin/view/Main but it still  does not
do logout

 public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
HttpServletRequest req = null;
if (context.getRequest()!=null)
 req = context.getRequest().getHttpServletRequest();
if (req==null)
return null;

   if (context.getAction().equals("logout"))
{
 XWikiResponse response = context.getResponse();
 String   redirect =  context.getURLFactory().createURL("Main",
"WebHome", "view", context).toString();
 if (redirect != null) {
 try {
 response.sendRedirect(redirect);
} catch (IOException e) {
 // TODO Auto-generated catch block
 e.printStackTrace();
 log.error("not able toog out");
}
 }
 return null;
    }


On Sun, Dec 18, 2011 at 11:27 PM, mohit gupta  wrote:

> i have implemented the single sign on of xwiki with my web application.
> Basically when i click xwiki hyperlink on  my webapplication it takes me to
> xwiki site hosted on another port
>  without asking the credentials. Behind the scenes it  creates an empty
> user in xwiki databse with no password. Till here its perfect.But when i
> click on logout on right top of the page it does not do logout. it brings
> me on the same page.I tried debugging the issue whole day but could not
> find any concrete finding.
>
> when i do the login on xwiki site directly  with some created
> credentials(i mean in giving address in address bar directly)and do the
> logout it does the log out. I found the major difference is when we do the
> login manually it sets the username and password in cookies and sets some
> other stuff too like user principal in request and onlogout it retrieves
> the same info from cookie and gets successfully logout.But in my case as it
> creates the empty user i.e with no password  it does not set the above
> stuff in cookie and when i click on logout it stays on the same page.i am
> not getting how to get thru this. Any help would be highly appreciated.
>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Not getting logout from xwiki application

2011-12-20 Thread mohit gupta
Thanks Sergiu Dumitriu for reply. Issue got resolved .Actually what happens
in xwiki when we do logout 3 events gets processed first is logout then
view then user gets directed to login screen.In my case during view event,
my authentication class was returning xwiki user but it should have
returned null. This is what i did. Your reply also confirms that. Thanks
again.

On Wed, Dec 21, 2011 at 5:35 AM, Sergiu Dumitriu  wrote:

> On 12/18/2011 12:57 PM, mohit gupta wrote:
>
>> i have implemented the single sign on of xwiki with my web application.
>> Basically when i click xwiki hyperlink on  my webapplication it takes me
>> to
>> xwiki site hosted on another port
>>  without asking the credentials. Behind the scenes it  creates an empty
>> user in xwiki databse with no password. Till here its perfect.But when i
>> click on logout on right top of the page it does not do logout. it brings
>> me on the same page.I tried debugging the issue whole day but could not
>> find any concrete finding.
>>
>> when i do the login on xwiki site directly  with some created
>> credentials(i
>> mean in giving address in address bar directly)and do the logout it does
>> the log out. I found the major difference is when we do the login manually
>> it sets the username and password in cookies and sets some other stuff too
>> like user principal in request and onlogout it retrieves the same info
>> from
>> cookie and gets successfully logout.But in my case as it creates the empty
>> user i.e with no password  it does not set the above stuff in cookie and
>> when i click on logout it stays on the same page.i am not getting how to
>> get thru this. Any help would be highly appreciated.
>>
>
> XWiki can perform the logout only if the login mechanism itself can
> perform the logout from within the XWiki core. So, XWiki cannot, by itself,
> perform the logout if your SSO mechanism bypasses the XWiki authentication
> procedure completely. How does your SSO authenticator remember which user
> is currently logged in? You must undo that process in the logout process.
> You could override the com.xpn.xwiki.web.LogoutAction class to perform any
> needed steps.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-20 Thread mohit gupta
Hi All,

Is there any way to configure in xwiki configuration files so thst the
session expires automatically after some specified time say
20 minutes in case user does not do any activity in last 20 minutes. I
looked in to xwiki.cfg and xwiki.properties file but could not
find any such thing.Please let me know if this kind of stuff already exists
in xwiki?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-21 Thread mohit gupta
Thanks Vincent for redirecting to right direction

On Wed, Dec 21, 2011 at 1:49 PM, Vincent Massol  wrote:

> Hi,
>
> On Dec 21, 2011, at 5:16 AM, mohit gupta wrote:
>
> > Hi All,
> >
> > Is there any way to configure in xwiki configuration files so thst the
> > session expires automatically after some specified time say
> > 20 minutes in case user does not do any activity in last 20 minutes. I
> > looked in to xwiki.cfg and xwiki.properties file but could not
> > find any such thing.Please let me know if this kind of stuff already
> exists
> > in xwiki?
>
> See
> http://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+change+the+Session+timeout
>
> Thanks
> -Vincent
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-21 Thread mohit gupta
Thanks  Sergiu Dumitriu  for replying. I will explore both the options to
see which one suits me better.

On Wed, Dec 21, 2011 at 4:34 PM, Sergiu Dumitriu  wrote:

> On 12/21/2011 03:19 AM, Vincent Massol wrote:
>
>> Hi,
>>
>> On Dec 21, 2011, at 5:16 AM, mohit gupta wrote:
>>
>>  Hi All,
>>>
>>> Is there any way to configure in xwiki configuration files so thst the
>>> session expires automatically after some specified time say
>>> 20 minutes in case user does not do any activity in last 20 minutes. I
>>> looked in to xwiki.cfg and xwiki.properties file but could not
>>> find any such thing.Please let me know if this kind of stuff already
>>> exists
>>> in xwiki?
>>>
>>
>> See http://www.xwiki.org/xwiki/**bin/view/FAQ/How+can+I+change+**
>> the+Session+timeout<http://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+change+the+Session+timeout>
>>
>
> I'm not sure that answers the right question. That will expire the
> application (servlet) session, but it won't logout the user, since the
> authentication is done via clientside cookies, not via serverside sessions.
>
> Mohit, if what you want is to automatically log out users after a given
> period of inactivity, then that's not something already supported. It could
> be done with some changes in com.xpn.xwiki.user.impl.xwiki.**
> MyPersistentLoginManager.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Issues/behaviour i am seeing on xwiki during implementation of Rights management on UI

2011-12-21 Thread mohit gupta
I have two intentions for my web application which i am trying to
integerate  with xwiki. Basically both these intentions are related to
right management on specific space area on xwiki.These are:-


*Intention1:-* My intention is if an user belongs to particular
organisation say Accenture he should be able to
admin,search,edit,view,delete only that organization space(provided he is
admin user for that organisation)  otherwise he should not be able to do
any operation (not even search and view) on any other space


*What I Did for to achieve above* :- I as admin created AccentureAdminUser
and AccentureAdminUserGroup . Now i added AccentureAdminUser  under
AccentureAdminUserGroup.
Also I created the space for this organization  with Name
 AccentureAdminSpace.


 Lets come to  Rights  Management. As there are two level of rights i.e at
Wiki level and Space level.


AT Wiki Level:- I gave  only view rights to AccentureAdminUserGroup


AT  Space Level:- I gave all possible rights to AccentureAdminUserGroup
 for  AccentureAdminSpace


Now when i log in with AccentureAdminUser  credentials, i do not see
AccentureSpace
space on a page just after log in and also  i am not able to search any
content(space or page) for this  AccentureAdminSpace . Not Getting Why? Do
i need to give any other Right too?



*Intention2:- *My intention is if an user belongs to particular
organisation  and he is just a registered user but not admin user for that
organization say Accenture he should be able to only view and search that
organization spacevotherwise he should not be able to do any operation (not
even search and view) on any other space


*What I Did for to achieve above* :- I as admin created AccentureUser and
AccentureUserGroup . Now i added AccentureUser  under  AccentureUserGroup.
Also I created the space for this organization  with Name  AccentureSpace.


 Lets come to  Rights  Management. As there are two level of rights i.e at
Wiki level and Space level.


AT Wiki Level:- I gave  only view rights to AccentureUserGroup


AT  Space Level:- I gave only view rights to AccentureUserGroup for
AccentureSpace


Now when i log in with AccentureUser  credentials, i can see AccentureSpace
space on a page just after log in but i am not able to search any
content(space or page) for this

AccentureSpace . Not Getting Why? Do i need to give any other Right too for
search?


I would be grateful if somebody can provide some insight about above issues
on right management.Already I have gone thru below links but did not get
 through  the issues


http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right
management

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights  access
and rights




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


[xwiki-users] Fwd: Issues/behaviour i am seeing on xwiki during implementation of Rights management on UI

2011-12-22 Thread mohit gupta
Hi Folks,

Please let me know your suggestions about intention1 below . Do i need to
give any other right for search? I am in need of this.Thanks in advance.

-- Forwarded message --
From: mohit gupta 
Date: Wed, Dec 21, 2011 at 11:57 PM
Subject: Issues/behaviour i am seeing on xwiki during implementation of
Rights management on UI
To: users@xwiki.org


I have two intentions for my web application which i am trying to
integerate  with xwiki. Basically both these intentions are related to
right management on specific space area on xwiki.These are:-


*Intention1:-* My intention is if an user belongs to particular
organisation say Accenture he should be able to
admin,search,edit,view,delete only that organization space(provided he is
admin user for that organisation)  otherwise he should not be able to do
any operation (not even search and view) on any other space


*What I Did for to achieve above* :- I as admin created AccentureAdminUser
and AccentureAdminUserGroup . Now i added AccentureAdminUser  under
AccentureAdminUserGroup.
Also I created the space for this organization  with Name
 AccentureAdminSpace.


 Lets come to  Rights  Management. As there are two level of rights i.e at
Wiki level and Space level.


AT Wiki Level:- I gave  only view rights to AccentureAdminUserGroup


AT  Space Level:- I gave all possible rights to AccentureAdminUserGroup
 for  AccentureAdminSpace


Now when i log in with AccentureAdminUser  credentials, i do not see
AccentureSpace
space on a page just after log in and also  i am not able to search any
content(space or page) for this  AccentureAdminSpace . Not Getting Why? Do
i need to give any other Right too?



*Intention2:- *My intention is if an user belongs to particular
organisation  and he is just a registered user but not admin user for that
organization say Accenture he should be able to only view and search that
organization spacevotherwise he should not be able to do any operation (not
even search and view) on any other space


*What I Did for to achieve above* :- I as admin created AccentureUser and
AccentureUserGroup . Now i added AccentureUser  under  AccentureUserGroup.
Also I created the space for this organization  with Name  AccentureSpace.


 Lets come to  Rights  Management. As there are two level of rights i.e at
Wiki level and Space level.


AT Wiki Level:- I gave  only view rights to AccentureUserGroup


AT  Space Level:- I gave only view rights to AccentureUserGroup for
AccentureSpace


Now when i log in with AccentureUser  credentials, i can see AccentureSpace
space on a page just after log in but i am not able to search any
content(space or page) for this

AccentureSpace . Not Getting Why? Do i need to give any other Right too for
search?


I would be grateful if somebody can provide some insight about above issues
on right management.Already I have gone thru below links but did not get
 through  the issues


http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right
management

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights  access
and rights




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


[xwiki-users] Fwd: Issues/behaviour i am seeing on xwiki during implementation of Rights management on UI

2011-12-22 Thread mohit gupta
Sorry first i would like to have suggestions on intention 2 as this is
first feature i am trying to  integrate with.

-- Forwarded message --
From: mohit gupta 
Date: Thu, Dec 22, 2011 at 2:03 PM
Subject: Fwd: Issues/behaviour i am seeing on xwiki during implementation
of Rights management on UI
To: XWiki Users 


Hi Folks,

Please let me know your suggestions about intention1 below . Do i need to
give any other right for search? I am in need of this.Thanks in advance.


-- Forwarded message --
From: mohit gupta 
Date: Wed, Dec 21, 2011 at 11:57 PM
Subject: Issues/behaviour i am seeing on xwiki during implementation of
Rights management on UI
To: users@xwiki.org


I have two intentions for my web application which i am trying to
integerate  with xwiki. Basically both these intentions are related to
right management on specific space area on xwiki.These are:-


*Intention1:-* My intention is if an user belongs to particular
organisation say Accenture he should be able to
admin,search,edit,view,delete only that organization space(provided he is
admin user for that organisation)  otherwise he should not be able to do
any operation (not even search and view) on any other space


*What I Did for to achieve above* :- I as admin created AccentureAdminUser
and AccentureAdminUserGroup . Now i added AccentureAdminUser  under
AccentureAdminUserGroup.
Also I created the space for this organization  with Name
 AccentureAdminSpace.


 Lets come to  Rights  Management. As there are two level of rights i.e at
Wiki level and Space level.


AT Wiki Level:- I gave  only view rights to AccentureAdminUserGroup


AT  Space Level:- I gave all possible rights to AccentureAdminUserGroup
 for  AccentureAdminSpace


Now when i log in with AccentureAdminUser  credentials, i do not see
AccentureSpace
space on a page just after log in and also  i am not able to search any
content(space or page) for this  AccentureAdminSpace . Not Getting Why? Do
i need to give any other Right too?



*Intention2:- *My intention is if an user belongs to particular
organisation  and he is just a registered user but not admin user for that
organization say Accenture he should be able to only view and search that
organization spacevotherwise he should not be able to do any operation (not
even search and view) on any other space


*What I Did for to achieve above* :- I as admin created AccentureUser and
AccentureUserGroup . Now i added AccentureUser  under  AccentureUserGroup.
Also I created the space for this organization  with Name  AccentureSpace.


 Lets come to  Rights  Management. As there are two level of rights i.e at
Wiki level and Space level.


AT Wiki Level:- I gave  only view rights to AccentureUserGroup


AT  Space Level:- I gave only view rights to AccentureUserGroup for
AccentureSpace


Now when i log in with AccentureUser  credentials, i can see AccentureSpace
space on a page just after log in but i am not able to search any
content(space or page) for this

AccentureSpace . Not Getting Why? Do i need to give any other Right too for
search?


I would be grateful if somebody can provide some insight about above issues
on right management.Already I have gone thru below links but did not get
 through  the issues


http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right
management

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights  access
and rights




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


[xwiki-users] How to configure search behavior in xwiki?

2011-12-25 Thread mohit gupta
I have configured to use Lucene search in my xwiki application. Right now
 in xwiki ,  any  user is able to search any other user details  by
entering his deatils in serach text box.I want to configure it in a way
user should be  able to  search the other users who belongs to same group
otherwise it should not other group user details. Is it configurable in
xwiki or i need to make some changes in code for the same.Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to configure search behavior in xwiki?

2011-12-25 Thread mohit gupta
Thanks Sergiu.As you told * Another option is to post-filter the results
returned by Lucene so that you remove all the user profiles that shouldn't
be returned. *  I am also looking this kind of option but not getting in
which java class i need to make change for this.If you can throw some light
on this, it would be a great help.

On Mon, Dec 26, 2011 at 11:49 AM, Sergiu Dumitriu  wrote:

> On 12/26/2011 12:40 AM, mohit gupta wrote:
>
>> I have configured to use Lucene search in my xwiki application. Right now
>>  in xwiki ,  any  user is able to search any other user details  by
>> entering his deatils in serach text box.I want to configure it in a way
>> user should be  able to  search the other users who belongs to same group
>> otherwise it should not other group user details. Is it configurable in
>> xwiki or i need to make some changes in code for the same.Thanks.
>>
>
> Search results should only display what is normally visible by the current
> user. So, even though you might succeed in making Lucene not return these
> users in a query, the user profiles are still visible to the user.
>
> Another point, all users should normally be in at least one common group,
> XWiki.XWikiAllGroup, unless you explicitly disable this feature.
>
> Still, to answer your question, it should be possible to configure the
> search results so that it displays only users having a group in common, but
> it's not very easy. One problem is that groups are defined in a group
> document, while Lucene only considers one document at a time, so whenever
> it's considering whether or not to include a user document in the results,
> it doesn't have access to the group definition, so you'll have to somehow
> use this information some other way. One option is to change the indexing
> process so that each Lucene document corresponding to a user should also
> list all the groups that user belongs to. Another option is to post-filter
> the results returned by Lucene so that you remove all the user profiles
> that shouldn't be returned.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Some queries regardings how right management works in XWiki?

2011-12-25 Thread mohit gupta
At link http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rightsit
is given that

1) Right can be set at the page level. :- For example it is given that ,
View right can be set at the page level.
But do not see any way for setting the right  at page level( i can see how
to set it at space level but not at page level ).
i am working xwiki-enterprise-web-3.2.war and xwiki-enterprise-wiki-3.2.xar

2)Checking order for View rights are given as  page > space > wiki. What my
understanding from this is if we have given view rights to
Group  A  For Space A  at space A level but left the view Rights check box
as blank  for the  same group  at Wiki adminstration level, Then Group  A
user should be able to view  and search the Space A  content on the page we
see just  after login ,  as permission at at wiki level are
overriden bt permissions at space. But this behaviour does not happens. It
happens only when  Group A has view rights at both level
i.e at wiki administration level and space level. *Not getting what does
checking order means here?*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to configure search behavior in xwiki?

2011-12-25 Thread mohit gupta
Hi Sergiu,

Just to give more clarification about  my original post  I want to
configure it in a way user should be  able to  search *and view*  the other
users who belongs to same group otherwise it should not be able to search *and
view* other group user details

On Mon, Dec 26, 2011 at 12:20 PM, mohit gupta  wrote:

> Thanks Sergiu.As you told * Another option is to post-filter the results
> returned by Lucene so that you remove all the user profiles that shouldn't
> be returned. *  I am also looking this kind of option but not getting in
> which java class i need to make change for this.If you can throw some light
> on this, it would be a great help.
>
>
> On Mon, Dec 26, 2011 at 11:49 AM, Sergiu Dumitriu wrote:
>
>> On 12/26/2011 12:40 AM, mohit gupta wrote:
>>
>>> I have configured to use Lucene search in my xwiki application. Right now
>>>  in xwiki ,  any  user is able to search any other user details  by
>>> entering his deatils in serach text box.I want to configure it in a way
>>> user should be  able to  search the other users who belongs to same group
>>> otherwise it should not other group user details. Is it configurable in
>>> xwiki or i need to make some changes in code for the same.Thanks.
>>>
>>
>> Search results should only display what is normally visible by the
>> current user. So, even though you might succeed in making Lucene not return
>> these users in a query, the user profiles are still visible to the user.
>>
>> Another point, all users should normally be in at least one common group,
>> XWiki.XWikiAllGroup, unless you explicitly disable this feature.
>>
>> Still, to answer your question, it should be possible to configure the
>> search results so that it displays only users having a group in common, but
>> it's not very easy. One problem is that groups are defined in a group
>> document, while Lucene only considers one document at a time, so whenever
>> it's considering whether or not to include a user document in the results,
>> it doesn't have access to the group definition, so you'll have to somehow
>> use this information some other way. One option is to change the indexing
>> process so that each Lucene document corresponding to a user should also
>> list all the groups that user belongs to. Another option is to post-filter
>> the results returned by Lucene so that you remove all the user profiles
>> that shouldn't be returned.
>>  --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> __**_
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Some queries regardings how right management works in XWiki?

2011-12-26 Thread mohit gupta
Thanks Marius for the reply.

1st point is clear now. It works

*Regarding second point :- * At link *
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights  *
*
*
if we go at topic  *An overview of permissions,  *on the above link* *below
is the statement written about checking order which basically tells how the
rights are overriden.

   - *Checking order: at what level is the right checked first?*

As  per
this order  looks like if we have given the  the rights   to Group  A  for
Space A  at space  level but left the view Rights check box
  as blank  for the  same group  at Wiki adminstration level, then Group  A
user should be able to view  and search the Space A  content on the page we
  see just  after login ,  irrespective of rights given for the same group
at wiki level as permission  at wiki level are  overriden by
  permissions at space level.But this not happening right now with me. It
 happens only when  Group A has view rights at both level
 i.e at wiki administration level and space level.



On Mon, Dec 26, 2011 at 4:08 PM, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> On Mon, Dec 26, 2011 at 9:09 AM, mohit gupta  wrote:
> > At link
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rightsit
> > is given that
> >
>
> > 1) Right can be set at the page level. :- For example it is given that ,
> > View right can be set at the page level.
> > But do not see any way for setting the right  at page level( i can see
> how
> > to set it at space level but not at page level ).
> > i am working xwiki-enterprise-web-3.2.war and
> xwiki-enterprise-wiki-3.2.xar
>
> First, make sure your user type is set to "Advanced" (from the user
> profile, the Preferences section). Then, go to the page you want to
> set the access rights and hover the Edit menu.
>
> Hope this helps,
> Marius
>
> >
> > 2)Checking order for View rights are given as  page > space > wiki. What
> my
> > understanding from this is if we have given view rights to
> > Group  A  For Space A  at space A level but left the view Rights check
> box
> > as blank  for the  same group  at Wiki adminstration level, Then Group  A
> > user should be able to view  and search the Space A  content on the page
> we
> > see just  after login ,  as permission at at wiki level are
> > overriden bt permissions at space. But this behaviour does not happens.
> It
> > happens only when  Group A has view rights at both level
> > i.e at wiki administration level and space level. *Not getting what does
> > checking order means here?*
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to configure search behavior in xwiki?

2011-12-26 Thread mohit gupta
Hi Sergiu,

Then you should take care of how you grant view rights to the group page. I
guess it should be enough to make only one change: on the group page, grant
view right (and you should also grant edit right) to the group itself,
without specifying any other grant/deny rights.

With above configuration also user is able to search and view user details
who belongs to other group :(




On Tue, Dec 27, 2011 at 12:37 PM, Sergiu Dumitriu  wrote:

> On 12/26/2011 02:27 AM, mohit gupta wrote:
>
>> Hi Sergiu,
>>
>> Just to give more clarification about  my original post  I want to
>> configure it in a way user should be  able to  search *and view*  the
>> other
>> users who belongs to same group otherwise it should not be able to search
>> *and
>> view* other group user details
>>
>
> Then you should take care of how you grant view rights to the group page.
> I guess it should be enough to make only one change: on the group page,
> grant view right (and you should also grant edit right) to the group
> itself, without specifying any other grant/deny rights.
>
>  On Mon, Dec 26, 2011 at 12:20 PM, mohit gupta  wrote:
>>
>>  Thanks Sergiu.As you told * Another option is to post-filter the results
>>>
>>> returned by Lucene so that you remove all the user profiles that
>>> shouldn't
>>> be returned. *  I am also looking this kind of option but not getting in
>>>
>>> which java class i need to make change for this.If you can throw some
>>> light
>>> on this, it would be a great help.
>>>
>>>
>>> On Mon, Dec 26, 2011 at 11:49 AM, Sergiu Dumitriu**
>>> wrote:
>>>
>>>  On 12/26/2011 12:40 AM, mohit gupta wrote:
>>>>
>>>>  I have configured to use Lucene search in my xwiki application. Right
>>>>> now
>>>>>  in xwiki ,  any  user is able to search any other user details  by
>>>>> entering his deatils in serach text box.I want to configure it in a way
>>>>> user should be  able to  search the other users who belongs to same
>>>>> group
>>>>> otherwise it should not other group user details. Is it configurable in
>>>>> xwiki or i need to make some changes in code for the same.Thanks.
>>>>>
>>>>>
>>>> Search results should only display what is normally visible by the
>>>> current user. So, even though you might succeed in making Lucene not
>>>> return
>>>> these users in a query, the user profiles are still visible to the user.
>>>>
>>>> Another point, all users should normally be in at least one common
>>>> group,
>>>> XWiki.XWikiAllGroup, unless you explicitly disable this feature.
>>>>
>>>> Still, to answer your question, it should be possible to configure the
>>>> search results so that it displays only users having a group in common,
>>>> but
>>>> it's not very easy. One problem is that groups are defined in a group
>>>> document, while Lucene only considers one document at a time, so
>>>> whenever
>>>> it's considering whether or not to include a user document in the
>>>> results,
>>>> it doesn't have access to the group definition, so you'll have to
>>>> somehow
>>>> use this information some other way. One option is to change the
>>>> indexing
>>>> process so that each Lucene document corresponding to a user should also
>>>> list all the groups that user belongs to. Another option is to
>>>> post-filter
>>>> the results returned by Lucene so that you remove all the user profiles
>>>> that shouldn't be returned.
>>>>
>>>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Some queries regardings how right management works in XWiki?

2011-12-26 Thread mohit gupta
Hi Marius,

It would be a help  if you can clarify second point below if you are aware
of this.

On Mon, Dec 26, 2011 at 4:44 PM, mohit gupta  wrote:

> Thanks Marius for the reply.
>
> 1st point is clear now. It works
>
> *Regarding second point :- * At link *
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights  *
> *
> *
> if we go at topic  *An overview of permissions,  *on the above link* *below
> is the statement written about checking order which basically tells how the
> rights are overriden.
>
>- *Checking order: at what level is the right checked first?*
>
> As  per
> this order  looks like if we have given the  the rights   to Group  A  for
> Space A  at space  level but left the view Rights check box
>   as blank  for the  same group  at Wiki adminstration level, then Group
>  A user should be able to view  and search the Space A  content on the page
> we
>  see just  after login ,  irrespective of rights given for the same group
> at wiki level as permission  at wiki level are  overriden by
>   permissions at space level.But this not happening right now with me. It
>  happens only when  Group A has view rights at both level
>  i.e at wiki administration level and space level.
>
>
>
> On Mon, Dec 26, 2011 at 4:08 PM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
>> On Mon, Dec 26, 2011 at 9:09 AM, mohit gupta  wrote:
>> > At link
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rightsit
>> > is given that
>> >
>>
>> > 1) Right can be set at the page level. :- For example it is given that ,
>> > View right can be set at the page level.
>> > But do not see any way for setting the right  at page level( i can see
>> how
>> > to set it at space level but not at page level ).
>> > i am working xwiki-enterprise-web-3.2.war and
>> xwiki-enterprise-wiki-3.2.xar
>>
>> First, make sure your user type is set to "Advanced" (from the user
>> profile, the Preferences section). Then, go to the page you want to
>> set the access rights and hover the Edit menu.
>>
>> Hope this helps,
>> Marius
>>
>> >
>> > 2)Checking order for View rights are given as  page > space > wiki.
>> What my
>> > understanding from this is if we have given view rights to
>> > Group  A  For Space A  at space A level but left the view Rights check
>> box
>> > as blank  for the  same group  at Wiki adminstration level, Then Group
>>  A
>> > user should be able to view  and search the Space A  content on the
>> page we
>> > see just  after login ,  as permission at at wiki level are
>> > overriden bt permissions at space. But this behaviour does not happens.
>> It
>> > happens only when  Group A has view rights at both level
>> > i.e at wiki administration level and space level. *Not getting what does
>> > checking order means here?*
>> > ___
>> > users mailing list
>> > users@xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Fwd: Configure the XWIKI Logo

2011-12-27 Thread mohit gupta
Though it worked  after changing logo.png to myprojectlogo.png in global.vm
 file .But  i expect there  should be some way from xwiki admin UI too. I
 tried some stuff changing in defaultskin after going inside look and feel
section but that did not help

-- Forwarded message --
From: mohit gupta 
Date: Tue, Dec 27, 2011 at 3:05 PM
Subject: Configure the XWIKI Logo
To: XWiki Users 


Hi,

I want to change the default xwiki logo with my  custom logo say
MyProjectLogo.png. Is this configurable somewhere?

What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri
, i replaced default log.png with my custom logo(with same name). But it
still picks old logo.

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


[xwiki-users] Configure the XWIKI Logo

2011-12-27 Thread mohit gupta
Hi,

I want to change the default xwiki logo with my  custom logo say
MyProjectLogo.png. Is this configurable somewhere?

What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri
, i replaced default log.png with my custom logo(with same name). But it
still picks old logo.

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


Re: [xwiki-users] Fwd: Configure the XWIKI Logo

2011-12-27 Thread mohit gupta
Thanks Guillaume  for giving this valuable information . But i am facing a
issue while changing image this way. Here is what idid

I am trying to change the logo for DefaultColorTheme page

1) i attached an image named as myimage.png with DefaultColorTheme page
which is showing in attachment tab
2) Then on   DefaultColorTheme page  i clicked edit button  and select the
header
3)After selection of header , a paint icon come and i click on that. Small
window open up below the existing header where i gave the name of image as
myimage  in logo text box but as soon as  i do tab out old image went away
but new image does not get shown. Instead a cross icon is displayed. I
tried giving the same name in banner text box too but same results.

On Tue, Dec 27, 2011 at 4:52 PM, Guillaume Lerouge wrote:

> Hi Mohit,
>
> the logo can be changed from the color theme page:
>
>   1. Attach the file you want to use as logo to the color theme page
>   2. Edit the color theme
>   3. Enter the name of your file in the "logo" field when editing the
>   header in the color theme
>
> I agree that it's not very intuitive, but it's doable.
> Guillaume
>
> On Tue, Dec 27, 2011 at 11:56 AM, mohit gupta  wrote:
>
> > Hi  Guillaume ,
> >
> > i want to change default xwiki logo that we see just below the wiki link
> on
> > top  left corner of xwiki website not the color . I already tried
> changing
> > color theme it just changes the color theme. PFA the logo for reference
> > which i want to change.
> >
> > On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerouge  > >wrote:
> >
> > > Hi Mohit,
> > >
> > > you don't need to modify the logo from the filesystem. You can do this
> > > through the Color Theme.
> > >
> > > Guillaume
> > >
> > > On Tue, Dec 27, 2011 at 10:51 AM, mohit gupta 
> > wrote:
> > >
> > > > Though it worked  after changing logo.png to myprojectlogo.png in
> > > global.vm
> > > >  file .But  i expect there  should be some way from xwiki admin UI
> > too. I
> > > >  tried some stuff changing in defaultskin after going inside look and
> > > feel
> > > > section but that did not help
> > > >
> > > > -- Forwarded message --
> > > > From: mohit gupta 
> > > > Date: Tue, Dec 27, 2011 at 3:05 PM
> > > > Subject: Configure the XWIKI Logo
> > > > To: XWiki Users 
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I want to change the default xwiki logo with my  custom logo say
> > > > MyProjectLogo.png. Is this configurable somewhere?
> > > >
> > > > What i tried :-inside my tomcat directory i.e
> > > tomcat\myxwiki\skins\colibri
> > > > , i replaced default log.png with my custom logo(with same name). But
> > it
> > > > still picks old logo.
> > > >
> > > > Thanks in advance.
> > > > ___
> > > > users mailing list
> > > > users@xwiki.org
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > > ___
> > > users mailing list
> > > users@xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Fwd: Configure the XWIKI Logo

2011-12-27 Thread mohit gupta
Hi  Guillaume ,

i want to change default xwiki logo that we see just below the wiki link on
top  left corner of xwiki website not the color . I already tried changing
color theme it just changes the color theme. PFA the logo for reference
which i want to change.

On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerouge wrote:

> Hi Mohit,
>
> you don't need to modify the logo from the filesystem. You can do this
> through the Color Theme.
>
> Guillaume
>
> On Tue, Dec 27, 2011 at 10:51 AM, mohit gupta  wrote:
>
> > Though it worked  after changing logo.png to myprojectlogo.png in
> global.vm
> >  file .But  i expect there  should be some way from xwiki admin UI too. I
> >  tried some stuff changing in defaultskin after going inside look and
> feel
> > section but that did not help
> >
> > -- Forwarded message --
> > From: mohit gupta 
> > Date: Tue, Dec 27, 2011 at 3:05 PM
> > Subject: Configure the XWIKI Logo
> > To: XWiki Users 
> >
> >
> > Hi,
> >
> > I want to change the default xwiki logo with my  custom logo say
> > MyProjectLogo.png. Is this configurable somewhere?
> >
> > What i tried :-inside my tomcat directory i.e
> tomcat\myxwiki\skins\colibri
> > , i replaced default log.png with my custom logo(with same name). But it
> > still picks old logo.
> >
> > Thanks in advance.
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Fwd: Fwd: Configure the XWIKI Logo

2011-12-27 Thread mohit gupta
Thanks  Sergiu  too for valuable inputs.

* Wanted to know about one more configuration. On the page just after
login, i get to see to all modifications i.e which page got created and
modified recently. Is there a way i can hide these details from a  specific
group.*

-- Forwarded message --
From: mohit gupta 
Date: Wed, Dec 28, 2011 at 10:52 AM
Subject: Re: [xwiki-users] Fwd: Configure the XWIKI Logo
To: Sergiu Dumitriu 


Thanks a lot  Guillaume  for telling me this kind of configuration.It
worked. I wish this kind of stuff is documented in user guide. It would be
a great help for end users.


On Wed, Dec 28, 2011 at 3:56 AM, Sergiu Dumitriu  wrote:

> On 12/27/2011 12:03 PM, mohit gupta wrote:
>
>> Thanks Guillaume  for giving this valuable information . But i am facing a
>> issue while changing image this way. Here is what idid
>>
>> I am trying to change the logo for DefaultColorTheme page
>>
>> 1) i attached an image named as myimage.png with DefaultColorTheme page
>> which is showing in attachment tab
>> 2) Then on   DefaultColorTheme page  i clicked edit button  and select the
>> header
>> 3)After selection of header , a paint icon come and i click on that. Small
>> window open up below the existing header where i gave the name of image as
>> myimage  in logo text box but as soon as  i do tab out old image went away
>> but new image does not get shown. Instead a cross icon is displayed. I
>> tried giving the same name in banner text box too but same results.
>>
>
> Did you use "myimage" or "myimage.png"? The extension should be there as
> well.
>
>
>  On Tue, Dec 27, 2011 at 4:52 PM, Guillaume Lerouge**
>> wrote:
>>
>>  Hi Mohit,
>>>
>>> the logo can be changed from the color theme page:
>>>
>>>   1. Attach the file you want to use as logo to the color theme page
>>>   2. Edit the color theme
>>>   3. Enter the name of your file in the "logo" field when editing the
>>>   header in the color theme
>>>
>>> I agree that it's not very intuitive, but it's doable.
>>> Guillaume
>>>
>>> On Tue, Dec 27, 2011 at 11:56 AM, mohit gupta
>>>  wrote:
>>>
>>>  Hi  Guillaume ,
>>>>
>>>> i want to change default xwiki logo that we see just below the wiki link
>>>>
>>> on
>>>
>>>> top  left corner of xwiki website not the color . I already tried
>>>>
>>> changing
>>>
>>>> color theme it just changes the color theme. PFA the logo for reference
>>>> which i want to change.
>>>>
>>>> On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerouge>>>
>>>>> wrote:
>>>>>
>>>>
>>>>  Hi Mohit,
>>>>>
>>>>> you don't need to modify the logo from the filesystem. You can do this
>>>>> through the Color Theme.
>>>>>
>>>>> Guillaume
>>>>>
>>>>> On Tue, Dec 27, 2011 at 10:51 AM, mohit gupta
>>>>>
>>>> wrote:
>>>>
>>>>>
>>>>>  Though it worked  after changing logo.png to myprojectlogo.png in
>>>>>>
>>>>> global.vm
>>>>>
>>>>>>  file .But  i expect there  should be some way from xwiki admin UI
>>>>>>
>>>>> too. I
>>>>
>>>>>  tried some stuff changing in defaultskin after going inside look and
>>>>>>
>>>>> feel
>>>>>
>>>>>> section but that did not help
>>>>>>
>>>>>> -- Forwarded message --
>>>>>> From: mohit gupta
>>>>>> Date: Tue, Dec 27, 2011 at 3:05 PM
>>>>>> Subject: Configure the XWIKI Logo
>>>>>> To: XWiki Users
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I want to change the default xwiki logo with my  custom logo say
>>>>>> MyProjectLogo.png. Is this configurable somewhere?
>>>>>>
>>>>>> What i tried :-inside my tomcat directory i.e
>>>>>>
>>>>> tomcat\myxwiki\skins\colibri
>>>>>
>>>>>> , i replaced default log.png with my custom logo(with same name). But
>>>>>>
>>>>> it
>>>>
>>>>> still picks old logo.
>>>>>>
>>>>>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Same session is getting associated from separate IE windows while login?

2012-01-02 Thread mohit gupta
Hi All,

I do the login with admin credentials in one internet explorer window. Now
i open one more seperate IE window and give my xwiki home url i.e
http://localhost:/myxwiki/ . I see in this second i am directly getting
logged in with admin credentials which is not correct. I should see login
screen on this second window here.

Then i did debugging and found out with both IE windows
xwikicontext.getRequest().getSession() returning the same session(
basically both sessions are having same session id). As per my
understanding session is specific to browser window . so both windows(or
request from diffent IE windows) should have different session  attached to
them.
Not getting how come both request are having same session id.


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


Re: [xwiki-users] [xwiki-devs] Same session is getting associated from separate IE windows while login?

2012-01-03 Thread mohit gupta
Two questions on this :-

As you said One way is by embedding the session ID in each URL generated by
the application, which would indeed make the session work only as long as
you click through the links in the same browser window. Is it done by
browser internally or developer has to take care of this?

Regarding second point looks like from code xwiki is using cookies. Is
there a way to disable cookies so if want the behaviour mentioned in
Original post i can achieve it.

> On 01/02/2012 11:35 PM, mohit gupta wrote:
>
>> Hi All,
>>
>> I do the login with admin credentials in one internet explorer window. Now
>> i open one more seperate IE window and give my xwiki home url i.e
>> http://localhost:/myxwiki/ . I see in this second i am directly
>> getting
>> logged in with admin credentials which is not correct. I should see login
>> screen on this second window here.
>>
>> Then i did debugging and found out with both IE windows
>> xwikicontext.getRequest().**getSession() returning the same session(
>> basically both sessions are having same session id). As per my
>> understanding session is specific to browser window . so both windows(or
>> request from diffent IE windows) should have different session  attached
>> to
>> them.
>> Not getting how come both request are having same session id.
>>
>
> No, this isn't true most of the times. A session is just a serverside
> storage area reserved for one client, where the connection between the
> client and the session is established by a key, called a session
> identifier, and which can be stored in several ways. One way is by
> embedding the session ID in each URL generated by the application, which
> would indeed make the session work only as long as you click through the
> links in the same browser window. Still, opening such a link in a new
> window will keep the same session in a different window, and opening an URL
> without the session ID in it would lose the session even in the same window.
>
> Another, simpler and preferred method of keeping the session identifier is
> by using cookies, which work across an entire browsing session, across
> windows and sometimes even across restarts if you configure your browser to
> restore the previous (browser) session on restarts.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to create sub-space in xwiki?

2012-01-03 Thread mohit gupta
Hi All,

i have created a space on xwiki with the name MySpace. Now i want to create
one sub space under MySpace with name Releases. When i go MySpace and do
add space  and give the name of my new sub  space  i.e Releases . It does
not add that space under MySpace  but it adds as seperate space together.
Is it possible to create sub-space ?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Creating the page with some name suffixed with some number does not get searched?

2012-01-03 Thread mohit gupta
Hi All,

I created one page named as Release4 and when i try to search Release4 does
not show any results for this page  but if i create another page  with name
ReleaseFour  and now search ReleaseFour , it shows the results. *Is it an
issue or i am missing some thing here?*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Creating the page with some name suffixed with some number does not get searched?

2012-01-03 Thread mohit gupta
Hi Sergiu ,

Let me tell you actual observation. When i created the page  with name
Release 4 it searched but when i created the page with name Release 4.1 it
did not. I did wait for 5 minutes but did not find any. Sorry for
correction.


Regarding posting to devs list , i will keep that in mind for future.

On Wed, Jan 4, 2012 at 11:15 AM, Sergiu Dumitriu  wrote:

> On 01/04/2012 12:29 AM, mohit gupta wrote:
>
>> Hi All,
>>
>> I created one page named as Release4 and when i try to search Release4
>> does
>> not show any results for this page  but if i create another page  with
>> name
>> ReleaseFour  and now search ReleaseFour , it shows the results. *Is it an
>> issue or i am missing some thing here?*
>>
>
> Works for me. Are you left enough time for the indexer to process this
> page? You don't get instant results, normally you should wait about a
> minute before a new document will appear in the search results.
>
> Unrelated, it's not recommended to post to the devs list with such
> questions, since that list is for the development of the XWiki platform
> itself.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] How to create sub-space in xwiki?

2012-01-03 Thread mohit gupta
Thanks for information.

On Wed, Jan 4, 2012 at 11:50 AM, Sergiu Dumitriu  wrote:

> On 01/04/2012 12:19 AM, mohit gupta wrote:
>
>> Hi All,
>>
>> i have created a space on xwiki with the name MySpace. Now i want to
>> create
>> one sub space under MySpace with name Releases. When i go MySpace and do
>> add space  and give the name of my new sub  space  i.e Releases . It does
>> not add that space under MySpace  but it adds as seperate space together.
>> Is it possible to create sub-space ?
>>
>
> Not yet, you can watch (and vote for) this issue to see the progress:
> http://jira.xwiki.org/browse/**XWIKI-354<http://jira.xwiki.org/browse/XWIKI-354>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to use feature like watch space and document index?

2012-01-04 Thread mohit gupta
  As i enter to main space after login, i see  these kind of options like
watch wiki,document index,watch space.   What is is the user of these
features. As  name * watch wiki or watch space* suggests, looks like
whenever there is a modification/addition on   on wiki, it will send the
mail to user email id registered on xwiki. *Is that correct?*

*What about document index? feature?*

*Another issue i am facing is*

For my user i have denied the the view permission on invitation space. But
still i am able to see that ivitation
space on  main space webhome page? i dont give my user the feature to send
invitation to others


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


Re: [xwiki-users] How to use feature like watch space and document index?

2012-01-04 Thread mohit gupta
Thanks Raluca for precise reply and clarification.

Document rights are more powerful than space rights. You should check if
there is "view" right set for your user or for a group that contains your
user, on the invitation document.

i totally agree with this. But as per content on
http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement , if we
deny the permission explicitly on an specific space for a specific user or
group, then deny permission takes precedence.In my case



On Wed, Jan 4, 2012 at 5:06 PM, Raluca Stavro  wrote:

> Hello,
>
> On Wed, Jan 4, 2012 at 1:04 PM, mohit gupta  wrote:
>
> >  As i enter to main space after login, i see  these kind of options like
> > watch wiki,document index,watch space.   What is is the user of these
> > features. As  name * watch wiki or watch space* suggests, looks like
> > whenever there is a modification/addition on   on wiki, it will send the
> > mail to user email id registered on xwiki. *Is that correct?*
> >
>
> Indeed. See more about XWiki Watchlist Application here:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application.
>
>
> >
> > *What about document index? feature?*
> >
>
> It is about listing the documents in your wiki.
>
>
> >
> > *Another issue i am facing is*
> >
> > For my user i have denied the the view permission on invitation space.
> But
> > still i am able to see that ivitation
> > space on  main space webhome page? i dont give my user the feature to
> send
> > invitation to others
> >
>
> Document rights are more powerful than space rights. You should check if
> there is "view" right set for your user or for a group that contains your
> user, on the invitation document.
>
> See more about rights management here:
> http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement .
>
> Raluca.
>
>
> >
> >
> > Thanks
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Configuration to hide unnecessary details from specific group or user?

2012-01-04 Thread mohit gupta
Hi All,

Right now when i log in as a user who does not have admin rights, i can see
see all the details(like what activity admin or any other
users did .For example  modification in existing page or creation of new
page) on page just after login (i.e webhome page on main space).
*Is there a way i can hide these unnecessary details from specific group
users?*

* Another question Is it possible to configure so that specific group users
can not be searched by another specific group users.*
 i have a requirement where i want specific group users can not be searched
by another specific group users. Is there a way to configure this kind of
stuff?

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


[xwiki-users] Not able to send the mail to user||Not even getting the logs

2012-01-05 Thread mohit gupta
Hi All,

I have done the configuration for email setup i.e given the  smtp
server,smtp port,smtp server username , smtp sever password (i believe last
two parameters are my email id and password)but still i see below error

The message could not be sent to scott: email server error.

Even i can not see any logs generated for this email error under my tomcat
directory.


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


Re: [xwiki-users] Not able to send the mail to user||Not even getting the logs

2012-01-05 Thread mohit gupta
i do not see anything to modify inside shareinline.vm.As per my
understanding there should not be any need to modify the code. It should be
some setting in configuration.

On Thu, Jan 5, 2012 at 2:07 PM, Yang Li  wrote:

> 于 2012/1/5 16:14, mohit gupta 写道:
>
>> Hi All,
>>
>> I have done the configuration for email setup i.e given the  smtp
>> server,smtp port,smtp server username , smtp sever password (i believe
>> last
>> two parameters are my email id and password)but still i see below error
>>
>> The message could not be sent to scott: email server error.
>>
>> Even i can not see any logs generated for this email error under my tomcat
>> directory.
>>
>>
>> Thanks
>> __**_
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
> You may have to edit shareinline.vm to make sure the sender the same as
> your email account, from my experience
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Help] Help us improve the XWiki documentation by telling us what's missing

2012-01-05 Thread mohit gupta
Hi Vincet,

I think there is a scope of improvement in Right management
documentation. If we can have some detailed examples of giving the rights
at wiki ans space level like how we can restrict a group on editing the
particular space etc



On Thu, Jan 5, 2012 at 3:37 PM, Vincent Massol  wrote:

> Guys, we didn't get any new JIRA issue on improving the 
> xwiki.orgdocumentation.
>
> So I guess it means our documentation is perfect and there's nothing to
> improve, right? :)
>
> Come on, help us identify precise stuff that need improvement. I'm sure
> you have had problems finding information about something in the past!
>
> Thanks
> -Vincent
>
> On Dec 20, 2011, at 2:16 PM, Vincent Massol wrote:
>
> > Hi XWiki users,
> >
> > The XWiki projects needs your help. We'd like to improve the
> documentation on xwiki.org but we need your help to tell us what should
> be improved in your opinion.
> >
> > To do so we've created a JIRA project for listing stuff to do:
> > http://jira.xwiki.org/browse/XWIKIORG
> >
> > It would be a great help if you could register there and create JIRA
> issues for anything you think should be improved on xwiki.org.
> >
> > Please try to create very specific and focused issues so that they are
> actionable easily (for example an issue saying "Improve 
> xwiki.orgdocumentation" would not help much ;) but one that would say for 
> example:
> "Provide documentation on how to use the DBListClass" is useful).
> >
> > Thanks a lot for your help!
> > -Vincent on behalf of the XWiki Dev Team
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Configuring the webhome page of main space?

2012-01-05 Thread mohit gupta
Hi All,

I want to configure the default home page i.e webhome page of main space. I
am looking for these kind of customizations:-

1) Replacing *Welcome to your wiki  *with  Welome to *ApplicationName
Wiki.*Though i can see the ways to customize the panel bars,browser
title bar text but not the text.

2)  Right now, on web home page under main space i can see see all the
details(like what activity admin or any other users did . For example
modification in existing page or creation of new page) on page just after
login (i.e webhome page on main space). i want to hide these unnecessary
details from specific group users? Is it possible to customize. i am not
even able to find the vm file for this page so that i can do some tweaking
in code?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Help] Help us improve the XWiki documentation by telling us what's missing

2012-01-05 Thread mohit gupta
done.

On Thu, Jan 5, 2012 at 4:00 PM, Vincent Massol  wrote:

>
> On Jan 5, 2012, at 11:18 AM, mohit gupta wrote:
>
> > Hi Vincet,
> >
> > I think there is a scope of improvement in Right management
> > documentation. If we can have some detailed examples of giving the rights
> > at wiki ans space level like how we can restrict a group on editing the
> > particular space etc
>
> Cool. Can you please register a jira for this so that this is not
> forgotten and so that someone can act on it?
>
> Thanks!
> -Vincent
>
> > On Thu, Jan 5, 2012 at 3:37 PM, Vincent Massol 
> wrote:
> >
> >> Guys, we didn't get any new JIRA issue on improving the
> xwiki.orgdocumentation.
> >>
> >> So I guess it means our documentation is perfect and there's nothing to
> >> improve, right? :)
> >>
> >> Come on, help us identify precise stuff that need improvement. I'm sure
> >> you have had problems finding information about something in the past!
> >>
> >> Thanks
> >> -Vincent
> >>
> >> On Dec 20, 2011, at 2:16 PM, Vincent Massol wrote:
> >>
> >>> Hi XWiki users,
> >>>
> >>> The XWiki projects needs your help. We'd like to improve the
> >> documentation on xwiki.org but we need your help to tell us what should
> >> be improved in your opinion.
> >>>
> >>> To do so we've created a JIRA project for listing stuff to do:
> >>> http://jira.xwiki.org/browse/XWIKIORG
> >>>
> >>> It would be a great help if you could register there and create JIRA
> >> issues for anything you think should be improved on xwiki.org.
> >>>
> >>> Please try to create very specific and focused issues so that they are
> >> actionable easily (for example an issue saying "Improve
> xwiki.orgdocumentation" would not help much ;) but one that would say for
> example:
> >> "Provide documentation on how to use the DBListClass" is useful).
> >>>
> >>> Thanks a lot for your help!
> >>> -Vincent on behalf of the XWiki Dev Team
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Not able to send the mail to user||Not even getting the logs

2012-01-05 Thread mohit gupta
Even  i tried using my gmail id as per google smtp details given at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringtheSMTPserver
but
same eror i.e
The message could not be sent to scott: email server error. I am not
getting where is the issue.


On Thu, Jan 5, 2012 at 2:52 PM, mohit gupta  wrote:

> i do not see anything to modify inside shareinline.vm.As per my
> understanding there should not be any need to modify the code. It should be
> some setting in configuration.
>
>
> On Thu, Jan 5, 2012 at 2:07 PM, Yang Li  wrote:
>
>> 于 2012/1/5 16:14, mohit gupta 写道:
>>
>>> Hi All,
>>>
>>> I have done the configuration for email setup i.e given the  smtp
>>> server,smtp port,smtp server username , smtp sever password (i believe
>>> last
>>> two parameters are my email id and password)but still i see below error
>>>
>>> The message could not be sent to scott: email server error.
>>>
>>> Even i can not see any logs generated for this email error under my
>>> tomcat
>>> directory.
>>>
>>>
>>> Thanks
>>> __**_
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>>
>> You may have to edit shareinline.vm to make sure the sender the same as
>> your email account, from my experience
>> __**_
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Not able to send the mail to user||Not even getting the logs

2012-01-05 Thread mohit gupta
i have given the complete email address but in error message it is showing
only scott.

On Thu, Jan 5, 2012 at 5:30 PM, Edo Beutler  wrote:

> Just guessing, but shouldn't 'scott' be an email address instead?
>
> On Thu, Jan 5, 2012 at 12:10 PM, mohit gupta  wrote:
> > Even  i tried using my gmail id as per google smtp details given at
> >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringtheSMTPserver
> > but
> > same eror i.e
> > The message could not be sent to scott: email server error. I am not
> > getting where is the issue.
> >
> >
> > On Thu, Jan 5, 2012 at 2:52 PM, mohit gupta  wrote:
> >
> >> i do not see anything to modify inside shareinline.vm.As per my
> >> understanding there should not be any need to modify the code. It
> should be
> >> some setting in configuration.
> >>
> >>
> >> On Thu, Jan 5, 2012 at 2:07 PM, Yang Li 
> wrote:
> >>
> >>> 于 2012/1/5 16:14, mohit gupta 写道:
> >>>
> >>>> Hi All,
> >>>>
> >>>> I have done the configuration for email setup i.e given the  smtp
> >>>> server,smtp port,smtp server username , smtp sever password (i believe
> >>>> last
> >>>> two parameters are my email id and password)but still i see below
> error
> >>>>
> >>>> The message could not be sent to scott: email server error.
> >>>>
> >>>> Even i can not see any logs generated for this email error under my
> >>>> tomcat
> >>>> directory.
> >>>>
> >>>>
> >>>> Thanks
> >>>> __**_
> >>>> users mailing list
> >>>> users@xwiki.org
> >>>> http://lists.xwiki.org/**mailman/listinfo/users<
> http://lists.xwiki.org/mailman/listinfo/users>
> >>>>
> >>> You may have to edit shareinline.vm to make sure the sender the same as
> >>> your email account, from my experience
> >>> __**_
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/**mailman/listinfo/users<
> http://lists.xwiki.org/mailman/listinfo/users>
> >>>
> >>
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Configuration to change the default space i.e main space to user created space?

2012-01-09 Thread mohit gupta
Hi All,

As soon as l gets login , i enter to main space  webhome page . I want to
change this default main space to some user created space (Basically what i
need is as soon as user logs in, he should enter to user created
space instead of main space)  Is it configurable? Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] PDF opens in same window?

2012-01-09 Thread mohit gupta
Hi All,

When i search some pdf document (attached with some page/space)  on the
welcome screen and click on the attchment name, it opens the pdf document
in the same window. It happening when i log in as admin user other for any
other user pdf attchment gets opened up in new window.Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] PDF opens in same window?

2012-01-09 Thread mohit gupta
Yes ,

It open up in different windows for user other than admin

On Tue, Jan 10, 2012 at 12:11 PM, Sergiu Dumitriu  wrote:

> On 01/10/2012 12:58 AM, mohit gupta wrote:
>
>> Hi All,
>>
>> When i search some pdf document (attached with some page/space)  on the
>> welcome screen and click on the attchment name, it opens the pdf document
>> in the same window. It happening when i log in as admin user other for any
>> other user pdf attchment gets opened up in new window.Thanks.
>>
>
> It should always open in the same window. Are you sure about the behavior?
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Configuration to change the default space i.e main space to user created space?

2012-01-10 Thread mohit gupta
Thanks Marius again.  As per first option in the link i.e

This is the simplest of all. Edit Main.WebHome and type:
$response.sendRedirect($xwiki.getURL(MyUserCreatedSpace.WebHome)) where
Space.Page is the page you wish to redirect to.

I did above and it worked. But now i want to revert it to again old main
space. I am not able to do so that because as soon as i go to the main
space webhome page , i get to see the source of  MyUserCreatedSpace(as i
have used the redirect option).  I am not able to see the original source
code of Main space Webhome page so that i can revert  redirect change.

.



On Tue, Jan 10, 2012 at 1:01 PM, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> Some search results:
>
>
> http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki
> http://www.mail-archive.com/users@xwiki.org/msg06003.html
> http://lists.xwiki.org/pipermail/users/2008-June/008546.html
>
> Hope this helps,
> Marius
>
> On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta  wrote:
> > Hi All,
> >
> > As soon as l gets login , i enter to main space  webhome page . I want to
> > change this default main space to some user created space (Basically
> what i
> > need is as soon as user logs in, he should enter to user created
> > space instead of main space)  Is it configurable? Thanks.
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Configuration to change the default space i.e main space to user created space?

2012-01-10 Thread mohit gupta
Thanks  Guillaume. With the link i somehow was able to revert the redirect
change. Is there any other way i can do revert back  without using URL( i
mean if user want revert the change from the UI screen itself without
typing the url given below)
On Tue, Jan 10, 2012 at 4:45 PM, Guillaume Lerouge wrote:

> Hi Mohit,
>
> try accessing your WebHome page using the
> .../xwiki/bin/edit/Main/WebHome?editor=wiki URL.
>
> Guillaume
>
> On Tue, Jan 10, 2012 at 12:03 PM, mohit gupta  wrote:
>
> > Thanks Marius again.  As per first option in the link i.e
> >
> > This is the simplest of all. Edit Main.WebHome and type:
> > $response.sendRedirect($xwiki.getURL(MyUserCreatedSpace.WebHome)) where
> > Space.Page is the page you wish to redirect to.
> >
> > I did above and it worked. But now i want to revert it to again old main
> > space. I am not able to do so that because as soon as i go to the main
> > space webhome page , i get to see the source of  MyUserCreatedSpace(as i
> > have used the redirect option).  I am not able to see the original source
> > code of Main space Webhome page so that i can revert  redirect change.
> >
> > .
> >
> >
> >
> > On Tue, Jan 10, 2012 at 1:01 PM, Marius Dumitru Florea <
> > mariusdumitru.flo...@xwiki.com> wrote:
> >
> > > Some search results:
> > >
> > >
> > >
> >
> http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki
> > > http://www.mail-archive.com/users@xwiki.org/msg06003.html
> > > http://lists.xwiki.org/pipermail/users/2008-June/008546.html
> > >
> > > Hope this helps,
> > > Marius
> > >
> > > On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta 
> wrote:
> > > > Hi All,
> > > >
> > > > As soon as l gets login , i enter to main space  webhome page . I
> want
> > to
> > > > change this default main space to some user created space (Basically
> > > what i
> > > > need is as soon as user logs in, he should enter to user created
> > > > space instead of main space)  Is it configurable? Thanks.
> > > > ___
> > > > users mailing list
> > > > users@xwiki.org
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > ___
> > > users mailing list
> > > users@xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Configuration to change the default space i.e main space to user created space?

2012-01-10 Thread mohit gupta
Hi Marius,

 I tried all the 3 approaches  given in the document . Out of 3 first
worked i.e redirecting to UserCreated space  but other two did not. (Both
takes me to WebHome page under Main space)

 Actually I want to use  other two as it convenient to change them and
revert back. here is the brief what i did about other two
approaches defined in the document.

 Approach A:- Change the value of xwiki.defaultweb=Main and
xwiki.defaultpage=WebHome to new values. Here are the new values i gave

 xwiki.defaultweb=MyUserCreatedSpace
 xwiki.defaultpage=WebHome

 Gave defaultpage as webhome as it is default page of MyUserCreatedSpace

 Approach B :- Document also tells below approach

 
 redirectHomeServlet

com.xpn.xwiki.web.HomePageRedirectServlet
 
   homePage
   bin/NewHomeSpace/NewHomePage
 
   

   Here is the modified  code snippet in web.xml i gave

   
 redirectHomeServlet

com.xpn.xwiki.web.HomePageRedirectServlet
 
   homePage
   bin/MyUserCreatedSpace/WebHome
 
   
i also tried giving values as
 bin/MyUserCreatedSpace
 bin/view/MyUserCreatedSpace/WebHome

But again takes me to Webhome page under Main space. Please let me know if
something else also needs to be configured.

On Tue, Jan 10, 2012 at 1:01 PM, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> Some search results:
>
>
> http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki
> http://www.mail-archive.com/users@xwiki.org/msg06003.html
> http://lists.xwiki.org/pipermail/users/2008-June/008546.html
>
> Hope this helps,
> Marius
>
> On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta  wrote:
> > Hi All,
> >
> > As soon as l gets login , i enter to main space  webhome page . I want to
> > change this default main space to some user created space (Basically
> what i
> > need is as soon as user logs in, he should enter to user created
> > space instead of main space)  Is it configurable? Thanks.
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Location of storage of different content in xwiki?

2012-01-11 Thread mohit gupta
I have a question regarding the location of storage of different content in
xwiki.(I mean does it get stored in xwiki databse which we mention in
hibernate.cfg.xml or somewhere else on disc?)Where does below contents gets
stored in xwiki :-
1)Space and page contents
2)Atachment under spaces/pages
3)Users ,groups, spaces
4)Rights given to Users ,groups, spaces
5)Any modification done from admin user like changes in main Page
configuration/Look and Fell , changing the default colour theme or
addition of new colour theme.


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


Re: [xwiki-users] Location of storage of different content in xwiki?

2012-01-11 Thread mohit gupta
Thanks a lot  Raluca.Looks like everything goes to xwiki database by
default. Two more questions on same .

 As you told   there are 2 ways of storing attachments. Which one is
default? Where in xwiki UI , as admin user he need to change to other
value, if he wants

Another thing are you aware of table name where these docs gets
stored.Looks like in *xwikidoc* table . Right?



On Wed, Jan 11, 2012 at 3:21 PM, Raluca Stavro  wrote:

> Hello,
>
> On Wed, Jan 11, 2012 at 11:23 AM, mohit gupta  wrote:
>
> > I have a question regarding the location of storage of different content
> in
> > xwiki.(I mean does it get stored in xwiki databse which we mention in
> > hibernate.cfg.xml or somewhere else on disc?)Where does below contents
> gets
> > stored in xwiki :-
> > 1)Space and page contents
> >
>
> In the database.
>
>
> > 2)Atachment under spaces/pages
> >
>
> There are 2 ways of storing attachments:
> a) As part of documents (each attachment is stored as binary data in the
> document xml) -> they go along with the documents in the database.
> b) As filesystem attachments -> they go on the filesystem
>
>
> > 3)Users ,groups, spaces
> >
>
> Almost everything in XWiki is a document :) So, users, groups, spaces are
> all documents -> they all go in the database.
>
>
> > 4)Rights given to Users ,groups, spaces
> >
>
> Rights given to users, groups are objects attached to documents (each
> object is part of the document xml) -> they go with documents in the
> database.
>
>
> > 5)Any modification done from admin user like changes in main Page
> > configuration/Look and Fell , changing the default colour theme or
> > addition of new colour theme.
> >
>
> Color themes are also documents -> they go in the database.
> Unless the Look & Feel changes are made in the filesystem skin (this is not
> recommended), all the UI changes go in the database.
>
> Raluca.
>
>
> >
> >
> > Thanks.
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to restrict user from editing his prefernces, profile?

2012-01-11 Thread mohit gupta
When i take my mouse on user name link  (that we see in front of profile on
the page just after log in), i see list of options profiles,preferences,
watchlist,network,my dashboard.  I want to cofigure it so that this option
does not show up for specific group users.  Can i configure it?
The reason why i want to this because if these options are shoen then user
can edit some stuff like change password, edit profile etch which i dont
want for specific group/user.

If it is not possible, can we restrict the specific group/user from editing
profile,change password( which is possible right now if user click
on profile or preferences option under user name link on top right corner
of welcome page) .Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Lways Get the Invalid object name 'xwikistrings' Error after fresh installation of xwiki?

2012-01-12 Thread mohit gupta
I did fresh installation of xwiki . After performing all the steps
mentioned in xwiki admin guide, when i hit the xwiki url i get below error.

Wrapped Exception:

com.jnetdirect.jsql.JSQLException: Invalid object name 'xwikistrings'.
 at
com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85)
 at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547)
 at com.jnetdirect.jsql.JSQLConnection.prePrepare(JSQLConnection.java:2620)
 at
com.jnetdirect.jsql.JSQLConnection.getPreparedStatementHandle(JSQLConnection.java:2553)
 at
com.jnetdirect.jsql.JSQLPreparedStatement.executeQuery(JSQLPreparedStatement.java:359)
 at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
 at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)

*Basically it creates all the table when i hit the URL first time but not
the table 'xwikistrings'.* I tried to do installation 3 time, Every time i
get same error.
I had to create this table manually after taking table description from hbm
file. *Is it a known issue or i am missing something here?*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Issues while importing previous working xwiki XAR file in to new installed XWIKI setup?

2012-01-12 Thread mohit gupta
Hi all,

I have xwiki setup  done on machine A with custom setting like log changed,
user, group and space rights settings .Also had space contents/attachment.
Now i did the fresh installation of xwiki on new machine B..What i wanted
was  every setting,content, attachment i created on machine A xwiki
database  should be migrated to machine  B xwiki database.
**
*What i did for this  is :-*
1) On machine A, as admin user navigated to export. It asked me  package
name and description. I entered the value in that and it created a
A.xar file.

2)Now after xwiki installation i.e  after extracting *
xwiki-enterprise-web-3.3.war* inside tomcat on machine B, i  navigated to
import and imported A.xar file.Now i log in as admin user.

*Actual Problem*

Now i  see the main space webhome page on machine B different from machine
A main space webhome page.Like under space i see this error Unknown macro:
spaces The "spaces" macro is not in the list of registered macros. Verify
the spelling or contact your administrator.  Same error is there for
Tags.Also i do not the setting i did on default colour theme like i changed
the logo. Though i can see all the previous user,group ,space rights and
content.

*Not getting what i am missing here?*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Which is the best strategy when migrating from one wiki version to another wiki version?

2012-01-12 Thread mohit gupta
As of know my xwiki version is 3.2. Now we are planning to move on 3.3. Now
as admin user we have done lot of customization regarding
user,group,space creation and their right management. We have created some
content and attachment also under some user created spaces and pages.
Though everything is part of  xwiki databse as i have not explicity  done
any settinsg to save any stuff on disk
Now when i am migrating to 3.3 i am doing fresh installation. Till here
fine. Now i want to migrate all 3.2 xwiki data  to 3.3 xwiki.
As per admin guide there seems two be two approaches :-

*Approach1:-*Export 3.2 xwiki data to xar file and then import it in 3.3
xwiki. *But it did not work for me*, as after migration i do not see some
stuff like
main space web homepage same as it used to be in 3.2 xwiki.


*Approach2:-* Take back up of complete 3.2 xwiki database . Now for 3.3
xwiki just make empty 3.3 schema and restore it to 3.2 xwiki data dump.
*It worked for me.* Every thing is same in 3.3 which was there in 3.2(that
is what i wanted) Now my question is it the right approach? Do i have to
take some precaution or need to be careful while doing this approach? *One
last question on this say there are some database configuration changes in
3.3 like deletion/addition of some table, or deltion/addition of some
column etc , in that case What  will be consequences of this approach?*
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issues while importing previous working xwiki XAR file in to new installed XWIKI setup?

2012-01-17 Thread mohit gupta
Thanks a lot jerem.It worked.

On Fri, Jan 13, 2012 at 1:14 PM, jerem  wrote:

> If all your customizations were done to wiki pages (and not directly to
> files
> server-side), then importing the xar should create an identical instance on
> B.
> Maybe something went wrong during export ? Did you have error messages ?
> Another thing that can be checked, is the content of the generated .xar :
> it's a zip file format, and folders structure maps pages structure. This
> way
> you could see if things are missing in the .xar (pay attention also to
> empty
> files).
>
> In you point 2) you say you imported then logged as admin, didn't you log
> as
> admin before importing ? If not, you could retry this way, maybe you didn't
> have sufficient rights during import to overwrite some existing pages if
> you
> were not logged as admin user.
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Issues-while-importing-previous-working-xwiki-XAR-file-in-to-new-installed-XWIKI-setup-tp7179864p7183286.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to Configure the search user functionality for a given user group?

2012-01-24 Thread mohit gupta
 Hi All,

I have question regarding search functionality  i want to give rights
in a way so that the users in a certain group should be able search
the users of a certain group.
For example i have 3 groups G1,G2,G3 . G1 contains user U1,G2 contains
user U2 and G3 contains user U3. Now i want to give the the group 1
users rights in a way so that
they should be able to search the G1 and G2 users only but not G3 users.

I know we can customize the rights of specific group user for a
specific space but what about above feature? Is it configurable?


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


Re: [xwiki-users] [Poll] What features would you like to have in XWiki 4.x?

2012-01-30 Thread mohit gupta
Hi Vincet,

i have added below fetaure on the link you have provided. Here is the
description:-

I would like to have a feature where xwiki admin  could give rights
whether specific xwiki user is restricted to access/search other user
details.This can be scenario when xwiki admin does not want a specific
group user is visible to some  other specific group user . Here is an
example:-

i want to give rights in a way so that the users in a certain group
should be able search the users of a certain group.
For example i have 3 groups G1,G2,G3 . G1 contains user U1,G2 contains
user U2 and G3 contains user U3. Now i want to give the the group 1
users rights in a way so that they should be able to search the G1 and
G2 users only but not G3 users.

Thanks.

On Thu, Jan 26, 2012 at 5:18 PM, Vincent Massol  wrote:
> Hi XWiki users,
>
> In 2009 we launched a survey on xwiki.org about features would like to have 
> in XWiki in priority:
> http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiFeatures2009
>
> The results were published here:
> - http://www.xwiki.org/xwiki/bin/view/Blog/Features+Survey+Results
> - http://www.xwiki.org/xwiki/bin/view/Blog/FeatureStatus20120119
>
> The idea is to do that same with a new survey in order to give us some 
> information to prepare our XWiki 4.x roadmaps.
>
> Thus it would help us a lot if you could go the following URL and answer the 
> survey there:
> http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiFeatures2012
>
> Please answer as soon as possible since the earliest we get feedback the 
> earliest we can start using it to decide what's put in the roadmaps! :)
>
> Results will be published on xwiki.org.
>
> Thanks
> -Vincent on behalf of the XWiki Committers
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How programming rights works in xwiki?

2012-02-01 Thread mohit gupta
Below is the statement given at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights
A programmer is allowed to execute arbitrary java code in the wiki and
can thus gain control of the system user which the wiki is
running under.

Could you give me some example how xwiki admin can modify existing
java class. when it will be compile and deployed?
Assume i want to add  a new method in XWikiAuthServiceImpl.java . How
should i go with this provided i am having programming
rights.Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


  1   2   3   >