geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abpb2006 <abpb2...@yahoo.com>
Subject Re: getting ClassCastException while deploying a simple web application in geronimo 2.0
Date Mon, 14 Jan 2008 09:18:42 GMT

thanks Jarek...here is the stack track -

998 Error [] Deployment failed due to
java.lang.ClassCastException: java.io.File
org.apache.geronimo.common.DeploymentException:
java.lang.ClassCastException: java.io.File
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:385)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126)
	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:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: java.io.File
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.cleanupConfigurationDir(EARConfigBuilder.java:694)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.cleanupContext(EARConfigBuilder.java:681)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:640)
	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:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
	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.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$ff0e7b85.buildConfiguration(<generated>)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304)
	... 10 more




Jarek Gawor-2 wrote:
> 
> Please send us the full stack trace of the exception you get.
> 
> Jarek
> 
> On Jan 11, 2008 1:50 PM, abpb2006 <abpb2006@yahoo.com> wrote:
>>
>> Hi,
>>
>> getting ClassCastException - when i try to deploy plain simple web app in
>> geronimo 2.0.0. in linux enviroment.
>>
>> I'm using the supported jre/jdk.
>>
>> I'm also setting WASCE_JAVA_HOME and GERONIMO_HOME but still getting the
>> classcastexception.
>>
>> any pointers? thx.
>>
>> ABPB
>> --
>> View this message in context:
>> http://www.nabble.com/getting-ClassCastException-while-deploying-a-simple-web-application-in-geronimo-2.0-tp14762834s134p14762834.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/getting-ClassCastException-while-deploying-a-simple-web-application-in-geronimo-2.0-tp14762834s134p14797232.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message