harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Salishev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3773) Caucho Resin 3.1 AppServer doesn't work with Harmony
Date Thu, 26 Apr 2007 15:37:15 GMT
Caucho Resin 3.1 AppServer doesn't work with Harmony
----------------------------------------------------

                 Key: HARMONY-3773
                 URL: https://issues.apache.org/jira/browse/HARMONY-3773
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports
            Reporter: Sergey Salishev
            Priority: Blocker


Cuach Resin 3.1 accessible from http://www.caucho.com/download/index.xtp doesn't work with
Harmony with the following sympthoms:

java.lang.Error: java.lang.NoSuchFieldException: classes
        at org.apache.yoko.rmi.util.ClassLoaderLocal$1.run(ClassLoaderLocal.java:119)
        at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:53)
        at org.apache.yoko.rmi.util.ClassLoaderLocal.<clinit>(ClassLoaderLocal.java:111)
        at org.apache.yoko.rmi.impl.PortableRemoteObjectExtImpl.<clinit>(PortableRemoteObjectExtImpl.java:31)
        at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:298)
        at java.lang.Class.newInstance(Class.java:719)
        at org.apache.yoko.rmi.api.PortableRemoteObjectExt.init(PortableRemoteObjectExt.java:53)
        at org.apache.yoko.rmi.api.PortableRemoteObjectExt.getState(PortableRemoteObjectExt.java:65)
        at org.apache.yoko.rmi.impl.RMIState.current(RMIState.java:153)
        at org.apache.yoko.rmi.impl.UtilImpl.createValueHandler(UtilImpl.java:452)
        at javax.rmi.CORBA.Util.createValueHandler(Util.java:61)
        at com.caucho.iiop.any.TypeCodeFactory.<clinit>(TypeCodeFactory.java:40)
        at com.caucho.iiop.orb.ORBImpl.<init>(ORBImpl.java:57)
        at com.caucho.loader.EnvironmentClassLoader.initializeEnvironment(EnvironmentClassLoader.java:567)
        at com.caucho.loader.EnvironmentClassLoader.init(EnvironmentClassLoader.java:161)
        at com.caucho.loader.ClassLoaderConfig.init(ClassLoaderConfig.java:164)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:381)
        at com.caucho.config.j2ee.PostConstructProgram.configureImpl(PostConstructProgram.java:62)
        at com.caucho.config.BeanTypeStrategy.init(BeanTypeStrategy.java:355)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:253)
        at com.caucho.config.EnvironmentAttributeStrategy.configure(EnvironmentAttributeStrategy.java:60)
        at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:390)
        at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:329)
        at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:104)
        at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.java:257)
        at com.caucho.config.EnvironmentTypeStrategy.configureBean(EnvironmentTypeStrategy.java:65)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:251)
        at com.caucho.config.NodeBuilder.configure(NodeBuilder.java:160)
        at com.caucho.config.Config.configure(Config.java:232)
        at com.caucho.config.Config.configure(Config.java:176)
        at com.caucho.boot.ResinBoot.<init>(ResinBoot.java:134)
        at com.caucho.boot.ResinBoot.main(ResinBoot.java:397)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:381)
        at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
Caused by: java.lang.NoSuchFieldException: classes
        at java.lang.Class.getDeclaredField(Class.java:398)
        at org.apache.yoko.rmi.util.ClassLoaderLocal$1.run(ClassLoaderLocal.java:114)
        at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)

The problem is caused by incompatibility with Yoko and described in https://issues.apache.org/jira/browse/YOKO-258

After fixing above Yoko problem it still fails with:

java.lang.Error: cannot find computeSerialVersionUID method
        at org.apache.yoko.rmi.impl.ValueDescriptor$1.run(ValueDescriptor.java:158)
        at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:53)
        at org.apache.yoko.rmi.impl.ValueDescriptor.getSerialVersionUID(ValueDescriptor.java:138)
        at org.apache.yoko.rmi.impl.ValueDescriptor.getRepositoryID(ValueDescriptor.java:109)
        at org.apache.yoko.rmi.impl.TypeRepository.init(TypeRepository.java:81)
        at org.apache.yoko.rmi.impl.TypeRepository.<init>(TypeRepository.java:45)
        at org.apache.yoko.rmi.impl.RMIState.getTypeRepository(RMIState.java:63)
        at org.apache.yoko.rmi.impl.RMIState.createValueHandler(RMIState.java:146)
        at org.apache.yoko.rmi.impl.UtilImpl.createValueHandler(UtilImpl.java:450)
        at javax.rmi.CORBA.Util.createValueHandler(Util.java:61)
        at com.caucho.iiop.any.TypeCodeFactory.<clinit>(TypeCodeFactory.java:40)
        at com.caucho.iiop.orb.ORBImpl.<init>(ORBImpl.java:57)
        at com.caucho.loader.EnvironmentClassLoader.initializeEnvironment(EnvironmentClassLoader.java:567)
        at com.caucho.loader.EnvironmentClassLoader.init(EnvironmentClassLoader.java:161)
        at com.caucho.loader.ClassLoaderConfig.init(ClassLoaderConfig.java:164)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:381)
        at com.caucho.config.j2ee.PostConstructProgram.configureImpl(PostConstructProgram.java:62)
        at com.caucho.config.BeanTypeStrategy.init(BeanTypeStrategy.java:355)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:253)
        at com.caucho.config.EnvironmentAttributeStrategy.configure(EnvironmentAttributeStrategy.java:60)
        at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:390)
        at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:329)
        at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:104)
        at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.java:257)
        at com.caucho.config.EnvironmentTypeStrategy.configureBean(EnvironmentTypeStrategy.java:65)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:251)
        at com.caucho.config.NodeBuilder.configure(NodeBuilder.java:160)
        at com.caucho.config.Config.configure(Config.java:232)
        at com.caucho.config.Config.configure(Config.java:176)
        at com.caucho.boot.ResinBoot.<init>(ResinBoot.java:134)
        at com.caucho.boot.ResinBoot.main(ResinBoot.java:397)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:381)
        at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
Caused by: java.lang.NoSuchMethodException: computeDefaultSUID(java.lang.Class)
        at java.lang.Class.findMatchingMethod(Class.java:802)
        at java.lang.Class.getDeclaredMethod(Class.java:429)
        at org.apache.yoko.rmi.impl.ValueDescriptor$1.run(ValueDescriptor.java:149)
        at java.security.AccessController.doPrivilegedImpl(AccessController.java:171) 

This failure occurs as Yoko depends on private java.lang.Class.computeSerialVersionUID method
which is of course not present in Harmony.

After resolving above problem in Yoko it just quietly hangs.


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