Hi, all,
After I used xwiki for a while with POSTGRES database, I got Exception:
Could not create a DBCP pool. There is an error in the hibernate
configuration file, please review it
since it said " Cannot create PoolableConnectionFactory (FATAL: sorry, too
many clients already)", I checked the hibernate.cfg.xml file, I can see the
connection.pool_size property is configured with value 2 by default, I have
some doubts about this value, only 2 connections in the pool? that is not
enough at all, any good reason why the default value is 2? so what is the
recommended value?
Thanks
Dave
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
ERROR com.xpn.xwiki.store.DBCPConnectionProvider - Could not create a DBCP
pool. There is an error in the hibernate configuration file, please review
it.
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (FATAL: sorry, too many clients already)
at
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
~[commons-dbcp-1.3.jar:1.3]
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:196)
~[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
nextek.geo.fileupload.MediaViewServlet.doGet(MediaViewServlet.java:57)
[geoservice-3.3.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
[catalina.jar:7.0.26]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.26]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
[xwiki-platform-webdav-server-3.5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.26]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.26]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
[xwiki-platform-container-servlet-3.5.jar:na]
I am out of the office until 01-05-2012.
Voor dringende zaken kunt u terecht bij ICT-Servicedesk
Note: This is an automated response to your message "users Digest, Vol 57,
Issue 47" sent on 27-4-2012 9:54:52.
This is the only notification you will receive while this person is away.
I am out of the office until 05/11/2012.
I am on holiday without access to Lotus Notes.
Question about the eSupport videos or IM CS wiki? Please contact Kim
Dillon.
Question about KCS for MTS, SWG Support Portal Content, or Netezza content
integration? Please contact Diane Paige.
Otherwise I will get back to you when I return. Thanks and have a good
day! :-)
Note: This is an automated response to your message "users Digest, Vol 57,
Issue 47" sent on 04/27/2012 3:54:52.
This is the only notification you will receive while this person is away.
Hi All,
This mail is regarding Bulletin Board application at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Applica….
I successfully imported the application and worked great. But i want to
configure it not at xwiki space level but under spaces i created manually
like MySpace1,MySpace2 etc because i want to create the bulletrin board for
specific to each space. But looks like nested spaces are not supported as
of now as per http://jira.xwiki.org/browse/XWIKI-354.
So how i can create multiple bulletin boards specific to each space?
*What i tried*
I thought of importing the multiple bulletin board XAR file multiple times
and giving each bulletin board different name. Then i can give rights on a
specific bulletin board application to group/users created for my
space(like MySpace1). But itimporting the multiple bulletin board XAR does
not work as it always import on top of existing one and at the end there is
only one bulletin board application. Thanks in advance.
Hi All,
i have my application deployed as myApp1 on tomcat 6 service. Due to some
requirement, i copied myApp1 and pasted under webapp as myApp2.Now i
restarted tomcat
and hit my url for myApp1. Worked fine . But on hitting the url for app2 ,
i get org.infinispan.jmx.JmxDomainConflictException: Domain already
registered org.infinispan
.Below is the root cause section in exception stack trace
root cause
org.infinispan.jmx.JmxDomainConflictException: Domain already
registered org.infinispan
org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:73)
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:92)
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:86)
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:46)
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:62)
org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:637)
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:319)
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:283)
org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:134)
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:295)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:358)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:324)
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:147)
org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:72)
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:79)
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:61)
com.xpn.xwiki.XWiki.getCacheFactory(XWiki.java:5887)
For the information,I am running the tomcat as service.
Hi,
I've two spaces (let's say, FirstSpace and SecondSpace). FirstSpace
contains a page that has child pages like this:
FirstSpace
+-Parent page
+--Child page 1.
+--Child page 2.
I'd like to move "Parent page" with all children to SecondSpace.
However, when I use the rename function on "Parent page", it will not
move child pages.
Is there any way to do a mass rename (move between spaces) on a set of
pages, or it must be done one-by-one?
Thanks in advance,
Daniel
Hey guys, I have a problem with the JW Player, that you can use for inserting
videos into your pages.
I tried it the first way of the guide, where you have to upload the two
files (player.swf and jwplayer.js)
to the server. I thought it could be the attachment files of the page.
Than i tried to include the video, but it doesn't work.
Can someone explain, how to work with the jw player in xwiki?
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Video-inserting-with-JWPlayer-doesn-t-wor…
Sent from the XWiki- Users mailing list archive at Nabble.com.