geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abpb2006 <abpb2...@yahoo.com>
Subject Re: Created New intance - while deploying simple web app - getting java.lang.ClassCastException: java.io.File
Date Tue, 18 Dec 2007 18:47:22 GMT

yes geronimo 2.0.2


Donald Woods-2 wrote:
> 
> By 2.0.0.1, you mean WASCE v2.0.0.1 (aka. Geronimo 2.0.2), right?
> 
> -Donald
> 
> abpb2006 wrote:
>> I'm using 2.0.0.1
>> 
>> Web is real simple it only has 2 jsps
>> 
>> I have 2 instances of Geronimo - Inst1 and Ints2 both of them have their
>> own
>> repository.
>> 
>> I am able to start both the servers fine and able to doeply application
>> in
>> Inst1 ver well.
>> 
>> But when i try to deploy webapp thru console in Inst2, i get below
>> classcast
>> excpetion :
>> 
>> 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)
>> 
>> 
>> 
>> 
>> 
>> Jacek Laskowski wrote:
>>> On Dec 14, 2007 8:01 AM, abpb2006 <abpb2006@yahoo.com> wrote:
>>>
>>>> I donwloaded geronimo and started the server. When i deploy a simple
>>>> web
>>>> app
>>>> using the comsole i'm getting this error -
>>>> java.lang.ClassCastException:
>>>> java.io.File
>>> Unbelievable. I've been deploying a couple of web applications
>>> recently and have never seen the error message. What's more
>>> interesting is that java.io.File is loaded by BootstrapClassLoader (I
>>> hope I didn't mess the name of the very first classloader in the
>>> classloader stack). I'm leaning towards saying it was not Geronimo as
>>> the only connection to it is that the issue was sent to Geronimo user
>>> mailing list ;-)
>>>
>>> Seriously, give us some more information on the environment you're
>>> using - Geronimo version, the url Geronimo comes from, the simple
>>> webapp (how simple it is) and the steps you did in the console. Is it
>>> reproducible?
>>>
>>> Jacek
>>>
>>> -- 
>>> Jacek Laskowski
>>> http://www.JacekLaskowski.pl
>>>
>>>
>> 
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/Created-New-intance---while-deploying-simple-web-app---getting-java.lang.ClassCastException%3A-java.io.File-tp14331068s134p14403254.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message