Hi all,
I'm trying to run Magnolia 3.0 under JBoss 4.0.4GA with external (ouside
web-app) repository but I haven't succeeded.
I suppose that Jackrabbit repository is configured correctly (JNDI lookup e.g.
from a simple servlet works fine as well
as logging in into the repository).
I used Magnolia 3.0 RC2 - I only intend to use the authoring web app
(magnoliaAuthor.war). I made required changes
in the configuration and successfully deployed the authoring web app. When
trying to display some content (click on Website
link in main menu), the following exception appears:
info.magnolia.context.SessionStore SessionStore.java(getHierarchyManager:132)
23.08.2006 13:40:26 No ManagedConnections available within configured blocking
timeout ( 30000 [ms] )
javax.jcr.RepositoryException: No ManagedConnections available within
configured blocking timeout ( 30000 [ms] ): No ManagedConnections available
within configured blocking timeout ( 30000 [ms] )
at
org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:111)
at
org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:89)
at
info.magnolia.context.SessionStore.getRepositorySession(SessionStore.java:248)
at info.magnolia.context.SessionStore.getSession(SessionStore.java:100)
at
info.magnolia.context.SessionStore.getHierarchyManager(SessionStore.java:123)
at
info.magnolia.context.WebContextImpl.getHierarchyManager(WebContextImpl.java:106)
at
info.magnolia.context.AbstractContext.getHierarchyManager(AbstractContext.java:141)
at
info.magnolia.context.MgnlContext.getHierarchyManager(MgnlContext.java:111)
at info.magnolia.cms.gui.control.Tree.<init>(Tree.java:146)
at
info.magnolia.module.admininterface.AdminTreeMVCHandler.<init>(AdminTreeMVCHandler.java:140)
at
info.magnolia.module.admininterface.trees.WebsiteTreeHandler.<init>(WebsiteTreeHandler.java:48)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
info.magnolia.module.admininterface.TreeHandlerManager.getTreeHandler(TreeHandlerManager.java:72)
at
info.magnolia.module.admininterface.AdminTreeMVCServlet.getHandler(AdminTreeMVCServlet.java:43)
at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:96)
at info.magnolia.cms.servlets.MVCServlet.doGet(MVCServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
...
Caused by: javax.resource.ResourceException: No ManagedConnections available
within configured blocking timeout ( 30000 [ms] )
at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:266)
at
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
at
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
at
org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:98)
After that, logging in into that repository from that servlet does not work
either. So there is some kind
of problem regarding to session management.
I have also tried to checkout latest sources and build war with maven and
deploy it (there is only one web application).
There are another problems - e.g. the dms module doesnt work well and I'm
unable to rename website's content.
There is also misstyping in the repository configuration
(DMSDialogSaticLinkControl instead of DMSDialogStaticLinkControl).
So I'd like to ask if anyone successfully uses this combination (Magnolia 3.0,
JBoss 4 and shared Jackrabbit repository)?
Thanks in advance, any help is appreciated.
Slavek
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------