Re: [xwiki-users] myxwiki page administration

2008-07-03 Thread Joel Grailard
Hi,
More information to my problem :
It's my admin user (rcnthouare) which isn't  recognized for use
administration screen.
Maybe a problem in my preferences configuration?

My question :
Is't  possible to put back the original default preferences 
configuration
of my  myxwiki?
If yes, how?

Thanks
Best regards
Joel Grailard


-Message d'origine-
De : Joel Grailard [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 2 juillet 2008 20:52
À : XWiki Users
Objet : [xwiki-users] myxwiki page administration

 Hi,
When I type on Administration to modify  the Preferences, I have this screen
:  IMPORT (for import file) ???
Can you see this problem on my myxwiki : rcnthouare.myxwiki.org
Thanks
Best regards
Joel Grailard

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


Re: [xwiki-users] LDAP Multiple Domains

2008-07-03 Thread Stefan Woehrer

Hi,

the users are stored within the subdomains:

sub1.somedomain.dom   - contains some users
sub2.somedomain.dom   - contains some users
sub3.somedomain.dom   - contains some users
...

when configuring xwiki like: base_DN=dc=somedomain,dc=dom
no users are able to login

when configuring xwiki like: base_DN=dc=sub1,dc=somedomain,dc=dom
only users of sub1.somedomain.dom can login

is there any way to make it possible for the users of all three subdomains
to log in? for example: if the users would write their subdomains before the
loginname? (sub1\username) - have tried this without success, but maby i
made some mistakes...

i would be grateful for any advice ;)
Steve
-- 
View this message in context: 
http://www.nabble.com/LDAP-Multiple-Domains-tp18130322p18252687.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] myxwiki page administration

2008-07-03 Thread Jean-Vincent Drean
Hi,

We've upgraded myxwiki.org to XE 1.5 milestone 2, from this version
the administration is an application.
You can use import screen to install the new administration application :
http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication
Starting from 1.5RC1 there will be a message in the import screen
explaining this.

Thanks,
JV.

On Wed, Jul 2, 2008 at 9:52 PM, Joel Grailard [EMAIL PROTECTED] wrote:
  Hi,
 When I type on Administration to modify  the Preferences, I have this screen
 :  IMPORT (for import file) ???
 Can you see this problem on my myxwiki : rcnthouare.myxwiki.org
 Thanks
 Best regards
 Joel Grailard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki page administration

2008-07-03 Thread Vincent Massol
JV, I think we should modify the Myxwiki template so that the new  
admin app is included and also import it for the existing wikis.

WDYT?

Thanks
-Vincent

On Jul 3, 2008, at 8:59 AM, Jean-Vincent Drean wrote:

 Hi,

 We've upgraded myxwiki.org to XE 1.5 milestone 2, from this version
 the administration is an application.
 You can use import screen to install the new administration  
 application :
 http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication
 Starting from 1.5RC1 there will be a message in the import screen
 explaining this.

 Thanks,
 JV.

 On Wed, Jul 2, 2008 at 9:52 PM, Joel Grailard [EMAIL PROTECTED]  
 wrote:
 Hi,
 When I type on Administration to modify  the Preferences, I have  
 this screen
 :  IMPORT (for import file) ???
 Can you see this problem on my myxwiki : rcnthouare.myxwiki.org
 Thanks
 Best regards
 Joel Grailard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki page administration

2008-07-03 Thread jgrailard
Vincent,
It's possible for you to modify my profile (rcnthouare) : attribute acces
admin.
Other possibility : get back my profile to the initial default configuration.

Visibly I lost acces admin, I don't continue to configure myxwiki if I don't
have admin acces.
Thank you very much.
Joel


Selon Vincent Massol [EMAIL PROTECTED]:

 JV, I think we should modify the Myxwiki template so that the new
 admin app is included and also import it for the existing wikis.

 WDYT?

 Thanks
 -Vincent

 On Jul 3, 2008, at 8:59 AM, Jean-Vincent Drean wrote:

  Hi,
 
  We've upgraded myxwiki.org to XE 1.5 milestone 2, from this version
  the administration is an application.
  You can use import screen to install the new administration
  application :
  http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication
  Starting from 1.5RC1 there will be a message in the import screen
  explaining this.
 
  Thanks,
  JV.
 
  On Wed, Jul 2, 2008 at 9:52 PM, Joel Grailard [EMAIL PROTECTED]
  wrote:
  Hi,
  When I type on Administration to modify  the Preferences, I have
  this screen
  :  IMPORT (for import file) ???
  Can you see this problem on my myxwiki : rcnthouare.myxwiki.org
  Thanks
  Best regards
  Joel Grailard
 ___
 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] Unable to delete a page

2008-07-03 Thread Gaëtan GUYODO
XE 1.5M2, Tomcat 6.0, Oracle 10.2.
When I want to delete a page, I get that error :

 Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not get next sequence value
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while 
hibernate execute
Wrapped Exception: could not get next sequence value
at 
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1005)
at 
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1055)
at 
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:56)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3682)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3674)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5380)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5370)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:175)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
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:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)


Wrapped Exception:

java.sql.SQLException: ORA-02289: la séquence n'existe pas

at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at 
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
at 
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at 
oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at 
org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
at 

Re: [xwiki-users] Unable to delete a page

2008-07-03 Thread Tiago Rinck Caveden
On Thu, Jul 3, 2008 at 2:16 PM, Gaëtan GUYODO [EMAIL PROTECTED]
wrote:

 Does anyone know what is the sequence needed ? That wiki has been
 created from XE1.5M2 + Manager 1.2.


I don't know how XWiki does it, but if I remember well, when you don't
specify any name, hibernate tries a default one, I think it was
hibernate_sequence the name.
Try creating this.

-- 
Tiago Rinck Caveden
http://caveden.multiply.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Unable to delete a page

2008-07-03 Thread Gaëtan GUYODO
Thanks,
On watching Oracle database, I noticed that the Admin wiki has 1 
sequence called HIBERNATE_SQUENCE, but the 3 wikis I've created from 
XWikiManager don't have that sequence. Is it a bug or does hibernate 
have to work with the admin wiki sequence ?
What I can easily do is to create a such sequence, but I don't know how 
hibernate should work, so...

Tiago Rinck Caveden a écrit :
 On Thu, Jul 3, 2008 at 2:16 PM, Gaëtan GUYODO [EMAIL PROTECTED]
 wrote:
 
 Does anyone know what is the sequence needed ? That wiki has been
 created from XE1.5M2 + Manager 1.2.
 
 
 I don't know how XWiki does it, but if I remember well, when you don't
 specify any name, hibernate tries a default one, I think it was
 hibernate_sequence the name.
 Try creating this.
 

-- 
__
  Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
  200, rue du faubourg St Denis
  75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
__

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


Re: [xwiki-users] myxwiki page administration

2008-07-03 Thread Jean-Vincent Drean
On Thu, Jul 3, 2008 at 9:45 AM, Vincent Massol [EMAIL PROTECTED] wrote:
 JV, I think we should modify the Myxwiki template so that the new
 admin app is included and also import it for the existing wikis.

I've updated the template.myxwiki.org wiki.
I think we shouldn't do any manual upgrade on the subwikis since the
experience of their administrators provide good feedback.
OTOH those administrators aren't notified of the upgrades, that's what
we have to improve IMHO.

-- 
Jean-Vincent Drean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XEM Configuration

2008-07-03 Thread Jamison Novak
Please disregard the original message below. After a day and a half of
banging my head against the wall, I figured out the problem I was having
with virtual wikis. 

Just in case anybody else runs into the problem I was experiencing with
Apache+Resin+XEM, I'll summarize.

XEM was installed, running, and apparently functioning correctly. I was
able to get to the master xwiki instance, create/modfiy/delete virtual
wikis, and do everything you'd expect within that interface. No matter
how I specified the host/domain information for the virtual wiki,
however, I was not able to get to the virtual wiki instance.

DNS was correct, Apache was sending me to the right place, but the
redirect file in the XWiki directory would just get displayed as text
and the wiki itself would never come up even if I went directly to
various known-good pages.

It turns out that Resin was actually the culprit. In the config file,
I'd specified the Resin host as this:

  host id=xwiki.domain.dom root-directory=/usr/local/www/xwiki
  host-name=xwiki.domain.dom host-alias=xwiki

So, even though DNS entries and Apache Virtual Hosts were created for
the *other* virtual wiki instances, Resin only cared about the
xwiki.domain.dom hostname/instance and let everything else stay with
Apache. I made the following change to my configuration (broken out into
separate tags for ease-of-reading) and it's now working swimmingly:

host regexp=([^.]+)\.domain\.dom
  host-name${host.regexp[1]}.domain.dom/host-name
  host-alias${host.regexp[1]}/host-alias
  root-directory/usr/local/www/xwiki/root-directory

Sorry for another long post, but I figured this was worth sending in
case there's another masochist out there running XWiki under
Apache+Resin and having the same problems. (Things get murky when you're
dealing with resin's ability to handle virtual hosts, apache's ability
to handle virtual hosts, and xwiki's ability to detect virtual hosts -
all independently functioning and configured).

Cheers,
Jamie
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jamison Novak
Sent: Wednesday, July 02, 2008 4:39 PM
To: users@xwiki.org
Subject: [xwiki-users] XEM Configuration

Hi All,
 
I'm new to XWiki (and the list) and have a few questions. I'm
specifically needing help with the Virtual Wiki portion of things, but
that will be for a follow-up Email. The first thing I need to verify is
that I've got the base installation of things essentially correctly
configured.
 
Our webserver is Apache 2.0 with Java being served up by Resin on the
back end. I've installed XWiki Enterprise Manager 1.2 into its own
directory (/usr/local/www/xwiki) and created a separate Resin instance
for it (listening on port 6807). A portion of the XWiki Resin config
file looks like this:
 
host id=xwiki.domain.dom root-directory=/usr/local/www/xwiki/
host-name=xwiki.domain.dom host-alias=xwiki
  web-app id=/ document-directory=/usr/local/www/xwiki/
  [...] 
  /web-app
/host

The Resin instance starts fine. I created a Virtual Host for it in
Apache as follows:
 
VirtualHost MY_IP:80
ServerNamexwiki.domain.dom
ServerAlias xwiki
DocumentRoot/usr/local/www/xwiki/
ResinConfigServer localhost 6807
/VirtualHost

The main problem I have is that I can't get the wiki to load. If I go to
http://xwiki/ or http://xwiki.domain.dom/ (internal server; don't bother
trying) -- I just get a directory listing of the XWiki files. If I click
on the redirect text file in the directory, it will work its magic and
send me to the welcome page for the wiki.
 
I haven't seen anything mentioned anywhere about that specific problem,
so I'm asking. Is it normal to have to add something like this to the
VirtualHost container:
 
RedirectMatch permanent ^/$ /redirect
 
In effect, doing two redirects on the initial root page load? Is there
another way I should be configuring things?
 
Sorry for the length. I just wanted to give a bit of background before I
asked, since I have a follow-up question or two regarding running
Virtual Wikis (ugh).
 
Thanks for listening.
 
-Jamie
___
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] myxwiki page administration

2008-07-03 Thread Vincent Massol

On Jul 3, 2008, at 3:10 PM, Jean-Vincent Drean wrote:

 On Thu, Jul 3, 2008 at 9:45 AM, Vincent Massol [EMAIL PROTECTED]  
 wrote:
 JV, I think we should modify the Myxwiki template so that the new
 admin app is included and also import it for the existing wikis.

 I've updated the template.myxwiki.org wiki.
 I think we shouldn't do any manual upgrade on the subwikis since the
 experience of their administrators provide good feedback.

Well, sure, but we need to make a software that's usable too. Right  
now with our upgrade it's no longer really usable... It looks a bit  
strange to me that each wiki admin has to suddenly import a new XAR  
because we've upgraded the XE version. If it were , say, a new  
blogging application I would agree with you but here it's the Admin  
app, i.e. some core part of XE.

-Vincent


 OTOH those administrators aren't notified of the upgrades, that's what
 we have to improve IMHO.

 -- 
 Jean-Vincent Drean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XEM Configuration

2008-07-03 Thread Vincent Massol
Thanks a lot Jamie for posting back the solution. It's great you did  
this and I'm sure it'll help others in the future.

Thanks
-Vincent

On Jul 3, 2008, at 3:47 PM, Jamison Novak wrote:

 Please disregard the original message below. After a day and a half of
 banging my head against the wall, I figured out the problem I was  
 having
 with virtual wikis.

 Just in case anybody else runs into the problem I was experiencing  
 with
 Apache+Resin+XEM, I'll summarize.

 XEM was installed, running, and apparently functioning correctly. I  
 was
 able to get to the master xwiki instance, create/modfiy/delete  
 virtual
 wikis, and do everything you'd expect within that interface. No matter
 how I specified the host/domain information for the virtual wiki,
 however, I was not able to get to the virtual wiki instance.

 DNS was correct, Apache was sending me to the right place, but the
 redirect file in the XWiki directory would just get displayed as  
 text
 and the wiki itself would never come up even if I went directly to
 various known-good pages.

 It turns out that Resin was actually the culprit. In the config file,
 I'd specified the Resin host as this:

  host id=xwiki.domain.dom root-directory=/usr/local/www/xwiki
  host-name=xwiki.domain.dom host-alias=xwiki

 So, even though DNS entries and Apache Virtual Hosts were created for
 the *other* virtual wiki instances, Resin only cared about the
 xwiki.domain.dom hostname/instance and let everything else stay with
 Apache. I made the following change to my configuration (broken out  
 into
 separate tags for ease-of-reading) and it's now working swimmingly:

host regexp=([^.]+)\.domain\.dom
  host-name${host.regexp[1]}.domain.dom/host-name
  host-alias${host.regexp[1]}/host-alias
  root-directory/usr/local/www/xwiki/root-directory

 Sorry for another long post, but I figured this was worth sending in
 case there's another masochist out there running XWiki under
 Apache+Resin and having the same problems. (Things get murky when  
 you're
 dealing with resin's ability to handle virtual hosts, apache's ability
 to handle virtual hosts, and xwiki's ability to detect virtual hosts -
 all independently functioning and configured).

 Cheers,
 Jamie


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On  
 Behalf
 Of Jamison Novak
 Sent: Wednesday, July 02, 2008 4:39 PM
 To: users@xwiki.org
 Subject: [xwiki-users] XEM Configuration

 Hi All,

 I'm new to XWiki (and the list) and have a few questions. I'm
 specifically needing help with the Virtual Wiki portion of things, but
 that will be for a follow-up Email. The first thing I need to verify  
 is
 that I've got the base installation of things essentially correctly
 configured.

 Our webserver is Apache 2.0 with Java being served up by Resin on the
 back end. I've installed XWiki Enterprise Manager 1.2 into its own
 directory (/usr/local/www/xwiki) and created a separate Resin instance
 for it (listening on port 6807). A portion of the XWiki Resin config
 file looks like this:

host id=xwiki.domain.dom root-directory=/usr/local/www/xwiki/
 host-name=xwiki.domain.dom host-alias=xwiki
  web-app id=/ document-directory=/usr/local/www/xwiki/
  [...]
  /web-app
/host

 The Resin instance starts fine. I created a Virtual Host for it in
 Apache as follows:

 VirtualHost MY_IP:80
ServerNamexwiki.domain.dom
ServerAlias xwiki
DocumentRoot/usr/local/www/xwiki/
ResinConfigServer localhost 6807
 /VirtualHost

 The main problem I have is that I can't get the wiki to load. If I  
 go to
 http://xwiki/ or http://xwiki.domain.dom/ (internal server; don't  
 bother
 trying) -- I just get a directory listing of the XWiki files. If I  
 click
 on the redirect text file in the directory, it will work its magic  
 and
 send me to the welcome page for the wiki.

 I haven't seen anything mentioned anywhere about that specific  
 problem,
 so I'm asking. Is it normal to have to add something like this to the
 VirtualHost container:

RedirectMatch permanent ^/$ /redirect

 In effect, doing two redirects on the initial root page load? Is there
 another way I should be configuring things?

 Sorry for the length. I just wanted to give a bit of background  
 before I
 asked, since I have a follow-up question or two regarding running
 Virtual Wikis (ugh).

 Thanks for listening.

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


Re: [xwiki-users] Unable to delete a page

2008-07-03 Thread Sergiu Dumitriu
Gaëtan GUYODO wrote:
 Thanks,
 On watching Oracle database, I noticed that the Admin wiki has 1 
 sequence called HIBERNATE_SQUENCE, but the 3 wikis I've created from 
 XWikiManager don't have that sequence. Is it a bug or does hibernate 
 have to work with the admin wiki sequence ?
 What I can easily do is to create a such sequence, but I don't know how 
 hibernate should work, so...
 
 Tiago Rinck Caveden a écrit :
 On Thu, Jul 3, 2008 at 2:16 PM, Gaëtan GUYODO [EMAIL PROTECTED]
 wrote:

 Does anyone know what is the sequence needed ? That wiki has been
 created from XE1.5M2 + Manager 1.2.

 I don't know how XWiki does it, but if I remember well, when you don't
 specify any name, hibernate tries a default one, I think it was
 hibernate_sequence the name.
 Try creating this.

 

Could be a bug in the virtual wiki support on Oracle.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users