[ 
https://issues.apache.org/jira/browse/GERONIMO-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878612#action_12878612
 ] 

Shawn Jiang commented on GERONIMO-5369:
---------------------------------------

Currently, we are using 1.6 jdk to build 2.2.   Due to the API changes in 
javax.security.auth.login.Configuration in java 1.6.   Some serialized data in 
config.ser are stored with the new 1.6 api.  When you start the server with 
1.5,  the 1.5 jdk can't read these serialized data back.  I don't know if 
changing the build jdk to 1.5 helps. 

I would rather document that we only support jdk 1.6 for geronimo 2.2.x. 

> Geronimo 2.2.1 start failed on jdk 1.5.22, but successfully on JDK 1.6
> ----------------------------------------------------------------------
>
>                 Key: GERONIMO-5369
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5369
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 2.2.1
>         Environment: OS: jdk 1.5.22, suse 10 sp2, redhat 5.3
>            Reporter: viola.lu
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> 1. export JAVA_HOME=/opt/jdk1.5.22
> 2.start server, but failed with errors:
> 2010-06-07 13:54:48,828 ERROR [GBeanInstanceState] Error while starting; 
> GBean is now in the FAILED state: 
> abstractName="org.apache.geronimo.configs/mejb/2.2.1-SNAPSHOT/car?J2EEApplication=null,j2eeType=EJBModule,name=org.apache.geronimo.configs/mejb/2.2.1-SNAPSHOT/car"
> org.apache.openejb.OpenEJBException: Creating application failed: 
> /g22src/plugins/mejb/geronimo-mejb/target/geronimo-mejb-2.2.1-SNAPSHOT.jar: 
> Error deploying 'ejb/mgmt/MEJB'.  Exception: class 
> java.lang.NoSuchFieldError: MINUTES: MINUTES
> 3.If i export JAVA_HOME=/opt/jdk1.6.10, server started without error.
> I think this is cozed by openejb 3.1.* build, i tried to build openejb3.1.* 
> with jdk 1.5,but failed by some method missing.

-- 
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