• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

what is difference between glassfish local and remote command ?

 
Ranch Hand
Posts: 924
1
Netbeans IDE Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
im not able to exactly grasp the difference between the glassfish local commands and remote commands . uptil the information i gathered so far local commands affect the glassfish local directory layout or run program through batch or shell scripts. the remote commands require that the glassfish server should be running. what does it mean. ?

secondly suppose i have a glassfish server running on machine B and im sitting on machine A. can i use asadmin utility from machine A to connect with glassfish server on machine B and perform any command ?

 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Local commands, so-called, presume to operate on file system semantics, so there's no need for GlassFish to negotiate a state-oriented session connection for a local request. Remote requests, on the other hand, are moderated by the server, and so the server has to be active to accept them.

asadmin can work on a remote server, just not out of the box. You must configure the server with a realm the asadmin client can use to authenticate.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic