Re: [xwiki-users] Help setting up XWiki in Tomcat container with MySQL on Windows

2010-05-25 Thread James Cuzella
 Sergiu Dumitriu 5/22/2010 3:10 AM 
You must also add the connector jar in WEB-INF/lib:

Attachments are not allowed on the list.

Sergiu Dumitriu
Thanks for pointing this out.  With all the configuration I had to do setting 
this up, it was easy to forget that step ;-)
I'll remember to post errors in the email body next time too.
- James Cuzella

This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.
users mailing list

Re: [xwiki-users] Help setting up XWiki in Tomcat container with MySQL on Windows

2010-05-22 Thread Sergiu Dumitriu
On 05/22/2010 01:44 AM, James Cuzella wrote:

 I am trying to set up XWiki on my company's intranet, and have stumbled into 
 some problems with the configuration steps.  Initially I'm setting things up 
 locally on my Windows XP desktop to test it out and find out what I need to 
 configure to get it running for production.  Hopefully we will be able to 
 install this on a linux server more easily.

 I have followed the directions here:

 I have uncommented the lines in WEB-INF/hibernate.cfg.xml within my XWiki 
 installation relating to MySQL database, and added a database called xwiki 
 with user xw...@localhost in MySQL.

You must also add the connector jar in WEB-INF/lib:

 I added the following permissions for the Java Security Manager to the file 
 C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\catalina.policy

 // *** PERMISSIONS FOR XWiki Enterprise as documented at:
 grant codeBase file:C:/Program Files/Apache Software Foundation/Tomcat 
 6.0/webapps/xwiki-enterprise-web-2.3/WEB-INF/lib/- {
permission java.util.PropertyPermission file.encoding, read;
 // Needed by Hibernate -  antlr
permission java.util.PropertyPermission ANTLR_DO_NOT_EXIT, read;
permission java.util.PropertyPermission ANTLR_USE_DIRECT_CLASS_LOADING, 
 // Needed by Hibernate and others
permission java.lang.reflect.ReflectPermission suppressAccessChecks;
permission java.lang.RuntimePermission createClassLoader;
permission java.lang.RuntimePermission setContextClassLoader;
 // Needed by commons-logging
permission java.util.PropertyPermission 
 org.apache.commons.logging.LogFactory.HashtableImpl, read;
 // Needed for connecting to the database
permission, connect,resolve;
 // Needed by the scheduler plugin -  quartz, but works without (maybe except 
 scheduling? should be checked)
 //  permission java.util.PropertyPermission, read;

 When I point my browser to the install url: 
 http://localhost/xwiki-enterprise-web-2.3, it gives me error messages like:

 description The server encountered an internal error () that prevented it 
 from fulfilling this request.
 exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error 
 number 3 in 0: Could not initialize main XWiki context Wrapped Exception: 
 Error number 3001 in 3: Cannot load class from 
 param Wrapped Exception: Error number 0 
 in 3: Exception while hibernate execute Wrapped Exception: Could not create a 
 DBCP pool. There is an error in the hibernate configuration file, please 
 review it. 

 I have attached the full error message report, as well as my current 
 hibernate.cfg.xml file.

Attachments are not allowed on the list.

Sergiu Dumitriu
users mailing list

Re: [xwiki-users] Help setting up XWiki in Tomcat container with MySQL on Windows

2010-05-21 Thread Asiri Rathnayake

To me it seems like you have an error in your hibernate configuration file.
Can you post it to this list?

Btw I think you can't send attachments to this list, better paste the
content itself.

- Asiri
users mailing list