[ 
https://issues.apache.org/jira/browse/GERONIMO-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527090
 ] 

Anita Kulshreshtha commented on GERONIMO-2964:
----------------------------------------------

We need to find what exactly is being deserailized. Is this the full trace?  
There should be something like - 
Caused by: java.io.IOException: Unable to deserialize AbstractName for 
GBeanData of type org.apache.geronimo.jetty6.JettyFilterMapping 
or

Caused by: java.lang.ClassCastException: cannot assign instance of 
javax.management.ObjectName to field org.apache.geronimo.gbean.Ab
stractName.objectName of type javax.management.ObjectName in instance of 
org.apache.geronimo.gbean.AbstractName 

or

Caused by: java.io.InvalidClassException:
> org.apache.geronimo.gbean.GOperationInfo; local class incompatible:
> stream classdesc serialVersionUID = 5185515581104192976, local class
> serialVersionUID = -5593225815559931812
>        at java.io.ObjectStreamClass.initNonProxy
> (ObjectStreamClass.java:519) 

    In the past they have all lead to this error.

> Cannot specify the Tomcat work directory for a web application
> --------------------------------------------------------------
>
>                 Key: GERONIMO-2964
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2964
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 1.2, 2.0-M5
>            Reporter: Aman Nanner
>            Priority: Minor
>             Fix For: 1.2, 2.1
>
>         Attachments: g2964.war, GERONIMO-2964-combined-new.patch, 
> GERONIMO-2964-combined.patch, GERONIMO-2964.patch, 
> tomcat-config-workdir.patch, tomcat-workdir.patch
>
>
> In Tomcat, a work directory can be specified for a web application in a 
> WEB-INF/context.xml file.  The GeronimoStandardContext does not permit the 
> user to specify a work directory, and so the work directory defaults to 
> var/catalina/work/<web-app>.
> I've submitted a patch file that modifies the geronimo-tomcat-1.2 schema to 
> permit the user to optionally specify a work directory.  This work directory 
> is then propagated into the TomcatContext.  I've tested this and it seems to 
> work well.

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

Reply via email to