Hi Riaz, Off the top of my head, I'm not aware of a setting that would do this when running in Tomcat mode - we do have a openejb.deployments.classpath.exclude property when running OpenEJB in an embedded manner. I'll have a go and see if there is some setting that will do this in Tomcat. If there isn't, I'm sure we can add something (I think ignoring anything that starts with a . would be a good idea).
Jon On Sun, Aug 2, 2009 at 9:17 PM, riazb <m...@riazb.com> wrote: > > Hello, > Is there a way to make OpenEJB3 not constantly try to initialize .DS_Store > within webapps (or wherever) and throwing a repeated error which is making > my Eclipse console eternally long with pointless errors. > The error is: > > Error deploying application /Developer/Tomcat/webapps/.DS_Store > org.apache.openejb.config.UnknownModuleTypeException: Unable to determine > module type for jar: file:/Developer/Tomcat/webapps/.DS_Store: Unknown > module type: url=file:/Developer/Tomcat/webapps/.DS_Store > at > org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:122) > at > > org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:467) > at > > org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:74) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) > at > > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337) > at > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) > at > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) > at > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) > at java.lang.Thread.run(Thread.java:637) > Caused by: org.apache.openejb.config.UnknownModuleTypeException: Unknown > module type: url=file:/Developer/Tomcat/webapps/.DS_Store > at > > org.apache.openejb.config.DeploymentLoader.discoverModuleType(DeploymentLoader.java:1176) > at > org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:120) > > According to Mac forums, .DS_Store cannot be disable on a local drive. > I googled around and found out that on the Geronimo task list, there was > mention of 'Ignore .DS_Store when scanning'. > > Anything similar in OpenEJB? thanks > > Riaz > -- > View this message in context: > http://www.nabble.com/.DS_Store-annoyance-on-the-Mac-tp24781677p24781677.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > >