访问远程bean时CORBA内部出现异常 [英] Exception inside CORBA when accessing a remote bean

查看:128
本文介绍了访问远程bean时CORBA内部出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在GlassFish 4.0和JDK 1.7_55的Windows Server上,我得到NoClassDefFoundError和ClassNotFoundException,然后调用远程bean方法。

On Windows Server with Glassfish 4.0 and JDK 1.7_55 I getting NoClassDefFoundError and ClassNotFoundException then invoking remote bean methods.

StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
java.lang.ClassNotFoundException: com.sun.corba.ee.impl.orb.ORBSingleton
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    ...
    at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:226)
    at dudge.ifaces.__SolutionRemote_Remote_DynamicStub.getSolutionEager(dudge/ifaces/__SolutionRemote_Remote_DynamicStub.java)
    at dudge.ifaces._SolutionRemote_Wrapper.getSolutionEager(dudge/ifaces/_SolutionRemote_Wrapper.java)
    at dudge.DudgeBean.submitSolution(DudgeBean.java:119)
    ...

DudgeBean和SolutionRemote是我的类。

There DudgeBean and SolutionRemote are my classes.



And

StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
java.lang.NoClassDefFoundError: Could not initialize class com.sun.corba.ee.impl.io.IIOPInputStream
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.createInputStream(ValueHandlerImpl.java:820)
    ...
    at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:226)
    at dudge.__PermissionCheckerRemote_Remote_DynamicStub.canGetUser(dudge/__PermissionCheckerRemote_Remote_DynamicStub.java)
    at dudge._PermissionCheckerRemote_Wrapper.canGetUser(dudge/_PermissionCheckerRemote_Wrapper.java)
    at dudge.web.actions.UsersAction.view(UsersAction.java:95)
    ...

有UsersActionand和PermissionCheckerRemote是我的课程。

There UsersActionand and PermissionCheckerRemote are my classes.

在开发系统上,一切正常,我无法找到差异。
这可能是什么原因造成的?

On development system everything works fine and I can't find a difference. What could be causing this?

推荐答案

看来这是一个与JDK 1.7_55相关的错误。
在降级到JDK 1.7_51后,问题得到解决。

It seems that this is a bug related to JDK 1.7_55. After downgrading to JDK 1.7_51 problem was solved.

Glassfish错误跟踪器中有一个关于此错误的条目。
https://java.net/jira/browse/GLASSFISH-21047

There is an entry in the Glassfish bug tracker on this bug. https://java.net/jira/browse/GLASSFISH-21047

这篇关于访问远程bean时CORBA内部出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆