Skip to main content

Questions tagged [rmi]

Remote Method Invocation (RMI) is Java's object-oriented remote procedure call (RPC) mechanism.

rmi
-1 votes
0 answers
31 views

Java RMI issue: localhost is being resolved to random IP

I'm running a Java RMI application in which both client and server run on the same host, so that clients connects to server at localhost. After I updated my system to JRE17 (Debian bookworm armhf), I ...
ichthuss's user avatar
0 votes
1 answer
19 views

Maven exec plugin java goal with RMI exits early

The org.codehaus.mojo:exec-maven-plugin:3.3.0 plugin “java” goal documentation states that “daemon threads are joined and interrupted once all known non daemon threads have quit”. That is not what I ...
Olivier Cailloux's user avatar
1 vote
0 answers
30 views

Java LDAP RMI wrong host method execution

In a distributed system implemented with Java, RMI and LDAP, I have the following Node class: public class Node extends UnicastRemoteObject implements NodeInterface, Serializable { public Nodo(...
Cardstdani's user avatar
  • 5,139
0 votes
0 answers
58 views

Using Java RMI and Reflection for a Broker without interface

I'm attempting to develop a broker in Java. Currently, I have created a server capable of posting it's services within the broker. Additionally, I have implemented a client that can invoke methods on ...
Andrei Vlasceanu's user avatar
0 votes
1 answer
130 views

WebSphere Liberty BASE Remote EJB call failed in JDK 17

Here I'm trying to initiate a remote ejb call between two JavaEE applications which are deployed in two separate VMs, When I initiate remote ejb lookup from the primary JavaEE application following ...
Rangana Jayawardhena's user avatar
0 votes
0 answers
423 views

RMI in java 17 WAR project. How do I fix this error?

I am struggling to update my company's code from java 8 to 17. I have already added dependencies but the code uses RMI which was inbuilt in jdk 8 but its not available in jdk 11 and 17. The codebase ...
SRIJAN GIRDHAR's user avatar
0 votes
1 answer
45 views

RMI Test Passes in Isolation but Fails with UnmarshalException When Run with Other Tests

I am trying to understand why a specific test method that utilizes RMI passes when run in isolation but fails when run along with other tests that also use RMI. The test structure is the same for both ...
quarks's user avatar
  • 34.7k
0 votes
0 answers
185 views

Error java.net.SocketException: Socket is closed when closing AS400 Secure RPC session

The Java application (running on Windows) was working fine using com.ibm.as400.access.AS400. This application will perform RPC on IBM i. This Java application was modified to use encrypted SSL ...
tarekahf's user avatar
  • 908
0 votes
0 answers
76 views

Java RMI Server Registry-Lookup Message exchange

ive built a simple Client-Server-application that also includes an auditlogserver that is implemented via JavaRMI. In the screenshot attached you can see a Wireshark sequence that shows the message ...
Thxmsa0192's user avatar
0 votes
0 answers
38 views

Error unmarshalling arguments using JavaRMI

I've got this kind of error java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception ...
Andrea Riccio's user avatar
0 votes
0 answers
34 views

Java multiclient server with RMI [duplicate]

I'm trying to make a multiclient java server for a project school where i can get data or write data on a database(Postgres); i would like to make it with RMI but first of all i don't know if i can ...
Kilian Brioschi's user avatar
0 votes
0 answers
209 views

Using rmic gives me error, when trying to create stub and skeleton for Remote Method Invocation

I am learning to use RMI in Java, and have been following this GeeksForGeeks tutorial: https://www.geeksforgeeks.org/remote-method-invocation-in-java/. In step 3, I need to use the rmic tool to create ...
ninjarubberband's user avatar
0 votes
0 answers
31 views

Weblogic remote EJB call is not doing fail-over out of the box and throwing UnknownHostException for one bad host

I am calling a remote EJB on weblogic 12c. In the provider URL, i am setting many hosts like below: Context.PROVIDER_URL,"t3://node1:7001,node2:7002,node3:7003" Out of these many hosts, one ...
fyed's user avatar
  • 33
1 vote
1 answer
96 views

Make a callback with JAVA RMI

I am currently implementing a kind of bag of tasks using Java RMI. The goal is for a "Client" to submit "Task" objects to a "Server," and on the other hand, I have "...
nicolasCDT's user avatar
0 votes
2 answers
203 views

JAVA RMI problems on eclipse

I'm trying to run a simple Java RMI on my eclipse, but every time I get different errors. If I run my sources through CMD (I'm on Windows) it works, but I'd prefer to run my code on Eclipse since it's ...
MrAlex's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
174