[xwiki-users] Change Admin password errors

2007-10-24 Thread Israa Taha
Every time I try to change the Admin password, I get an error (Exceptions
occuring when loading and updating XWiki.Admin). However when a regular user
changes their password, they dont get that error. Whats going on and how do
I make sure I dont get an error when I try to change the Admin password?

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


Re: [xwiki-users] Change Admin password errors

2007-10-24 Thread Vincent Massol
Hi Israa,

Could you show us the full strack trace you get?

What version of XWiki are you using?

Thanks
-Vincent

On Oct 24, 2007, at 5:35 PM, Israa Taha wrote:

 Every time I try to change the Admin password, I get an error  
 (Exceptions occuring when loading and updating XWiki.Admin).  
 However when a regular user changes their password, they dont get  
 that error. Whats going on and how do I make sure I dont get an  
 error when I try to change the Admin password?

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


Re: [xwiki-users] Change Admin password errors

2007-10-24 Thread Israa Taha
This is what I get:

Error number 3201 in 3: Exception while saving document XWiki.Admin Wrapped
Exception: Error number 3211 in 3: Exception while updating archive
XWiki.Admin Wrapped Exception: Error number 3212 in 3: Exception while
loading archive 1,936,882,153 Wrapped Exception: exception setting property
value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for
more info) setter of com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.Admin Wrapped Exception: Error number 3211 in 3: Exception
while updating archive XWiki.Admin Wrapped Exception: Error number 3212 in
3: Exception while loading archive 1,936,882,153 Wrapped Exception:
exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:322) at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91) at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:957) at
com.xpn.xwiki.web.SaveAction.save(SaveAction.java:119) at
com.xpn.xwiki.web.SaveAction.action(SaveAction.java:128) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) 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.doPost(ActionServlet.java:432) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 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.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:117) 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.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:433) 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(Thread.java:619) Wrapped
Exception: com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception
while updating archive XWiki.Admin Wrapped Exception: Error number 3212 in
3: Exception while loading archive 1,936,882,153 Wrapped Exception:
exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(
XWikiHibernateVersioningStore.java:246) at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:243) at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91) at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:957) at
com.xpn.xwiki.web.SaveAction.save(SaveAction.java:119) at
com.xpn.xwiki.web.SaveAction.action(SaveAction.java:128) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) 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.doPost(ActionServlet.java:432) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:290) at

Re: [xwiki-users] Shifting to a new computer

2007-10-24 Thread Vincent Massol

On Oct 24, 2007, at 7:28 PM, Víctor A. Rodríguez wrote:

 Vincent Massol wrote:
 On Oct 24, 2007, at 5:24 PM, Víctor A. Rodríguez wrote:


 Hi Vincent,

 Vincent Massol wrote:

 Hi Hari,

 As suggested just export and re-import from the Administration  
 page.

 Someone mentioned that the export feature is broken. I haven't  
 found
 so. I think this person meant that it's not working only when  
 trying
 to import an old XWiki 0.9 version in a new 1.1 version.

 AFAIK it's not broken in 1.1. I'll double check when I'm at my desk
 again (offline now)
 I mentioned it :-) and just to make it clear :

 - the broken one is the import functionality (IMHO). Just take a
 look at
 http://jira.xwiki.org/jira/browse/XWIKI-1809 (I think that at least
 someone else couldn't make it work). It didn't work for me in  
 1.1.4918
 but it throws a NullPointerException


 Could you please explain a bit more your case? In the case of Marc
 Lijour it didn't work because he was importing from a 0.9 version.
 AFAIK it's working fine if you import from a 1.0 or later version.

 That's exactly my case, importing from 0.9
 Sorry, I wasn't paying attention that the problem was importing  
 from 1.0

The problem seems to be importing from a 0.9 version (importing from  
1.0 should work fine I think).

-Vincent

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


[xwiki-users] attachments in export files

2007-10-24 Thread BIKRAMJIT SINGH
Hi,

I want to do something with attachments in export files. Can anyone please 
explain me that how are attachments saved in export files.

regards
Bikramjit Singh



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] ccomo me conecto a la base de datos

2007-10-24 Thread Julian Valencia
hola ..una pregunta!!
 instale la version para principiantes de xwiki enterprise
quiero conectarme  a la base de datos usando el mysql gui tools  y no he
podido ...  como  se lla ma la isntancia que queda  creada por defecto y
cual es el usuario de  mysql??
gracias

-- 
Julian  Valencia
Ingeniero de Sistemas - Especialista en Gerencia Informatica Organizacional
cel 3006532165
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Change Admin password errors

2007-10-24 Thread Israa Taha
The previous install might have been just an update from an older version
but I reinstalled XWiki so that it is now a fresh install and I still had
the same problems.
As a temporary solution I created a new user with admin rights and deleted
the Admin account.



On 10/24/07, Vincent Massol [EMAIL PROTECTED] wrote:

 Hi,
 Have you moved from an older version to 1.1.1 or is this a fresh install?

 The error seems to be:

 Exception while manipulating the archive for doc Wrapped Exception: Parse
 error at line 1, column 101. Encountered: Taha

 So it looks like the page history of Taha as some issues and if you've
 moved from an older version of xwiki, it may be that you haven't applied the
 FixRCS patch.

 Thanks
 -Vincent

 On Oct 24, 2007, at 7:31 PM, Israa Taha wrote:

 This is what I get:

 Error number 3201 in 3: Exception while saving document XWiki.AdminWrapped 
 Exception: Error number 3211 in 3: Exception while updating archive
 XWiki.Admin Wrapped Exception: Error number 3212 in 3: Exception while
 loading archive 1,936,882,153 Wrapped Exception: exception setting property
 value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for
 more info) setter of com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
 com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
 saving document XWiki.Admin Wrapped Exception: Error number 3211 in 3:
 Exception while updating archive XWiki.Admin Wrapped Exception: Error
 number 3212 in 3: Exception while loading archive 1,936,882,153 Wrapped
 Exception: exception setting property value with CGLIB (set
 hibernate.cglib.use_reflection_optimizer=false for more info) setter of
 com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive at
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
 XWikiHibernateStore.java:322) at
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
 at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
 at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:957) at com.xpn.xwiki.
 web.SaveAction.save(SaveAction.java:119) at com.xpn.xwiki.
 web.SaveAction.action(SaveAction.java:128) at com.xpn.xwiki.
 web.XWikiAction.execute(XWikiAction.java:147) 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.doPost(ActionServlet.java:432)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
 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.authenticator.AuthenticatorBase.invoke(
 AuthenticatorBase.java:433) 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(Thread.java:619) Wrapped
 Exception: com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception
 while updating archive XWiki.Admin Wrapped Exception: Error number 3212 in
 3: Exception while loading archive 1,936,882,153 Wrapped Exception:
 exception setting property value with CGLIB (set
 hibernate.cglib.use_reflection_optimizer=false for more info) setter of
 com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive at
 com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(
 XWikiHibernateVersioningStore.java:246) at
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
 XWikiHibernateStore.java:243) at
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
 at 

Re: [xwiki-users] ccomo me conecto a la base de datos

2007-10-24 Thread Marc Lijour
On October 24, 2007 04:10:13 pm Julian Valencia wrote:
 hola ..una pregunta!!
  instale la version para principiantes de xwiki enterprise
 quiero conectarme  a la base de datos usando el mysql gui tools  y no he
 podido ...  como  se lla ma la isntancia que queda  creada por defecto y
 cual es el usuario de  mysql??
 gracias

Cual instrucciones seguistes? Normalement alli viene el nombre y el password 
de tu base de dato.

Para que funcione el wiki tienes que modificar este documento: 
hibernate.cfg.xml (en WEB-INF)
Tambien tienes que adaptar xwiki.cfg.

Mas info en el Wiki (xwiki.org)


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


Re: [xwiki-users] Shifting to a new computer

2007-10-24 Thread V. Harikrishnan Nair

But there should be a place visible to the human eye where all the data is
stored :) ! I had a problem with the script which I replaced but the data is
missing... I want to try to copy-paste the default HSQL database (wherever
it is). If this works, then I can say that XWiki is the most friendly wiki I
have ever come across ! I could even create a document 'In case of errors'
or 'shifting your wiki' or 'creating an easy backup' !!! :)





Vitantonio Messa wrote:
 
 Sorry but I cannot really help on this.
 I've been using XWiki with MySQL from the beginning, so I really don't 
 know that much about HSQL-DB.
 
 Vito
 
 
 
 V. Harikrishnan Nair wrote:
 Can I view the data from the database which is bundled with XWiki ?
 
 
 Vitantonio Messa wrote:
 So you're not using MySQL as database, but the one that is bundled with 
 XWiki.
 I think you can simply copy and paste the database folder from the old 
 pc to the new one. Can anyone confirm this?

 Vito



 V. Harikrishnan Nair wrote:
 I've got a small doubt. Right now, the database configuration in the
 hibernate.cfg.xml is using the one shown below and not the MySQL (which
 is
 commented) -

 property
 name=connection.urljdbc:hsqldb:file:database/xwiki_db;shutdown=true/property
 property name=connection.usernamesa/property
 property name=connection.password/property
 property
 name=connection.driver_classorg.hsqldb.jdbcDriver/property
 property
 name=dialectorg.hibernate.dialect.HSQLDialect/property

 property
 name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
 property name=connection.pool_size2/property
 property name=statement_cache.size2/property 

 Does this mean that it is not using a database currently? I had tried
 to
 configure it to MySQL now but on restart it showed an error (refer to
 'Error
 on restart' by me). 

 Is it safe to configure a MySQL database in the new computer and import
 the
 xar file ?

 Harikrishnan
 ___
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13400443
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] Error because of Preferences

2007-10-24 Thread V. Harikrishnan Nair

No. Only I have the access. I even copy-pasted the original cfg file. But the
problem I found was with the database script which I replaced. The wiki is
working but the data is not available. Plus I need this solution for
shifting to a new computer (refer to 'Shifting to a new computer' in this
forum).

 

BOUSQUET Jeremie-2 wrote:
 
 Hi,
 
 There are good chances that you did not lost any data, unless you erased
 your database, but you would have noticed ... ;-)
 
 I had the same problem after migration of wiki kernel version. When
 re-deployed the .war file in my tomcat container, I forgot to add again
 the mysql*.jar library in $TOMCAT_HOME/webapps/xwiki/WEB-INF/lib
 
 Or is there a possibility that your hibernate.cfg.xml file was updated
 by someone else, or by you a long ago, and tomcat was restarted only
 recently, so the problem appears only now ? Most of the time default
 mysql user for xwiki is named xwiki ...
 
 
 Jeremie
 
 
  
 
  
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of V. Harikrishnan Nair
 Sent: mercredi 24 octobre 2007 12:48
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Error because of Preferences
 
 
 I have not changed anything in the hibernate.cfg.xml file. The username
 'sa'
 was present by default and I tried another backup file of the
 hibernate.cfg.xml file but it did not work either...
 
 This is the stack trace - 
 
 
 Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
 PoolableCon
 nectionFactory (User not found: SA)
 at
 org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
 rce.java:855)
 at
 org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
 .java:540)
 at
 com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionPr
 ovider.java:181)
 ... 40 more
 Caused by: java.sql.SQLException: User not found: SA
 at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
 at org.hsqldb.jdbc.jdbcConnection.init(Unknown Source)
 at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
 at org.hsqldb.jdbcDriver.connect(Unknown Source)
 at
 org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
 erConnectionFactory.java:37)
 at
 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
 ConnectionFactory.java:290)
 at
 org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas
 icDataSource.java:877)
 at
 org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
 rce.java:851)
 ... 42 more
 
 16:07:09.484 INFO   [P1-19]
 org.mortbay.util.Container.start(Container.java:74)
08 Started HttpContext[/,/]
 
 
 
 
 Or please give me a method to retrieve all the data I have entered in
 the
 wiki.
 -- 
 View this message in context:
 http://www.nabble.com/Error-because-of-Preferences-tf4682780.html#a13383
 259
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Error-because-of-Preferences-tf4682780.html#a13400474
Sent from the XWiki- Users mailing list archive at Nabble.com.

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