dev@glassfish.java.net

problems building glassfish

From: Irfan Ahmed <Irfan.Ahmed_at_Sun.COM>
Date: Mon, 28 May 2007 17:36:10 +0530

Hi All,

I am new to GlassFish.

There are two issues that I have come across:

   1. I am not able to access the GlassFish build instructions at
      http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=BuildInformation
      . It seems that the site is down.
   2. I used Dinesh's weblog for build instructions to GlassFish
      (http://blogs.sun.com/dpatil/entry/glassfish_build). Also I had a
      web server running on port 8080 and hence got an error on /maven
      configure-runtime* */step. Hence I used /maven configure-runtime
      -Dinteractive. /However it seems that maven does not take the
      given port and still continues to start the GlassFish instance at
      port 8080. Output as follows:

maven configure-runtime -Dinteractive
 __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2

build:start:

configure-runtime:
    [echo] Supply the admin user's password and override any of the
other initial configuration settings as necessary.
Admin User: [admin]

Admin User's Password (8 chars minimum):
adminadmin
Re-enter Password:
adminadmin
Admin Port [4848]

HTTP Port [8080]
9090
HTTPS Port [8181]
9191
    [echo] Please wait while configuring....
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish
    [echo] Current Java Version 1.5.0_01
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/config
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/config
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/bin
    [copy] Copying 1 file to
/space/irfan/workspace/glassfish/publish/glassfish/updatecenter/bin
    [exec] Port 8080 is in use.
    [exec] CLI130 Could not create domain, domain1

BUILD FAILED
File...... /space/irfan/workspace/glassfish/glassfish/bootstrap/maven.xml
Element... ant:ant
Line...... 496
Column.... 76
exec returned: 1
Total time: 21 seconds
Finished at: Mon May 28 17:32:21 IST 2007
            

Warm Rgds,
Irfan