Hi,
I am facing a very strange problem. I am using RMI for the network facilities. When i run my server application using the class files, everything works out fine.
However recently i created a server.jar with all the related files. When i run this server.jar, then the application comes up file, but gives a problem that it is unable to connect to the RMIRegistry, even though the RMIRegistry is running on the correct machine and the correct port. No such problems arise when i run the application using the class files.
I start RMIRegistry in my ConnectionDB(registry = LocateRegistry.createRegistry(port)
. Is this acceptable.I do not use any codebase or permission file and it works fine in class files.
Pls help me as i can't figure out whats wrong