corba

Obfuscating Android app with CORBA

僤鯓⒐⒋嵵緔 提交于 2020-02-29 05:43:09
问题 It so fell out that I use jacorb.jar and CORBA interfaces in my android app. And when I try obfuscate code using Proguard I get a lot of warnings like this one: [proguard] Warning: org.jacorb.orb.standardInterceptors.SASComponentInterceptor: can't find referenced class org.ietf.jgss.Oid And as the result: [proguard] Warning: there were 1223 unresolved references to classes or interfaces. [proguard] You may need to specify additional library jars (using '-libraryjars'), [proguard] or perhaps

org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 from stand-alone app

安稳与你 提交于 2020-01-24 20:14:50
问题 I'm connecting to the WebSphere instance from the stand-alone Java app which is quite trivial: InitialContext initCtx = new InitialContext(); That code was working perfectly in WebSphere 7, but after updating to WebSphere 8.5 I got the following exception: Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1276) at com.ibm.CORBA.iiop.ClientDelegate

resolve_initial_references causes a SystemException

和自甴很熟 提交于 2020-01-15 06:22:42
问题 We use an ActiveX control in our client, developed with Visual C++ 6.0, in our application. We also use omniORB 2.7 to provide the connection to the server app. It's been working fine; but right now we need to run this application on a Windows 7, 64-bit PC. The ActiveX control is working; but in the C++ code, when it calls ORB's resolve_initial_references function as below: try { // Obtain a reference to the root context of the Name service: CORBA::Object_var initServ; initServ = orb->resolve

Is there any equivalent to writeReplace in CORBA?

眉间皱痕 提交于 2020-01-11 11:56:49
问题 When using standard Java serialization, it is possible to have an object replaced on the fly in stream by, according to Serializable interface, creating a Object writeReplace() method that will be invoked during serialization. My question is simple : is there an equivalent for this construct in Corba Java implementation ? 回答1: You can use writeReplace as normal with RMI-IIOP (Java RMI over CORBA/IIOP). The ORB presents "standard" Java serialization of Serializable/Externalizable (with all

Segmentation fault CORBA C++

青春壹個敷衍的年華 提交于 2020-01-06 08:27:28
问题 I am trying to build a CORBA application, which has the following IDL interface: module Chat { exception SesionNoIniciada{}; exception UsuarioNoRegistrado{}; exception ErrorServidor{}; exception SesionYaIniciada{}; interface Cliente{ readonly attribute string nombre; oneway void nuevaSolicitudDeAmistad(in string c); //devuelve void, parametro string/char* oneway void actualizarListaAmigos(); oneway void nuevoMensaje(in Cliente usuario, in string men); }; typedef sequence<string> nombres;

Segmentation fault (core dumped) on Server side in CORBA C++/Java application

十年热恋 提交于 2020-01-05 08:29:37
问题 I have such code: interface Employee { string getLastname(); }; #include "Employee.idl" interface Work { Employee getEmployee(in short id); }; Server files: #include "Employee.hh" class EmployeeImpl : public POA_Employee { private: char* lastname; int id; public: EmployeeImpl(const char* lastname, int id); char* getLastname(); }; #include "EmployeeImpl.h" EmployeeImpl::EmployeeImpl(const char* lastname, int id) { this->lastname = const_cast<char*>(lastname); this->id = id; } char*

Does any C++ Component Framework beyond Corba Components exist?

不打扰是莪最后的温柔 提交于 2020-01-04 06:29:15
问题 I'm looking for a C++ Component Framework like EJB3 (sure, it's Java only) or Corba Components. But I'm not looking for Corba Components. My requirements are portable (linux, unix, optional Windows) C++ interfaces (so, it's not a requirement for the framework itself to be written in C++) optinal well documented or good examples given edit: remote objects (remote procedure call) shall be supported. [XPCOM does not support remote objects] Thanks in advance. 回答1: I'm aware of a few things. I'm

ERROR org.omg.CORBA.MARSHAL Sequence length too large

匆匆过客 提交于 2019-12-25 09:00:34
问题 After successfully fetching alarms from Corba U2000 server and now reading the values, I am getting the error below ERROR: org.omg.CORBA.MARSHAL: Sequence length too large. Only 12 available and trying to assign 31926513 vmcid: 0x0 minor code: 0 completed: No org.omg.CORBA.MARSHAL: Sequence length too large. Only 12 available and trying to assign 31926513 vmcid: 0x0 minor code: 0 completed: No at org.omg.CosNotification.EventBatchHelper.read(EventBatchHelper.java:57) at AlarmIRPConstDefs

ClassCastException b/w IBMorb and jacorb jars in WAS 8.5.5

喜欢而已 提交于 2019-12-25 00:37:48
问题 I have an application which is using jacorb.jar (org.omg.orb.ORB.class). When i deploying my war file in WAS 8.5.5, I am getting classcast exceptions with ibmorb located at openJdk/jre/lib/ibmorb.jar file. Could anyone help me in using jacorb.jar and resolving errors. Error: [3/3/15 5:30:51:863 PST] 00000001 ActivityServi E WACT0001E: The method pre_init(ORBInitInfo) in class com.ibm.ws.activity.remote.cos.ActivityServiceClientInterceptor received an unexpected exception; the exception stack

WAS8.5.5 not incorporating Jacorb application

谁说我不能喝 提交于 2019-12-24 23:34:23
问题 I had an application which is tightly coupled with jacorb and it is working great with Jboss. Now, i have to migrate this application to deploy the same in Websphere 8.5.5. General flow is , my application will reach another system (developed in C++) through corba usign jacorb. since IBM is having its own ORB implementations, My application is getting deployed in websphere. If my application is modified to make use of IBM orb jars, then 80% of applciation have to change. Kindly suggest me the