[ http://issues.apache.org/jira/browse/GERONIMO-2151?page=all ]
Christoph Sturm updated GERONIMO-2151:
--------------------------------------
type: Improvement (was: Bug)
oops, i created this a bug instead of improvement by mistake. sorry :)
> geronino should ignore .DS_Store files in the deploy dir
> --------------------------------------------------------
>
> Key: GERONIMO-2151
> URL: http://issues.apache.org/jira/browse/GERONIMO-2151
> Project: Geronimo
> Type: Improvement
> Security: public(Regular issues)
> Components: Hot Deploy Dir
> Versions: 1.1
> Environment: osx
> Reporter: Christoph Sturm
> Priority: Minor
>
> osx stores extended file attributes in a dir called .DS_Store.
> after copying a war file to the geronimo deploy dir with the finder it
> creates the .DS_Store file, and geronimo tries to deploy it:
> 14:47:48,065 INFO [Hot Deployer] Deploying .DS_Store
> 14:47:48,284 ERROR [Hot Deployer] Unable to deploy:
> org.apache.xmlbeans.XmlException:
> /Users/christophsturm/Projects/geronimo-1.1/deploy/.DS_Store:1: error:
> Illegal XML character: 0x0
> org.apache.xmlbeans.impl.piccolo.io.IllegalCharException: Illegal XML
> character: 0x0
> at
> org.apache.xmlbeans.impl.piccolo.xml.UTF8XMLDecoder.decode(UTF8XMLDecoder.java:196)
> at
> org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader$FastStreamDecoder.read(XMLStreamReader.java:762)
> at
> org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.read(XMLStreamReader.java:162)
> at
> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yy_refill(PiccoloLexer.java:3469)
> at
> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:3953)
> at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
> at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
> at
> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
> at
> org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3354)
> at
> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1267)
> at
> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1254)
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:309)
> at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:656)
> at
> org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.parse(XmlBeansUtil.java:74)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:326)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:263)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> at
> org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$f226e5bd.getDeploymentPlan(<generated>)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:232)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
> at
> org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
> at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
> at
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:60)
> at java.lang.Thread.run(Thread.java:613)
> I think it would be best if the auto deployer would just ignore all files
> starting with a dot.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira