[xwiki-users] Could not create a DBCP pool
Please help I am trying to move my wiki cluster and sql database to a new co location with diff Ip and I keep getting a Could not create a DBCP pool error when I try to open the wiki, I have made the changes to the hibernate config file to point to the new sql address, What am I missing, nothing else has changed. My machines were VM's so I took snapshots changed IP updated dns and brought them online, sound simple. If anyone can point out where I went wrong I would greatly appreciate it. clinton ________________________________ This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you.
If you could paste the error stack trace, that would be quite helpful. Caleb Clinton Louw wrote:
Please help
I am trying to move my wiki cluster and sql database to a new co location with diff Ip and I keep getting a Could not create a DBCP pool error when I try to open the wiki, I have made the changes to the hibernate config file to point to the new sql address, What am I missing, nothing else has changed. My machines were VM's so I took snapshots changed IP updated dns and brought them online, sound simple. If anyone can point out where I went wrong I would greatly appreciate it.
clinton
________________________________ This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks Caleb, here is the error stack trace - HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message 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 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class 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. org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) root cause 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 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class 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. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs. -------------------------------------------------------------------------------- Apache Tomcat/6.0.26 Clinton Louw | Systems Engineer 2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097 O: 770.325.0457 | F: 770.325.0382 | [email protected] www.InvisionInc.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Caleb James DeLisle Sent: Wednesday, September 15, 2010 2:33 PM To: XWiki Users Subject: Re: [xwiki-users] Could not create a DBCP pool If you could paste the error stack trace, that would be quite helpful. Caleb Clinton Louw wrote:
Please help
I am trying to move my wiki cluster and sql database to a new co location with diff Ip and I keep getting a Could not create a DBCP pool error when I try to open the wiki, I have made the changes to the hibernate config file to point to the new sql address, What am I missing, nothing else has changed. My machines were VM's so I took snapshots changed IP updated dns and brought them online, sound simple. If anyone can point out where I went wrong I would greatly appreciate it.
clinton
________________________________ This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you.
"Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it." This means that it was unable to connect to the database. It might mean there actually in a mistake in the hibernate config file but if you checked over that carefully then it's more likely that it's happening because the database is refusing the supplied username and password. Make suer you can log in to the database with the username and password you have in the hibernate config file. Caleb Thanks Caleb, here is the error stack trace - HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message 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 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class 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. org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) root cause 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 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class 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. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs. -------------------------------------------------------------------------------- Apache Tomcat/6.0.26 Clinton Louw | Systems Engineer 2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097 O: 770.325.0457 | F: 770.325.0382 | [email protected] www.InvisionInc.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Caleb James DeLisle Sent: Wednesday, September 15, 2010 2:33 PM To: XWiki Users Subject: Re: [xwiki-users] Could not create a DBCP pool If you could paste the error stack trace, that would be quite helpful. Caleb Clinton Louw wrote:
Please help
I am trying to move my wiki cluster and sql database to a new co location with diff Ip and I keep getting a Could not create a DBCP pool error when I try to open the wiki, I have made the changes to the hibernate config file to point to the new sql address, What am I missing, nothing else has changed. My machines were VM's so I took snapshots changed IP updated dns and brought them online, sound simple. If anyone can point out where I went wrong I would greatly appreciate it.
clinton
________________________________ This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks Caleb, it was a wiki user password error. Clinton Louw | Systems Engineer 2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097 O: 770.325.0457 | F: 770.325.0382 | [email protected] www.InvisionInc.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Caleb James DeLisle Sent: Tuesday, October 19, 2010 1:02 PM To: XWiki Users Subject: Re: [xwiki-users] Could not create a DBCP pool "Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it." This means that it was unable to connect to the database. It might mean there actually in a mistake in the hibernate config file but if you checked over that carefully then it's more likely that it's happening because the database is refusing the supplied username and password. Make suer you can log in to the database with the username and password you have in the hibernate config file. Caleb Thanks Caleb, here is the error stack trace - HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message 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 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class 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. org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) root cause 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 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class 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. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs. -------------------------------------------------------------------------------- Apache Tomcat/6.0.26 Clinton Louw | Systems Engineer 2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097 O: 770.325.0457 | F: 770.325.0382 | [email protected] www.InvisionInc.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Caleb James DeLisle Sent: Wednesday, September 15, 2010 2:33 PM To: XWiki Users Subject: Re: [xwiki-users] Could not create a DBCP pool If you could paste the error stack trace, that would be quite helpful. Caleb Clinton Louw wrote:
Please help
I am trying to move my wiki cluster and sql database to a new co location with diff Ip and I keep getting a Could not create a DBCP pool error when I try to open the wiki, I have made the changes to the hibernate config file to point to the new sql address, What am I missing, nothing else has changed. My machines were VM's so I took snapshots changed IP updated dns and brought them online, sound simple. If anyone can point out where I went wrong I would greatly appreciate it.
clinton
________________________________ This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you.
participants (2)
-
Caleb James DeLisle -
Clinton Louw