There are a number of issues to address in this. For more info read this and related thread http://www.mail-archive.com/[email protected]/msg22843.html
I did the following to get it working with 4.0.4b1 1) You need the ots.jar (it is in the tyrex download http://tyrex.exolab.org) 2) Due to a security implementation issue with Tyrex you need to grant security permissions for tyrex to run or change the security implementation of tyrex (see http://www.mail-archive.com/[email protected]/msg23037.html) 3) the messages.properties file is missing from the Tyrex jar. In the end I downloaded tyrex and applied the changes from Brad's patch for security, included the propoerties file and built my own tyrex. Also since it is a XA connection you get you will need to modify Slide J2EE implementation to remove the statement.close() (read this http://www.mail-archive.com/[email protected]/msg02734.html) Rgds CB > -----Original Message----- > From: Didier Berguerand [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 12:55 PM > To: Slide-User (E-mail) > Subject: J2EE stores HOWTO > > > Hi all, > > I'm using a nightly build of Slide. > I'm trying to configure the J2EE store following the > J2EE Stores Howto and get this problems: > > 1) org.apache.slide.common.Domain - ERROR - > java.lang.NoClassDefFoundError: org/omg/CosTransactions/Inactive > change: add ots.jar to %CATALINA_HOME%/common/lib > > 2) [Tyrex] Failed to locate messages resource > tyrex.util.resources.messages > change: add messages.properties to the tyrex jar file > > 3) 25 Mar 2002 17:25:26 - slidestore.j2ee.J2EEContentStore - INFO - > Loading and registering datasource jdbc/mtx > 25 Mar 2002 17:25:26 - org.apache.slide.common.Namespace - INFO - > Loading namespace slide parameters > 25 Mar 2002 17:25:26 - org.apache.slide.common.Namespace - INFO - > Loading namespace slide base data > 25 Mar 2002 17:25:30 - org.apache.slide.common.Namespace - ERROR - > Unable to read Namespace base configuration file : > 25 Mar 2002 17:25:30 - org.apache.slide.common.Namespace - ERROR - > java.security.AccessControlException: access denied > (tyrex.tm.TyrexPermission manager) > java.security.AccessControlException: access denied > (tyrex.tm.TyrexPermission manager) > at > java.security.AccessControlContext.checkPermission(AccessControlCont > ext.java:272) > at > java.security.AccessController.checkPermission(AccessController.java > :399) > at tyrex.tm.Tyrex.getTransactionManager(Tyrex.java:89) > at tyrex.tm.ResourceManager.run(ResourceManager.java:118) > at java.security.AccessController.doPrivileged(Native Method) > at > tyrex.tm.ResourceManager.enlistResource(ResourceManager.java:91) > at > tyrex.jdbc.EnlistedConnection.enlist(EnlistedConnection.java:241) > at > tyrex.jdbc.EnlistedConnection.<init>(EnlistedConnection.java:129) > at > tyrex.jdbc.ServerDataSource.getConnection(ServerDataSource.java:258) > at > tyrex.jdbc.ServerDataSource.getConnection(ServerDataSource.java:223) > at slidestore.j2ee.J2EEStore.connect(J2EEStore.java:147) > at org.apache.slide.common.AbstractServiceBase.connect(Abstract > ServiceBase.java:157) > at > org.apache.slide.store.AbstractStore.connect(AbstractStore.java:237) > at > org.apache.slide.common.AbstractServiceBase.connectIfNeeded(Abstract > ServiceBase.java:229) > at > org.apache.slide.common.Namespace.connectService(Namespace.java:518) > at > org.apache.slide.common.Namespace.retrieveStore(Namespace.java:617) > at org.apache.slide.common.Uri.parseUri(Uri.java:370) > at org.apache.slide.common.Uri.<init>(Uri.java:106) > at org.apache.slide.common.Namespace.getUri(Namespace.java:665) > at org.apache.slide.common.Namespace.getUri(Namespace.java:645) > at org.apache.slide.common.Namespace.getUri(Namespace.java:633) > at > org.apache.slide.common.Namespace.loadBaseData(Namespace.java:771) > at org.apache.slide.common.Domain.initNamespace(Domain.java:795) > at org.apache.slide.common.Domain.init(Domain.java:448) > at org.apache.slide.common.Domain.init(Domain.java:398) > at org.apache.slide.common.Domain.init(Domain.java:361) > at > org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:447) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at > org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:369) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper > .java:918) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper. > java:810) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte > xt.java:3274) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java: > 3403) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase. > java:785) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454) > at > org.apache.catalina.core.StandardHost.install(StandardHost.java:714) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:389) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav > a:232) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc > leSupport.java:155) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:614) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) > at > org.apache.catalina.core.StandardService.start(StandardService.java: > 388) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:506) > at org.apache.catalina.startup.Catalina.start(Catalina.java:781) > at > org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > at > org.apache.catalina.startup.Catalina.process(Catalina.java:179) > at java.lang.reflect.Method.invoke(Native Method) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > > Can somebody help me? > > Regards, > > Didier > > -- > To unsubscribe, e-mail: > <mailto:slide-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
