rmi Questions
4
Solved
For a University project we need to implement a server 'registrar' that communicates with a client 'barowner' through a SSL RMI connection. When building the client, I get the error java: No enum c...
7
Solved
Hi I have RMI application and now I try to invoke some methods at server from my client. I have following code:
public static void main(final String[] args) {
try {
//Setting the security manage...
Trigonal asked 12/6, 2011 at 13:7
0
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 conn...
Ammerman asked 1/2 at 23:17
15
Solved
java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.ja...
Panorama asked 28/3, 2013 at 15:22
2
Solved
I am moving my old SpringBoot 2 / Java 8 application to the newer SpringBoot 3 / Java 17.
My issue is related to the Weblogic T3 client. Until now I used the wlthint3client artifact coming from a W...
2
Spring seems to be deprecating its RMI:
As of Spring Framework 5.3, support for several remoting technologies is now deprecated for security reasons and broader industry support. Supporting infras...
Manny asked 28/5, 2021 at 8:15
8
Solved
I'm using IntelliJ Idea Community Edition IDE and I'm trying to run a Maven WebApp with Jetty by command line. I'm on a RedHat box
I run this command:
mvn clean install -P deployJetty -Djetty.por...
Framework asked 18/8, 2014 at 23:26
7
Solved
I am currently starting my Java VM with the com.sun.management.jmxremote.* properties so that I can connect to it via JConsole for management and monitoring. Unfortunately, it listens on all interf...
5
I am getting some sporadic exceptions when making polling RMI calls from one VM to another.
The classpaths look consistent between VMs. I am using 64 bit java - the jres are consistent (jdk/v1.6.0...
Selfabuse asked 27/7, 2011 at 10:32
3
Solved
I have googled a little to find a good explanation of the difference between the above two remoting strategies, i.e. transparent remoting and location transparency.
As far as I know, the former is...
4
Solved
I run my Java program with JDK7 on Centos6. I enable JMX using the following options:
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9123 -Dcom.sun.mana...
0
6
Solved
I need your help around JAVA RMI, i developped a sample program used to sort table. but i got this exception:
Erreur RemoteException occurred in server thread; nested exception is:
java.rmi.Unm...
1
My understanding is that tomcat server can be accessed thru jmxrmi if we configure following properties. Port can also be configured.
-Dcom.sun.management.jmxremote.port=30000
-Dcom.sun.management....
6
Solved
I made a small research on web and reviewed related topics on this site, but the answers were contradictory: some people said it is not possible, others said it is possible, but dangerous.
The goa...
Stimson asked 17/10, 2014 at 10:6
0
I'm trying to do something that is quite impossible with Java, but maybe there's a solution.
The code below tries to pass a transactional object via RMI
public class FileRepositoryImpl extends Unic...
3
Solved
I use the -Djava.rmi.server.hostname=localhost option to make rmi listen on localhost only, but netstat shows the socket is listening on 0.0.0.0.
The strange thing is that the RMI RenewClean threa...
5
Solved
The following method:
private void startServer() { // snippet that starts the server on the local machine
try {
RemoteMethodImpl impl = new RemoteMethodImpl();
Naming.rebind( "Illusive-Ser...
5
Solved
I should connect to a java program on localhost jvm using JMX. In other words I want to develop a JMX client to config a java program on localhost.
Don't recommend using JConsole! JConsole is not...
3
Solved
I have a service object that can be connected to via RMI. Currently I'm doing this:
Server
Registry r = LocateRegistry.createRegistry(1234);
r.bind("server", UnicastRemoteObject.exportObject(remo...
Powers asked 1/2, 2011 at 15:8
6
Solved
I am just starting to learn how to use RMI, and I have a question. I have the following directory structure:
compute.jar
client
|
org\examples\rmi\client
|--> ComputePi // client main
|--&g...
4
Getting java.rmi.UnmarshalException: unrecognized method hash: method not supported by remote object
I am new to RMI technology.
When I am running the rmi client program, I am getting the exception : java.rmi.UnmarshalException: unrecognized method hash: method not supported by remote object.
I a...
Contamination asked 22/12, 2009 at 14:52
20
Solved
Is it technically possible for a thread in Java to deadlock itself?
I was asked this at an interview a while back and responded that it wasn't possible but the interviewer told me that it is. Unfo...
Gummy asked 16/8, 2010 at 13:14
7
What does stub do on the server side ? And what is a skeleton ?
This is a diagram from wikipedia. I installed stub both on the server machine and the client machine. I understand that stub helps...
Spada asked 21/12, 2011 at 7:11
7
Solved
I am writing a very simple RMI server, and I am seeing intermittent java.rmi.NoSuchObjectExceptions in the unit tests.
I have a string of remote method calls on the same object, and while the fir...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.