Re: [xwiki-users] Installation problem

2011-06-24 Thread Sergiu Dumitriu
On 05/29/2011 04:18 AM, Neil Streeter wrote:
 On 05/27/2011 03:38 PM, Caleb James DeLisle wrote:
 Good report, thanks.

 We define sql_mode to work around a hibernate bug:
 http://jira.xwiki.org/jira/browse/XWIKI-1945
 http://opensource.atlassian.com/projects/hibernate/browse/HHH-468

 It appears that our workaround has exposed us to a new mysql connector bug:
 http://bugs.mysql.com/bug.php?id=61201

   From the connector bug report it says that 5.1.14 and 5.1.15 are 
 unaffected so you could downgrade your connector version.

 Caleb

 Hi Caleb,

 I started to suspect the params in the hibernate config - and on Friday
 afternoon I changed the jdbc URL to read simply:

 property name=connection.urljdbc:mysql://localhost/testxwiki/property

 Everything SEEMS to be working fine at this point - I'm not sure if I'll run 
 in to any problems down the road by not specifying unicode or UTF-8 but it's 
 just in test at the moment. I'll let the list know if I see anything.

 The general 'fix' for the 5.1.16 connector seems to be just simplify the 
 connect URL.

 I'd be interested in knowing if anyone suspects future issues with what I've 
 done.

I've fixed this for the upcoming 3.2 release, see
http://jira.xwiki.org/jira/browse/XE-966 and
http://jira.xwiki.org/jira/browse/XE-967

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Installation problem

2011-05-28 Thread Neil Streeter
On 05/27/2011 03:38 PM, Caleb James DeLisle wrote:
 Good report, thanks.

 We define sql_mode to work around a hibernate bug:
 http://jira.xwiki.org/jira/browse/XWIKI-1945
 http://opensource.atlassian.com/projects/hibernate/browse/HHH-468

 It appears that our workaround has exposed us to a new mysql connector bug:
 http://bugs.mysql.com/bug.php?id=61201

  From the connector bug report it says that 5.1.14 and 5.1.15 are unaffected 
 so you could downgrade your connector version.

 Caleb

Hi Caleb,

I started to suspect the params in the hibernate config - and on Friday 
afternoon I changed the jdbc URL to read simply:

property name=connection.urljdbc:mysql://localhost/testxwiki/property

Everything SEEMS to be working fine at this point - I'm not sure if I'll run in 
to any problems down the road by not specifying unicode or UTF-8 but it's just 
in test at the moment. I'll let the list know if I see anything.

The general 'fix' for the 5.1.16 connector seems to be just simplify the 
connect URL.

I'd be interested in knowing if anyone suspects future issues with what I've 
done.

Cheers!
Neil






 On 05/26/2011 10:14 AM, Neil Streeter wrote:
 Hi all,

 I need help with installation...

 I'm trying to get xwiki running on:
 RHEL 6  x64...
 JDK 6 latest...
 Mysql 5.1.52...
 Tomcat 7.0.14

 I've followed the admin guide as near as possible... The deviations I've
 made are..

 created my db as 'testxwiki' instead of just xwiki...
 modified xwiki.db=testxwiki (this was just a stab in the dark - not sure
 I need to change this)
 made appropriate modifications to the jdbc url in hibernate.cfg.xml...

 I've varified that I can connect to the database using:
 mysql -uxwiki -psome_password testxwiki

 and show tables returns the empty set...  xwiki / hibernate is supposed
 to create the initial schema on startup right (less indexes)?

 A more complete catalina.out snip is below but essentially I'm getting...

 FATAL store.DBCPConnectionProvider- Could not create a DBCP pool.
 There is an error in the hibernate configuration file, please review it.

 Unfortunately I have been through this file many many times... and I
 just don't see anything wrong with it...

 I also get some interesting results when I stop tomcat after attempting
 to browse the xwiki site...

 SEVERE: The web application [/xwiki] registered the JDBC driver
 [com.mysql.jdbc.Driver] but failed to unregister it when the web
 application was stopped. To prevent a memory leak, the JDBC Driver has
 been forcibly unregistered.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
 clearReferencesThreads
 SEVERE: The web application [/xwiki] appears to have started a thread
 named [EvictionTimer-0] but has failed to stop it. This is very likely
 to create a memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
 clearReferencesThreads
 SEVERE: The web application [/xwiki] appears to have started a thread
 named [EvictionTimer-1] but has failed to stop it. This is very likely
 to create a memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
 checkThreadLocalMapForLeaks
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.ThreadLocalMap] (value
 [org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
 [java.util.Hashtable] (value [{}]) but failed to remove it when the web
 application was stopped. Threads are going to be renewed over time to
 try and avoid a probable memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
 checkThreadLocalMapForLeaks
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.ThreadLocalMap] (value
 [org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
 [java.util.Hashtable] (value
 [{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to
 remove it when the web application was stopped. Threads are going to be
 renewed over time to try and avoid a probable memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
 checkThreadLocalMapForLeaks
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of
 type [org.apache.log4j.helpers.ThreadLocalMap] (value
 [org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
 [java.util.Hashtable] (value
 [{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to
 remove it when the web application was stopped. Threads are going to be
 renewed over time to try and avoid a probable memory leak.




 Here's the gory details of everything I did (as well as I can remember)...

 

 Installed the 64bit jdk from oracle..

 java -version
 java version 1.6.0_25
 Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
 Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

 

 Downloaded tomcat and installed it...
 tar -zxvf apache-tomcat-7.0.14.tar.gz

 Modified the server.xml 

Re: [xwiki-users] Installation problem

2011-05-27 Thread Caleb James DeLisle
Good report, thanks.

We define sql_mode to work around a hibernate bug:
http://jira.xwiki.org/jira/browse/XWIKI-1945
http://opensource.atlassian.com/projects/hibernate/browse/HHH-468

It appears that our workaround has exposed us to a new mysql connector bug:
http://bugs.mysql.com/bug.php?id=61201

From the connector bug report it says that 5.1.14 and 5.1.15 are unaffected so 
you could downgrade your connector version.

Caleb


On 05/26/2011 10:14 AM, Neil Streeter wrote:
 Hi all,
 
 I need help with installation...
 
 I'm trying to get xwiki running on:
 RHEL 6  x64...
 JDK 6 latest...
 Mysql 5.1.52...
 Tomcat 7.0.14
 
 I've followed the admin guide as near as possible... The deviations I've 
 made are..
 
 created my db as 'testxwiki' instead of just xwiki...
 modified xwiki.db=testxwiki (this was just a stab in the dark - not sure 
 I need to change this)
 made appropriate modifications to the jdbc url in hibernate.cfg.xml...
 
 I've varified that I can connect to the database using:
 mysql -uxwiki -psome_password testxwiki
 
 and show tables returns the empty set...  xwiki / hibernate is supposed 
 to create the initial schema on startup right (less indexes)?
 
 A more complete catalina.out snip is below but essentially I'm getting...
 
 FATAL store.DBCPConnectionProvider- Could not create a DBCP pool. 
 There is an error in the hibernate configuration file, please review it.
 
 Unfortunately I have been through this file many many times... and I 
 just don't see anything wrong with it...
 
 I also get some interesting results when I stop tomcat after attempting 
 to browse the xwiki site...
 
 SEVERE: The web application [/xwiki] registered the JDBC driver 
 [com.mysql.jdbc.Driver] but failed to unregister it when the web 
 application was stopped. To prevent a memory leak, the JDBC Driver has 
 been forcibly unregistered.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader 
 clearReferencesThreads
 SEVERE: The web application [/xwiki] appears to have started a thread 
 named [EvictionTimer-0] but has failed to stop it. This is very likely 
 to create a memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader 
 clearReferencesThreads
 SEVERE: The web application [/xwiki] appears to have started a thread 
 named [EvictionTimer-1] but has failed to stop it. This is very likely 
 to create a memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader 
 checkThreadLocalMapForLeaks
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of 
 type [org.apache.log4j.helpers.ThreadLocalMap] (value 
 [org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type 
 [java.util.Hashtable] (value [{}]) but failed to remove it when the web 
 application was stopped. Threads are going to be renewed over time to 
 try and avoid a probable memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader 
 checkThreadLocalMapForLeaks
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of 
 type [org.apache.log4j.helpers.ThreadLocalMap] (value 
 [org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type 
 [java.util.Hashtable] (value 
 [{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to 
 remove it when the web application was stopped. Threads are going to be 
 renewed over time to try and avoid a probable memory leak.
 May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader 
 checkThreadLocalMapForLeaks
 SEVERE: The web application [/xwiki] created a ThreadLocal with key of 
 type [org.apache.log4j.helpers.ThreadLocalMap] (value 
 [org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type 
 [java.util.Hashtable] (value 
 [{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to 
 remove it when the web application was stopped. Threads are going to be 
 renewed over time to try and avoid a probable memory leak.
 
 
 
 
 Here's the gory details of everything I did (as well as I can remember)...
 
 
 
 Installed the 64bit jdk from oracle..
 
 java -version
 java version 1.6.0_25
 Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
 Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
 
 
 
 Downloaded tomcat and installed it...
 tar -zxvf apache-tomcat-7.0.14.tar.gz
 
 Modified the server.xml file and added:
   deployOnStartup=true to the Host node
 
 Modified catalina.sh and added:
 JAVA_HOME=/usr/local/jdk160_25
 JAVA_OPTS=-Xmx512m -XX:MaxPermSize=128m
 
 Removed examples, host-manager, and manager from 'webapps'... I prefer 
 not to leave them...
 
 
 
 Started tomcat - at that point I could get to the ROOT application and 
 browse the tomcat docs...
 
 
 
 Installed mysql from RPM packages... Configured a few parameters in 
 my.cnf...
 
 default-storage-engine=INNODB
 innodb_file_per_table
 
 skip-external-locking
 max_connections=200
 read_buffer_size=1M
 sort_buffer_size=1M
 
 

Re: [xwiki-users] installation problem (xwiki-enterprise-web-1.5-milestone-2.war)

2008-07-10 Thread rmx

Yeah! 1.5-RC1 works!!
-- 
View this message in context: 
http://www.nabble.com/installation-problem-%28xwiki-enterprise-web-1.5-milestone-2.war%29-tp18315016p18382948.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] installation problem (xwiki-enterprise-web-1.5-milestone-2.war)

2008-07-07 Thread Jean-Vincent Drean
Hello,

You should be able to click on administration without being logged-in,
the import interface is supposed to show up after that.

On Mon, Jul 7, 2008 at 2:49 PM, rmx [EMAIL PROTECTED] wrote:

 Hello

 I've installed xwiki-enterprise-web-1.5-milestone-2.war into my container
 (linux, jdk 1.6, Tomcat 6).
 It created some tables in my database (Oracle 10g). Now it runs but shows
 The requested document could not be found. for any page except:
 for page https://10.0.0.7:/xwiki/bin/loginsubmit/XWiki/XWikiLogin
 it shows login page and shows info if I enter wrong login/password but after
 login as superadmin shows The requested document could not be found.
 again.
 For page https://10.0.0.7:/xwiki/bin/admin/XWiki/XWikiPreferences it
 shows error You are not allowed to view this document or perform this
 action.

 How do I get import interface to import .xar file?

 I searched for solutions but found only one unreplied message
 http://www.nabble.com/Newbie%3A-install-and-import-.xar-file-tp14798520p14798520.html
 --
 View this message in context: 
 http://www.nabble.com/installation-problem-%28xwiki-enterprise-web-1.5-milestone-2.war%29-tp18315016p18315016.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




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


Re: [xwiki-users] installation problem (xwiki-enterprise-web-1.5-milestone-2.war)

2008-07-07 Thread rmx

I can't click on administration
All that I see after setting xwiki up (and clicking
https://10.0.0.7:/xwiki , https://10.0.0.7:/ - is my Tomcat server)
is:

Notice

The requested document could not be found.
Creator: on 2008/07/04 18:49
1.5-milestone-2.10763


or src code:





  Notice
  
The requested document could not be found.










  


  



  
Creator:  on 2008/07/04 18:49

  


1.5-milestone-2.10763










I have only this message in catalina.out:

[ERROR] Left side ($showLeftPanels) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
/templates/leftpanels.vm [line 1, column 23]





Jean-Vincent Drean-2 wrote:
 
 Hello,
 
 You should be able to click on administration without being logged-in,
 the import interface is supposed to show up after that.
 
 

-- 
View this message in context: 
http://www.nabble.com/installation-problem-%28xwiki-enterprise-web-1.5-milestone-2.war%29-tp18315016p18317112.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] installation problem (xwiki-enterprise-web-1.5-milestone-2.war)

2008-07-07 Thread Sergiu Dumitriu
rmx wrote:
 I can't click on administration
 All that I see after setting xwiki up (and clicking
 https://10.0.0.7:/xwiki , https://10.0.0.7:/ - is my Tomcat server)
 is:
 
 Notice
 
 The requested document could not be found.
 Creator: on 2008/07/04 18:49
 1.5-milestone-2.10763
 

The administration page *should* work. You can open this directly:

https://10.0.0.7:/xwiki/bin/admin/XWiki/XWikiPreferences

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] installation problem (xwiki-enterprise-web-1.5-milestone-2.war)

2008-07-07 Thread rmx


If you'd see my the first message you see what a message I get trying this
link.
I tried to login as superadmin thru this URL: 
https://10.0.0.7:/xwiki/bin/loginsubmit/XWiki/XWikiLogin and then tried
to get import tool thru
https://10.0.0.7:/xwiki/bin/admin/XWiki/XWikiPreferences in the same
session.

I have no idea where to look at.
xwiki.log says nothing except: 

2008-07-08 08:48:40,857
[https://10.0.0.7:/xwiki/bin/admin/XWiki/XWikiPreferences] [http--1]
INFO  .AbstractXWikiMigrationManager  - No storage migration required since
current version is [7351]


catalina.out says about 1 error:

[ERROR] Left side ($showLeftPanels) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
/templates/leftpanels.vm [line 1, column 23]


This error points to 1 value.
Is something wrong with my Tomcat? Doesnot my version of Tomcat work with
velocity shipping in xwiki package? 


Sergiu Dumitriu-2 wrote:
 
 The administration page *should* work. You can open this directly:
 
 https://10.0.0.7:/xwiki/bin/admin/XWiki/XWikiPreferences
 
 
 

-- 
View this message in context: 
http://www.nabble.com/installation-problem-%28xwiki-enterprise-web-1.5-milestone-2.war%29-tp18315016p18331921.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] Installation Problem

2008-04-29 Thread Artem Melentyev
Hi.

I tested ibm-jdk 1.6 and got the same results.
Look at bug http://www-1.ibm.com/support/docview.wss?uid=swg1IY89574
As a workaround you may remove WEB-INF/lib/xercesImpl-2.0.2.jar
After removing xerces, XE works on ibm jdk fine.

Artem Melentyev wrote:
 I had the same problems with IBM JDK 1.5 at PPC64 machine ~year ago.
 SUN JDK works fine.
 
 I'll test xwiki on ibm jdk.
 
 Jason Nikolai wrote:
 Hello all -

 I tried to deploy XWiki with the
 xwiki-enterprise-installer-generic-1.3.2.jar  file using java -java
 xwiki-enterprise-installer-generic-1.3.2.jar.  The install appeared to work
 fine.  However, when I click Start Wiki Enterprise, or run the .sh script,
 the following exceptions appear in the shell window.  I'm running on SLES10
 SP1 Linux with IBM Java.  Thanks in advance for any help.
 ...

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