On Jan 16, 2007, at 9:17 AM, Kamalanathan Raman wrote:

Hi,
 
Iam getting the following error when trying to deploy my application in Geronimo 1.1 . please help.
 
java.lang.IllegalArgumentException: URI has a fragment component
org.apache.geronimo.common.DeploymentException: java.lang.IllegalArgumentException: URI has a fragment component
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:383)
        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:595)
Caused by: java.lang.IllegalArgumentException: URI has a fragment component
        at java.io.File.<init>(File.java:342)
        at org.apache.geronimo.deployment.CopyResourceContext.getTargetFile(CopyResourceContext.java:151)
        at org.apache.geronimo.deployment.CopyResourceContext.addFile(CopyResourceContext.java:132)
        at org.apache.geronimo.deployment.DeploymentContext.addFile(DeploymentContext.java:308)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:480)
        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$$3035b125.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
        ... 10 more

Kamal,
I don't recall seeing that error, before. Can you post your deployment descriptor and the layout of your ear file? What OS are you running on? What JRE version?

--kevan