We are getting this error message intermittently and are at a loss as to
what we can do to fix it.
Environment:
Slide 2
JBoss 3.0.3, 3.0.5
Windows 2000
Oracle 8i, 9i
We have created a stateless session bean (LibraryManager) to perform all
Slide operations in our Web-based application. On occasion, while multiple
requests are occurring at the same time, we see a stacktrace such as:
ERROR STDERR 2003-01-29 13:46:52,546
org.apache.slide.common.ServiceAccessException: Service
slidestore.j2ee.J2EEDescriptorsStore@426ede access error : Connection handle
is not currently associated with a ManagedConnection
ERROR STDERR 2003-01-29 13:46:53,218 at
slidestore.j2ee.J2EEDescriptorsStore.retrieveObject(J2EEDescriptorsStore.jav
a:284)
ERROR STDERR 2003-01-29 13:46:53,218 at
org.apache.slide.store.StandardStore.retrieveObject(StandardStore.java:171)
ERROR STDERR 2003-01-29 13:46:53,218 at
org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:185)
ERROR STDERR 2003-01-29 13:46:53,218 at
org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:170)
ERROR STDERR 2003-01-29 13:46:53,218 at
com.biperf.ils.library.ejb.session.LibraryManagerBean.findByPropertyAndValue
(LibraryManagerBean.java:311)
ERROR STDERR 2003-01-29 13:46:53,218 at
com.biperf.ils.library.ejb.session.LibraryManagerBean.findByParentNode(Libra
ryManagerBean.java:214)
ERROR STDERR 2003-01-29 13:46:53,218 at
com.biperf.ils.library.ejb.session.LibraryManagerBean.findByParent(LibraryMa
nagerBean.java:467)
ERROR STDERR 2003-01-29 13:46:53,218 at
java.lang.reflect.Method.invoke(Native Method)
ERROR STDERR 2003-01-29 13:46:53,218 at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:660)
ERROR STDERR 2003-01-29 13:46:53,218 at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
edConnectionInterceptor.java:186)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:77)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:107)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:232)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
0)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:313)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.Container.invoke(Container.java:712)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77
)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInter
ceptor.java:111)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
ERROR STDERR 2003-01-29 13:46:53,249 at
$Proxy25.findByParent(Unknown Source)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.jsp.lm$jsp._jspService(lm$jsp.java:131)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
ERROR STDERR 2003-01-29 13:46:53,249 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
ERROR STDERR 2003-01-29 13:46:53,249 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:284)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.HttpContext.handle(HttpContext.java:1674)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:544)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.HttpContext.handle(HttpContext.java:1624)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.HttpServer.service(HttpServer.java:875)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.jetty.Jetty.service(Jetty.java:541)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.HttpConnection.service(HttpConnection.java:785)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:935)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:802)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:200)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:294)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
ERROR STDERR 2003-01-29 13:46:53,249 at
java.lang.Thread.run(Thread.java:479)
ERROR STDERR 2003-01-29 13:46:53,249
org.apache.slide.common.ServiceAccessException: Service
slidestore.j2ee.J2EEDescriptorsStore@426ede access error : Connection handle
is not currently associated with a ManagedConnection
ERROR STDERR 2003-01-29 13:46:53,249 at
slidestore.j2ee.J2EEDescriptorsStore.retrieveObject(J2EEDescriptorsStore.jav
a:284)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.slide.store.StandardStore.retrieveObject(StandardStore.java:171)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:185)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:170)
ERROR STDERR 2003-01-29 13:46:53,249 at
com.biperf.ils.library.ejb.session.LibraryManagerBean.findByPropertyAndValue
(LibraryManagerBean.java:311)
ERROR STDERR 2003-01-29 13:46:53,249 at
com.biperf.ils.library.ejb.session.LibraryManagerBean.findByParentNode(Libra
ryManagerBean.java:214)
ERROR STDERR 2003-01-29 13:46:53,249 at
com.biperf.ils.library.ejb.session.LibraryManagerBean.findByParent(LibraryMa
nagerBean.java:467)
ERROR STDERR 2003-01-29 13:46:53,249 at
java.lang.reflect.Method.invoke(Native Method)
ERROR STDERR 2003-01-29 13:46:53,249 at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:660)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
edConnectionInterceptor.java:186)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:77)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:107)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:232)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
0)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:313)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.ejb.Container.invoke(Container.java:712)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77
)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInter
ceptor.java:111)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
ERROR STDERR 2003-01-29 13:46:53,265 at
$Proxy25.findByParent(Unknown Source)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.apache.jsp.lm$jsp._jspService(lm$jsp.java:131)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
ERROR STDERR 2003-01-29 13:46:53,265 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
ERROR STDERR 2003-01-29 13:46:53,265 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:284)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.HttpContext.handle(HttpContext.java:1674)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:544)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.HttpContext.handle(HttpContext.java:1624)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.HttpServer.service(HttpServer.java:875)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.jboss.jetty.Jetty.service(Jetty.java:541)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.HttpConnection.service(HttpConnection.java:785)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:935)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:802)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:200)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:294)
ERROR STDERR 2003-01-29 13:46:53,265 at
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
ERROR STDERR 2003-01-29 13:46:53,265 at
java.lang.Thread.run(Thread.java:479)
The interesting part is that it occurs in different places within
J2EEDescriptorsStore, sometimes in the middle of a method where
PreparedStatements have been previously created, executed, and closed and
the database connection has worked fine. For example, we have seen it
happen on line 1182 (in the middle of retrieveRevisionDescriptor()), line
194 (beginning of retrieveObject()), and elsewhere within
J2EEDescriptorsStore.
We tried switching to JDBCDescriptorsStore and were unable to reproduce this
error but the performance was much worse, so unless we can make it run
faster, that is probably not a viable option.
We are calling beginTransaction() on our NamespaceAccessToken before every
Slide retrieve, create, remove, etc., and then commitTransaction() for
success and rollbackTransaction() for failure. In spite of that, we still
see intermittent messages in the console such as:
13:42:38,395 INFO [STDOUT] 29 Jan 2003 13:42:38 -
org.apache.slide.transaction.SlideTransactionManager - WARNING - Rollback
Transaction 15 xid SocketListener-10-1043869358379-15- in thread
SocketListener-10
13:42:38,426 INFO [STDOUT] 29 Jan 2003 13:42:38 -
org.apache.slide.transaction.SlideTransactionManager - WARNING - Rollback
Transaction 16 xid SocketListener-10-1043869358411-16- in thread
SocketListener-10
13:42:38,520 INFO [STDOUT] 29 Jan 2003 13:42:38 -
org.apache.slide.transaction.SlideTransactionManager - WARNING - Rollback
Transaction 17 xid SocketListener-0-1043869358504-17- in thread
SocketListener-0
13:42:38,536 INFO [STDOUT] 29 Jan 2003 13:42:38 -
org.apache.slide.transaction.SlideTransactionManager - WARNING - Rollback
Transaction 18 xid SocketListener-0-1043869358520-18- in thread
SocketListener-0
...which may be related to this error.
Here is our Domain.xml:
<?xml version="1.0"?>
<slide logger="org.apache.slide.util.logger.SimpleLogger" logger-level="4"
default="slide">
<namespace name="slide">
<definition>
<store name="j2ee">
<nodestore
classname="slidestore.j2ee.J2EEDescriptorsStore">
<parameter
name="datasource">jdbc/IlsMainDS</parameter>
</nodestore>
<securitystore>
<reference store="nodestore"/>
</securitystore>
<lockstore>
<reference store="nodestore"/>
</lockstore>
<revisiondescriptorsstore>
<reference store="nodestore"/>
</revisiondescriptorsstore>
<revisiondescriptorstore>
<reference store="nodestore"/>
</revisiondescriptorstore>
<contentstore
classname="slidestore.reference.FileContentStore">
<parameter
name="rootpath">U:\SHARED\ELSHub\slideroot</parameter>
<parameter name="version">false</parameter>
<parameter
name="resetBeforeStarting">false</parameter>
</contentstore>
</store>
<scope match="/" store="j2ee"/>
</definition>
<configuration>
<!-- Actions mapping -->
<default-action>/actions</default-action>
<read-object>/actions/read</read-object>
<create-object>/actions/write</create-object>
<remove-object>/actions/write</remove-object>
<grant-permission>/actions/manage</grant-permission>
<revoke-permission>/actions/manage</revoke-permission>
<read-permissions>/actions/manage</read-permissions>
<lock-object>/actions/write</lock-object>
<kill-lock>/actions/manage</kill-lock>
<read-locks>/actions/read</read-locks>
<read-revision-metadata>/actions/read</read-revision-metadata>
<create-revision-metadata>/actions/write</create-revision-metadata>
<modify-revision-metadata>/actions/write</modify-revision-metadata>
<remove-revision-metadata>/actions/write</remove-revision-metadata>
<read-revision-content>/actions/read</read-revision-content>
<create-revision-content>/actions/write</create-revision-content>
<modify-revision-content>/actions/write</modify-revision-content>
<remove-revision-content>/actions/write</remove-revision-content>
<!-- Paths configuration -->
<userspath>/users</userspath>
<guestpath>guest</guestpath>
<filespath>/files</filespath>
<parameter name="dav">true</parameter>
<parameter name="standalone">true</parameter>
<!-- Roles definition -->
<role name="root">slideroles.basic.RootRole</role>
<role name="user">slideroles.basic.UserRole</role>
<role name="guest">slideroles.basic.GuestRole</role>
<!-- Users management -->
<auto-create-users>true</auto-create-users>
<!-- Default properties mapping -->
<default-property
namespace="http://jakarta.apache.org/slide/" name="password" value=""
role="user"/>
</configuration>
<data>
<objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/">
<!-- Subject can be:
self "~"
all "nobody"
user "/users/john"
group "+/users/groupA"
role "root"
-->
<!-- Uncomment the following line to give
all permissions to
principals have the root role
-->
<!-- <permission action="/actions"
subject="root"/> -->
<permission action="/actions"
subject="/users/root"/>
<permission action="/actions/read"
subject="/users" inheritable="false"/>
<permission action="/actions/read"
subject="nobody" inheritable="false"/>
<!-- /users -->
<objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/users">
<permission action="/actions"
subject="~"/>
<permission action="/actions"
subject="/users/guest" inheritable="true" negative="true"/>
<permission action="/actions/read"
subject="/users" inheritable="false"/>
<!-- Permission group example -->
<objectnode
classname="org.apache.slide.structure.GroupNode" uri="/users/groupA">
<objectnode
classname="org.apache.slide.structure.LinkNode" uri="/users/groupA/john"
linkedUri="/users/john"/>
<objectnode
classname="org.apache.slide.structure.LinkNode" uri="/users/groupA/root"
linkedUri="/users/root"/>
<objectnode
classname="org.apache.slide.structure.SubjectNode"
uri="/users/groupA/singleGroupMember"/>
</objectnode>
<!-- /users/root represents the
administrator -->
<objectnode
classname="slideroles.basic.RootRoleImpl" uri="/users/root">
<revision>
<property
namespace="http://jakarta.apache.org/slide/" name="password">root</property>
</revision>
</objectnode>
<!-- /users/john represents an
authenticated user -->
<objectnode
classname="slideroles.basic.UserRoleImpl" uri="/users/john">
<revision>
<property
namespace="http://jakarta.apache.org/slide/" name="password">john</property>
</revision>
</objectnode>
<!-- /users/guest represents an
authenticated or
unauthenticated guest user -->
<objectnode
classname="slideroles.basic.GuestRoleImpl" uri="/users/guest">
<revision>
<property
namespace="http://jakarta.apache.org/slide/" name="password"/>
</revision>
</objectnode>
</objectnode>
<objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions">
<objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/read"/>
<objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/write"/>
<objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/manage"/>
</objectnode>
<objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/files">
<!-- ### Give read/write/manage
permission to guest ###
Uncomment the following line to
give permission to do all
actions on /files to guest
(unauthenticated users) -->
<!--
<permission action="/actions"
subject="/users/guest"/>
-->
<permission action="/actions/manage"
subject="/users/john"/>
<permission action="/actions/write"
subject="+/users/groupA"/>
<permission action="/actions/read"
subject="nobody"/>
</objectnode>
<!-- DeltaV: default history and workspace
paths -->
<objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/history"/>
<objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/workspace"/>
<objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/workingresource"/>
</objectnode>
</data>
</namespace>
<!--
DeltaV global parameters
========================
* historypath (mandatory=no, default="/history"):
Specifies a Slide path which determines the location where this DeltaV
server stores history data.
* workspacepath (mandatory=no, default="/workspace"):
Specifies a Slide path which determines the location where this DeltaV
server allows workspaces to reside.
* workingresourcepath (mandatory=no, default="/workingresource"):
Specifies a Slide path which determines the location where this DeltaV
server stores working resources.
* auto-version (mandatory=no, default="checkout-checkin"):
Controls the DeltaV auto-version behaviour.
* auto-version-control (mandatory=no, default="false"):
Indicates if a resource just created by a PUT should be set under
version-control.
* versioncontrol-exclude (mandatory=no, default=""):
Specifies a Slide path which determines resources which are excluded from
version-control.
The default value "" makes no path being excluded.
* checkout-fork (mandatory=no, default="forbidden"):
Controls the DeltaV check-out behaviour when a version is already
checked-out or has a successor.
* checkin-fork (mandatory=no, default="forbidden"):
Controls the DeltaV check-out behaviour when a version has already a
successor.
* standardLivePropertiesClass (mandatory=no,
default="org.apache.slide.webdav.util.resourcekind.AbstractResourceKind"):
Determines the "agent" knowing about what the standard live properties
are.
It should be a loadable class containing the following static methods:
- boolean isLiveProperty(String propName)
- boolean isProtectedProperty(String propName)
- boolean isComputedProperty(String propName)
- Set getAllLiveProperties()
- Set getAllProtectedProperties()
- Set getAllComputedProperties()
* uriRedirectorClass (mandatory=no,
default="org.apache.slide.webdav.util.DeltavUriRedirector"):
Determines the URI redirector class. The DeltaV URI redirector is in
charge of the following redirections:
- version URI to history URI, e.g. /history/2/1.4 to /history/2
- latest revision number for history resource to 0.0
- latest revision number for version resource to last URI token,
e.g. /history/2/1.4 to 1.4
It should be a loadable class containing the following static methods:
- String redirectUri(String uri)
- NodeRevisionNumber redirectLatestRevisionNumber(String uri)
-->
<parameter name="historypath">/history</parameter>
<parameter name="workspacepath">/workspace</parameter>
<parameter name="workingresourcepath">/workingresource</parameter>
<parameter name="auto-version">checkout-checkin</parameter>
<parameter name="auto-version-control">false</parameter>
<parameter name="versioncontrol-exclude"></parameter>
<parameter name="checkout-fork">forbidden</parameter>
<parameter name="checkin-fork">forbidden</parameter>
</slide>
Here is our ejb-jar.xml:
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<display-name>LibraryManager</display-name>
<enterprise-beans>
<session>
<ejb-name>LibraryManagerEJB</ejb-name>
<home>com.biperf.ils.library.ejb.session.LibraryManagerHome</home>
<remote>com.biperf.ils.library.ejb.session.LibraryManager</remote>
<local-home>com.biperf.ils.library.ejb.session.LocalLibraryManagerHome</loca
l-home>
<local>com.biperf.ils.library.ejb.session.LocalLibraryManager</local>
<ejb-class>com.biperf.ils.library.ejb.session.LibraryManagerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<description>The default Ils DS</description>
<res-ref-name>jdbc/IlsMainDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<description>Transaction attributes for 'LibraryManagerEJB'
methods</description>
<method>
<ejb-name>LibraryManagerEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
We have also tried different values for 'trans-attribute' without success...
I appreciate any insight and/or suggestion about where to attack this
problem.
Best,
Randall M.
BI Performance
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]