corba

CORBA exception in EJB application

巧了我就是萌 提交于 2019-12-01 11:39:19
I've got a problem with EJB/Glassfish. I'm working on a client-server application in which the client creates an entity object and must send it to the server application, which must persist the entity in its database. I've choose to use session beans to communicate with the server. I've implemented some simple cases in which a method in the session bean takes as input a string or an int and it works fine. The problem arises when I try to give an entity object as input. I report my entity class: @Entity public class Example implements Serializable { private static final long serialVersionUID =

Exception inside CORBA when accessing a remote bean

ε祈祈猫儿з 提交于 2019-12-01 10:59:20
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

CORBA exception in EJB application

家住魔仙堡 提交于 2019-12-01 09:33:33
问题 I've got a problem with EJB/Glassfish. I'm working on a client-server application in which the client creates an entity object and must send it to the server application, which must persist the entity in its database. I've choose to use session beans to communicate with the server. I've implemented some simple cases in which a method in the session bean takes as input a string or an int and it works fine. The problem arises when I try to give an entity object as input. I report my entity

Issues with CORBA communication

旧时模样 提交于 2019-12-01 08:07:16
This maybe too localized, but I am hoping someone can help me articulate my questions properly. So, we have a front end web server that communicates with a back end app server using CORBA. I have been asked to port the back end application to a LINUX box, which I did. But, in order to test it, I am trying to point the front end web server to the LINUX back end. We are using omniORB-4.1.4, and here is how the instance of the back end system is obtained: String args[] = new String[0]; System.out.println(getDateTime()+"Instance: Connecting to: "+initialHost+" "+initialPort+" "+enviornment+" "

Java's 'tnameserv' takes 3+ minutes to be “Ready”, why?

我只是一个虾纸丫 提交于 2019-11-30 23:57:16
I'm trying to help a dev of an app I'd like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking over 3 minutes to become ready after invocation. What exactly is tnameserv trying to do in those 3 minutes and is there anyway I can speed it up? The app failed because it tried to do 5 connection attempts with 1-second between retries; which apparently doesn't give tnameserv nearly enough time to become ready. I am using Java 6u17 on Slackware 13.0 In case it matters. The actual invocation of tnameserv is the following: tnameserv

Java's 'tnameserv' takes 3+ minutes to be “Ready”, why?

随声附和 提交于 2019-11-30 18:12:59
问题 I'm trying to help a dev of an app I'd like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking over 3 minutes to become ready after invocation. What exactly is tnameserv trying to do in those 3 minutes and is there anyway I can speed it up? The app failed because it tried to do 5 connection attempts with 1-second between retries; which apparently doesn't give tnameserv nearly enough time to become ready. I am using Java 6u17 on

How to access CORBA interface without IDL or late-bound invoke remoting methods

别等时光非礼了梦想. 提交于 2019-11-30 13:41:50
We have been using an SAP "COM License Bridge" to access their license server and query the hardware key of a system programatically (to reuse with out own licensing). This worked fine on SAP Business one Versions 2007A, 2007B and 8.8, but in 8.81 they seem to have updated their CORBA interface without updating the COM wrapper because we now get memory exceptions when attempting to call the GetHardwareKey function. So I downloaded IIOP.NET and started trying to write my own interface. I never liked that COM wrapper anyway. But I encountered my old nemesis of .NET remoting -- the inability to

How to access CORBA interface without IDL or late-bound invoke remoting methods

放肆的年华 提交于 2019-11-29 18:45:11
问题 We have been using an SAP "COM License Bridge" to access their license server and query the hardware key of a system programatically (to reuse with out own licensing). This worked fine on SAP Business one Versions 2007A, 2007B and 8.8, but in 8.81 they seem to have updated their CORBA interface without updating the COM wrapper because we now get memory exceptions when attempting to call the GetHardwareKey function. So I downloaded IIOP.NET and started trying to write my own interface. I never

CORBA from .NET - (dis)recommended libraries? [closed]

Deadly 提交于 2019-11-29 03:03:10
I am working on a .NET-based server component that talks to a set of destinations (equity options exchanges, to be specific) using a variety of destination-specific protocols. The next destination we plan to add uses CORBA, so I am researching .NET libraries that can speak CORBA. So far I have found three possibilities: IIOP.NET is an open-source project that seems to be mature and fairly active. J-Integra Espresso is one of Intrinsyc's suite of Microsoft <-> Java interoperability tools. VisiBroker for .NET (previously named 'Janeva') is a module of Borland's VisiBroker CORBA package. Does

Is there a replacement library for CORBA in JDK 11

早过忘川 提交于 2019-11-28 20:14:45
JDK-11 will remove a lot of older parts of the JDK ( JEP-320 ). For some of them (e.g. JAXB) functionality will be provided as regular library. You simply add another dependency and everything works fine again. But not so for CORBA, because There is no significant interest in developing modern applications with CORBA in Java I am however in the painful situation of needing to maintain older applications that still require CORBA while still wanting to update to JDK-11. Is there a replacement-library out there or another good way of migrating to JDK-11 without removing the CORBA functionality of