[xwiki-users] upgrading an xwiki 1.2.1 to 1.3.2

2008-05-08 Thread project_trainees
Hi,
I have to upgrade an xwiki installation, I exported the pages from old
version and installed new stand alone version(it is fine) but there is
no import tab in
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences.
Anything wrong with me?

regards,
project trainees.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] upgrading an xwiki 1.2.1 to 1.3.2

2008-05-08 Thread Jerome Velociter
Hi,

 Hi,
 I have to upgrade an xwiki installation, I exported the pages from old
 version and installed new stand alone version(it is fine) but there is
 no import tab in
 http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences.
 Anything wrong with me?

Are you using a bundled skin (albatross or toucan) ?
Are you logged in as admin ?

Jerome.

 regards,
 project trainees.
 ___
 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] upgrading an xwiki 1.2.1 to 1.3.2

2008-05-08 Thread project_trainees
 Hi,

 Hi,
 I have to upgrade an xwiki installation, I exported the pages from
 old
 version and installed new stand alone version(it is fine) but there is
 no import tab in
 http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences.
 Anything wrong with me?

 Are you using a bundled skin (albatross or toucan) ?
 Are you logged in as admin ?

 Jerome.

 regards,
 project trainees.
 ___
Hi Jerome,
   I am using bundled skin and I logged in as admin.

regards,
 project trainees.


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


Re: [xwiki-users] Active Directory

2008-05-08 Thread Mihails Agafonovs
Again, the same error from LDAP:

LDAPMessage compareResponse(7) noSuchAttribute (2080: AtrErr:
DSID-03080139, #1:
 0: 2080: DSID-03080139, problem 1001 (NO_ATTRIBUTE_OR_VAL), data
0, Att 23 (userPassword)
)

 Quoting Thomas Mortagne : 2008/5/7 Mihails Agafonovs
lt;[EMAIL PROTECTED]gt;:
 gt; Hi!
 gt;
 gt;  I've been trying to setup LDAP connection on XWiki 1.3.2.
Using
 gt;  Wireshark, I've discovered, that LDAP performs unbindRequest()
after
 gt;  the following error:
 gt;
 gt;  LDAPMessage compareResponse(3) noSuchAttribute (2080:
AtrErr:
 gt;  DSID-03080139, #1:
 gt;   0: 2080: DSID-03080139, problem 1001
(NO_ATTRIBUTE_OR_VAL), data
 gt;  0, Att 23 (userPassword)
 gt;  )
 gt;  Here is the configuration:
 gt;
 gt;  --
 gt;  xwiki.authentication.ldap=1
 gt;  xwiki.authentication.ldap.server=my.domain.com
 gt;  xwiki.authentication.ldap.port=389
 gt;  xwiki.authentication.ldap.bind_DN={0}
 gt;  xwiki.authentication.ldap.bind_pass={1}
 gt;  # xwiki.authentication.ldap.validate_password=0
 gt; 
xwiki.authentication.ldap.user_group=ou=Riga,ou=LAT,dc=domain,dc=com
 gt;  xwiki.authentication.ldap.base_DN=dc=domain,dc=com
 gt;  xwiki.authentication.ldap.UID_attr=cn
 gt; 
xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
 gt;  # xwiki.authentication.ldap.update_user=1
 gt; 
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=ou=Riga,ou=LAT,dc=GDNEurope,dc=com|
 gt;
 gt;  XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
 gt;  # xwiki.authentication.ldap.groupcache_expiration=21800
 gt;  # xwiki.authentication.ldap.mode_group_sync=always
 gt;  xwiki.authentication.ldap.trylocal=1
 I don't know AD very well but,according to
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication,
 should't be:
 xwiki.authentication.ldap.bind_DN=subdomain\{0}
 xwiki.authentication.ldap.UID_attr=sAMAccountName

xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
 ?
 gt;  --
 gt;
 gt;  Any ideas?
 gt;
 gt;  P.S. If I use in the login form [EMAIL PROTECTED] or
 gt;  domainname.surname as a username, I can login, but without any
 gt;  rights.
 gt;
 gt;   Ar cie#326;u, Mihails
 gt;  ___
 gt;  users mailing list
 gt;  users@xwiki.org
 gt;  http://lists.xwiki.org/mailman/listinfo/users
 gt;
 -- 
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Active Directory

2008-05-08 Thread Thomas Mortagne
Could be you paste the whole error log ?

2008/5/8 Mihails Agafonovs [EMAIL PROTECTED]:
 Again, the same error from LDAP:

  LDAPMessage compareResponse(7) noSuchAttribute (2080: AtrErr:

 DSID-03080139, #1:
   0: 2080: DSID-03080139, problem 1001 (NO_ATTRIBUTE_OR_VAL), data
  0, Att 23 (userPassword)
  )

   Quoting Thomas Mortagne : 2008/5/7 Mihails Agafonovs
  lt;[EMAIL PROTECTED]gt;:
   gt; Hi!
   gt;
   gt;  I've been trying to setup LDAP connection on XWiki 1.3.2.
  Using
   gt;  Wireshark, I've discovered, that LDAP performs unbindRequest()
  after
   gt;  the following error:
   gt;
   gt;  LDAPMessage compareResponse(3) noSuchAttribute (2080:
  AtrErr:
   gt;  DSID-03080139, #1:
   gt;   0: 2080: DSID-03080139, problem 1001

 (NO_ATTRIBUTE_OR_VAL), data
   gt;  0, Att 23 (userPassword)
   gt;  )
   gt;  Here is the configuration:
   gt;
   gt;  --
   gt;  xwiki.authentication.ldap=1
   gt;  xwiki.authentication.ldap.server=my.domain.com
   gt;  xwiki.authentication.ldap.port=389
   gt;  xwiki.authentication.ldap.bind_DN={0}
   gt;  xwiki.authentication.ldap.bind_pass={1}
   gt;  # xwiki.authentication.ldap.validate_password=0
   gt;

 xwiki.authentication.ldap.user_group=ou=Riga,ou=LAT,dc=domain,dc=com
   gt;  xwiki.authentication.ldap.base_DN=dc=domain,dc=com
   gt;  xwiki.authentication.ldap.UID_attr=cn
   gt;

 xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
   gt;  # xwiki.authentication.ldap.update_user=1
   gt;

 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=ou=Riga,ou=LAT,dc=GDNEurope,dc=com|
   gt;
   gt;  XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
   gt;  # xwiki.authentication.ldap.groupcache_expiration=21800
   gt;  # xwiki.authentication.ldap.mode_group_sync=always
   gt;  xwiki.authentication.ldap.trylocal=1

  I don't know AD very well but,according to
   http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication,
   should't be:
   xwiki.authentication.ldap.bind_DN=subdomain\{0}
   xwiki.authentication.ldap.UID_attr=sAMAccountName

  
 xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
   ?
   gt;  --
   gt;
   gt;  Any ideas?
   gt;
   gt;  P.S. If I use in the login form [EMAIL PROTECTED] or
   gt;  domainname.surname as a username, I can login, but without any
   gt;  rights.
   gt;
   gt;   Ar cie#326;u, Mihails
   gt;  ___
   gt;  users mailing list
   gt;  users@xwiki.org
   gt;  http://lists.xwiki.org/mailman/listinfo/users
   gt;
   --
   Thomas Mortagne

  ___
   users mailing list
   users@xwiki.org
   http://lists.xwiki.org/mailman/listinfo/users
   Ar cieņu, Mihails

  Links:
  --
  [1] mailto:[EMAIL PROTECTED]


 ___
  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


Re: [xwiki-users] Active Directory

2008-05-08 Thread Thomas Mortagne
Try to uncomment xwiki.authentication.ldap.validate_password=0
You should not have 5 as this is used to force login/pass validation
when you don't connect to LDAP with provided user/pass (bind_DN and
bind_pass set to an existing ldap user/pass)

Another thing, in your example you seem to test with a user name
containing a ., the LDAP authenticator does not support it yet, see
http://jira.xwiki.org/jira/browse/XWIKI-2264

2008/5/8 Mihails Agafonovs [EMAIL PROTECTED]:
 Here's a pice from xwiki.log:
  ---
  java.lang.NullPointerException
   at
  com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:209)
   at java.lang.Thread.run(Thread.java:619)
  2008-05-07 14:11:31,078 [index updating thread] [Thread-20] ERROR
  lucene.IndexUpdater - Writer not open and closeWriter
  called
  2008-05-07 14:15:49,735 [http://192.168.220.128/xwiki/bin/view/Main]
  [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No storage
  migration required since current version is [7351]
  2008-05-07 14:17:37,228
  [http://192.168.220.128/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
  [TP-Processor3] ERROR LDAP.LDAPAuthServiceImpl- LDAP Bind
  failed with Exception Invalid Credentials
  2008-05-07 14:20:29,787 [http://192.168.220.128/xwiki/bin/view/Main]
  [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No storage
  migration required since current version is [7351]
  2008-05-07 14:25:32,020 [index updating thread] [Thread-20] ERROR
  lucene.IndexUpdater - IOException when opening Lucene
  Index for writing at
  /var/lib/tomcat5/webapps/xwiki/WEB-INF/work/lucene
  
 -

  And from Wireshark it's the same I pasted in a previous mail. I can
  add the function sequence watched via Wireshark:
  1) bindRequest() with domainname.surname
  2) bindresponse() - success
  3) searchRequest() with dc=domain, dc=com,
  sAMAccountName=name.surname
  4) searchResEntry() - returns my full correct dn
  5) compareRequest() with my full dn and userPassword=mypass
  6) LDAP error about no such attribute userPassword
  7) unbindRequest()

   Quoting Thomas Mortagne : Could be you paste the whole error log ?
   2008/5/8 Mihails Agafonovs :


   Again, the same error from LDAP:
   
 LDAPMessage compareResponse(7) noSuchAttribute (2080: AtrErr:
   
DSID-03080139, #1:
  0: 2080: DSID-03080139, problem 1001 (NO_ATTRIBUTE_OR_VAL),
  data
 0, Att 23 (userPassword)
 )
   
  Quoting Thomas Mortagne : 2008/5/7 Mihails Agafonovs
 lt;[EMAIL PROTECTED]gt;:
  gt; Hi!
  gt;
  gt;  I've been trying to setup LDAP connection on XWiki 1.3.2.
 Using
  gt;  Wireshark, I've discovered, that LDAP performs
  unbindRequest()
 after
  gt;  the following error:
  gt;
  gt;  LDAPMessage compareResponse(3) noSuchAttribute (2080:
 AtrErr:
  gt;  DSID-03080139, #1:
  gt;   0: 2080: DSID-03080139, problem 1001
   
(NO_ATTRIBUTE_OR_VAL), data
  gt;  0, Att 23 (userPassword)
  gt;  )
  gt;  Here is the configuration:
  gt;
  gt;  --
  gt;  xwiki.authentication.ldap=1
  gt;  xwiki.authentication.ldap.server=my.domain.com
  gt;  xwiki.authentication.ldap.port=389
  gt;  xwiki.authentication.ldap.bind_DN={0}
  gt;  xwiki.authentication.ldap.bind_pass={1}
  gt;  # xwiki.authentication.ldap.validate_password=0
  gt;
   
   
  xwiki.authentication.ldap.user_group=ou=Riga,ou=LAT,dc=domain,dc=com
  gt;  xwiki.authentication.ldap.base_DN=dc=domain,dc=com
  gt;  xwiki.authentication.ldap.UID_attr=cn
  gt;
   
   
  
 xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
  gt;  # xwiki.authentication.ldap.update_user=1
  gt;
   
   
  
 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=ou=Riga,ou=LAT,dc=GDNEurope,dc=com|
  gt;
  gt;  XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
  gt;  # xwiki.authentication.ldap.groupcache_expiration=21800
  gt;  # xwiki.authentication.ldap.mode_group_sync=always
  gt;  xwiki.authentication.ldap.trylocal=1
   
 I don't know AD very well but,according to
   
  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication,
  should't be:
  xwiki.authentication.ldap.bind_DN=subdomain{0}
  xwiki.authentication.ldap.UID_attr=sAMAccountName
   
   
  
 xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
  ?
  gt;  --
  gt;
  gt;  Any ideas?
  gt;
  gt;  P.S. If I use in the login form [EMAIL PROTECTED] or
  gt;  domainname.surname as a username, I can login, but without
  any
  gt;  rights.
  

Re: [xwiki-users] Active Directory

2008-05-08 Thread Mihails Agafonovs
Uncommenting xwiki.authentication.ldap.validate_password=0 did
nothing.

About ..

In version 1.1.2, there was no problem connecting to AD using CN
attribute (name surname), and user was automatically created in
XWikiAllGroup. So this is strange that in the newer version that
doesn't work.

Also, nothing changed in our AD. I still can login in XWiki 1.1.2 and
LDAP browser, for example, in both cases using my CN.
 Quoting Thomas Mortagne : Try to uncomment
xwiki.authentication.ldap.validate_password=0
 You should not have 5 as this is used to force login/pass validation
 when you don't connect to LDAP with provided user/pass (bind_DN and
 bind_pass set to an existing ldap user/pass)
 Another thing, in your example you seem to test with a user name
 containing a ., the LDAP authenticator does not support it yet,
see
 http://jira.xwiki.org/jira/browse/XWIKI-2264
 2008/5/8 Mihails Agafonovs :
  Here's a pice from xwiki.log:
   ---
   java.lang.NullPointerException
at
  
com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:209)
at java.lang.Thread.run(Thread.java:619)
   2008-05-07 14:11:31,078 [index updating thread] [Thread-20] ERROR
   lucene.IndexUpdater - Writer not open and closeWriter
   called
   2008-05-07 14:15:49,735
[http://192.168.220.128/xwiki/bin/view/Main]
   [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No
storage
   migration required since current version is [7351]
   2008-05-07 14:17:37,228
   [http://192.168.220.128/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
   [TP-Processor3] ERROR LDAP.LDAPAuthServiceImpl- LDAP Bind
   failed with Exception Invalid Credentials
   2008-05-07 14:20:29,787
[http://192.168.220.128/xwiki/bin/view/Main]
   [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No
storage
   migration required since current version is [7351]
   2008-05-07 14:25:32,020 [index updating thread] [Thread-20] ERROR
   lucene.IndexUpdater - IOException when opening Lucene
   Index for writing at
   /var/lib/tomcat5/webapps/xwiki/WEB-INF/work/lucene
  
-
 
   And from Wireshark it's the same I pasted in a previous mail. I
can
   add the function sequence watched via Wireshark:
   1) bindRequest() with domainname.surname
   2) bindresponse() - success
   3) searchRequest() with dc=domain, dc=com,
   sAMAccountName=name.surname
   4) searchResEntry() - returns my full correct dn
   5) compareRequest() with my full dn and userPassword=mypass
   6) LDAP error about no such attribute userPassword
   7) unbindRequest()
 
Quoting Thomas Mortagne : Could be you paste the whole error log
?
2008/5/8 Mihails Agafonovs :
 
 
Again, the same error from LDAP:

  LDAPMessage compareResponse(7) noSuchAttribute (2080:
AtrErr:

 DSID-03080139, #1:
   0: 2080: DSID-03080139, problem 1001
(NO_ATTRIBUTE_OR_VAL),
   data
  0, Att 23 (userPassword)
  )

   Quoting Thomas Mortagne : 2008/5/7 Mihails Agafonovs
  lt;[EMAIL PROTECTED]gt;:
   gt; Hi!
   gt;
   gt;  I've been trying to setup LDAP connection on XWiki
1.3.2.
  Using
   gt;  Wireshark, I've discovered, that LDAP performs
   unbindRequest()
  after
   gt;  the following error:
   gt;
   gt;  LDAPMessage compareResponse(3) noSuchAttribute
(2080:
  AtrErr:
   gt;  DSID-03080139, #1:
   gt;   0: 2080: DSID-03080139, problem 1001

 (NO_ATTRIBUTE_OR_VAL), data
   gt;  0, Att 23 (userPassword)
   gt;  )
   gt;  Here is the configuration:
   gt;
   gt;  --
   gt;  xwiki.authentication.ldap=1
   gt;  xwiki.authentication.ldap.server=my.domain.com
   gt;  xwiki.authentication.ldap.port=389
   gt;  xwiki.authentication.ldap.bind_DN={0}
   gt;  xwiki.authentication.ldap.bind_pass={1}
   gt;  # xwiki.authentication.ldap.validate_password=0
   gt;


  
xwiki.authentication.ldap.user_group=ou=Riga,ou=LAT,dc=domain,dc=com
   gt;  xwiki.authentication.ldap.base_DN=dc=domain,dc=com
   gt;  xwiki.authentication.ldap.UID_attr=cn
   gt;


  
xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
   gt;  # xwiki.authentication.ldap.update_user=1
   gt;


  
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=ou=Riga,ou=LAT,dc=GDNEurope,dc=com|
   gt;
   gt; 
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
   gt;  #
xwiki.authentication.ldap.groupcache_expiration=21800
   gt;  # xwiki.authentication.ldap.mode_group_sync=always
   gt;  xwiki.authentication.ldap.trylocal=1

  I don't know AD very well but,according to

  
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication,
   should't be:
   

[xwiki-users] Import Tab

2008-05-08 Thread project_trainees
hi,
   In XE 1.3.2 where is the Import tab, can any one tell?

Regards,
project trainees.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Active Directory

2008-05-08 Thread Thomas Mortagne
Which LDAP authenticator (xwiki.authentication.ldap.authclass) do you
use ? If it's com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl or if
you did not configured xwiki.authentication.ldap.authclass forgot
pretty much all I said as I spoke about the new (since 1.3) LDAP
authenticator 
(xwiki.authentication.ldap.authclass=com.xpn.xwiki.ldap.authentication.XWikiLDAPAuthServiceImpl)...

2008/5/8 Mihails Agafonovs [EMAIL PROTECTED]:
 Uncommenting xwiki.authentication.ldap.validate_password=0 did
  nothing.

  About ..

  In version 1.1.2, there was no problem connecting to AD using CN
  attribute (name surname), and user was automatically created in
  XWikiAllGroup. So this is strange that in the newer version that
  doesn't work.

  Also, nothing changed in our AD. I still can login in XWiki 1.1.2 and
  LDAP browser, for example, in both cases using my CN.
   Quoting Thomas Mortagne : Try to uncomment

 xwiki.authentication.ldap.validate_password=0
   You should not have 5 as this is used to force login/pass validation
   when you don't connect to LDAP with provided user/pass (bind_DN and
   bind_pass set to an existing ldap user/pass)
   Another thing, in your example you seem to test with a user name
   containing a ., the LDAP authenticator does not support it yet,
  see
   http://jira.xwiki.org/jira/browse/XWIKI-2264
   2008/5/8 Mihails Agafonovs :


   Here's a pice from xwiki.log:
 ---
 java.lang.NullPointerException
  at
   
  com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:209)
  at java.lang.Thread.run(Thread.java:619)
 2008-05-07 14:11:31,078 [index updating thread] [Thread-20] ERROR
 lucene.IndexUpdater - Writer not open and closeWriter
 called
 2008-05-07 14:15:49,735
  [http://192.168.220.128/xwiki/bin/view/Main]
 [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No
  storage
 migration required since current version is [7351]
 2008-05-07 14:17:37,228
 [http://192.168.220.128/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [TP-Processor3] ERROR LDAP.LDAPAuthServiceImpl- LDAP Bind
 failed with Exception Invalid Credentials
 2008-05-07 14:20:29,787
  [http://192.168.220.128/xwiki/bin/view/Main]
 [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No
  storage
 migration required since current version is [7351]
 2008-05-07 14:25:32,020 [index updating thread] [Thread-20] ERROR
 lucene.IndexUpdater - IOException when opening Lucene
 Index for writing at
 /var/lib/tomcat5/webapps/xwiki/WEB-INF/work/lucene
   
  
 -
   
 And from Wireshark it's the same I pasted in a previous mail. I
  can
 add the function sequence watched via Wireshark:
 1) bindRequest() with domainname.surname
 2) bindresponse() - success
 3) searchRequest() with dc=domain, dc=com,
 sAMAccountName=name.surname
 4) searchResEntry() - returns my full correct dn
 5) compareRequest() with my full dn and userPassword=mypass
 6) LDAP error about no such attribute userPassword
 7) unbindRequest()
   
  Quoting Thomas Mortagne : Could be you paste the whole error log
  ?
  2008/5/8 Mihails Agafonovs :
   
   
  Again, the same error from LDAP:
  
LDAPMessage compareResponse(7) noSuchAttribute (2080:
  AtrErr:
  
   DSID-03080139, #1:
 0: 2080: DSID-03080139, problem 1001
  (NO_ATTRIBUTE_OR_VAL),
 data
0, Att 23 (userPassword)
)
  
 Quoting Thomas Mortagne : 2008/5/7 Mihails Agafonovs
lt;[EMAIL PROTECTED]gt;:
 gt; Hi!
 gt;
 gt;  I've been trying to setup LDAP connection on XWiki
  1.3.2.
Using
 gt;  Wireshark, I've discovered, that LDAP performs
 unbindRequest()
after
 gt;  the following error:
 gt;
 gt;  LDAPMessage compareResponse(3) noSuchAttribute
  (2080:
AtrErr:
 gt;  DSID-03080139, #1:
 gt;   0: 2080: DSID-03080139, problem 1001
  
   (NO_ATTRIBUTE_OR_VAL), data
 gt;  0, Att 23 (userPassword)
 gt;  )
 gt;  Here is the configuration:
 gt;
 gt;  --
 gt;  xwiki.authentication.ldap=1
 gt;  xwiki.authentication.ldap.server=my.domain.com
 gt;  xwiki.authentication.ldap.port=389
 gt;  xwiki.authentication.ldap.bind_DN={0}
 gt;  xwiki.authentication.ldap.bind_pass={1}
 gt;  # xwiki.authentication.ldap.validate_password=0
 gt;
  
  
   
  xwiki.authentication.ldap.user_group=ou=Riga,ou=LAT,dc=domain,dc=com
 gt;  xwiki.authentication.ldap.base_DN=dc=domain,dc=com
 gt;  xwiki.authentication.ldap.UID_attr=cn
 gt;
  
  
   
  
 

Re: [xwiki-users] Import Tab

2008-05-08 Thread Thomas Mortagne
Hi,

Is your problem sounds like http://jira.xwiki.org/jira/browse/XSTOUCAN-18 ?

On Thu, May 8, 2008 at 1:27 PM,  [EMAIL PROTECTED] wrote:
 hi,
In XE 1.3.2 where is the Import tab, can any one tell?

  Regards,
  project trainees.
  ___
  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


Re: [xwiki-users] Import Tab

2008-05-08 Thread MSilverboard
If your screen size is 1024 x 768 or smaller, the tab doesn't show up on 
your screen.  Try enlarging your browser or viewing it from a bigger 
monitor.

Message: 3
Date: Thu, 8 May 2008 04:27:42 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [xwiki-users] Import Tab
To: users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1

hi,
   In XE 1.3.2 where is the Import tab, can any one tell?

Regards,
project trainees.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] link to attachment

2008-05-08 Thread Vincent Massol
See http://code.xwiki.org/xwiki/bin/view/Macros/AttachMacro

-Vincent

On May 7, 2008, at 3:31 PM, Sergiu Dumitriu wrote:

 hel-o wrote:
 Hi,

 just a question, is it possible to link to an attachment of another  
 page.

 Thanks
 Helmut

 Using html links:

 a
 href 
 = 
 $ 
 xwiki 
 .getDocument 
 ('Space.AnotherDocument').getAttachmentURL('filename.png')this
 is the file/a

 Using the attach macro:

 {attach:this is the file|filename.png|document=Space.AnotherDocument}

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


Re: [xwiki-users] Import Tab

2008-05-08 Thread project_trainees
 If your screen size is 1024 x 768 or smaller, the tab doesn't show up on
 your screen.  Try enlarging your browser or viewing it from a bigger
 monitor.

Message: 3
Date: Thu, 8 May 2008 04:27:42 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [xwiki-users] Import Tab
To: users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1

hi,
   In XE 1.3.2 where is the Import tab, can any one tell?

Regards,
project trainees.
 ___

Now its working
Thank You.

Regards,
project trainees.


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


Re: [xwiki-users] Active Directory

2008-05-08 Thread Mihails Agafonovs
Solved one problem - now I'm IN XWikiAllGroup. 
 Quoting Mihails Agafonovs : You were right - I was using the old
authenticator. Thanks!
 Now I can log in, but I'm not created in any group. Also, if I
enable
 extended search (when only users of the specified AD group will be
 verified), the LDAP throws error. 
 Quoting Thomas Mortagne : Which LDAP authenticator
 (xwiki.authentication.ldap.authclass) do you
 use ? If it's com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl or if
 you did not configured xwiki.authentication.ldap.authclass forgot
 pretty much all I said as I spoke about the new (since 1.3) LDAP
 authenticator

(xwiki.authentication.ldap.authclass=com.xpn.xwiki.ldap.authentication.XWikiLDAPAuthServiceImpl)...
 2008/5/8 Mihails Agafonovs lt;[EMAIL PROTECTED]gt;:
 gt; Uncommenting xwiki.authentication.ldap.validate_password=0 did
 gt;  nothing.
 gt;
 gt;  About quot;.quot;.
 gt;
 gt;  In version 1.1.2, there was no problem connecting to AD using
 CN
 gt;  attribute (name surname), and user was automatically created
 in
 gt;  XWikiAllGroup. So this is strange that in the newer version
 that
 gt;  doesn't work.
 gt;
 gt;  Also, nothing changed in our AD. I still can login in XWiki
 1.1.2 and
 gt;  LDAP browser, for example, in both cases using my CN.
 gt;   Quoting Thomas Mortagne : Try to uncomment
 gt;
 gt; xwiki.authentication.ldap.validate_password=0
 gt;   You should not have 5 as this is used to force login/pass
 validation
 gt;   when you don't connect to LDAP with provided user/pass
 (bind_DN and
 gt;   bind_pass set to an existing ldap user/pass)
 gt;   Another thing, in your example you seem to test with a user
 name
 gt;   containing a quot;.quot;, the LDAP authenticator does not
 support it yet,
 gt;  see
 gt;   http://jira.xwiki.org/jira/browse/XWIKI-2264
 gt;   2008/5/8 Mihails Agafonovs :
 gt;
 gt;
 gt;  gt; Here's a pice from xwiki.log:
 gt;   gt;  ---
 gt;   gt;  java.lang.NullPointerException
 gt;   gt;   at
 gt;   gt;
 gt; 
 com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:209)
 gt;   gt;   at java.lang.Thread.run(Thread.java:619)
 gt;   gt;  2008-05-07 14:11:31,078 [index updating thread]
 [Thread-20] ERROR
 gt;   gt;  lucene.IndexUpdater - Writer not open and
 closeWriter
 gt;   gt;  called
 gt;   gt;  2008-05-07 14:15:49,735
 gt;  [http://192.168.220.128/xwiki/bin/view/Main]
 gt;   gt;  [TP-Processor3] INFO  .AbstractXWikiMigrationManager  -
 No
 gt;  storage
 gt;   gt;  migration required since current version is [7351]
 gt;   gt;  2008-05-07 14:17:37,228
 gt;   gt; 
 [http://192.168.220.128/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 gt;   gt;  [TP-Processor3] ERROR LDAP.LDAPAuthServiceImpl-
 LDAP Bind
 gt;   gt;  failed with Exception Invalid Credentials
 gt;   gt;  2008-05-07 14:20:29,787
 gt;  [http://192.168.220.128/xwiki/bin/view/Main]
 gt;   gt;  [TP-Processor3] INFO  .AbstractXWikiMigrationManager  -
 No
 gt;  storage
 gt;   gt;  migration required since current version is [7351]
 gt;   gt;  2008-05-07 14:25:32,020 [index updating thread]
 [Thread-20] ERROR
 gt;   gt;  lucene.IndexUpdater - IOException when
 opening Lucene
 gt;   gt;  Index for writing at
 gt;   gt;  /var/lib/tomcat5/webapps/xwiki/WEB-INF/work/lucene
 gt;   gt;
 gt; 

-
 gt;   gt;
 gt;   gt;  And from Wireshark it's the same I pasted in a previous
 mail. I
 gt;  can
 gt;   gt;  add the function sequence watched via Wireshark:
 gt;   gt;  1) bindRequest() with domainname.surname
 gt;   gt;  2) bindresponse() - success
 gt;   gt;  3) searchRequest() with dc=domain, dc=com,
 gt;   gt;  sAMAccountName=name.surname
 gt;   gt;  4) searchResEntry() - returns my full correct dn
 gt;   gt;  5) compareRequest() with my full dn and
 userPassword=mypass
 gt;   gt;  6) LDAP error about no such attribute userPassword
 gt;   gt;  7) unbindRequest()
 gt;   gt;
 gt;   gt;   Quoting Thomas Mortagne : Could be you paste the whole
 error log
 gt;  ?
 gt;   gt;   2008/5/8 Mihails Agafonovs :
 gt;   gt;
 gt;   gt;
 gt;   gt;  gt; Again, the same error from LDAP:
 gt;   gt;   gt;
 gt;   gt;   gt;  LDAPMessage compareResponse(7) noSuchAttribute
 (2080:
 gt;  AtrErr:
 gt;   gt;   gt;
 gt;   gt;   gt; DSID-03080139, #1:
 gt;   gt;   gt;   0: 2080: DSID-03080139, problem 1001
 gt;  (NO_ATTRIBUTE_OR_VAL),
 gt;   gt;  data
 gt;   gt;   gt;  0, Att 23 (userPassword)
 gt;   gt;   gt;  )
 gt;   gt;   gt;
 gt;   gt;   gt;   Quoting Thomas Mortagne : 2008/5/7 Mihails
 Agafonovs
 gt;   gt;   gt;  amp;lt;[EMAIL PROTECTED]amp;gt;:
 gt;   gt;   gt;   amp;gt; Hi!
 gt;   gt;   gt;   amp;gt;
 gt;   gt;   gt;   amp;gt;  I've been trying to setup LDAP
 connection on XWiki
 gt;  1.3.2.
 gt;   gt;   gt;  Using
 gt;   gt;   gt;   amp;gt;  Wireshark, I've discovered, that LDAP
 performs
 gt;   gt;  unbindRequest()
 gt;   gt;   gt;  after
 gt;   gt;   gt;   amp;gt;  the 

Re: [xwiki-users] Drag and drop from PanelWizard

2008-05-08 Thread Kamna Jain
Hi Ricardo,
I got it back by adding Panels.QuickLinks in the Skin Preferences
(modifiable by admins)
I am using 1.3.2.9174
Dont know why it disappeared though, when I added the Panels.RecentlyVisited
below it.

Thanks


On 5/7/08, Kamna Jain [EMAIL PROTECTED] wrote:

 Hello,
 I dropped the Recently viewed Panels from the PanelWizard to my xwiki,
 just below the Quicklinks Panel.
 And now, I don't see the Quicklinks panel. It disappeared. How do I can
 restore it and Why did this happen?

 Thanks for all help.
 Thanks

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


[xwiki-users] xwiki no run on jetty-jonas 5.0.1

2008-05-08 Thread luisarce
Hi all,
Does Anybody know how can run xwiki on jetty jonas?
any trick?
best regards,
Luis Arce


-
Conéctate con Chile.com.
http://www.chile.com/accesogratis/


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


Re: [xwiki-users] Drag and drop from PanelWizard

2008-05-08 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Thanks, Kamma,

Kamna Jain wrote:
 Hi Ricardo,
 I got it back by adding Panels.QuickLinks in the Skin Preferences
 (modifiable by admins)
 I am using 1.3.2.9174
 Dont know why it disappeared though, when I added the Panels.RecentlyVisited
 below it.

 Thanks

I will try to update my box in the following few days and see if I am 
able to reproduce the behavior you describe.

Thanks!

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] [ANN] XWiki Community Farm is now online

2008-05-08 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Vicent,

Vincent Massol wrote:
 So nobody is interested in helping out?

 Thanks
 -Vincent
   

I would not want that this initiative fails! Even though I have almost 
no free time during these last weeks, let me know if I could be of any 
help! My username: rrodriguez.

Cheers,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] panels don't appear

2008-05-08 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Done! As you said: div was implied. The use of #panelheader() and 
#footer() is a bit tricky.

Thanks for your help,

Ricardo

[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
 Thanks, Sergiu.

 Sergiu Dumitriu wrote:
   
 Probably the page has some missing or extra closing tags (I'd bet on 
 some /divs). Validate the content with http://validator.w3.org/ , it 
 will tell you what's wrong.
   
 

 Tones of errors! Well, at least 31 :-)

 http://tinyurl.com/3kpzht

 I will check them at keep this thread posted.

 Cheers,

 Ricardo

   


-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] [myxwiki] new wiki request

2008-05-08 Thread wangwh

 
 I ignore the message and went to Administration page, the XAR file is there, 
however, click on the file name does not do anything, and no next step 
suggested...
 -- Original message from [EMAIL PROTECTED]: --


 
  OK,  XWiki  moving  in progress, I got the XAR file and  did the import to 
 the 
 new site, then I got
 
 
  Wrong user name
 and 
 
Error number 3232 in 3: Exception while saving attachment Backup.xar of 
 document XWiki.Import
 Wrapped Exception: Could not execute JDBC batch update
 com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving 
 attachment Backup.xar of document XWiki.Import
 Wrapped Exception: Could not execute JDBC batch update
   at 
 com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHib
 ernateAttachmentStore.java:107)
   at 
 com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2576)
   at 
 com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2559)
   at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:129)
   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:204)
   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(ApplicationFilt
 erChain.java:290)
   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(ApplicationFilt
 erChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
 java:206)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
 33)
   at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
 75)
   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:286)
   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:69
 0)
   at java.lang.Thread.run(Thread.java:619)
 
 
 Wrapped Exception:
 
 java.sql.BatchUpdateException: Data truncation: Data too long for column 
 'XWA_ARCHIVE' at row 1
   at 
 com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:166
 6)
   at 
 com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1082)
   at 
 org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.jav
 a:294)
   at 
 org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.jav
 a:294)
   at 
 org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
   at 
 org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
   at 
 org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
   at 
 org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
   at 
 org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:22
 2)
   at 
 org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPers
 ister.java:2224)
   at 
 org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPers
 ister.java:2660)
   at 
 org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)
   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
   at 
 org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(Abstract
 FlushingEventListener.java:298)
   at 
 

Re: [xwiki-users] [myxwiki] new wiki request

2008-05-08 Thread wangwh

 Help!

I think I fell in trap 101, I moved the MySkin file and make the new site a 
mess. 
How do I roll back? How to keep the new skin? 
Roll back everything then move again?  Or, copy and paste files one by one?

Wei-hsing


  -- Original message from [EMAIL PROTECTED]: --


 
  
  OK. I get it. I have to be patient. It does bring in files after a while... 
  -- Original message from [EMAIL PROTECTED]: --
 
 
  
  I ignore the message and went to Administration page, the XAR file is there, 
 however, click on the file name does not do anything, and no next step 
 suggested...
  -- Original message from [EMAIL PROTECTED]: --
 
 
  
   OK,  XWiki  moving  in progress, I got the XAR file and  did the import to 
 the 
  new site, then I got
  
  
   Wrong user name
  and 
  
 Error number 3232 in 3: Exception while saving attachment Backup.xar of 
  document XWiki.Import
  Wrapped Exception: Could not execute JDBC batch update
  com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while 
  saving 
  attachment Backup.xar of document XWiki.Import
  Wrapped Exception: Could not execute JDBC batch update
  at 
  
 com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHib
  ernateAttachmentStore.java:107)
  at 
  com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2576)
  at 
  com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2559)
  at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:129)
  at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:204)
  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(ApplicationFilt
  erChain.java:290)
  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(ApplicationFilt
  erChain.java:235)
  at 
  
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
  java:206)
  at 
  
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
  33)
  at 
  
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
  75)
  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:286)
  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:69
  0)
  at java.lang.Thread.run(Thread.java:619)
  
  
  Wrapped Exception:
  
  java.sql.BatchUpdateException: Data truncation: Data too long for column 
  'XWA_ARCHIVE' at row 1
  at 
  
 com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:166
  6)
  at 
  com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1082)
  at 
  
 org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.jav
  a:294)
  at 
  
 org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.jav
  a:294)
  at 
  org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
  at 
  org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
  at 
  org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
  at 
  org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
  at 
  
 org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:22
  2)
  at 
  
 org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPers
  ister.java:2224)
  at 
  
 

[xwiki-users] problem importing XAR, 1.4 rc2

2008-05-08 Thread Dave Mangot
I just upgraded from 1.1 to 1.4 RC2.  The upgrade went pretty smoothly 
but I overwrote our Quicklinks bar so I was trying to get it from my 
backup.  I uploaded the XAR but when I tried to open it I get

2008-05-08 17:34:01,056 
[http://wiki/xwiki/bin/import/XWiki/Import?action=getPackageInfosname=may08.xarxpage=plain]
 
[TP-Processor12] WARN  web.XWikiAction - Uncaught 
exception: Error number 11015 in 11: Exception while importing
Wrapped Exception: Unexpected end of ZLIB input stream
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while 
importing
Wrapped Exception: Unexpected end of ZLIB input stream
 at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:205)
 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:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
 at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
 at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
 at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
 at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)


Wrapped Exception:


java.io.EOFException: Unexpected end of ZLIB input stream
 at 
java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
 at 
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
 at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
 at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
 at 
java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
 at 
com.xpn.xwiki.plugin.packaging.Package.ReadZipInfoFile(Package.java:755)
 at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:373)
 at 
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:202)
 at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:205)
 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:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at