Results 1 to 2 of 2
  1. #1
    wdh321 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    116
    Rep Power
    0

    Default Setting up glassfish on mac

    I have read the set up guides but i still have no luck with installing this onto my computer.
    I downloaded the glassfish-3.1.2.2.zip file
    I have unzipped it using the terminal window, so i now have he glassfish3 folder.
    I now want to start domain1 which involves the command asadmin start-domain.
    I keep getting this error back
    -bash: asadmin: command not found
    What have i done wrong, or what else do i have to do to get this set up and working?
    Thanks

  2. #2
    wdh321 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    116
    Rep Power
    0

    Default Re: Setting up glassfish on mac

    That problem is now fixed after i set the path variable.
    A new problem now though. When i enter the command
    asadmin start-domain
    i get this error message.
    asadmin> asadmin start-domain
    Remote server does not listen for requests on [localhost:4848]. Is the server up?
    No such local command, asadmin. To run remote commands, start the application server (e.g. 'asadmin start-domain').
    Command asadmin failed.

    Any ideas on how to solve this?

Similar Threads

  1. JNI, C DLL and glassfish
    By qin__23 in forum Advanced Java
    Replies: 13
    Last Post: 04-30-2012, 05:01 PM
  2. glassfish and hibernate
    By videanuadrian in forum Advanced Java
    Replies: 0
    Last Post: 09-13-2011, 06:51 AM
  3. GlassFish v3
    By ashin in forum NetBeans
    Replies: 2
    Last Post: 07-19-2011, 09:55 AM
  4. glassfish problem
    By ondra in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 02-21-2010, 01:20 AM
  5. Glassfish
    By ronguilmet in forum New To Java
    Replies: 0
    Last Post: 11-15-2009, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •