You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2010/06/07 11:57:54 UTC

[jira] Created: (GERONIMO-5369) Geronimo 2.2.1 start failed on jdk 1.5.22, but successfully on JDK 1.6

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.


[jira] Commented: (GERONIMO-5369) Geronimo 2.2.1 start failed on jdk 1.5.22, but successfully on JDK 1.6

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (GERONIMO-5369) Geronimo 2.2.1 start failed on jdk 1.5.22, but successfully on JDK 1.6

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879338#action_12879338 ] 

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

Right, Besides this JIRA, I saw some saaj related problems caused by java 6 working with G 2.2.x.  Therefore,  I tried to build 22 with java 5.  the result assemblies turned out to work for both java 5 and 6.   

I suggest we change the current geronimo 2.2.x build system to use java 5 instead of java 6.






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


[jira] Closed: (GERONIMO-5369) Geronimo 2.2.1 start failed on jdk 1.5.22, but successfully on JDK 1.6

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang closed GERONIMO-5369.
---------------------------------

      Assignee: Shawn Jiang
    Resolution: Fixed

If you build the server with JDK 5,  there'll be no problem. 

> 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
>            Assignee: Shawn Jiang
>            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.


[jira] Commented: (GERONIMO-5369) Geronimo 2.2.1 start failed on jdk 1.5.22, but successfully on JDK 1.6

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879333#action_12879333 ] 

Kevan Miller commented on GERONIMO-5369:
----------------------------------------

Hmm. I wouldn't drop 1.5 support in a 2.2.x. Not for this reason, anyway. Would prefer to see us building with Java 5.

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