• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to Start RMI server on System Boot Up  RSS feed

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Ranchers,

How can we start a RMI Server on a Machine on boot-up.

Can Any One provide some links for creating a Windows service from a Java Jar file.

And how to implement security policy for communication between Client's and Server.


Thanks.


 
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Service Wrapper will help you on making windows service.

You can run RMI over SSL to provide security. Here is a relevant article.
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nitesh,

I think Java Wrapper is a third party tool and I have a restriction(from my seniors)for using a 3rd party tool.
I tried creating it using sc.exe from command prompt,I was successful in doing it atleast creating a Service to showcase it in
the Services List,but I was unable to start because it kept giving me unnecessary errors and weird errors.

Can't we create it successfully by using only the Sc command.

Waiting for your inputs.

Thanks

 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Again,

Sorry I didnt made it more informative,but I think I made my point by specifying the Restriction for use of a 3rd party tool

I am using Windows Vista Ultimate

I am using following command to create a service for my RMIService to start .


In Command prompt:

sc \\MyMachineName create RMIServer binPath= (path of my jar file)

By doing this the service is getting created but not start its throwing the following error

Error 193 : 0xc1

I googled but all in vein I didn't got any success.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!