Hi.
   The same thing has happened to me too. I had run xwiki without changing
the conf.xml file first. When I changed the database after the very first
call I got the error you mentioned below. My guess is that when you run it
for the first time, it 'sticks' to the database it sees first and refuses to
let go... :)
   I suggest you export a backup xar file (if you have any data) from your
running wiki, then install a new wiki with your database, see if it works
and then import the xar file. Keep the old installation, just in case, if
you want to tinker around with it.
Harikrishnan
Hammonds,John,ST LOUIS,Engineering wrote:
 It sounds like you don't have the mysql database driver in your
 classpath.  This is a separate download from the web.
 ________________________________
 From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
 Of Campbell, Timothy D
 Sent: Friday, October 26, 2007 1:39 PM
 To: XWiki Users
 Subject: Exception while reading document XWiki.XWikiPreferences
 After installing both my servlet container and Mysql database, I am
 still not able to log into xwiki. I edited the necessary files and am
 positive that Tomcat 5.5 is configured correctly. I can get the apache
 page but when I click xwiki home I get the error listed below. One
 strange thing is when I comment the mysql database back, it allows me to
 view the xwiki but when I uncomment like the directions say, it does not
 work. What could be the problem?
 Thanks,
 Tim
 javax.servlet.ServletException: Error number 3 in 0: Could not
 initialize main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document XWiki.XWikiPreferences
 Wrapped Exception: Could not create a DBCP pool
 org.apache.struts.action.RequestProcessor.processException(RequestProces
 sor.java:535)
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
 ocessor.java:433)
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
 236)
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
 ngFilter.java:117)
 root cause
 com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
 main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document XWiki.XWikiPreferences
 Wrapped Exception: Could not create a DBCP pool
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:247)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
 ocessor.java:431)
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
 236)
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
 ngFilter.java:117)
 _______________________________________________
 users mailing list
 users(a)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#a13439777
Sent from the XWiki- Users mailing list archive at 
Nabble.com.