You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2009/07/10 18:30:21 UTC

Re: svn commit: r792824 - in /geronimo/server/trunk: plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/ plugins/axis/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/ plugins/cxf/geronimo-cxf-ejb/src/main/ja

On Jul 10, 2009, at 5:00 AM, Trygve Hardersen wrote:

> Hi
>
> I'm getting a compilation error on the Axis2 plugin, could there be  
> something missing from this commit?

oops, should be fixed now :-(
>
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /workspace/geronimo/server/plugins/axis2/geronimo-axis2-ejb/src/main/ 
> java/org/apache/geronimo/axis2/ejb/EJBWebServiceGBean.java:[77,19]  
> addWebService 
> (java 
> .lang 
> .String 
> ,java 
> .lang 
> .String 
> [],org 
> .apache 
> .geronimo 
> .webservices 
> .WebServiceContainer 
> ,java 
> .lang 
> .String 
> ,org 
> .apache 
> .geronimo 
> .security 
> .jaas 
> .ConfigurationFactory 
> ,java 
> .lang 
> .String 
> ,java 
> .lang 
> .String 
> ,java 
> .lang 
> .String 
> ,java.lang.String[],java.util.Properties,java.lang.ClassLoader) in  
> org.apache.geronimo.webservices.SoapHandler cannot be applied to  
> (java.lang.String,java.lang.String[],org.apache.geronimo.axis2.ejb.EJBWebServiceContainer,org.apache.geronimo.security.jaas.ConfigurationFactory,java.lang.String,java.lang.String,java.lang.String,java.lang.String[],java.util.Properties,java.lang.ClassLoader)
>
> I was unable to start the server because of a serialVersionUID  
> conflict, so I tried to build the latest source:
>
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the  
> FAILED state: abstractName="org.apache.geronimo.configs/mejb/2.2- 
> SNAPSHOT/car?configurationName=org.apache.geronimo.configs/mejb/2.2- 
> SNAPSHOT/car"
>
> java.io.InvalidClassException:  
> javax.security.jacc.EJBMethodPermission; local class incompatible:  
> stream classdesc serialVersionUID = 3020288003824316299, local class  
> serialVersionUID = 4513173161293901832
>

I changed the serialization of the EJBMethodPermissionCollection class  
to only store one copy of the data.  Unfortunately this means  
recompiling ejb apps will be necessary (at least MEJB and monitoring  
console)

thanks for pointing this out and my apologies for not checking that  
I'd committed everything I thought I had.

david jencks

> Thanks
>
> Trygve Hardersen
> Jotta AS
>

Re: svn commit: r792824 - in /geronimo/server/trunk: plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/ plugins/axis/geronimo-axis/src/main/java/org/apache/geronimo/axis/server/ plugins/cxf/geronimo-cxf-ejb/src/main/ja

Posted by Trygve Hardersen <tr...@jotta.no>.
No problem, thanks for the quick fix :)

Trygve

On Fri, Jul 10, 2009 at 6:30 PM, David Jencks <da...@yahoo.com>wrote:

>
> On Jul 10, 2009, at 5:00 AM, Trygve Hardersen wrote:
>
>  Hi
>>
>> I'm getting a compilation error on the Axis2 plugin, could there be
>> something missing from this commit?
>>
>
> oops, should be fixed now :-(
>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> /workspace/geronimo/server/plugins/axis2/geronimo-axis2-ejb/src/main/java/org/apache/geronimo/axis2/ejb/EJBWebServiceGBean.java:[77,19]
>> addWebService(java.lang.String,java.lang.String[],org.apache.geronimo.webservices.WebServiceContainer,java.lang.String,org.apache.geronimo.security.jaas.ConfigurationFactory,java.lang.String,java.lang.String,java.lang.String,java.lang.String[],java.util.Properties,java.lang.ClassLoader)
>> in org.apache.geronimo.webservices.SoapHandler cannot be applied to
>> (java.lang.String,java.lang.String[],org.apache.geronimo.axis2.ejb.EJBWebServiceContainer,org.apache.geronimo.security.jaas.ConfigurationFactory,java.lang.String,java.lang.String,java.lang.String,java.lang.String[],java.util.Properties,java.lang.ClassLoader)
>>
>> I was unable to start the server because of a serialVersionUID conflict,
>> so I tried to build the latest source:
>>
>> ERROR [GBeanInstanceState] Error while starting; GBean is now in the
>> FAILED state:
>> abstractName="org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car"
>>
>> java.io.InvalidClassException: javax.security.jacc.EJBMethodPermission;
>> local class incompatible: stream classdesc serialVersionUID =
>> 3020288003824316299, local class serialVersionUID = 4513173161293901832
>>
>>
> I changed the serialization of the EJBMethodPermissionCollection class to
> only store one copy of the data.  Unfortunately this means recompiling ejb
> apps will be necessary (at least MEJB and monitoring console)
>
> thanks for pointing this out and my apologies for not checking that I'd
> committed everything I thought I had.
>
> david jencks
>
>
>  Thanks
>>
>> Trygve Hardersen
>> Jotta AS
>>
>>