geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-2221) java.lang.ClassCastException while installing Servlet Examples
Date Thu, 29 May 2008 16:11:44 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bohn closed GERONIMO-2221.
------------------------------

    Resolution: Cannot Reproduce

I'm assuming that this issue must have been resolved by now ... just doing some cleanup. 
Please re-open if this issue is still valid.

> java.lang.ClassCastException while installing Servlet Examples
> --------------------------------------------------------------
>
>                 Key: GERONIMO-2221
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2221
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 1.2
>         Environment: cygwin, java 1.4, Revision: 424964
>            Reporter: Jacek Laskowski
>
> http://localhost:8080/ -> Servlet Examples -> click here (i.e. http://localhost:8080/servlets-examples/?install=true)
->
> {code}
> ############################################################
> # Installed configuration
> #   id = geronimo/servlets-examples-tomcat/1.0/car
> #   location = C:\geronimo-1.2-SNAPSHOT\repository\geronimo\servlets-examples-tomcat\1.0\servlets-examples-tomcat-1.0.car
> ############################################################
> 10:57:46,031 WARN  [ConfigurationStoreUtil] Checksum file not found: C:\geronimo-1.2-SNAPSHOT\repository\geronimo\servlets-examples-tomcat\1.0\servlets-examples-tomcat-1.0.car\META
> -INF\config.ser.sha1
> 10:57:46,046 ERROR [[servlet_sample_installer]] Servlet.service() for servlet servlet_sample_installer
threw exception
> java.lang.ClassCastException
>         at org.apache.geronimo.kernel.config.SerializedConfigurationMarshaler.readConfigurationData(SerializedConfigurationMarshaler.java:57)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.readConfigurationData(ConfigurationUtil.java:167)
>         at org.apache.geronimo.system.configuration.RepositoryConfigurationStore.loadConfiguration(RepositoryConfigurationStore.java:113)
> {code}
> It happens on Jetty, too.
> The config.ser file of this example contains a raw GBeanInfo instead of a ConfigurationData
wrapping a GBeanInfo. It seems to me that the car file format of this example is incorrect.
I will investigate further a potential root cause.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message